From f023530865c5dd5417d55e24c998dd5f7c1c45c0 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:07:18 +0000 Subject: [PATCH] SDK regeneration --- .fern/metadata.json | 5 +- reference.md | 13935 +++++++++------- src/BaseClient.ts | 4 +- src/Client.ts | 18 +- src/api/resources/accounting/client/Client.ts | 6 - .../accountingPeriods/client/Client.ts | 140 +- .../resources/accounts/client/Client.ts | 243 +- .../client/requests/AccountsListRequest.ts | 3 +- .../requests/AccountsRetrieveRequest.ts | 3 +- .../resources/attachments/client/Client.ts | 175 +- .../resources/auditTrail/client/Client.ts | 137 +- .../resources/balanceSheets/client/Client.ts | 179 +- .../requests/BalanceSheetsListRequest.ts | 3 +- .../requests/BalanceSheetsRetrieveRequest.ts | 3 +- .../bankFeedAccounts/client/Client.ts | 140 +- .../bankFeedTransactions/client/Client.ts | 184 +- .../BankFeedTransactionsListRequest.ts | 3 +- .../BankFeedTransactionsRetrieveRequest.ts | 3 +- .../cashFlowStatements/client/Client.ts | 184 +- .../requests/CashFlowStatementsListRequest.ts | 3 +- .../CashFlowStatementsRetrieveRequest.ts | 3 +- .../resources/companyInfo/client/Client.ts | 203 +- .../client/requests/CompanyInfoListRequest.ts | 3 +- .../requests/CompanyInfoRetrieveRequest.ts | 5 +- .../types/CompanyInfoListRequestExpand.ts | 9 - .../types/CompanyInfoListRequestExpandItem.ts | 8 + .../types/CompanyInfoRetrieveRequestExpand.ts | 9 - .../CompanyInfoRetrieveRequestExpandItem.ts | 8 + .../resources/companyInfo/types/index.ts | 4 +- .../resources/contacts/client/Client.ts | 570 +- .../client/requests/ContactsListRequest.ts | 3 +- .../requests/ContactsRetrieveRequest.ts | 3 +- .../requests/PatchedContactEndpointRequest.ts | 19 - .../contacts/client/requests/index.ts | 1 - .../types/ContactsListRequestExpand.ts | 12 - .../types/ContactsListRequestExpandItem.ts | 9 + .../types/ContactsRetrieveRequestExpand.ts | 13 - .../ContactsRetrieveRequestExpandItem.ts | 9 + .../resources/contacts/types/index.ts | 4 +- .../resources/creditNotes/client/Client.ts | 244 +- .../client/requests/CreditNotesListRequest.ts | 3 +- .../requests/CreditNotesRetrieveRequest.ts | 5 +- .../types/CreditNotesListRequestExpand.ts | 163 - .../types/CreditNotesListRequestExpandItem.ts | 13 + .../types/CreditNotesRetrieveRequestExpand.ts | 163 - .../CreditNotesRetrieveRequestExpandItem.ts | 13 + .../resources/creditNotes/types/index.ts | 4 +- .../resources/employees/client/Client.ts | 168 +- .../client/requests/EmployeesListRequest.ts | 23 +- .../requests/EmployeesRetrieveRequest.ts | 3 +- .../resources/expenseReports/client/Client.ts | 697 - .../requests/ExpenseReportEndpointRequest.ts | 21 - .../ExpenseReportsLinesListRequest.ts | 32 - ...portsLinesRemoteFieldClassesListRequest.ts | 30 - .../requests/ExpenseReportsListRequest.ts | 50 - ...nseReportsRemoteFieldClassesListRequest.ts | 30 - .../requests/ExpenseReportsRetrieveRequest.ts | 23 - .../expenseReports/client/requests/index.ts | 6 - .../resources/expenseReports/exports.ts | 4 - .../ExpenseReportsLinesListRequestExpand.ts | 69 - .../types/ExpenseReportsListRequestExpand.ts | 21 - .../ExpenseReportsRetrieveRequestExpand.ts | 21 - .../resources/expenseReports/types/index.ts | 3 - .../resources/expenses/client/Client.ts | 539 +- .../client/requests/ExpensesListRequest.ts | 3 +- .../requests/ExpensesRetrieveRequest.ts | 3 +- .../types/ExpensesListRequestExpand.ts | 73 - .../types/ExpensesListRequestExpandItem.ts | 12 + .../types/ExpensesRetrieveRequestExpand.ts | 74 - .../ExpensesRetrieveRequestExpandItem.ts | 12 + .../resources/expenses/types/index.ts | 4 +- .../client/Client.ts | 228 +- .../GeneralLedgerTransactionsListRequest.ts | 5 +- ...eneralLedgerTransactionsRetrieveRequest.ts | 5 +- ...eralLedgerTransactionsListRequestExpand.ts | 24 - ...LedgerTransactionsListRequestExpandItem.ts | 10 + ...LedgerTransactionsRetrieveRequestExpand.ts | 24 - ...erTransactionsRetrieveRequestExpandItem.ts | 10 + .../generalLedgerTransactions/types/index.ts | 4 +- .../incomeStatements/client/Client.ts | 184 +- .../requests/IncomeStatementsListRequest.ts | 3 +- .../IncomeStatementsRetrieveRequest.ts | 3 +- .../resources/accounting/resources/index.ts | 3 - .../resources/invoices/client/Client.ts | 583 +- .../client/requests/InvoicesListRequest.ts | 3 +- .../requests/InvoicesRetrieveRequest.ts | 3 +- .../types/InvoicesListRequestExpand.ts | 7516 --------- .../types/InvoicesListRequestExpandItem.ts | 18 + .../types/InvoicesRetrieveRequestExpand.ts | 7517 --------- .../InvoicesRetrieveRequestExpandItem.ts | 18 + .../resources/invoices/types/index.ts | 4 +- .../resources/issues/client/Client.ts | 188 +- .../resources/items/client/Client.ts | 210 +- .../items/client/requests/ItemsListRequest.ts | 3 +- .../client/requests/ItemsRetrieveRequest.ts | 3 +- .../items/types/ItemsListRequestExpand.ts | 38 - .../items/types/ItemsListRequestExpandItem.ts | 10 + .../items/types/ItemsRetrieveRequestExpand.ts | 38 - .../types/ItemsRetrieveRequestExpandItem.ts | 11 + .../accounting/resources/items/types/index.ts | 4 +- .../resources/journalEntries/client/Client.ts | 544 +- .../requests/JournalEntriesListRequest.ts | 5 +- .../requests/JournalEntriesRetrieveRequest.ts | 5 +- .../types/JournalEntriesListRequestExpand.ts | 78 - .../JournalEntriesListRequestExpandItem.ts | 12 + .../JournalEntriesRetrieveRequestExpand.ts | 78 - ...JournalEntriesRetrieveRequestExpandItem.ts | 12 + .../resources/journalEntries/types/index.ts | 4 +- .../resources/linkedAccounts/client/Client.ts | 202 +- .../resources/paymentMethods/client/Client.ts | 140 +- .../resources/paymentTerms/client/Client.ts | 141 +- .../requests/PaymentTermsListRequest.ts | 3 +- .../requests/PaymentTermsRetrieveRequest.ts | 3 +- .../resources/payments/client/Client.ts | 547 +- .../client/requests/PaymentsListRequest.ts | 3 +- .../requests/PaymentsRetrieveRequest.ts | 3 +- .../types/PaymentsListRequestExpand.ts | 164 - .../types/PaymentsListRequestExpandItem.ts | 13 + .../types/PaymentsRetrieveRequestExpand.ts | 165 - .../PaymentsRetrieveRequestExpandItem.ts | 13 + .../resources/payments/types/index.ts | 4 +- .../resources/projects/client/Client.ts | 61 +- .../client/requests/ProjectsListRequest.ts | 23 +- .../requests/ProjectsRetrieveRequest.ts | 3 +- .../types/ProjectsListRequestExpand.ts | 8 - .../types/ProjectsListRequestExpandItem.ts | 8 + .../types/ProjectsRetrieveRequestExpand.ts | 9 - .../ProjectsRetrieveRequestExpandItem.ts | 8 + .../resources/projects/types/index.ts | 4 +- .../resources/purchaseOrders/client/Client.ts | 552 +- .../requests/PurchaseOrdersListRequest.ts | 5 +- .../requests/PurchaseOrdersRetrieveRequest.ts | 5 +- .../types/PurchaseOrdersListRequestExpand.ts | 165 - .../PurchaseOrdersListRequestExpandItem.ts | 13 + .../PurchaseOrdersRetrieveRequestExpand.ts | 165 - ...PurchaseOrdersRetrieveRequestExpandItem.ts | 13 + .../resources/purchaseOrders/types/index.ts | 4 +- .../resources/syncStatus/client/Client.ts | 129 +- .../resources/taxRates/client/Client.ts | 183 +- .../client/requests/TaxRatesListRequest.ts | 3 +- .../requests/TaxRatesRetrieveRequest.ts | 3 +- .../trackingCategories/client/Client.ts | 225 +- .../requests/TrackingCategoriesListRequest.ts | 3 +- .../TrackingCategoriesRetrieveRequest.ts | 3 +- .../resources/transactions/client/Client.ts | 215 +- .../requests/TransactionsListRequest.ts | 3 +- .../requests/TransactionsRetrieveRequest.ts | 5 +- .../types/TransactionsListRequestExpand.ts | 74 - .../TransactionsListRequestExpandItem.ts | 11 + .../TransactionsRetrieveRequestExpand.ts | 74 - .../TransactionsRetrieveRequestExpandItem.ts | 11 + .../resources/transactions/types/index.ts | 4 +- .../resources/vendorCredits/client/Client.ts | 215 +- .../requests/VendorCreditsListRequest.ts | 5 +- .../requests/VendorCreditsRetrieveRequest.ts | 5 +- .../types/VendorCreditsListRequestExpand.ts | 37 - .../VendorCreditsListRequestExpandItem.ts | 11 + .../VendorCreditsRetrieveRequestExpand.ts | 37 - .../VendorCreditsRetrieveRequestExpandItem.ts | 11 + .../resources/vendorCredits/types/index.ts | 4 +- .../accounting/types/AccountDetails.ts | 2 +- .../types/AccountDetailsAndActions.ts | 1 - .../resources/accounting/types/CompanyInfo.ts | 2 +- .../accounting/types/CompanyInfoCurrency.ts | 315 - .../types/CreditNoteLineItemRequestProject.ts | 2 +- .../types/DataPassthroughRequest.ts | 2 +- .../resources/accounting/types/ExpenseLine.ts | 6 +- .../accounting/types/ExpenseLineCurrency.ts | 315 - .../accounting/types/ExpenseLineRequest.ts | 4 - .../types/ExpenseLineRequestProject.ts | 2 +- .../accounting/types/ExpenseReport.ts | 364 - .../accounting/types/ExpenseReportCompany.ts | 8 - .../accounting/types/ExpenseReportLine.ts | 366 - .../types/ExpenseReportLineCompany.ts | 8 - .../types/ExpenseReportLineEmployee.ts | 8 - .../types/ExpenseReportLineRequest.ts | 361 - .../types/ExpenseReportLineRequestAccount.ts | 5 - .../types/ExpenseReportLineRequestCompany.ts | 8 - .../types/ExpenseReportLineRequestContact.ts | 5 - .../types/ExpenseReportLineRequestEmployee.ts | 8 - .../types/ExpenseReportLineRequestProject.ts | 5 - .../types/ExpenseReportLineRequestTaxRate.ts | 5 - .../accounting/types/ExpenseReportRequest.ts | 354 - .../ExpenseReportRequestAccountingPeriod.ts | 8 - .../types/ExpenseReportRequestCompany.ts | 8 - .../types/ExpenseReportRequestEmployee.ts | 8 - .../accounting/types/ExpenseReportResponse.ts | 10 - .../accounting/types/ExpenseReportStatus.ts | 13 - .../types/ExpenseReportStatusEnum.ts | 15 - .../accounting/types/ExpenseRequest.ts | 2 +- .../types/ExpenseRequestCurrency.ts | 315 - .../types/ExternalTargetFieldApiResponse.ts | 1 - .../types/FieldMappingApiInstanceResponse.ts | 1 - .../types/GeneralLedgerTransactionLine.ts | 2 +- ...eneralLedgerTransactionLineBaseCurrency.ts | 315 - src/api/resources/accounting/types/Invoice.ts | 2 +- .../resources/accounting/types/InvoiceType.ts | 11 - .../types/MultipartFormFieldRequest.ts | 2 +- .../MultipartFormFieldRequestEncoding.ts | 12 - .../types/PaginatedExpenseReportLineList.ts | 9 - .../types/PaginatedExpenseReportList.ts | 9 - .../accounting/types/PatchedContactRequest.ts | 44 - .../PatchedContactRequestAddressesItem.ts | 5 - .../accounting/types/RemoteFieldClass.ts | 1 - .../resources/accounting/types/SyncStatus.ts | 2 +- .../types/SyncStatusLastSyncResult.ts | 5 + src/api/resources/accounting/types/index.ts | 36 +- .../ats/resources/activities/client/Client.ts | 202 +- .../client/requests/ActivitiesListRequest.ts | 3 +- .../requests/ActivitiesRetrieveRequest.ts | 3 +- .../resources/applications/client/Client.ts | 222 +- .../requests/ApplicationsListRequest.ts | 3 +- .../requests/ApplicationsRetrieveRequest.ts | 3 +- .../types/ApplicationsListRequestExpand.ts | 397 - .../ApplicationsListRequestExpandItem.ts | 14 + .../ApplicationsRetrieveRequestExpand.ts | 397 - .../ApplicationsRetrieveRequestExpandItem.ts | 14 + .../ats/resources/applications/types/index.ts | 4 +- .../resources/attachments/client/Client.ts | 182 +- .../client/requests/AttachmentsListRequest.ts | 3 +- .../requests/AttachmentsRetrieveRequest.ts | 3 +- .../ats/resources/auditTrail/client/Client.ts | 132 +- .../ats/resources/candidates/client/Client.ts | 214 +- .../client/requests/CandidatesListRequest.ts | 3 +- .../requests/CandidatesRetrieveRequest.ts | 3 +- .../candidates/client/requests/index.ts | 1 - .../types/CandidatesListRequestExpand.ts | 9 - .../types/CandidatesListRequestExpandItem.ts | 8 + .../types/CandidatesRetrieveRequestExpand.ts | 9 - .../CandidatesRetrieveRequestExpandItem.ts | 8 + .../ats/resources/candidates/types/index.ts | 5 +- .../resources/departments/client/Client.ts | 162 +- .../ats/resources/eeocs/client/Client.ts | 200 +- .../eeocs/client/requests/EeocsListRequest.ts | 3 +- .../client/requests/EeocsRetrieveRequest.ts | 3 +- .../ats/resources/interviews/client/Client.ts | 222 +- .../client/requests/InterviewsListRequest.ts | 3 +- .../requests/InterviewsRetrieveRequest.ts | 3 +- .../types/InterviewsListRequestExpand.ts | 21 - .../types/InterviewsListRequestExpandItem.ts | 10 + .../types/InterviewsRetrieveRequestExpand.ts | 21 - .../InterviewsRetrieveRequestExpandItem.ts | 10 + .../ats/resources/interviews/types/index.ts | 4 +- .../ats/resources/issues/client/Client.ts | 186 +- .../jobInterviewStages/client/Client.ts | 179 +- .../requests/JobInterviewStagesListRequest.ts | 3 +- .../JobInterviewStagesRetrieveRequest.ts | 3 +- .../resources/jobPostings/client/Client.ts | 184 +- .../client/requests/JobPostingsListRequest.ts | 3 +- .../requests/JobPostingsRetrieveRequest.ts | 3 +- .../ats/resources/jobs/client/Client.ts | 381 +- .../jobs/client/requests/JobsListRequest.ts | 3 +- .../client/requests/JobsRetrieveRequest.ts | 3 +- .../JobsScreeningQuestionsListRequest.ts | 5 +- .../jobs/types/JobsListRequestExpand.ts | 37 - .../jobs/types/JobsListRequestExpandItem.ts | 10 + .../jobs/types/JobsRetrieveRequestExpand.ts | 37 - .../types/JobsRetrieveRequestExpandItem.ts | 11 + ...JobsScreeningQuestionsListRequestExpand.ts | 9 - ...ScreeningQuestionsListRequestExpandItem.ts | 8 + .../ats/resources/jobs/types/index.ts | 6 +- .../resources/linkedAccounts/client/Client.ts | 189 +- .../ats/resources/offers/client/Client.ts | 212 +- .../client/requests/OffersListRequest.ts | 3 +- .../client/requests/OffersRetrieveRequest.ts | 3 +- .../offers/types/OffersListRequestExpand.ts | 8 - .../types/OffersListRequestExpandItem.ts | 8 + .../types/OffersRetrieveRequestExpand.ts | 9 - .../types/OffersRetrieveRequestExpandItem.ts | 8 + .../ats/resources/offers/types/index.ts | 4 +- .../ats/resources/offices/client/Client.ts | 162 +- .../resources/rejectReasons/client/Client.ts | 167 +- .../ats/resources/scorecards/client/Client.ts | 218 +- .../client/requests/ScorecardsListRequest.ts | 3 +- .../requests/ScorecardsRetrieveRequest.ts | 3 +- .../types/ScorecardsListRequestExpand.ts | 13 - .../types/ScorecardsListRequestExpandItem.ts | 9 + .../types/ScorecardsRetrieveRequestExpand.ts | 13 - .../ScorecardsRetrieveRequestExpandItem.ts | 9 + .../ats/resources/scorecards/types/index.ts | 4 +- .../ats/resources/syncStatus/client/Client.ts | 124 +- .../ats/resources/tags/client/Client.ts | 160 +- .../ats/resources/users/client/Client.ts | 174 +- .../ats/types/AccountDetailsAndActions.ts | 1 - .../resources/ats/types/ActivityRequest.ts | 2 +- .../ats/types/ActivityRequestActivityType.ts | 12 - .../IgnoreCommonModelRequest.ts | 8 +- .../types/IgnoreCommonModelRequestReason.ts | 2 +- src/api/resources/ats/types/index.ts | 3 +- .../crm/resources/accounts/client/Client.ts | 346 +- .../client/requests/AccountsListRequest.ts | 3 +- .../requests/AccountsRetrieveRequest.ts | 3 +- .../associationTypes/client/Client.ts | 183 +- ...bjectClassesAssociationTypesListRequest.ts | 3 +- ...tClassesAssociationTypesRetrieveRequest.ts | 3 +- .../resources/associations/client/Client.ts | 190 +- ...sesCustomObjectsAssociationsListRequest.ts | 3 +- .../crm/resources/auditTrail/client/Client.ts | 132 +- .../crm/resources/contacts/client/Client.ts | 376 +- .../client/requests/ContactsListRequest.ts | 3 +- .../requests/ContactsRetrieveRequest.ts | 3 +- .../types/ContactsListRequestExpand.ts | 8 - .../types/ContactsListRequestExpandItem.ts | 8 + .../types/ContactsRetrieveRequestExpand.ts | 9 - .../ContactsRetrieveRequestExpandItem.ts | 8 + .../crm/resources/contacts/types/index.ts | 4 +- .../customObjectClasses/client/Client.ts | 175 +- .../CustomObjectClassesListRequest.ts | 3 +- .../CustomObjectClassesRetrieveRequest.ts | 3 +- .../resources/customObjects/client/Client.ts | 345 +- .../engagementTypes/client/Client.ts | 335 +- .../resources/engagements/client/Client.ts | 374 +- .../client/requests/EngagementsListRequest.ts | 3 +- .../requests/EngagementsRetrieveRequest.ts | 3 +- .../types/EngagementsListRequestExpand.ts | 21 - .../types/EngagementsListRequestExpandItem.ts | 10 + .../types/EngagementsRetrieveRequestExpand.ts | 21 - .../EngagementsRetrieveRequestExpandItem.ts | 10 + .../crm/resources/engagements/types/index.ts | 4 +- .../crm/resources/issues/client/Client.ts | 186 +- .../crm/resources/leads/client/Client.ts | 382 +- .../leads/client/requests/LeadsListRequest.ts | 3 +- .../client/requests/LeadsRetrieveRequest.ts | 3 +- .../leads/types/LeadsListRequestExpand.ts | 12 - .../leads/types/LeadsListRequestExpandItem.ts | 8 + .../leads/types/LeadsRetrieveRequestExpand.ts | 12 - .../types/LeadsRetrieveRequestExpandItem.ts | 9 + .../crm/resources/leads/types/index.ts | 4 +- .../resources/linkedAccounts/client/Client.ts | 189 +- .../crm/resources/notes/client/Client.ts | 378 +- .../notes/client/requests/NotesListRequest.ts | 3 +- .../client/requests/NotesRetrieveRequest.ts | 3 +- .../notes/types/NotesListRequestExpand.ts | 20 - .../notes/types/NotesListRequestExpandItem.ts | 9 + .../notes/types/NotesRetrieveRequestExpand.ts | 20 - .../types/NotesRetrieveRequestExpandItem.ts | 10 + .../crm/resources/notes/types/index.ts | 4 +- .../resources/opportunities/client/Client.ts | 404 +- .../requests/OpportunitiesListRequest.ts | 3 +- .../requests/OpportunitiesRetrieveRequest.ts | 3 +- .../types/OpportunitiesListRequestExpand.ts | 13 - .../OpportunitiesListRequestExpandItem.ts | 9 + .../OpportunitiesRetrieveRequestExpand.ts | 13 - .../OpportunitiesRetrieveRequestExpandItem.ts | 9 + .../resources/opportunities/types/index.ts | 4 +- .../crm/resources/stages/client/Client.ts | 330 +- .../crm/resources/tasks/client/Client.ts | 362 +- .../tasks/client/requests/TasksListRequest.ts | 3 +- .../client/requests/TasksRetrieveRequest.ts | 3 +- .../tasks/types/TasksListRequestExpand.ts | 12 - .../tasks/types/TasksListRequestExpandItem.ts | 8 + .../tasks/types/TasksRetrieveRequestExpand.ts | 12 - .../types/TasksRetrieveRequestExpandItem.ts | 9 + .../crm/resources/tasks/types/index.ts | 4 +- .../crm/resources/users/client/Client.ts | 332 +- .../resources/crm/types/RemoteFieldClass.ts | 5 +- .../crm/types/RemoteFieldClassFieldType.ts | 5 - src/api/resources/crm/types/RemoteResponse.ts | 2 +- ...ormat.ts => RemoteResponseResponseType.ts} | 2 +- src/api/resources/crm/types/index.ts | 3 +- .../client/Client.ts | 8 +- .../client/index.ts | 0 .../{filestorage => fileStorage}/exports.ts | 2 +- .../{filestorage => fileStorage}/index.ts | 0 .../resources/accountDetails/client/Client.ts | 8 +- .../resources/accountDetails/client/index.ts | 0 .../resources/accountDetails/exports.ts | 0 .../resources/accountDetails/index.ts | 0 .../resources/accountToken/client/Client.ts | 8 +- .../resources/accountToken/client/index.ts | 0 .../resources/accountToken/exports.ts | 0 .../resources/accountToken/index.ts | 0 .../asyncPassthrough/client/Client.ts | 24 +- .../asyncPassthrough/client/index.ts | 0 .../resources/asyncPassthrough/exports.ts | 0 .../resources/asyncPassthrough}/index.ts | 0 .../types/AsyncPassthroughRetrieveResponse.ts | 2 +- .../resources/asyncPassthrough/types/index.ts | 0 .../resources/auditTrail/client/Client.ts | 123 + .../resources/auditTrail}/client/index.ts | 0 .../client/requests/AuditTrailListRequest.ts | 0 .../auditTrail/client/requests/index.ts | 0 .../resources/auditTrail/exports.ts | 0 .../resources/auditTrail/index.ts | 0 .../availableActions/client/Client.ts | 8 +- .../availableActions/client/index.ts | 0 .../resources/availableActions/exports.ts | 0 .../resources/availableActions/index.ts | 0 .../resources/deleteAccount/client/Client.ts | 2 +- .../resources/deleteAccount/client/index.ts | 0 .../resources/deleteAccount/exports.ts | 0 .../resources/deleteAccount/index.ts | 0 .../resources/drives/client/Client.ts | 223 + .../resources/drives}/client/index.ts | 0 .../client/requests/DrivesListRequest.ts | 0 .../client/requests/DrivesRetrieveRequest.ts | 0 .../resources/drives/client/requests/index.ts | 0 .../resources/drives/exports.ts | 0 .../resources/drives/index.ts | 0 .../resources/fieldMapping/client/Client.ts | 76 +- .../resources/fieldMapping}/client/index.ts | 0 .../requests/CreateFieldMappingRequest.ts | 0 .../requests/FieldMappingsRetrieveRequest.ts | 0 .../PatchedEditFieldMappingRequest.ts | 0 .../requests/RemoteFieldsRetrieveRequest.ts | 0 .../fieldMapping/client/requests/index.ts | 0 .../resources/fieldMapping/exports.ts | 0 .../resources/fieldMapping/index.ts | 0 .../resources/files/client/Client.ts | 484 +- .../resources/files}/client/index.ts | 0 .../FileStorageFileEndpointRequest.ts | 2 +- .../FilesDownloadRequestMetaListRequest.ts | 4 +- ...FilesDownloadRequestMetaRetrieveRequest.ts | 0 .../requests/FilesDownloadRetrieveRequest.ts | 0 .../files/client/requests/FilesListRequest.ts | 11 +- .../client/requests/FilesRetrieveRequest.ts | 3 +- .../resources/files/client/requests/index.ts | 0 .../resources/files/exports.ts | 0 .../resources/files}/index.ts | 0 ...esDownloadRequestMetaListRequestOrderBy.ts | 0 .../files/types/FilesListRequestExpandItem.ts | 8 + .../files/types/FilesListRequestOrderBy.ts | 0 .../types/FilesRetrieveRequestExpandItem.ts | 9 + .../resources/files/types/index.ts | 4 +- .../resources/folders/client/Client.ts | 259 +- .../resources/folders}/client/index.ts | 0 .../FileStorageFolderEndpointRequest.ts | 2 +- .../client/requests/FoldersListRequest.ts | 3 +- .../client/requests/FoldersRetrieveRequest.ts | 3 +- .../folders/client/requests/index.ts | 0 .../resources/folders/exports.ts | 0 .../resources/folders}/index.ts | 0 .../types/FoldersListRequestExpandItem.ts | 9 + .../types/FoldersRetrieveRequestExpandItem.ts | 9 + .../resources/folders/types/index.ts | 2 + .../resources/forceResync/client/Client.ts | 8 +- .../resources/forceResync/client/index.ts | 0 .../resources/forceResync/exports.ts | 0 .../resources/forceResync/index.ts | 0 .../resources/generateKey/client/Client.ts | 16 +- .../resources/generateKey}/client/index.ts | 0 .../requests/GenerateRemoteKeyRequest.ts | 0 .../generateKey/client/requests/index.ts | 0 .../resources/generateKey/exports.ts | 0 .../resources/generateKey/index.ts | 0 .../resources/groups/client/Client.ts | 243 + .../resources/groups}/client/index.ts | 0 .../client/requests/GroupsListRequest.ts | 5 +- .../client/requests/GroupsRetrieveRequest.ts | 5 +- .../resources/groups/client/requests/index.ts | 0 .../resources/groups/exports.ts | 0 .../resources/groups}/index.ts | 0 .../types/GroupsListRequestExpandItem.ts | 8 + .../types/GroupsRetrieveRequestExpandItem.ts | 8 + .../resources/groups/types/index.ts | 2 + .../resources/index.ts | 2 + .../resources/issues/client/Client.ts | 226 + .../resources/issues}/client/index.ts | 0 .../client/requests/IssuesListRequest.ts | 2 +- .../resources/issues/client/requests/index.ts | 0 .../resources/issues/exports.ts | 0 .../resources/issues/index.ts | 0 .../issues/types/IssuesListRequestStatus.ts | 0 .../resources/issues/types/index.ts | 0 .../resources/linkToken/client/Client.ts | 16 +- .../resources/linkToken}/client/index.ts | 0 .../client/requests/EndUserDetailsRequest.ts | 8 +- .../linkToken/client/requests/index.ts | 0 .../resources/linkToken/exports.ts | 0 .../resources/linkToken}/index.ts | 0 .../types/EndUserDetailsRequestLanguage.ts | 11 + .../resources/linkToken/types/index.ts | 1 + .../resources/linkedAccounts/client/Client.ts | 164 + .../resources/linkedAccounts}/client/index.ts | 0 .../requests/LinkedAccountsListRequest.ts | 2 +- .../linkedAccounts/client/requests/index.ts | 0 .../resources/linkedAccounts/exports.ts | 0 .../resources/linkedAccounts}/index.ts | 0 .../LinkedAccountsListRequestCategory.ts | 0 .../resources/linkedAccounts/types/index.ts | 0 .../resources/passthrough/client/Client.ts | 16 +- .../resources/passthrough/client/index.ts | 0 .../resources/passthrough/exports.ts | 0 .../resources/passthrough}/index.ts | 0 .../resources/regenerateKey/client/Client.ts | 16 +- .../resources/regenerateKey}/client/index.ts | 0 .../RemoteKeyForRegenerationRequest.ts | 0 .../regenerateKey/client/requests/index.ts | 0 .../resources/regenerateKey/exports.ts | 0 .../resources/regenerateKey}/index.ts | 0 .../resources/scopes/client/Client.ts | 32 +- .../resources/scopes}/client/index.ts | 0 ...ountCommonModelScopeDeserializerRequest.ts | 2 +- .../resources/scopes/client/requests/index.ts | 0 .../resources/scopes/exports.ts | 0 .../resources/scopes}/index.ts | 0 .../resources/syncStatus/client/Client.ts | 115 + .../resources/syncStatus}/client/index.ts | 0 .../client/requests/SyncStatusListRequest.ts | 0 .../syncStatus/client/requests/index.ts | 0 .../resources/syncStatus/exports.ts | 0 .../resources/syncStatus}/index.ts | 0 .../resources/users/client/Client.ts | 218 + .../resources/users}/client/index.ts | 0 .../users/client/requests/UsersListRequest.ts | 0 .../client/requests/UsersRetrieveRequest.ts | 0 .../resources/users/client/requests/index.ts | 0 .../resources/users/exports.ts | 0 .../resources/users}/index.ts | 0 .../webhookReceivers/client/Client.ts | 24 +- .../webhookReceivers}/client/index.ts | 0 .../client/requests/WebhookReceiverRequest.ts | 0 .../webhookReceivers/client/requests/index.ts | 0 .../resources/webhookReceivers/exports.ts | 0 .../resources/webhookReceivers}/index.ts | 0 .../types/AccountDetails.ts | 2 +- .../types/AccountDetailsAndActions.ts | 7 +- .../types/AccountDetailsAndActionsCategory.ts | 5 + .../AccountDetailsAndActionsIntegration.ts | 4 +- .../types/AccountDetailsAndActionsStatus.ts | 5 + .../AccountDetailsAndActionsStatusEnum.ts | 0 .../types/AccountDetailsCategory.ts | 2 +- .../types/AccountIntegration.ts | 2 +- .../types/AccountToken.ts | 2 +- .../types/AdvancedMetadata.ts | 0 .../types/AsyncPassthroughReciept.ts | 0 .../types/AuditLogEvent.ts | 4 +- .../types/AuditLogEventEventType.ts | 2 +- .../types/AuditLogEventRole.ts | 2 +- .../types/AvailableActions.ts | 4 +- .../types/CategoriesEnum.ts | 0 .../types/CategoryEnum.ts | 0 .../types/CommonModelScopeApi.ts | 2 +- .../types/CommonModelScopesBodyRequest.ts | 2 +- .../types/DataPassthroughRequest.ts | 6 +- .../types/DebugModeLog.ts | 2 +- .../types/DebugModelLogSummary.ts | 0 .../types/DownloadRequestMeta.ts | 0 .../types/Drive.ts | 2 +- .../types/EnabledActionsEnum.ts | 0 .../types/EncodingEnum.ts | 0 .../types/ErrorValidationProblem.ts | 2 +- .../types/EventTypeEnum.ts | 0 .../types/ExternalTargetFieldApi.ts | 0 .../types/ExternalTargetFieldApiResponse.ts | 11 + .../types/FieldMappingApiInstance.ts | 4 +- .../FieldMappingApiInstanceRemoteField.ts | 2 +- ...piInstanceRemoteFieldRemoteEndpointInfo.ts | 0 .../types/FieldMappingApiInstanceResponse.ts | 11 + .../FieldMappingApiInstanceTargetField.ts | 0 .../types/FieldMappingInstanceResponse.ts | 10 + .../types/FieldPermissionDeserializer.ts | 0 .../FieldPermissionDeserializerRequest.ts | 0 .../types/FileDrive.ts | 2 +- .../types/FileFolder.ts | 2 +- .../types/FilePermissions.ts | 2 +- .../types/FilePermissionsTwoItem.ts} | 2 +- .../types/FileRequest.ts | 6 +- .../types/FileRequestDrive.ts | 2 +- .../types/FileRequestFolder.ts | 2 +- .../types/FileRequestPermissions.ts | 4 +- .../types/FileRequestPermissionsTwoItem.ts | 5 + .../types/FileStorageFileResponse.ts | 10 + .../types/FileStorageFolderResponse.ts | 10 + .../types/File_.ts | 8 +- .../types/Folder.ts | 8 +- .../types/FolderDrive.ts | 2 +- .../types/FolderParentFolder.ts | 2 +- .../types/FolderPermissions.ts | 2 +- .../types/FolderPermissionsTwoItem.ts | 5 + .../types/FolderRequest.ts | 6 +- .../types/FolderRequestDrive.ts | 2 +- .../types/FolderRequestParentFolder.ts | 2 +- .../types/FolderRequestPermissions.ts | 4 +- .../types/FolderRequestPermissionsTwoItem.ts | 5 + .../types/Group.ts | 4 +- .../types/GroupChildGroupsItem.ts | 2 +- .../IndividualCommonModelScopeDeserializer.ts | 4 +- ...dualCommonModelScopeDeserializerRequest.ts | 4 +- .../types/Issue.ts | 2 +- .../types/IssueStatus.ts | 2 +- .../types/IssueStatusEnum.ts | 0 .../types/LanguageEnum.ts | 0 .../types/LastSyncResultEnum.ts | 0 .../types/LinkToken.ts | 0 .../types/LinkedAccountStatus.ts | 0 .../types/MetaResponse.ts | 2 +- .../types/MethodEnum.ts | 0 .../types/ModelOperation.ts | 0 .../types/ModelPermissionDeserializer.ts | 0 .../ModelPermissionDeserializerRequest.ts | 0 .../types/MultipartFormFieldRequest.ts | 2 +- .../MultipartFormFieldRequestEncoding.ts | 2 +- .../PaginatedAccountDetailsAndActionsList.ts | 2 +- .../types/PaginatedAuditLogEventList.ts | 2 +- .../types/PaginatedDownloadRequestMetaList.ts | 2 +- .../types/PaginatedDriveList.ts | 2 +- .../types/PaginatedFileList.ts | 2 +- .../types/PaginatedFolderList.ts | 2 +- .../types/PaginatedGroupList.ts | 2 +- .../types/PaginatedIssueList.ts | 2 +- .../types/PaginatedSyncStatusList.ts | 2 +- .../types/PaginatedUserList.ts | 2 +- .../types/Permission.ts | 8 +- .../types/PermissionGroup.ts | 2 +- .../types/PermissionRequest.ts | 8 +- .../types/PermissionRequestGroup.ts | 2 +- .../types/PermissionRequestRolesItem.ts | 2 +- .../types/PermissionRequestType.ts | 2 +- .../types/PermissionRequestUser.ts | 2 +- .../types/PermissionRolesItem.ts | 2 +- .../types/PermissionType.ts | 2 +- .../types/PermissionUser.ts | 2 +- .../types/RemoteData.ts | 0 .../types/RemoteEndpointInfo.ts | 0 .../types/RemoteFieldApi.ts | 6 +- .../types/RemoteFieldApiCoverage.ts | 0 .../types/RemoteFieldApiResponse.ts | 11 + .../types/RemoteKey.ts | 0 .../types/RemoteResponse.ts | 2 +- .../types/RemoteResponseResponseType.ts | 5 + .../types/RequestFormatEnum.ts | 0 .../types/ResponseTypeEnum.ts | 0 .../types/RoleEnum.ts | 0 .../types/RolesEnum.ts | 0 .../SelectiveSyncConfigurationsUsageEnum.ts | 0 .../types/StatusFd5Enum.ts | 0 .../types/SyncStatus.ts | 6 +- .../types/SyncStatusLastSyncResult.ts | 2 +- .../types/SyncStatusStatus.ts} | 2 +- .../types/TypeEnum.ts | 0 .../types/User.ts | 2 +- .../types/ValidationProblemSource.ts | 0 .../types/WarningValidationProblem.ts | 2 +- .../types/WebhookReceiver.ts | 0 .../resources/fileStorage}/types/index.ts | 13 +- .../resources/auditTrail/client/Client.ts | 108 - .../resources/drives/client/Client.ts | 208 - .../files/types/FilesListRequestExpand.ts | 12 - .../files/types/FilesRetrieveRequestExpand.ts | 12 - .../folders/types/FoldersListRequestExpand.ts | 12 - .../types/FoldersRetrieveRequestExpand.ts | 13 - .../resources/folders/types/index.ts | 2 - .../resources/groups/client/Client.ts | 210 - .../resources/issues/client/Client.ts | 211 - .../resources/linkedAccounts/client/Client.ts | 146 - .../resources/syncStatus/client/Client.ts | 100 - .../resources/users/client/Client.ts | 208 - .../types/ExternalTargetFieldApiResponse.ts | 11 - .../types/FieldMappingApiInstanceResponse.ts | 11 - .../types/FieldMappingInstanceResponse.ts | 10 - .../filestorage/types/FilePermissionsItem.ts | 8 - .../types/FileRequestPermissionsItem.ts | 8 - .../types/FileStorageFileResponse.ts | 10 - .../types/FileStorageFolderResponse.ts | 10 - .../types/FolderPermissionsItem.ts | 8 - .../types/FolderRequestPermissionsItem.ts | 8 - .../types/RemoteFieldApiResponse.ts | 11 - .../resources/auditTrail/client/Client.ts | 132 +- .../client/requests/AuditTrailListRequest.ts | 2 +- .../hris/resources/bankInfo/client/Client.ts | 214 +- .../client/requests/BankInfoListRequest.ts | 5 +- .../requests/BankInfoRetrieveRequest.ts | 3 +- .../hris/resources/benefits/client/Client.ts | 174 +- .../client/requests/BenefitsListRequest.ts | 5 +- .../requests/BenefitsRetrieveRequest.ts | 3 +- .../hris/resources/companies/client/Client.ts | 162 +- .../client/requests/CompaniesListRequest.ts | 2 +- .../resources/dependents/client/Client.ts | 169 +- .../client/requests/DependentsListRequest.ts | 5 +- .../employeePayrollRuns/client/Client.ts | 232 +- .../EmployeePayrollRunsListRequest.ts | 7 +- .../EmployeePayrollRunsRetrieveRequest.ts | 5 +- .../EmployeePayrollRunsListRequestExpand.ts | 9 - ...mployeePayrollRunsListRequestExpandItem.ts | 8 + ...mployeePayrollRunsRetrieveRequestExpand.ts | 9 - ...yeePayrollRunsRetrieveRequestExpandItem.ts | 8 + .../employeePayrollRuns/types/index.ts | 4 +- .../hris/resources/employees/client/Client.ts | 319 +- .../client/requests/EmployeesListRequest.ts | 10 +- .../requests/EmployeesRetrieveRequest.ts | 3 +- .../employees/client/requests/index.ts | 1 - .../types/EmployeesListRequestExpand.ts | 278 - .../types/EmployeesListRequestExpandItem.ts | 14 + .../types/EmployeesRetrieveRequestExpand.ts | 279 - .../EmployeesRetrieveRequestExpandItem.ts | 14 + .../hris/resources/employees/types/index.ts | 5 +- .../employerBenefits/client/Client.ts | 167 +- .../requests/EmployerBenefitsListRequest.ts | 2 +- .../resources/employments/client/Client.ts | 244 +- .../client/requests/EmploymentsListRequest.ts | 5 +- .../requests/EmploymentsRetrieveRequest.ts | 3 +- .../types/EmploymentsListRequestExpand.ts | 9 - .../types/EmploymentsListRequestExpandItem.ts | 8 + .../types/EmploymentsRetrieveRequestExpand.ts | 9 - .../EmploymentsRetrieveRequestExpandItem.ts | 8 + .../hris/resources/employments/types/index.ts | 4 +- .../requests/CreateFieldMappingRequest.ts | 2 - .../PatchedEditFieldMappingRequest.ts | 2 - .../hris/resources/groups/client/Client.ts | 182 +- .../client/requests/GroupsListRequest.ts | 2 +- .../hris/resources/issues/client/Client.ts | 186 +- .../client/requests/IssuesListRequest.ts | 2 +- .../client/requests/EndUserDetailsRequest.ts | 6 - ...ilsRequestCompletedAccountInitialScreen.ts | 10 - .../hris/resources/linkToken/types/index.ts | 1 - .../resources/linkedAccounts/client/Client.ts | 189 +- .../requests/LinkedAccountsListRequest.ts | 2 +- .../hris/resources/locations/client/Client.ts | 204 +- .../client/requests/LocationsListRequest.ts | 4 +- .../hris/resources/payGroups/client/Client.ts | 162 +- .../client/requests/PayGroupsListRequest.ts | 2 +- .../resources/payrollRuns/client/Client.ts | 220 +- .../client/requests/PayrollRunsListRequest.ts | 2 +- .../resources/syncStatus/client/Client.ts | 124 +- .../client/requests/SyncStatusListRequest.ts | 2 +- .../hris/resources/teams/client/Client.ts | 174 +- .../teams/client/requests/TeamsListRequest.ts | 5 +- .../client/requests/TeamsRetrieveRequest.ts | 3 +- .../hris/resources/timeOff/client/Client.ts | 274 +- .../client/requests/TimeOffListRequest.ts | 5 +- .../client/requests/TimeOffRetrieveRequest.ts | 3 +- .../timeOff/types/TimeOffListRequestExpand.ts | 8 - .../types/TimeOffListRequestExpandItem.ts | 8 + .../types/TimeOffRetrieveRequestExpand.ts | 9 - .../types/TimeOffRetrieveRequestExpandItem.ts | 8 + .../hris/resources/timeOff/types/index.ts | 4 +- .../timeOffBalances/client/Client.ts | 201 +- .../requests/TimeOffBalancesListRequest.ts | 5 +- .../TimeOffBalancesRetrieveRequest.ts | 3 +- .../timesheetEntries/client/Client.ts | 209 +- .../requests/TimesheetEntriesListRequest.ts | 5 +- .../TimesheetEntriesRetrieveRequest.ts | 3 +- .../hris/types/AccountDetailsAndActions.ts | 1 - src/api/resources/hris/types/Benefit.ts | 4 +- .../CompletedAccountInitialScreenEnum.ts | 6 - .../hris/types/FieldMappingApiInstance.ts | 1 - .../IgnoreCommonModelRequest.ts | 8 +- .../types/IgnoreCommonModelRequestReason.ts | 2 +- .../hris/types/MultipartFormFieldRequest.ts | 2 +- .../MultipartFormFieldRequestEncoding.ts | 12 - src/api/resources/hris/types/SyncStatus.ts | 2 +- .../types/SyncStatusStatus.ts} | 2 +- src/api/resources/hris/types/index.ts | 5 +- src/api/resources/index.ts | 2 +- .../resources/accounts/client/Client.ts | 167 +- .../resources/attachments/client/Client.ts | 183 +- .../client/requests/AttachmentsListRequest.ts | 5 +- .../requests/AttachmentsRetrieveRequest.ts | 3 +- .../resources/auditTrail/client/Client.ts | 137 +- .../client/requests/AuditTrailListRequest.ts | 2 +- .../resources/collections/client/Client.ts | 364 +- .../client/requests/CollectionsListRequest.ts | 5 +- .../requests/CollectionsRetrieveRequest.ts | 3 +- .../requests/CollectionsViewersListRequest.ts | 5 +- .../CollectionsViewersListRequestExpand.ts | 9 - ...CollectionsViewersListRequestExpandItem.ts | 8 + .../resources/collections/types/index.ts | 2 +- .../resources/comments/client/Client.ts | 211 +- .../client/requests/CommentsListRequest.ts | 5 +- .../requests/CommentsRetrieveRequest.ts | 3 +- .../types/CommentsListRequestExpand.ts | 12 - .../types/CommentsListRequestExpandItem.ts | 9 + .../types/CommentsRetrieveRequestExpand.ts | 13 - .../CommentsRetrieveRequestExpandItem.ts | 9 + .../resources/comments/types/index.ts | 4 +- .../resources/contacts/client/Client.ts | 179 +- .../client/requests/ContactsListRequest.ts | 5 +- .../requests/ContactsRetrieveRequest.ts | 3 +- .../requests/CreateFieldMappingRequest.ts | 2 - .../PatchedEditFieldMappingRequest.ts | 2 - .../resources/issues/client/Client.ts | 188 +- .../client/requests/IssuesListRequest.ts | 2 +- .../client/requests/EndUserDetailsRequest.ts | 6 - ...ilsRequestCompletedAccountInitialScreen.ts | 12 - .../resources/linkToken/types/index.ts | 1 - .../resources/linkedAccounts/client/Client.ts | 194 +- .../requests/LinkedAccountsListRequest.ts | 2 +- .../resources/projects/client/Client.ts | 326 +- .../client/requests/ProjectsListRequest.ts | 2 +- .../requests/ProjectsUsersListRequest.ts | 5 +- .../types/ProjectsUsersListRequestExpand.ts | 9 - .../ProjectsUsersListRequestExpandItem.ts | 8 + .../resources/projects/types/index.ts | 2 +- .../resources/roles/client/Client.ts | 162 +- .../roles/client/requests/RolesListRequest.ts | 2 +- .../resources/syncStatus/client/Client.ts | 129 +- .../client/requests/SyncStatusListRequest.ts | 2 +- .../ticketing/resources/tags/client/Client.ts | 162 +- .../tags/client/requests/TagsListRequest.ts | 2 +- .../resources/teams/client/Client.ts | 162 +- .../teams/client/requests/TeamsListRequest.ts | 2 +- .../resources/tickets/client/Client.ts | 657 +- .../client/requests/TicketsListRequest.ts | 5 +- .../TicketsRemoteFieldClassesListRequest.ts | 2 +- .../client/requests/TicketsRetrieveRequest.ts | 3 +- .../requests/TicketsViewersListRequest.ts | 7 +- .../tickets/types/TicketsListRequestExpand.ts | 300 - .../types/TicketsListRequestExpandItem.ts | 14 + .../types/TicketsRetrieveRequestExpand.ts | 301 - .../types/TicketsRetrieveRequestExpandItem.ts | 14 + .../types/TicketsViewersListRequestExpand.ts | 9 - .../TicketsViewersListRequestExpandItem.ts | 8 + .../resources/tickets/types/index.ts | 6 +- .../resources/users/client/Client.ts | 206 +- .../users/client/requests/UsersListRequest.ts | 5 +- .../client/requests/UsersRetrieveRequest.ts | 3 +- .../users/types/UsersListRequestExpand.ts | 8 - .../users/types/UsersListRequestExpandItem.ts | 7 + .../users/types/UsersRetrieveRequestExpand.ts | 8 - .../types/UsersRetrieveRequestExpandItem.ts | 8 + .../ticketing/resources/users/types/index.ts | 4 +- .../types/AccountDetailsAndActions.ts | 1 - .../ticketing/types/CategoriesEnum.ts | 2 - .../resources/ticketing/types/CategoryEnum.ts | 2 - .../resources/ticketing/types/Collection.ts | 2 +- .../types/CollectionCollectionType.ts | 11 - .../CompletedAccountInitialScreenEnum.ts | 6 - .../types/FieldMappingApiInstance.ts | 1 - .../ticketing/types/PatchedTicketRequest.ts | 6 +- .../types/PatchedTicketRequestPriority.ts | 13 - .../ticketing/types/RemoteFieldClass.ts | 4 +- .../types/RemoteFieldClassFieldFormat.ts | 5 - .../types/RemoteFieldClassFieldType.ts | 5 - .../ticketing/types/RemoteResponse.ts | 2 +- .../types/RemoteResponseResponseType.ts} | 2 +- .../ticketing/types/RoleTicketAccess.ts | 2 +- .../ticketing/types/RoleTicketActionsItem.ts | 2 +- .../resources/ticketing/types/SyncStatus.ts | 2 +- .../types/SyncStatusStatus.ts} | 2 +- src/api/resources/ticketing/types/Ticket.ts | 16 +- src/api/resources/ticketing/types/index.ts | 7 +- src/auth/BearerAuthProvider.ts | 2 +- src/core/exports.ts | 1 + src/core/index.ts | 2 + src/core/pagination/CustomPager.ts | 194 + src/core/pagination/Page.ts | 76 + src/core/pagination/exports.ts | 1 + src/core/pagination/index.ts | 2 + src/core/utils/index.ts | 1 + src/core/utils/setObjectProperty.ts | 43 + src/environments.ts | 6 +- .../types/CompanyInfoListRequestExpand.ts | 14 - .../types/CompanyInfoListRequestExpandItem.ts | 14 + .../types/CompanyInfoRetrieveRequestExpand.ts | 14 - .../CompanyInfoRetrieveRequestExpandItem.ts | 14 + .../resources/companyInfo/types/index.ts | 4 +- .../requests/PatchedContactEndpointRequest.ts | 19 - .../contacts/client/requests/index.ts | 1 - .../types/ContactsListRequestExpand.ts | 29 - .../types/ContactsListRequestExpandItem.ts | 14 + .../types/ContactsRetrieveRequestExpand.ts | 29 - .../ContactsRetrieveRequestExpandItem.ts | 14 + .../resources/contacts/types/index.ts | 4 +- .../types/CreditNotesListRequestExpand.ts | 269 - .../types/CreditNotesListRequestExpandItem.ts | 29 + .../types/CreditNotesRetrieveRequestExpand.ts | 269 - .../CreditNotesRetrieveRequestExpandItem.ts | 29 + .../resources/creditNotes/types/index.ts | 4 +- .../requests/ExpenseReportEndpointRequest.ts | 19 - .../expenseReports/client/requests/index.ts | 1 - .../ExpenseReportsLinesListRequestExpand.ts | 141 - .../types/ExpenseReportsListRequestExpand.ts | 45 - .../ExpenseReportsRetrieveRequestExpand.ts | 45 - .../resources/expenseReports/types/index.ts | 3 - .../types/ExpensesListRequestExpand.ts | 141 - .../types/ExpensesListRequestExpandItem.ts | 14 + .../types/ExpensesRetrieveRequestExpand.ts | 141 - .../ExpensesRetrieveRequestExpandItem.ts | 14 + .../resources/expenses/types/index.ts | 4 +- ...eralLedgerTransactionsListRequestExpand.ts | 45 - ...LedgerTransactionsListRequestExpandItem.ts | 19 + ...LedgerTransactionsRetrieveRequestExpand.ts | 45 - ...erTransactionsRetrieveRequestExpandItem.ts | 19 + .../generalLedgerTransactions/types/index.ts | 4 +- .../resources/accounting/resources/index.ts | 3 - .../types/InvoicesListRequestExpand.ts | 8205 --------- .../types/InvoicesListRequestExpandItem.ts | 39 + .../types/InvoicesRetrieveRequestExpand.ts | 8205 --------- .../InvoicesRetrieveRequestExpandItem.ts | 39 + .../resources/invoices/types/index.ts | 4 +- .../items/types/ItemsListRequestExpand.ts | 77 - .../items/types/ItemsListRequestExpandItem.ts | 14 + .../items/types/ItemsRetrieveRequestExpand.ts | 77 - .../types/ItemsRetrieveRequestExpandItem.ts | 14 + .../accounting/resources/items/types/index.ts | 4 +- .../types/JournalEntriesListRequestExpand.ts | 141 - .../JournalEntriesListRequestExpandItem.ts | 27 + .../JournalEntriesRetrieveRequestExpand.ts | 141 - ...JournalEntriesRetrieveRequestExpandItem.ts | 27 + .../resources/journalEntries/types/index.ts | 4 +- .../types/PaymentsListRequestExpand.ts | 269 - .../types/PaymentsListRequestExpandItem.ts | 29 + .../types/PaymentsRetrieveRequestExpand.ts | 269 - .../PaymentsRetrieveRequestExpandItem.ts | 29 + .../resources/payments/types/index.ts | 4 +- .../types/ProjectsListRequestExpand.ts | 14 - .../types/ProjectsListRequestExpandItem.ts | 14 + .../types/ProjectsRetrieveRequestExpand.ts | 14 - .../ProjectsRetrieveRequestExpandItem.ts | 14 + .../resources/projects/types/index.ts | 4 +- .../types/PurchaseOrdersListRequestExpand.ts | 269 - .../PurchaseOrdersListRequestExpandItem.ts | 29 + .../PurchaseOrdersRetrieveRequestExpand.ts | 269 - ...PurchaseOrdersRetrieveRequestExpandItem.ts | 29 + .../resources/purchaseOrders/types/index.ts | 4 +- .../types/TransactionsListRequestExpand.ts | 141 - .../TransactionsListRequestExpandItem.ts | 14 + .../TransactionsRetrieveRequestExpand.ts | 141 - .../TransactionsRetrieveRequestExpandItem.ts | 14 + .../resources/transactions/types/index.ts | 4 +- .../types/VendorCreditsListRequestExpand.ts | 77 - .../VendorCreditsListRequestExpandItem.ts | 14 + .../VendorCreditsRetrieveRequestExpand.ts | 77 - .../VendorCreditsRetrieveRequestExpandItem.ts | 14 + .../resources/vendorCredits/types/index.ts | 4 +- .../accounting/types/AccountDetails.ts | 6 +- .../types/AccountDetailsAndActions.ts | 5 - .../resources/accounting/types/CompanyInfo.ts | 5 +- .../accounting/types/CompanyInfoCurrency.ts | 15 - .../types/CreditNoteLineItemRequestProject.ts | 6 +- .../types/DataPassthroughRequest.ts | 6 +- .../types/DataPassthroughRequestMethod.ts | 15 - .../resources/accounting/types/ExpenseLine.ts | 10 +- .../accounting/types/ExpenseLineCurrency.ts | 15 - .../accounting/types/ExpenseLineRequest.ts | 4 - .../types/ExpenseLineRequestProject.ts | 6 +- .../accounting/types/ExpenseReport.ts | 66 - .../accounting/types/ExpenseReportCompany.ts | 15 - .../accounting/types/ExpenseReportLine.ts | 75 - .../types/ExpenseReportLineAccount.ts | 15 - .../types/ExpenseReportLineCompany.ts | 15 - .../types/ExpenseReportLineContact.ts | 15 - .../types/ExpenseReportLineEmployee.ts | 15 - .../types/ExpenseReportLineProject.ts | 15 - .../types/ExpenseReportLineRequest.ts | 77 - .../types/ExpenseReportLineRequestAccount.ts | 15 - .../types/ExpenseReportLineRequestCompany.ts | 15 - .../types/ExpenseReportLineRequestContact.ts | 15 - .../types/ExpenseReportLineRequestEmployee.ts | 15 - .../types/ExpenseReportLineRequestProject.ts | 15 - .../types/ExpenseReportLineRequestTaxRate.ts | 15 - .../types/ExpenseReportLineTaxRate.ts | 15 - .../accounting/types/ExpenseReportRequest.ts | 57 - .../ExpenseReportRequestAccountingPeriod.ts | 15 - .../types/ExpenseReportRequestCompany.ts | 15 - .../types/ExpenseReportRequestEmployee.ts | 15 - .../accounting/types/ExpenseReportResponse.ts | 28 - .../accounting/types/ExpenseReportStatus.ts | 15 - .../types/ExpenseReportStatusEnum.ts | 14 - .../accounting/types/ExpenseRequest.ts | 6 +- .../types/ExpenseRequestCurrency.ts | 15 - .../types/ExternalTargetFieldApiResponse.ts | 5 - .../types/FieldMappingApiInstanceResponse.ts | 5 - .../types/GeneralLedgerTransactionLine.ts | 6 +- ...eneralLedgerTransactionLineBaseCurrency.ts | 15 - .../resources/accounting/types/Invoice.ts | 6 +- .../resources/accounting/types/InvoiceType.ts | 15 - .../types/MultipartFormFieldRequest.ts | 6 +- .../MultipartFormFieldRequestEncoding.ts | 15 - .../types/PaginatedExpenseReportLineList.ts | 23 - .../types/PaginatedExpenseReportList.ts | 23 - .../accounting/types/PatchedContactRequest.ts | 54 - .../PatchedContactRequestAddressesItem.ts | 15 - .../accounting/types/RemoteFieldClass.ts | 2 - .../resources/accounting/types/SyncStatus.ts | 6 +- .../types/SyncStatusLastSyncResult.ts | 4 +- .../resources/accounting/types/index.ts | 36 +- .../types/ApplicationsListRequestExpand.ts | 525 - .../ApplicationsListRequestExpandItem.ts | 31 + .../ApplicationsRetrieveRequestExpand.ts | 525 - .../ApplicationsRetrieveRequestExpandItem.ts | 31 + .../ats/resources/applications/types/index.ts | 4 +- .../candidates/client/requests/index.ts | 1 - .../types/CandidatesListRequestExpand.ts | 14 - .../types/CandidatesListRequestExpandItem.ts | 14 + .../types/CandidatesRetrieveRequestExpand.ts | 14 - .../CandidatesRetrieveRequestExpandItem.ts | 14 + .../ats/resources/candidates/types/index.ts | 5 +- .../types/InterviewsListRequestExpand.ts | 45 - .../types/InterviewsListRequestExpandItem.ts | 14 + .../types/InterviewsRetrieveRequestExpand.ts | 45 - .../InterviewsRetrieveRequestExpandItem.ts | 14 + .../ats/resources/interviews/types/index.ts | 4 +- .../jobs/types/JobsListRequestExpand.ts | 77 - .../jobs/types/JobsListRequestExpandItem.ts | 14 + .../jobs/types/JobsRetrieveRequestExpand.ts | 77 - .../types/JobsRetrieveRequestExpandItem.ts | 14 + ...JobsScreeningQuestionsListRequestExpand.ts | 14 - ...ScreeningQuestionsListRequestExpandItem.ts | 14 + .../ats/resources/jobs/types/index.ts | 6 +- .../offers/types/OffersListRequestExpand.ts | 14 - .../types/OffersListRequestExpandItem.ts | 14 + .../types/OffersRetrieveRequestExpand.ts | 14 - .../types/OffersRetrieveRequestExpandItem.ts | 14 + .../ats/resources/offers/types/index.ts | 4 +- .../types/ScorecardsListRequestExpand.ts | 29 - .../types/ScorecardsListRequestExpandItem.ts | 14 + .../types/ScorecardsRetrieveRequestExpand.ts | 29 - .../ScorecardsRetrieveRequestExpandItem.ts | 14 + .../ats/resources/scorecards/types/index.ts | 4 +- .../ats/types/AccountDetailsAndActions.ts | 5 - .../resources/ats/types/ActivityRequest.ts | 6 +- .../ats/types/ActivityRequestActivityType.ts | 15 - .../IgnoreCommonModelRequest.ts | 10 +- .../types/IgnoreCommonModelRequestReason.ts | 8 +- .../resources/ats/types/index.ts | 3 +- .../types/ContactsListRequestExpand.ts | 14 - .../types/ContactsListRequestExpandItem.ts | 14 + .../types/ContactsRetrieveRequestExpand.ts | 14 - .../ContactsRetrieveRequestExpandItem.ts | 14 + .../crm/resources/contacts/types/index.ts | 4 +- .../types/EngagementsListRequestExpand.ts | 45 - .../types/EngagementsListRequestExpandItem.ts | 14 + .../types/EngagementsRetrieveRequestExpand.ts | 45 - .../EngagementsRetrieveRequestExpandItem.ts | 14 + .../crm/resources/engagements/types/index.ts | 4 +- .../leads/types/LeadsListRequestExpand.ts | 29 - .../leads/types/LeadsListRequestExpandItem.ts | 14 + .../leads/types/LeadsRetrieveRequestExpand.ts | 29 - .../types/LeadsRetrieveRequestExpandItem.ts | 14 + .../crm/resources/leads/types/index.ts | 4 +- .../notes/types/NotesListRequestExpand.ts | 45 - .../notes/types/NotesListRequestExpandItem.ts | 14 + .../notes/types/NotesRetrieveRequestExpand.ts | 45 - .../types/NotesRetrieveRequestExpandItem.ts | 14 + .../crm/resources/notes/types/index.ts | 4 +- .../types/OpportunitiesListRequestExpand.ts | 29 - .../OpportunitiesListRequestExpandItem.ts | 14 + .../OpportunitiesRetrieveRequestExpand.ts | 29 - .../OpportunitiesRetrieveRequestExpandItem.ts | 14 + .../resources/opportunities/types/index.ts | 4 +- .../tasks/types/TasksListRequestExpand.ts | 29 - .../tasks/types/TasksListRequestExpandItem.ts | 14 + .../tasks/types/TasksRetrieveRequestExpand.ts | 29 - .../types/TasksRetrieveRequestExpandItem.ts | 14 + .../crm/resources/tasks/types/index.ts | 4 +- .../resources/crm/types/RemoteFieldClass.ts | 14 +- .../crm/types/RemoteFieldClassFieldFormat.ts | 15 - .../crm/types/RemoteFieldClassFieldType.ts | 15 - .../resources/crm/types/RemoteResponse.ts | 6 +- .../crm/types/RemoteResponseResponseType.ts | 15 + .../resources/crm/types/index.ts | 3 +- .../{filestorage => fileStorage}/index.ts | 0 .../resources/asyncPassthrough/index.ts | 0 .../types/AsyncPassthroughRetrieveResponse.ts | 4 +- .../resources/asyncPassthrough/types/index.ts | 0 .../resources/fieldMapping}/client/index.ts | 0 .../requests/CreateFieldMappingRequest.ts | 4 +- .../PatchedEditFieldMappingRequest.ts | 4 +- .../fieldMapping/client/requests/index.ts | 0 .../resources/fieldMapping}/index.ts | 0 .../resources/files}/client/index.ts | 0 .../FileStorageFileEndpointRequest.ts | 4 +- .../resources/files/client/requests/index.ts | 0 .../resources/files/index.ts | 0 ...esDownloadRequestMetaListRequestOrderBy.ts | 4 +- .../files/types/FilesListRequestExpandItem.ts | 14 + .../files/types/FilesListRequestOrderBy.ts | 4 +- .../types/FilesRetrieveRequestExpandItem.ts | 14 + .../resources/files/types/index.ts | 4 +- .../resources/folders}/client/index.ts | 0 .../FileStorageFolderEndpointRequest.ts | 4 +- .../folders/client/requests/index.ts | 0 .../resources/folders/index.ts | 0 .../types/FoldersListRequestExpandItem.ts | 14 + .../types/FoldersRetrieveRequestExpandItem.ts | 14 + .../resources/folders/types/index.ts | 2 + .../resources/forceResync/client/index.ts | 0 .../client/syncStatusResyncCreate.ts | 4 +- .../resources/forceResync}/index.ts | 0 .../resources/generateKey}/client/index.ts | 0 .../requests/GenerateRemoteKeyRequest.ts | 4 +- .../generateKey/client/requests/index.ts | 0 .../resources/generateKey}/index.ts | 0 .../resources/groups}/index.ts | 0 .../types/GroupsListRequestExpandItem.ts | 14 + .../types/GroupsRetrieveRequestExpandItem.ts | 14 + .../resources/groups/types/index.ts | 2 + .../resources/index.ts | 3 + .../resources/issues}/index.ts | 0 .../issues/types/IssuesListRequestStatus.ts | 4 +- .../resources/issues/types/index.ts | 0 .../resources/linkToken}/client/index.ts | 0 .../client/requests/EndUserDetailsRequest.ts | 10 +- .../linkToken/client/requests/index.ts | 0 .../resources/linkToken}/index.ts | 1 + .../types/EndUserDetailsRequestLanguage.ts | 15 + .../resources/linkToken/types/index.ts | 1 + .../resources/linkedAccounts/index.ts | 1 + .../LinkedAccountsListRequestCategory.ts | 4 +- .../resources/linkedAccounts/types/index.ts | 0 .../resources/regenerateKey}/client/index.ts | 0 .../RemoteKeyForRegenerationRequest.ts | 4 +- .../regenerateKey/client/requests/index.ts | 0 .../resources/regenerateKey}/index.ts | 0 .../resources/scopes}/client/index.ts | 0 ...ountCommonModelScopeDeserializerRequest.ts | 4 +- .../resources/scopes/client/requests/index.ts | 0 .../resources/scopes}/index.ts | 0 .../webhookReceivers/client/index.ts | 0 .../resources/webhookReceivers/client/list.ts | 4 +- .../client/requests/WebhookReceiverRequest.ts | 4 +- .../webhookReceivers/client/requests/index.ts | 0 .../resources/webhookReceivers}/index.ts | 0 .../types/AccountDetails.ts | 10 +- .../types/AccountDetailsAndActions.ts | 21 +- .../types/AccountDetailsAndActionsCategory.ts | 15 + .../AccountDetailsAndActionsIntegration.ts | 4 +- .../types/AccountDetailsAndActionsStatus.ts | 15 + .../AccountDetailsAndActionsStatusEnum.ts | 4 +- .../types/AccountDetailsCategory.ts | 4 +- .../types/AccountIntegration.ts | 4 +- .../types/AccountToken.ts | 4 +- .../types/AdvancedMetadata.ts | 4 +- .../types/AsyncPassthroughReciept.ts | 4 +- .../types/AuditLogEvent.ts | 4 +- .../types/AuditLogEventEventType.ts | 4 +- .../types/AuditLogEventRole.ts | 4 +- .../types/AvailableActions.ts | 4 +- .../types/CategoriesEnum.ts | 4 +- .../types/CategoryEnum.ts | 4 +- .../types/CommonModelScopeApi.ts | 4 +- .../types/CommonModelScopesBodyRequest.ts | 4 +- .../types/DataPassthroughRequest.ts | 4 +- .../types/DebugModeLog.ts | 4 +- .../types/DebugModelLogSummary.ts | 4 +- .../types/DownloadRequestMeta.ts | 4 +- .../types/Drive.ts | 2 +- .../types/EnabledActionsEnum.ts | 4 +- .../types/EncodingEnum.ts | 4 +- .../types/ErrorValidationProblem.ts | 4 +- .../types/EventTypeEnum.ts | 4 +- .../types/ExternalTargetFieldApi.ts | 4 +- .../types/ExternalTargetFieldApiResponse.ts | 4 +- .../types/FieldMappingApiInstance.ts | 4 +- .../FieldMappingApiInstanceRemoteField.ts | 4 +- ...piInstanceRemoteFieldRemoteEndpointInfo.ts | 4 +- .../types/FieldMappingApiInstanceResponse.ts | 4 +- .../FieldMappingApiInstanceTargetField.ts | 4 +- .../types/FieldMappingInstanceResponse.ts | 4 +- .../types/FieldPermissionDeserializer.ts | 4 +- .../FieldPermissionDeserializerRequest.ts | 4 +- .../types/FileDrive.ts | 2 +- .../types/FileFolder.ts | 8 +- .../types/FilePermissions.ts | 10 +- .../types/FilePermissionsTwoItem.ts} | 8 +- .../types/FileRequest.ts | 4 +- .../types/FileRequestDrive.ts | 4 +- .../types/FileRequestFolder.ts | 8 +- .../types/FileRequestPermissions.ts | 10 +- .../types/FileRequestPermissionsTwoItem.ts} | 8 +- .../types/FileStorageFileResponse.ts | 4 +- .../types/FileStorageFolderResponse.ts | 8 +- .../types/File_.ts | 2 +- .../types/Folder.ts | 6 +- .../types/FolderDrive.ts | 4 +- .../types/FolderParentFolder.ts | 8 +- .../types/FolderPermissions.ts | 10 +- .../types/FolderPermissionsTwoItem.ts} | 8 +- .../types/FolderRequest.ts | 4 +- .../types/FolderRequestDrive.ts | 4 +- .../types/FolderRequestParentFolder.ts | 8 +- .../types/FolderRequestPermissions.ts | 10 +- .../types/FolderRequestPermissionsTwoItem.ts} | 8 +- .../types/Group.ts | 6 +- .../types/GroupChildGroupsItem.ts | 8 +- .../IndividualCommonModelScopeDeserializer.ts | 4 +- ...dualCommonModelScopeDeserializerRequest.ts | 4 +- .../types/Issue.ts | 2 +- .../types/IssueStatus.ts | 4 +- .../types/IssueStatusEnum.ts | 4 +- .../types/LanguageEnum.ts | 4 +- .../types/LastSyncResultEnum.ts | 4 +- .../types/LinkToken.ts | 4 +- .../types/LinkedAccountStatus.ts | 4 +- .../types/MetaResponse.ts | 4 +- .../types/MethodEnum.ts | 4 +- .../types/ModelOperation.ts | 4 +- .../types/ModelPermissionDeserializer.ts | 4 +- .../ModelPermissionDeserializerRequest.ts | 4 +- .../types/MultipartFormFieldRequest.ts | 4 +- .../MultipartFormFieldRequestEncoding.ts | 4 +- .../PaginatedAccountDetailsAndActionsList.ts | 4 +- .../types/PaginatedAuditLogEventList.ts | 4 +- .../types/PaginatedDownloadRequestMetaList.ts | 4 +- .../types/PaginatedDriveList.ts | 4 +- .../types/PaginatedFileList.ts | 4 +- .../types/PaginatedFolderList.ts | 8 +- .../types/PaginatedGroupList.ts | 8 +- .../types/PaginatedIssueList.ts | 4 +- .../types/PaginatedSyncStatusList.ts | 4 +- .../types/PaginatedUserList.ts | 4 +- .../types/Permission.ts | 4 +- .../types/PermissionGroup.ts | 8 +- .../types/PermissionRequest.ts | 4 +- .../types/PermissionRequestGroup.ts | 8 +- .../types/PermissionRequestRolesItem.ts | 4 +- .../types/PermissionRequestType.ts | 4 +- .../types/PermissionRequestUser.ts | 4 +- .../types/PermissionRolesItem.ts | 4 +- .../types/PermissionType.ts | 4 +- .../types/PermissionUser.ts | 4 +- .../types/RemoteData.ts | 4 +- .../types/RemoteEndpointInfo.ts | 4 +- .../types/RemoteFieldApi.ts | 4 +- .../types/RemoteFieldApiCoverage.ts | 4 +- .../types/RemoteFieldApiResponse.ts | 4 +- .../types/RemoteKey.ts | 4 +- .../types/RemoteResponse.ts | 10 +- .../types/RemoteResponseResponseType.ts | 15 + .../types/RequestFormatEnum.ts | 4 +- .../types/ResponseTypeEnum.ts | 4 +- .../types/RoleEnum.ts | 2 +- .../types/RolesEnum.ts | 2 +- .../SelectiveSyncConfigurationsUsageEnum.ts | 4 +- .../types/StatusFd5Enum.ts | 4 +- .../types/SyncStatus.ts | 10 +- .../types/SyncStatusLastSyncResult.ts | 15 + .../fileStorage/types/SyncStatusStatus.ts | 15 + .../types/TypeEnum.ts | 2 +- .../types/User.ts | 2 +- .../types/ValidationProblemSource.ts | 4 +- .../types/WarningValidationProblem.ts | 4 +- .../types/WebhookReceiver.ts | 4 +- .../resources/fileStorage}/types/index.ts | 13 +- .../files/types/FilesListRequestExpand.ts | 29 - .../files/types/FilesRetrieveRequestExpand.ts | 29 - .../folders/types/FoldersListRequestExpand.ts | 29 - .../types/FoldersRetrieveRequestExpand.ts | 29 - .../resources/folders/types/index.ts | 2 - .../resources/regenerateKey/client/index.ts | 1 - .../resources/scopes/client/index.ts | 1 - .../filestorage/resources/scopes/index.ts | 1 - .../resources/webhookReceivers/index.ts | 1 - .../EmployeePayrollRunsListRequestExpand.ts | 14 - ...mployeePayrollRunsListRequestExpandItem.ts | 14 + ...mployeePayrollRunsRetrieveRequestExpand.ts | 14 - ...yeePayrollRunsRetrieveRequestExpandItem.ts | 14 + .../employeePayrollRuns/types/index.ts | 4 +- .../employees/client/requests/index.ts | 1 - .../types/EmployeesListRequestExpand.ts | 525 - .../types/EmployeesListRequestExpandItem.ts | 31 + .../types/EmployeesRetrieveRequestExpand.ts | 525 - .../EmployeesRetrieveRequestExpandItem.ts | 31 + .../hris/resources/employees/types/index.ts | 5 +- .../types/EmploymentsListRequestExpand.ts | 14 - .../types/EmploymentsListRequestExpandItem.ts | 14 + .../types/EmploymentsRetrieveRequestExpand.ts | 14 - .../EmploymentsRetrieveRequestExpandItem.ts | 14 + .../hris/resources/employments/types/index.ts | 4 +- .../requests/CreateFieldMappingRequest.ts | 2 - .../PatchedEditFieldMappingRequest.ts | 2 - .../client/requests/EndUserDetailsRequest.ts | 6 - ...ilsRequestCompletedAccountInitialScreen.ts | 15 - .../hris/resources/linkToken/types/index.ts | 1 - .../timeOff/types/TimeOffListRequestExpand.ts | 14 - .../types/TimeOffListRequestExpandItem.ts | 14 + .../types/TimeOffRetrieveRequestExpand.ts | 14 - .../types/TimeOffRetrieveRequestExpandItem.ts | 14 + .../hris/resources/timeOff/types/index.ts | 4 +- .../hris/types/AccountDetailsAndActions.ts | 5 - .../resources/hris/types/Benefit.ts | 4 +- .../CompletedAccountInitialScreenEnum.ts | 14 - .../hris/types/FieldMappingApiInstance.ts | 2 - .../IgnoreCommonModelRequest.ts | 10 +- .../types/IgnoreCommonModelRequestReason.ts | 8 +- .../hris/types/MultipartFormFieldRequest.ts | 6 +- .../MultipartFormFieldRequestEncoding.ts | 15 - .../resources/hris/types/SyncStatus.ts | 6 +- .../resources/hris/types/SyncStatusStatus.ts | 15 + .../resources/hris/types/index.ts | 5 +- src/serialization/resources/index.ts | 2 +- .../CollectionsViewersListRequestExpand.ts | 14 - ...CollectionsViewersListRequestExpandItem.ts | 14 + .../resources/collections/types/index.ts | 2 +- .../types/CommentsListRequestExpand.ts | 29 - .../types/CommentsListRequestExpandItem.ts | 14 + .../types/CommentsRetrieveRequestExpand.ts | 29 - .../CommentsRetrieveRequestExpandItem.ts | 14 + .../resources/comments/types/index.ts | 4 +- .../requests/CreateFieldMappingRequest.ts | 2 - .../PatchedEditFieldMappingRequest.ts | 2 - .../client/requests/EndUserDetailsRequest.ts | 6 - ...ilsRequestCompletedAccountInitialScreen.ts | 15 - .../resources/linkToken/types/index.ts | 1 - .../types/ProjectsUsersListRequestExpand.ts | 14 - .../ProjectsUsersListRequestExpandItem.ts | 14 + .../resources/projects/types/index.ts | 2 +- .../tickets/types/TicketsListRequestExpand.ts | 525 - .../types/TicketsListRequestExpandItem.ts | 31 + .../types/TicketsRetrieveRequestExpand.ts | 525 - .../types/TicketsRetrieveRequestExpandItem.ts | 31 + .../types/TicketsViewersListRequestExpand.ts | 14 - .../TicketsViewersListRequestExpandItem.ts | 14 + .../resources/tickets/types/index.ts | 6 +- .../users/types/UsersListRequestExpand.ts | 14 - .../users/types/UsersListRequestExpandItem.ts | 14 + .../users/types/UsersRetrieveRequestExpand.ts | 14 - .../types/UsersRetrieveRequestExpandItem.ts | 14 + .../ticketing/resources/users/types/index.ts | 4 +- .../types/AccountDetailsAndActions.ts | 5 - .../ticketing/types/CategoriesEnum.ts | 4 +- .../resources/ticketing/types/CategoryEnum.ts | 4 +- .../resources/ticketing/types/Collection.ts | 6 +- .../types/CollectionCollectionType.ts | 15 - .../CompletedAccountInitialScreenEnum.ts | 14 - .../types/FieldMappingApiInstance.ts | 2 - .../ticketing/types/PatchedTicketRequest.ts | 10 +- .../types/PatchedTicketRequestPriority.ts | 15 - .../ticketing/types/RemoteFieldClass.ts | 12 +- .../types/RemoteFieldClassFieldFormat.ts | 15 - .../types/RemoteFieldClassFieldType.ts | 15 - .../ticketing/types/RemoteResponse.ts | 6 +- .../types/RemoteResponseResponseType.ts | 15 + .../ticketing/types/RoleTicketAccess.ts | 4 +- .../ticketing/types/RoleTicketActionsItem.ts | 4 +- .../resources/ticketing/types/SyncStatus.ts | 6 +- .../ticketing/types/SyncStatusStatus.ts | 15 + .../resources/ticketing/types/Ticket.ts | 8 +- .../resources/ticketing/types/index.ts | 7 +- src/version.ts | 2 +- tests/unit/utils/setObjectProperty.test.ts | 76 + .../wire/{ats => ATS}/accountDetails.test.ts | 0 tests/wire/{ats => ATS}/accountToken.test.ts | 0 tests/wire/{ats => ATS}/activities.test.ts | 47 +- tests/wire/{ats => ATS}/applications.test.ts | 47 +- .../{ats => ATS}/asyncPassthrough.test.ts | 0 tests/wire/{ats => ATS}/attachments.test.ts | 41 +- tests/wire/{ats => ATS}/auditTrail.test.ts | 25 +- .../{ats => ATS}/availableActions.test.ts | 0 tests/wire/{ats => ATS}/candidates.test.ts | 49 +- tests/wire/{ats => ATS}/deleteAccount.test.ts | 0 tests/wire/{ats => ATS}/departments.test.ts | 33 +- tests/wire/{ats => ATS}/eeocs.test.ts | 47 +- tests/wire/{ats => ATS}/fieldMapping.test.ts | 0 tests/wire/{ats => ATS}/forceResync.test.ts | 0 tests/wire/{ats => ATS}/generateKey.test.ts | 0 tests/wire/{ats => ATS}/interviews.test.ts | 53 +- tests/wire/{ats => ATS}/issues.test.ts | 47 +- .../{ats => ATS}/jobInterviewStages.test.ts | 37 +- tests/wire/{ats => ATS}/jobPostings.test.ts | 37 +- tests/wire/{ats => ATS}/jobs.test.ts | 75 +- tests/wire/{ats => ATS}/linkToken.test.ts | 0 .../wire/{ats => ATS}/linkedAccounts.test.ts | 43 +- tests/wire/{ats => ATS}/offers.test.ts | 49 +- tests/wire/{ats => ATS}/offices.test.ts | 39 +- tests/wire/{ats => ATS}/passthrough.test.ts | 0 tests/wire/{ats => ATS}/regenerateKey.test.ts | 0 tests/wire/{ats => ATS}/rejectReasons.test.ts | 33 +- tests/wire/{ats => ATS}/scopes.test.ts | 0 tests/wire/{ats => ATS}/scorecards.test.ts | 51 +- tests/wire/{ats => ATS}/syncStatus.test.ts | 17 +- tests/wire/{ats => ATS}/tags.test.ts | 39 +- tests/wire/{ats => ATS}/users.test.ts | 45 +- .../{ats => ATS}/webhookReceivers.test.ts | 0 .../accountDetails.test.ts | 0 .../accountToken.test.ts | 0 .../accountingPeriods.test.ts | 23 +- .../accounts.test.ts | 49 +- .../addresses.test.ts | 0 .../asyncPassthrough.test.ts | 0 .../asyncTasks.test.ts | 0 .../attachments.test.ts | 35 +- .../auditTrail.test.ts | 25 +- .../availableActions.test.ts | 0 .../balanceSheets.test.ts | 37 +- .../bankFeedAccounts.test.ts | 23 +- .../bankFeedTransactions.test.ts | 37 +- .../cashFlowStatements.test.ts | 37 +- .../companyInfo.test.ts | 43 +- tests/wire/Accounting/contacts.test.ts | 892 + .../creditNotes.test.ts | 45 +- .../deleteAccount.test.ts | 0 .../employees.test.ts | 31 +- .../expenses.test.ts | 117 +- .../fieldMapping.test.ts | 56 - .../forceResync.test.ts | 0 .../generalLedgerTransactions.test.ts | 41 +- .../generateKey.test.ts | 0 .../incomeStatements.test.ts | 37 +- .../invoices.test.ts | 113 +- .../{accounting => Accounting}/issues.test.ts | 41 +- .../{accounting => Accounting}/items.test.ts | 41 +- .../journalEntries.test.ts | 101 +- .../linkToken.test.ts | 0 .../linkedAccounts.test.ts | 43 +- .../passthrough.test.ts | 0 .../paymentMethods.test.ts | 23 +- .../paymentTerms.test.ts | 25 +- .../payments.test.ts | 105 +- .../phoneNumbers.test.ts | 0 .../projects.test.ts | 8 - .../purchaseOrders.test.ts | 105 +- .../regenerateKey.test.ts | 0 .../{accounting => Accounting}/scopes.test.ts | 0 .../syncStatus.test.ts | 17 +- .../taxRates.test.ts | 39 +- .../trackingCategories.test.ts | 47 +- .../transactions.test.ts | 41 +- .../vendorCredits.test.ts | 41 +- .../webhookReceivers.test.ts | 0 .../wire/{crm => CRM}/accountDetails.test.ts | 0 tests/wire/{crm => CRM}/accountToken.test.ts | 0 tests/wire/{crm => CRM}/accounts.test.ts | 78 +- .../{crm => CRM}/associationTypes.test.ts | 43 +- tests/wire/{crm => CRM}/associations.test.ts | 36 +- .../{crm => CRM}/asyncPassthrough.test.ts | 0 tests/wire/{crm => CRM}/auditTrail.test.ts | 25 +- .../{crm => CRM}/availableActions.test.ts | 0 tests/wire/{crm => CRM}/contacts.test.ts | 80 +- .../{crm => CRM}/customObjectClasses.test.ts | 35 +- tests/wire/{crm => CRM}/customObjects.test.ts | 66 +- tests/wire/{crm => CRM}/deleteAccount.test.ts | 0 .../wire/{crm => CRM}/engagementTypes.test.ts | 66 +- tests/wire/{crm => CRM}/engagements.test.ts | 72 +- tests/wire/{crm => CRM}/fieldMapping.test.ts | 0 tests/wire/{crm => CRM}/forceResync.test.ts | 0 tests/wire/{crm => CRM}/generateKey.test.ts | 0 tests/wire/{crm => CRM}/issues.test.ts | 47 +- tests/wire/{crm => CRM}/leads.test.ts | 84 +- tests/wire/{crm => CRM}/linkToken.test.ts | 0 .../wire/{crm => CRM}/linkedAccounts.test.ts | 39 +- tests/wire/{crm => CRM}/notes.test.ts | 82 +- tests/wire/{crm => CRM}/opportunities.test.ts | 82 +- tests/wire/{crm => CRM}/passthrough.test.ts | 0 tests/wire/{crm => CRM}/regenerateKey.test.ts | 0 tests/wire/{crm => CRM}/scopes.test.ts | 0 tests/wire/{crm => CRM}/stages.test.ts | 72 +- tests/wire/{crm => CRM}/syncStatus.test.ts | 0 tests/wire/{crm => CRM}/tasks.test.ts | 74 +- tests/wire/{crm => CRM}/users.test.ts | 74 +- .../{crm => CRM}/webhookReceivers.test.ts | 0 .../accountDetails.test.ts | 2 +- .../accountToken.test.ts | 2 +- .../asyncPassthrough.test.ts | 4 +- .../auditTrail.test.ts | 25 +- .../availableActions.test.ts | 2 +- .../deleteAccount.test.ts | 2 +- .../drives.test.ts | 37 +- .../fieldMapping.test.ts | 12 +- .../files.test.ts | 86 +- .../folders.test.ts | 47 +- .../forceResync.test.ts | 2 +- .../generateKey.test.ts | 2 +- .../groups.test.ts | 37 +- .../issues.test.ts | 43 +- .../linkToken.test.ts | 2 +- .../linkedAccounts.test.ts | 43 +- .../passthrough.test.ts | 2 +- .../regenerateKey.test.ts | 2 +- .../scopes.test.ts | 6 +- .../syncStatus.test.ts | 17 +- .../users.test.ts | 37 +- .../webhookReceivers.test.ts | 4 +- .../{hris => HRIS}/accountDetails.test.ts | 0 .../wire/{hris => HRIS}/accountToken.test.ts | 0 .../{hris => HRIS}/asyncPassthrough.test.ts | 0 tests/wire/{hris => HRIS}/auditTrail.test.ts | 25 +- .../{hris => HRIS}/availableActions.test.ts | 0 tests/wire/{hris => HRIS}/bankInfo.test.ts | 53 +- tests/wire/{hris => HRIS}/benefits.test.ts | 51 +- tests/wire/{hris => HRIS}/companies.test.ts | 39 +- .../wire/{hris => HRIS}/deleteAccount.test.ts | 0 tests/wire/{hris => HRIS}/dependents.test.ts | 36 +- .../employeePayrollRuns.test.ts | 47 +- tests/wire/{hris => HRIS}/employees.test.ts | 86 +- .../{hris => HRIS}/employerBenefits.test.ts | 33 +- tests/wire/{hris => HRIS}/employments.test.ts | 43 +- .../wire/{hris => HRIS}/fieldMapping.test.ts | 38 - tests/wire/{hris => HRIS}/forceResync.test.ts | 0 tests/wire/{hris => HRIS}/generateKey.test.ts | 0 tests/wire/{hris => HRIS}/groups.test.ts | 49 +- tests/wire/{hris => HRIS}/issues.test.ts | 47 +- tests/wire/{hris => HRIS}/linkToken.test.ts | 0 .../{hris => HRIS}/linkedAccounts.test.ts | 43 +- tests/wire/{hris => HRIS}/locations.test.ts | 45 +- tests/wire/{hris => HRIS}/passthrough.test.ts | 0 tests/wire/{hris => HRIS}/payGroups.test.ts | 33 +- tests/wire/{hris => HRIS}/payrollRuns.test.ts | 47 +- .../wire/{hris => HRIS}/regenerateKey.test.ts | 0 tests/wire/{hris => HRIS}/scopes.test.ts | 0 tests/wire/{hris => HRIS}/syncStatus.test.ts | 17 +- tests/wire/{hris => HRIS}/teams.test.ts | 43 +- tests/wire/{hris => HRIS}/timeOff.test.ts | 61 +- .../{hris => HRIS}/timeOffBalances.test.ts | 43 +- .../{hris => HRIS}/timesheetEntries.test.ts | 47 +- .../{hris => HRIS}/webhookReceivers.test.ts | 0 .../accountDetails.test.ts | 0 .../accountToken.test.ts | 0 .../{ticketing => Ticketing}/accounts.test.ts | 33 +- .../asyncPassthrough.test.ts | 0 .../attachments.test.ts | 39 +- .../auditTrail.test.ts | 25 +- .../availableActions.test.ts | 0 .../collections.test.ts | 69 +- .../{ticketing => Ticketing}/comments.test.ts | 39 +- .../{ticketing => Ticketing}/contacts.test.ts | 37 +- .../deleteAccount.test.ts | 0 .../fieldMapping.test.ts | 28 - .../forceResync.test.ts | 0 .../generateKey.test.ts | 0 .../{ticketing => Ticketing}/issues.test.ts | 41 +- .../linkToken.test.ts | 0 .../linkedAccounts.test.ts | 43 +- .../passthrough.test.ts | 0 .../{ticketing => Ticketing}/projects.test.ts | 57 +- .../regenerateKey.test.ts | 0 .../{ticketing => Ticketing}/roles.test.ts | 33 +- .../{ticketing => Ticketing}/scopes.test.ts | 0 .../syncStatus.test.ts | 17 +- .../{ticketing => Ticketing}/tags.test.ts | 39 +- .../{ticketing => Ticketing}/teams.test.ts | 33 +- .../{ticketing => Ticketing}/tickets.test.ts | 168 +- .../{ticketing => Ticketing}/users.test.ts | 39 +- .../webhookReceivers.test.ts | 0 tests/wire/accounting/contacts.test.ts | 1470 -- tests/wire/accounting/expenseReports.test.ts | 1171 -- 1518 files changed, 30337 insertions(+), 73213 deletions(-) delete mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts delete mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/Client.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/index.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/exports.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts delete mode 100644 src/api/resources/accounting/resources/expenseReports/types/index.ts delete mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/items/types/ItemsListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts create mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/accounting/types/CompanyInfoCurrency.ts delete mode 100644 src/api/resources/accounting/types/ExpenseLineCurrency.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReport.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportCompany.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLine.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineCompany.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineEmployee.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequest.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequestAccount.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequestCompany.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequestContact.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequestEmployee.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequestProject.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportRequest.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportRequestCompany.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportRequestEmployee.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportResponse.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportStatus.ts delete mode 100644 src/api/resources/accounting/types/ExpenseReportStatusEnum.ts delete mode 100644 src/api/resources/accounting/types/ExpenseRequestCurrency.ts delete mode 100644 src/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts delete mode 100644 src/api/resources/accounting/types/InvoiceType.ts delete mode 100644 src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts delete mode 100644 src/api/resources/accounting/types/PaginatedExpenseReportLineList.ts delete mode 100644 src/api/resources/accounting/types/PaginatedExpenseReportList.ts delete mode 100644 src/api/resources/accounting/types/PatchedContactRequest.ts delete mode 100644 src/api/resources/accounting/types/PatchedContactRequestAddressesItem.ts create mode 100644 src/api/resources/accounting/types/SyncStatusLastSyncResult.ts delete mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts create mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts create mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts create mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts create mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts create mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts create mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/jobs/types/JobsListRequestExpand.ts create mode 100644 src/api/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts create mode 100644 src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts create mode 100644 src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/offers/types/OffersListRequestExpand.ts create mode 100644 src/api/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts create mode 100644 src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts create mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts delete mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts create mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ats/types/ActivityRequestActivityType.ts rename src/api/resources/ats/{resources/candidates/client/requests => types}/IgnoreCommonModelRequest.ts (57%) rename src/api/resources/ats/{resources/candidates => }/types/IgnoreCommonModelRequestReason.ts (73%) delete mode 100644 src/api/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts create mode 100644 src/api/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts create mode 100644 src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts create mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts create mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/leads/types/LeadsListRequestExpand.ts create mode 100644 src/api/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts create mode 100644 src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/notes/types/NotesListRequestExpand.ts create mode 100644 src/api/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts create mode 100644 src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts create mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts create mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/tasks/types/TasksListRequestExpand.ts create mode 100644 src/api/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts delete mode 100644 src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts create mode 100644 src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/crm/types/RemoteFieldClassFieldType.ts rename src/api/resources/crm/types/{RemoteFieldClassFieldFormat.ts => RemoteResponseResponseType.ts} (66%) rename src/api/resources/{filestorage => fileStorage}/client/Client.ts (97%) rename src/api/resources/{filestorage => fileStorage}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/exports.ts (71%) rename src/api/resources/{filestorage => fileStorage}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/accountDetails/client/Client.ts (93%) rename src/api/resources/{filestorage => fileStorage}/resources/accountDetails/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/accountDetails/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/accountDetails/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/accountToken/client/Client.ts (93%) rename src/api/resources/{filestorage => fileStorage}/resources/accountToken/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/accountToken/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/accountToken/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/asyncPassthrough/client/Client.ts (90%) rename src/api/resources/{filestorage => fileStorage}/resources/asyncPassthrough/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/asyncPassthrough/exports.ts (100%) rename src/api/resources/{accounting/resources/expenseReports => fileStorage/resources/asyncPassthrough}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts (69%) rename src/api/resources/{filestorage => fileStorage}/resources/asyncPassthrough/types/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/auditTrail/client/Client.ts rename src/api/resources/{accounting/resources/expenseReports => fileStorage/resources/auditTrail}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/auditTrail/client/requests/AuditTrailListRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/auditTrail/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/auditTrail/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/auditTrail/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/availableActions/client/Client.ts (93%) rename src/api/resources/{filestorage => fileStorage}/resources/availableActions/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/availableActions/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/availableActions/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/deleteAccount/client/Client.ts (98%) rename src/api/resources/{filestorage => fileStorage}/resources/deleteAccount/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/deleteAccount/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/deleteAccount/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/drives/client/Client.ts rename src/api/resources/{filestorage/resources/auditTrail => fileStorage/resources/drives}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/drives/client/requests/DrivesListRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/drives/client/requests/DrivesRetrieveRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/drives/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/drives/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/drives/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/client/Client.ts (89%) rename src/api/resources/{filestorage/resources/drives => fileStorage/resources/fieldMapping}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/fieldMapping/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/Client.ts (56%) rename src/api/resources/{filestorage/resources/fieldMapping => fileStorage/resources/files}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/requests/FileStorageFileEndpointRequest.ts (92%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/requests/FilesDownloadRequestMetaListRequest.ts (91%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/requests/FilesDownloadRetrieveRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/requests/FilesListRequest.ts (84%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/requests/FilesRetrieveRequest.ts (86%) rename src/api/resources/{filestorage => fileStorage}/resources/files/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/files/exports.ts (100%) rename src/api/resources/{filestorage/resources/asyncPassthrough => fileStorage/resources/files}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts rename src/api/resources/{filestorage => fileStorage}/resources/files/types/FilesListRequestOrderBy.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts rename src/{serialization/resources/filestorage => api/resources/fileStorage}/resources/files/types/index.ts (52%) rename src/api/resources/{filestorage => fileStorage}/resources/folders/client/Client.ts (59%) rename src/api/resources/{filestorage/resources/files => fileStorage/resources/folders}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts (91%) rename src/api/resources/{filestorage => fileStorage}/resources/folders/client/requests/FoldersListRequest.ts (95%) rename src/api/resources/{filestorage => fileStorage}/resources/folders/client/requests/FoldersRetrieveRequest.ts (85%) rename src/api/resources/{filestorage => fileStorage}/resources/folders/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/folders/exports.ts (100%) rename src/api/resources/{filestorage/resources/files => fileStorage/resources/folders}/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts create mode 100644 src/api/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts create mode 100644 src/api/resources/fileStorage/resources/folders/types/index.ts rename src/api/resources/{filestorage => fileStorage}/resources/forceResync/client/Client.ts (94%) rename src/api/resources/{filestorage => fileStorage}/resources/forceResync/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/forceResync/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/forceResync/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/generateKey/client/Client.ts (88%) rename src/api/resources/{filestorage/resources/folders => fileStorage/resources/generateKey}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/generateKey/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/generateKey/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/generateKey/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/groups/client/Client.ts rename src/api/resources/{filestorage/resources/generateKey => fileStorage/resources/groups}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/groups/client/requests/GroupsListRequest.ts (92%) rename src/api/resources/{filestorage => fileStorage}/resources/groups/client/requests/GroupsRetrieveRequest.ts (79%) rename src/api/resources/{filestorage => fileStorage}/resources/groups/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/groups/exports.ts (100%) rename src/api/resources/{filestorage/resources/folders => fileStorage/resources/groups}/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts create mode 100644 src/api/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts create mode 100644 src/api/resources/fileStorage/resources/groups/types/index.ts rename src/api/resources/{filestorage => fileStorage}/resources/index.ts (96%) create mode 100644 src/api/resources/fileStorage/resources/issues/client/Client.ts rename src/api/resources/{filestorage/resources/groups => fileStorage/resources/issues}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/issues/client/requests/IssuesListRequest.ts (97%) rename src/api/resources/{filestorage => fileStorage}/resources/issues/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/issues/exports.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/issues/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/issues/types/IssuesListRequestStatus.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/issues/types/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/linkToken/client/Client.ts (89%) rename src/api/resources/{filestorage/resources/issues => fileStorage/resources/linkToken}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/linkToken/client/requests/EndUserDetailsRequest.ts (91%) rename src/api/resources/{filestorage => fileStorage}/resources/linkToken/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/linkToken/exports.ts (100%) rename src/api/resources/{filestorage/resources/linkedAccounts => fileStorage/resources/linkToken}/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts create mode 100644 src/api/resources/fileStorage/resources/linkToken/types/index.ts create mode 100644 src/api/resources/fileStorage/resources/linkedAccounts/client/Client.ts rename src/api/resources/{filestorage/resources/linkToken => fileStorage/resources/linkedAccounts}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts (97%) rename src/api/resources/{filestorage => fileStorage}/resources/linkedAccounts/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/linkedAccounts/exports.ts (100%) rename src/{serialization/resources/accounting/resources/expenseReports => api/resources/fileStorage/resources/linkedAccounts}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/linkedAccounts/types/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/passthrough/client/Client.ts (88%) rename src/api/resources/{filestorage => fileStorage}/resources/passthrough/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/passthrough/exports.ts (100%) rename src/api/resources/{filestorage/resources/groups => fileStorage/resources/passthrough}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/regenerateKey/client/Client.ts (88%) rename src/api/resources/{filestorage/resources/linkedAccounts => fileStorage/resources/regenerateKey}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/regenerateKey/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/regenerateKey/exports.ts (100%) rename src/api/resources/{filestorage/resources/linkToken => fileStorage/resources/regenerateKey}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/scopes/client/Client.ts (91%) rename src/api/resources/{filestorage/resources/regenerateKey => fileStorage/resources/scopes}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts (94%) rename src/api/resources/{filestorage => fileStorage}/resources/scopes/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/scopes/exports.ts (100%) rename src/api/resources/{filestorage/resources/passthrough => fileStorage/resources/scopes}/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/syncStatus/client/Client.ts rename src/api/resources/{filestorage/resources/scopes => fileStorage/resources/syncStatus}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/syncStatus/client/requests/SyncStatusListRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/syncStatus/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/syncStatus/exports.ts (100%) rename src/api/resources/{filestorage/resources/regenerateKey => fileStorage/resources/syncStatus}/index.ts (100%) create mode 100644 src/api/resources/fileStorage/resources/users/client/Client.ts rename src/api/resources/{filestorage/resources/syncStatus => fileStorage/resources/users}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/users/client/requests/UsersListRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/users/client/requests/UsersRetrieveRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/users/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/users/exports.ts (100%) rename src/api/resources/{filestorage/resources/scopes => fileStorage/resources/users}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/webhookReceivers/client/Client.ts (89%) rename src/api/resources/{filestorage/resources/users => fileStorage/resources/webhookReceivers}/client/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/webhookReceivers/client/requests/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/resources/webhookReceivers/exports.ts (100%) rename src/api/resources/{filestorage/resources/syncStatus => fileStorage/resources/webhookReceivers}/index.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/AccountDetails.ts (93%) rename src/api/resources/{filestorage => fileStorage}/types/AccountDetailsAndActions.ts (81%) create mode 100644 src/api/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts rename src/api/resources/{filestorage => fileStorage}/types/AccountDetailsAndActionsIntegration.ts (72%) create mode 100644 src/api/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts rename src/api/resources/{filestorage => fileStorage}/types/AccountDetailsAndActionsStatusEnum.ts (100%) rename src/api/resources/{accounting => fileStorage}/types/AccountDetailsCategory.ts (59%) rename src/api/resources/{filestorage => fileStorage}/types/AccountIntegration.ts (96%) rename src/api/resources/{filestorage => fileStorage}/types/AccountToken.ts (77%) rename src/api/resources/{filestorage => fileStorage}/types/AdvancedMetadata.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/AsyncPassthroughReciept.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/AuditLogEvent.ts (97%) rename src/api/resources/{filestorage => fileStorage}/types/AuditLogEventEventType.ts (97%) rename src/api/resources/{filestorage => fileStorage}/types/AuditLogEventRole.ts (85%) rename src/api/resources/{filestorage => fileStorage}/types/AvailableActions.ts (78%) rename src/api/resources/{filestorage => fileStorage}/types/CategoriesEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/CategoryEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/CommonModelScopeApi.ts (78%) rename src/api/resources/{filestorage => fileStorage}/types/CommonModelScopesBodyRequest.ts (78%) rename src/api/resources/{filestorage => fileStorage}/types/DataPassthroughRequest.ts (89%) rename src/api/resources/{filestorage => fileStorage}/types/DebugModeLog.ts (77%) rename src/api/resources/{filestorage => fileStorage}/types/DebugModelLogSummary.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/DownloadRequestMeta.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/Drive.ts (96%) rename src/api/resources/{filestorage => fileStorage}/types/EnabledActionsEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/EncodingEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/ErrorValidationProblem.ts (79%) rename src/api/resources/{filestorage => fileStorage}/types/EventTypeEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/ExternalTargetFieldApi.ts (100%) create mode 100644 src/api/resources/fileStorage/types/ExternalTargetFieldApiResponse.ts rename src/api/resources/{filestorage => fileStorage}/types/FieldMappingApiInstance.ts (63%) rename src/api/resources/{filestorage => fileStorage}/types/FieldMappingApiInstanceRemoteField.ts (80%) rename src/api/resources/{filestorage => fileStorage}/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts (100%) create mode 100644 src/api/resources/fileStorage/types/FieldMappingApiInstanceResponse.ts rename src/api/resources/{filestorage => fileStorage}/types/FieldMappingApiInstanceTargetField.ts (100%) create mode 100644 src/api/resources/fileStorage/types/FieldMappingInstanceResponse.ts rename src/api/resources/{filestorage => fileStorage}/types/FieldPermissionDeserializer.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/FieldPermissionDeserializerRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/FileDrive.ts (73%) rename src/api/resources/{filestorage => fileStorage}/types/FileFolder.ts (72%) rename src/api/resources/{filestorage => fileStorage}/types/FilePermissions.ts (74%) rename src/api/resources/{accounting/types/ExpenseReportLineTaxRate.ts => fileStorage/types/FilePermissionsTwoItem.ts} (59%) rename src/api/resources/{filestorage => fileStorage}/types/FileRequest.ts (90%) rename src/api/resources/{filestorage => fileStorage}/types/FileRequestDrive.ts (71%) rename src/api/resources/{filestorage => fileStorage}/types/FileRequestFolder.ts (71%) rename src/api/resources/{filestorage => fileStorage}/types/FileRequestPermissions.ts (79%) create mode 100644 src/api/resources/fileStorage/types/FileRequestPermissionsTwoItem.ts create mode 100644 src/api/resources/fileStorage/types/FileStorageFileResponse.ts create mode 100644 src/api/resources/fileStorage/types/FileStorageFolderResponse.ts rename src/api/resources/{filestorage => fileStorage}/types/File_.ts (92%) rename src/api/resources/{filestorage => fileStorage}/types/Folder.ts (89%) rename src/api/resources/{filestorage => fileStorage}/types/FolderDrive.ts (72%) rename src/api/resources/{filestorage => fileStorage}/types/FolderParentFolder.ts (72%) rename src/api/resources/{filestorage => fileStorage}/types/FolderPermissions.ts (74%) create mode 100644 src/api/resources/fileStorage/types/FolderPermissionsTwoItem.ts rename src/api/resources/{filestorage => fileStorage}/types/FolderRequest.ts (86%) rename src/api/resources/{filestorage => fileStorage}/types/FolderRequestDrive.ts (72%) rename src/api/resources/{filestorage => fileStorage}/types/FolderRequestParentFolder.ts (73%) rename src/api/resources/{filestorage => fileStorage}/types/FolderRequestPermissions.ts (79%) create mode 100644 src/api/resources/fileStorage/types/FolderRequestPermissionsTwoItem.ts rename src/api/resources/{filestorage => fileStorage}/types/Group.ts (92%) rename src/api/resources/{filestorage => fileStorage}/types/GroupChildGroupsItem.ts (64%) rename src/api/resources/{filestorage => fileStorage}/types/IndividualCommonModelScopeDeserializer.ts (63%) rename src/api/resources/{filestorage => fileStorage}/types/IndividualCommonModelScopeDeserializerRequest.ts (65%) rename src/api/resources/{filestorage => fileStorage}/types/Issue.ts (91%) rename src/api/resources/{filestorage => fileStorage}/types/IssueStatus.ts (78%) rename src/api/resources/{filestorage => fileStorage}/types/IssueStatusEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/LanguageEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/LastSyncResultEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/LinkToken.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/LinkedAccountStatus.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/MetaResponse.ts (86%) rename src/api/resources/{filestorage => fileStorage}/types/MethodEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/ModelOperation.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/ModelPermissionDeserializer.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/ModelPermissionDeserializerRequest.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/MultipartFormFieldRequest.ts (93%) rename src/api/resources/{filestorage => fileStorage}/types/MultipartFormFieldRequestEncoding.ts (82%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedAccountDetailsAndActionsList.ts (78%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedAuditLogEventList.ts (80%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedDownloadRequestMetaList.ts (79%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedDriveList.ts (82%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedFileList.ts (82%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedFolderList.ts (82%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedGroupList.ts (82%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedIssueList.ts (82%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedSyncStatusList.ts (81%) rename src/api/resources/{filestorage => fileStorage}/types/PaginatedUserList.ts (82%) rename src/api/resources/{filestorage => fileStorage}/types/Permission.ts (88%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionGroup.ts (77%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionRequest.ts (86%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionRequestGroup.ts (77%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionRequestRolesItem.ts (80%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionRequestType.ts (81%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionRequestUser.ts (77%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionRolesItem.ts (80%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionType.ts (80%) rename src/api/resources/{filestorage => fileStorage}/types/PermissionUser.ts (77%) rename src/api/resources/{filestorage => fileStorage}/types/RemoteData.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/RemoteEndpointInfo.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/RemoteFieldApi.ts (57%) rename src/api/resources/{filestorage => fileStorage}/types/RemoteFieldApiCoverage.ts (100%) create mode 100644 src/api/resources/fileStorage/types/RemoteFieldApiResponse.ts rename src/api/resources/{filestorage => fileStorage}/types/RemoteKey.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/RemoteResponse.ts (89%) create mode 100644 src/api/resources/fileStorage/types/RemoteResponseResponseType.ts rename src/api/resources/{filestorage => fileStorage}/types/RequestFormatEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/ResponseTypeEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/RoleEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/RolesEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/SelectiveSyncConfigurationsUsageEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/StatusFd5Enum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/SyncStatus.ts (76%) rename src/api/resources/{filestorage => fileStorage}/types/SyncStatusLastSyncResult.ts (67%) rename src/api/resources/{accounting/types/ExpenseReportLineAccount.ts => fileStorage/types/SyncStatusStatus.ts} (60%) rename src/api/resources/{filestorage => fileStorage}/types/TypeEnum.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/User.ts (96%) rename src/api/resources/{filestorage => fileStorage}/types/ValidationProblemSource.ts (100%) rename src/api/resources/{filestorage => fileStorage}/types/WarningValidationProblem.ts (79%) rename src/api/resources/{filestorage => fileStorage}/types/WebhookReceiver.ts (100%) rename src/{serialization/resources/filestorage => api/resources/fileStorage}/types/index.ts (91%) delete mode 100644 src/api/resources/filestorage/resources/auditTrail/client/Client.ts delete mode 100644 src/api/resources/filestorage/resources/drives/client/Client.ts delete mode 100644 src/api/resources/filestorage/resources/files/types/FilesListRequestExpand.ts delete mode 100644 src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts delete mode 100644 src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts delete mode 100644 src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts delete mode 100644 src/api/resources/filestorage/resources/folders/types/index.ts delete mode 100644 src/api/resources/filestorage/resources/groups/client/Client.ts delete mode 100644 src/api/resources/filestorage/resources/issues/client/Client.ts delete mode 100644 src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts delete mode 100644 src/api/resources/filestorage/resources/syncStatus/client/Client.ts delete mode 100644 src/api/resources/filestorage/resources/users/client/Client.ts delete mode 100644 src/api/resources/filestorage/types/ExternalTargetFieldApiResponse.ts delete mode 100644 src/api/resources/filestorage/types/FieldMappingApiInstanceResponse.ts delete mode 100644 src/api/resources/filestorage/types/FieldMappingInstanceResponse.ts delete mode 100644 src/api/resources/filestorage/types/FilePermissionsItem.ts delete mode 100644 src/api/resources/filestorage/types/FileRequestPermissionsItem.ts delete mode 100644 src/api/resources/filestorage/types/FileStorageFileResponse.ts delete mode 100644 src/api/resources/filestorage/types/FileStorageFolderResponse.ts delete mode 100644 src/api/resources/filestorage/types/FolderPermissionsItem.ts delete mode 100644 src/api/resources/filestorage/types/FolderRequestPermissionsItem.ts delete mode 100644 src/api/resources/filestorage/types/RemoteFieldApiResponse.ts delete mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts create mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts delete mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts create mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts create mode 100644 src/api/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts delete mode 100644 src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts create mode 100644 src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts create mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts delete mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts create mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts delete mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts create mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts delete mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts create mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/hris/types/CompletedAccountInitialScreenEnum.ts rename src/api/resources/hris/{resources/employees/client/requests => types}/IgnoreCommonModelRequest.ts (57%) rename src/api/resources/hris/{resources/employees => }/types/IgnoreCommonModelRequestReason.ts (73%) delete mode 100644 src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts rename src/api/resources/{accounting/types/ExpenseReportLineContact.ts => hris/types/SyncStatusStatus.ts} (60%) delete mode 100644 src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts delete mode 100644 src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/users/types/UsersListRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts create mode 100644 src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts delete mode 100644 src/api/resources/ticketing/types/CollectionCollectionType.ts delete mode 100644 src/api/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts delete mode 100644 src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts delete mode 100644 src/api/resources/ticketing/types/RemoteFieldClassFieldFormat.ts delete mode 100644 src/api/resources/ticketing/types/RemoteFieldClassFieldType.ts rename src/api/resources/{accounting/types/DataPassthroughRequestMethod.ts => ticketing/types/RemoteResponseResponseType.ts} (57%) rename src/api/resources/{accounting/types/ExpenseReportLineProject.ts => ticketing/types/SyncStatusStatus.ts} (60%) create mode 100644 src/core/pagination/CustomPager.ts create mode 100644 src/core/pagination/Page.ts create mode 100644 src/core/pagination/exports.ts create mode 100644 src/core/pagination/index.ts create mode 100644 src/core/utils/index.ts create mode 100644 src/core/utils/setObjectProperty.ts delete mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts delete mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/client/requests/index.ts delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/index.ts delete mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/accounting/types/CompanyInfoCurrency.ts delete mode 100644 src/serialization/resources/accounting/types/DataPassthroughRequestMethod.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseLineCurrency.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReport.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportCompany.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLine.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineAccount.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineCompany.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineContact.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineEmployee.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineProject.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequest.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequestContact.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequestProject.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineTaxRate.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportRequest.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportRequestCompany.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportRequestEmployee.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportResponse.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportStatus.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseReportStatusEnum.ts delete mode 100644 src/serialization/resources/accounting/types/ExpenseRequestCurrency.ts delete mode 100644 src/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts delete mode 100644 src/serialization/resources/accounting/types/InvoiceType.ts delete mode 100644 src/serialization/resources/accounting/types/MultipartFormFieldRequestEncoding.ts delete mode 100644 src/serialization/resources/accounting/types/PaginatedExpenseReportLineList.ts delete mode 100644 src/serialization/resources/accounting/types/PaginatedExpenseReportList.ts delete mode 100644 src/serialization/resources/accounting/types/PatchedContactRequest.ts delete mode 100644 src/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.ts rename src/serialization/resources/{filestorage => accounting}/types/SyncStatusLastSyncResult.ts (83%) delete mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ats/types/ActivityRequestActivityType.ts rename src/serialization/resources/ats/{resources/candidates/client/requests => types}/IgnoreCommonModelRequest.ts (58%) rename src/serialization/resources/ats/{resources/candidates => }/types/IgnoreCommonModelRequestReason.ts (66%) delete mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/crm/types/RemoteFieldClassFieldFormat.ts delete mode 100644 src/serialization/resources/crm/types/RemoteFieldClassFieldType.ts create mode 100644 src/serialization/resources/crm/types/RemoteResponseResponseType.ts rename src/serialization/resources/{filestorage => fileStorage}/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/asyncPassthrough/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/resources/asyncPassthrough/types/index.ts (100%) rename src/{api/resources/filestorage/resources/webhookReceivers => serialization/resources/fileStorage/resources/fieldMapping}/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts (91%) rename src/serialization/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts (89%) rename src/serialization/resources/{filestorage => fileStorage}/resources/fieldMapping/client/requests/index.ts (100%) rename src/{api/resources/filestorage/resources/users => serialization/resources/fileStorage/resources/fieldMapping}/index.ts (100%) rename src/serialization/resources/{accounting/resources/expenseReports => fileStorage/resources/files}/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/files/client/requests/FileStorageFileEndpointRequest.ts (81%) rename src/serialization/resources/{filestorage => fileStorage}/resources/files/client/requests/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/files/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts (81%) create mode 100644 src/serialization/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts rename src/serialization/resources/{filestorage => fileStorage}/resources/files/types/FilesListRequestOrderBy.ts (83%) create mode 100644 src/serialization/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts rename src/{api/resources/filestorage => serialization/resources/fileStorage}/resources/files/types/index.ts (52%) rename src/serialization/resources/{filestorage/resources/fieldMapping => fileStorage/resources/folders}/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/resources/folders/client/requests/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/folders/index.ts (100%) create mode 100644 src/serialization/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts create mode 100644 src/serialization/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts create mode 100644 src/serialization/resources/fileStorage/resources/folders/types/index.ts rename src/serialization/resources/{filestorage => fileStorage}/resources/forceResync/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/forceResync/client/syncStatusResyncCreate.ts (82%) rename src/{api/resources/filestorage/resources/webhookReceivers => serialization/resources/fileStorage/resources/forceResync}/index.ts (100%) rename src/serialization/resources/{filestorage/resources/files => fileStorage/resources/generateKey}/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/resources/generateKey/client/requests/index.ts (100%) rename src/serialization/resources/{filestorage/resources/fieldMapping => fileStorage/resources/generateKey}/index.ts (100%) rename src/serialization/resources/{filestorage/resources/issues => fileStorage/resources/groups}/index.ts (100%) create mode 100644 src/serialization/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts create mode 100644 src/serialization/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts create mode 100644 src/serialization/resources/fileStorage/resources/groups/types/index.ts rename src/serialization/resources/{filestorage => fileStorage}/resources/index.ts (91%) rename src/serialization/resources/{filestorage/resources/linkedAccounts => fileStorage/resources/issues}/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/issues/types/IssuesListRequestStatus.ts (81%) rename src/serialization/resources/{filestorage => fileStorage}/resources/issues/types/index.ts (100%) rename src/serialization/resources/{filestorage/resources/folders => fileStorage/resources/linkToken}/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/linkToken/client/requests/EndUserDetailsRequest.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/resources/linkToken/client/requests/index.ts (100%) rename src/serialization/resources/{filestorage/resources/regenerateKey => fileStorage/resources/linkToken}/index.ts (50%) create mode 100644 src/serialization/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts create mode 100644 src/serialization/resources/fileStorage/resources/linkToken/types/index.ts create mode 100644 src/serialization/resources/fileStorage/resources/linkedAccounts/index.ts rename src/serialization/resources/{filestorage => fileStorage}/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/resources/linkedAccounts/types/index.ts (100%) rename src/serialization/resources/{filestorage/resources/generateKey => fileStorage/resources/regenerateKey}/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts (81%) rename src/serialization/resources/{filestorage => fileStorage}/resources/regenerateKey/client/requests/index.ts (100%) rename src/serialization/resources/{filestorage/resources/forceResync => fileStorage/resources/regenerateKey}/index.ts (100%) rename src/serialization/resources/{filestorage/resources/linkToken => fileStorage/resources/scopes}/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/resources/scopes/client/requests/index.ts (100%) rename src/serialization/resources/{filestorage/resources/generateKey => fileStorage/resources/scopes}/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/webhookReceivers/client/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/resources/webhookReceivers/client/list.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/resources/webhookReceivers/client/requests/index.ts (100%) rename src/serialization/resources/{filestorage/resources/linkToken => fileStorage/resources/webhookReceivers}/index.ts (100%) rename src/serialization/resources/{filestorage => fileStorage}/types/AccountDetails.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/AccountDetailsAndActions.ts (72%) create mode 100644 src/serialization/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts rename src/serialization/resources/{filestorage => fileStorage}/types/AccountDetailsAndActionsIntegration.ts (92%) create mode 100644 src/serialization/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts rename src/serialization/resources/{filestorage => fileStorage}/types/AccountDetailsAndActionsStatusEnum.ts (81%) rename src/serialization/resources/{accounting => fileStorage}/types/AccountDetailsCategory.ts (83%) rename src/serialization/resources/{filestorage => fileStorage}/types/AccountIntegration.ts (95%) rename src/serialization/resources/{filestorage => fileStorage}/types/AccountToken.ts (89%) rename src/serialization/resources/{filestorage => fileStorage}/types/AdvancedMetadata.ts (92%) rename src/serialization/resources/{filestorage => fileStorage}/types/AsyncPassthroughReciept.ts (84%) rename src/serialization/resources/{filestorage => fileStorage}/types/AuditLogEvent.ts (94%) rename src/serialization/resources/{filestorage => fileStorage}/types/AuditLogEventEventType.ts (83%) rename src/serialization/resources/{filestorage => fileStorage}/types/AuditLogEventRole.ts (84%) rename src/serialization/resources/{filestorage => fileStorage}/types/AvailableActions.ts (91%) rename src/serialization/resources/{filestorage => fileStorage}/types/CategoriesEnum.ts (85%) rename src/serialization/resources/{filestorage => fileStorage}/types/CategoryEnum.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/CommonModelScopeApi.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/CommonModelScopesBodyRequest.ts (89%) rename src/serialization/resources/{filestorage => fileStorage}/types/DataPassthroughRequest.ts (94%) rename src/serialization/resources/{filestorage => fileStorage}/types/DebugModeLog.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/DebugModelLogSummary.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/DownloadRequestMeta.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/Drive.ts (97%) rename src/serialization/resources/{filestorage => fileStorage}/types/EnabledActionsEnum.ts (81%) rename src/serialization/resources/{filestorage => fileStorage}/types/EncodingEnum.ts (84%) rename src/serialization/resources/{filestorage => fileStorage}/types/ErrorValidationProblem.ts (89%) rename src/serialization/resources/{filestorage => fileStorage}/types/EventTypeEnum.ts (97%) rename src/serialization/resources/{filestorage => fileStorage}/types/ExternalTargetFieldApi.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/types/ExternalTargetFieldApiResponse.ts (91%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldMappingApiInstance.ts (92%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldMappingApiInstanceRemoteField.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldMappingApiInstanceResponse.ts (91%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldMappingApiInstanceTargetField.ts (85%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldMappingInstanceResponse.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldPermissionDeserializer.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/FieldPermissionDeserializerRequest.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileDrive.ts (89%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileFolder.ts (65%) rename src/serialization/resources/{filestorage => fileStorage}/types/FilePermissions.ts (61%) rename src/serialization/resources/{filestorage/types/FilePermissionsItem.ts => fileStorage/types/FilePermissionsTwoItem.ts} (64%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileRequest.ts (96%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileRequestDrive.ts (84%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileRequestFolder.ts (65%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileRequestPermissions.ts (67%) rename src/serialization/resources/{filestorage/types/FileRequestPermissionsItem.ts => fileStorage/types/FileRequestPermissionsTwoItem.ts} (63%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileStorageFileResponse.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/FileStorageFolderResponse.ts (80%) rename src/serialization/resources/{filestorage => fileStorage}/types/File_.ts (98%) rename src/serialization/resources/{filestorage => fileStorage}/types/Folder.ts (93%) rename src/serialization/resources/{filestorage => fileStorage}/types/FolderDrive.ts (85%) rename src/serialization/resources/{filestorage => fileStorage}/types/FolderParentFolder.ts (65%) rename src/serialization/resources/{filestorage => fileStorage}/types/FolderPermissions.ts (69%) rename src/serialization/resources/{filestorage/types/FolderPermissionsItem.ts => fileStorage/types/FolderPermissionsTwoItem.ts} (63%) rename src/serialization/resources/{filestorage => fileStorage}/types/FolderRequest.ts (95%) rename src/serialization/resources/{filestorage => fileStorage}/types/FolderRequestDrive.ts (83%) rename src/serialization/resources/{filestorage => fileStorage}/types/FolderRequestParentFolder.ts (64%) rename src/serialization/resources/{filestorage => fileStorage}/types/FolderRequestPermissions.ts (66%) rename src/serialization/resources/{filestorage/types/FolderRequestPermissionsItem.ts => fileStorage/types/FolderRequestPermissionsTwoItem.ts} (62%) rename src/serialization/resources/{filestorage => fileStorage}/types/Group.ts (92%) rename src/serialization/resources/{filestorage => fileStorage}/types/GroupChildGroupsItem.ts (64%) rename src/serialization/resources/{filestorage => fileStorage}/types/IndividualCommonModelScopeDeserializer.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/IndividualCommonModelScopeDeserializerRequest.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/Issue.ts (97%) rename src/serialization/resources/{filestorage => fileStorage}/types/IssueStatus.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/IssueStatusEnum.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/LanguageEnum.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/LastSyncResultEnum.ts (84%) rename src/serialization/resources/{filestorage => fileStorage}/types/LinkToken.ts (91%) rename src/serialization/resources/{filestorage => fileStorage}/types/LinkedAccountStatus.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/types/MetaResponse.ts (94%) rename src/serialization/resources/{filestorage => fileStorage}/types/MethodEnum.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/ModelOperation.ts (92%) rename src/serialization/resources/{filestorage => fileStorage}/types/ModelPermissionDeserializer.ts (83%) rename src/serialization/resources/{filestorage => fileStorage}/types/ModelPermissionDeserializerRequest.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/MultipartFormFieldRequest.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/MultipartFormFieldRequestEncoding.ts (81%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedAccountDetailsAndActionsList.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedAuditLogEventList.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedDownloadRequestMetaList.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedDriveList.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedFileList.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedFolderList.ts (74%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedGroupList.ts (75%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedIssueList.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedSyncStatusList.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/types/PaginatedUserList.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/Permission.ts (95%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionGroup.ts (65%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionRequest.ts (95%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionRequestGroup.ts (64%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionRequestRolesItem.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionRequestType.ts (83%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionRequestUser.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionRolesItem.ts (84%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionType.ts (85%) rename src/serialization/resources/{filestorage => fileStorage}/types/PermissionUser.ts (84%) rename src/serialization/resources/{filestorage => fileStorage}/types/RemoteData.ts (87%) rename src/serialization/resources/{filestorage => fileStorage}/types/RemoteEndpointInfo.ts (89%) rename src/serialization/resources/{filestorage => fileStorage}/types/RemoteFieldApi.ts (94%) rename src/serialization/resources/{filestorage => fileStorage}/types/RemoteFieldApiCoverage.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/RemoteFieldApiResponse.ts (92%) rename src/serialization/resources/{filestorage => fileStorage}/types/RemoteKey.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/RemoteResponse.ts (81%) create mode 100644 src/serialization/resources/fileStorage/types/RemoteResponseResponseType.ts rename src/serialization/resources/{filestorage => fileStorage}/types/RequestFormatEnum.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/ResponseTypeEnum.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/RoleEnum.ts (90%) rename src/serialization/resources/{filestorage => fileStorage}/types/RolesEnum.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/SelectiveSyncConfigurationsUsageEnum.ts (79%) rename src/serialization/resources/{filestorage => fileStorage}/types/StatusFd5Enum.ts (86%) rename src/serialization/resources/{filestorage => fileStorage}/types/SyncStatus.ts (89%) create mode 100644 src/serialization/resources/fileStorage/types/SyncStatusLastSyncResult.ts create mode 100644 src/serialization/resources/fileStorage/types/SyncStatusStatus.ts rename src/serialization/resources/{filestorage => fileStorage}/types/TypeEnum.ts (89%) rename src/serialization/resources/{filestorage => fileStorage}/types/User.ts (97%) rename src/serialization/resources/{filestorage => fileStorage}/types/ValidationProblemSource.ts (82%) rename src/serialization/resources/{filestorage => fileStorage}/types/WarningValidationProblem.ts (88%) rename src/serialization/resources/{filestorage => fileStorage}/types/WebhookReceiver.ts (88%) rename src/{api/resources/filestorage => serialization/resources/fileStorage}/types/index.ts (91%) delete mode 100644 src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts delete mode 100644 src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts delete mode 100644 src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts delete mode 100644 src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts delete mode 100644 src/serialization/resources/filestorage/resources/folders/types/index.ts delete mode 100644 src/serialization/resources/filestorage/resources/regenerateKey/client/index.ts delete mode 100644 src/serialization/resources/filestorage/resources/scopes/client/index.ts delete mode 100644 src/serialization/resources/filestorage/resources/scopes/index.ts delete mode 100644 src/serialization/resources/filestorage/resources/webhookReceivers/index.ts delete mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts delete mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/hris/types/CompletedAccountInitialScreenEnum.ts rename src/serialization/resources/hris/{resources/employees/client/requests => types}/IgnoreCommonModelRequest.ts (58%) rename src/serialization/resources/hris/{resources/employees => }/types/IgnoreCommonModelRequestReason.ts (66%) delete mode 100644 src/serialization/resources/hris/types/MultipartFormFieldRequestEncoding.ts create mode 100644 src/serialization/resources/hris/types/SyncStatusStatus.ts delete mode 100644 src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts delete mode 100644 src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts create mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts delete mode 100644 src/serialization/resources/ticketing/types/CollectionCollectionType.ts delete mode 100644 src/serialization/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts delete mode 100644 src/serialization/resources/ticketing/types/PatchedTicketRequestPriority.ts delete mode 100644 src/serialization/resources/ticketing/types/RemoteFieldClassFieldFormat.ts delete mode 100644 src/serialization/resources/ticketing/types/RemoteFieldClassFieldType.ts create mode 100644 src/serialization/resources/ticketing/types/RemoteResponseResponseType.ts create mode 100644 src/serialization/resources/ticketing/types/SyncStatusStatus.ts create mode 100644 tests/unit/utils/setObjectProperty.test.ts rename tests/wire/{ats => ATS}/accountDetails.test.ts (100%) rename tests/wire/{ats => ATS}/accountToken.test.ts (100%) rename tests/wire/{ats => ATS}/activities.test.ts (98%) rename tests/wire/{ats => ATS}/applications.test.ts (99%) rename tests/wire/{ats => ATS}/asyncPassthrough.test.ts (100%) rename tests/wire/{ats => ATS}/attachments.test.ts (98%) rename tests/wire/{ats => ATS}/auditTrail.test.ts (87%) rename tests/wire/{ats => ATS}/availableActions.test.ts (100%) rename tests/wire/{ats => ATS}/candidates.test.ts (99%) rename tests/wire/{ats => ATS}/deleteAccount.test.ts (100%) rename tests/wire/{ats => ATS}/departments.test.ts (93%) rename tests/wire/{ats => ATS}/eeocs.test.ts (92%) rename tests/wire/{ats => ATS}/fieldMapping.test.ts (100%) rename tests/wire/{ats => ATS}/forceResync.test.ts (100%) rename tests/wire/{ats => ATS}/generateKey.test.ts (100%) rename tests/wire/{ats => ATS}/interviews.test.ts (98%) rename tests/wire/{ats => ATS}/issues.test.ts (89%) rename tests/wire/{ats => ATS}/jobInterviewStages.test.ts (94%) rename tests/wire/{ats => ATS}/jobPostings.test.ts (95%) rename tests/wire/{ats => ATS}/jobs.test.ts (93%) rename tests/wire/{ats => ATS}/linkToken.test.ts (100%) rename tests/wire/{ats => ATS}/linkedAccounts.test.ts (92%) rename tests/wire/{ats => ATS}/offers.test.ts (92%) rename tests/wire/{ats => ATS}/offices.test.ts (91%) rename tests/wire/{ats => ATS}/passthrough.test.ts (100%) rename tests/wire/{ats => ATS}/regenerateKey.test.ts (100%) rename tests/wire/{ats => ATS}/rejectReasons.test.ts (93%) rename tests/wire/{ats => ATS}/scopes.test.ts (100%) rename tests/wire/{ats => ATS}/scorecards.test.ts (92%) rename tests/wire/{ats => ATS}/syncStatus.test.ts (86%) rename tests/wire/{ats => ATS}/tags.test.ts (85%) rename tests/wire/{ats => ATS}/users.test.ts (92%) rename tests/wire/{ats => ATS}/webhookReceivers.test.ts (100%) rename tests/wire/{accounting => Accounting}/accountDetails.test.ts (100%) rename tests/wire/{accounting => Accounting}/accountToken.test.ts (100%) rename tests/wire/{accounting => Accounting}/accountingPeriods.test.ts (93%) rename tests/wire/{accounting => Accounting}/accounts.test.ts (98%) rename tests/wire/{accounting => Accounting}/addresses.test.ts (100%) rename tests/wire/{accounting => Accounting}/asyncPassthrough.test.ts (100%) rename tests/wire/{accounting => Accounting}/asyncTasks.test.ts (100%) rename tests/wire/{accounting => Accounting}/attachments.test.ts (98%) rename tests/wire/{accounting => Accounting}/auditTrail.test.ts (87%) rename tests/wire/{accounting => Accounting}/availableActions.test.ts (100%) rename tests/wire/{accounting => Accounting}/balanceSheets.test.ts (97%) rename tests/wire/{accounting => Accounting}/bankFeedAccounts.test.ts (98%) rename tests/wire/{accounting => Accounting}/bankFeedTransactions.test.ts (98%) rename tests/wire/{accounting => Accounting}/cashFlowStatements.test.ts (97%) rename tests/wire/{accounting => Accounting}/companyInfo.test.ts (95%) create mode 100644 tests/wire/Accounting/contacts.test.ts rename tests/wire/{accounting => Accounting}/creditNotes.test.ts (99%) rename tests/wire/{accounting => Accounting}/deleteAccount.test.ts (100%) rename tests/wire/{accounting => Accounting}/employees.test.ts (91%) rename tests/wire/{accounting => Accounting}/expenses.test.ts (97%) rename tests/wire/{accounting => Accounting}/fieldMapping.test.ts (97%) rename tests/wire/{accounting => Accounting}/forceResync.test.ts (100%) rename tests/wire/{accounting => Accounting}/generalLedgerTransactions.test.ts (97%) rename tests/wire/{accounting => Accounting}/generateKey.test.ts (100%) rename tests/wire/{accounting => Accounting}/incomeStatements.test.ts (98%) rename tests/wire/{accounting => Accounting}/invoices.test.ts (98%) rename tests/wire/{accounting => Accounting}/issues.test.ts (92%) rename tests/wire/{accounting => Accounting}/items.test.ts (99%) rename tests/wire/{accounting => Accounting}/journalEntries.test.ts (98%) rename tests/wire/{accounting => Accounting}/linkToken.test.ts (100%) rename tests/wire/{accounting => Accounting}/linkedAccounts.test.ts (92%) rename tests/wire/{accounting => Accounting}/passthrough.test.ts (100%) rename tests/wire/{accounting => Accounting}/paymentMethods.test.ts (93%) rename tests/wire/{accounting => Accounting}/paymentTerms.test.ts (94%) rename tests/wire/{accounting => Accounting}/payments.test.ts (98%) rename tests/wire/{accounting => Accounting}/phoneNumbers.test.ts (100%) rename tests/wire/{accounting => Accounting}/projects.test.ts (93%) rename tests/wire/{accounting => Accounting}/purchaseOrders.test.ts (98%) rename tests/wire/{accounting => Accounting}/regenerateKey.test.ts (100%) rename tests/wire/{accounting => Accounting}/scopes.test.ts (100%) rename tests/wire/{accounting => Accounting}/syncStatus.test.ts (86%) rename tests/wire/{accounting => Accounting}/taxRates.test.ts (96%) rename tests/wire/{accounting => Accounting}/trackingCategories.test.ts (94%) rename tests/wire/{accounting => Accounting}/transactions.test.ts (98%) rename tests/wire/{accounting => Accounting}/vendorCredits.test.ts (99%) rename tests/wire/{accounting => Accounting}/webhookReceivers.test.ts (100%) rename tests/wire/{crm => CRM}/accountDetails.test.ts (100%) rename tests/wire/{crm => CRM}/accountToken.test.ts (100%) rename tests/wire/{crm => CRM}/accounts.test.ts (98%) rename tests/wire/{crm => CRM}/associationTypes.test.ts (98%) rename tests/wire/{crm => CRM}/associations.test.ts (91%) rename tests/wire/{crm => CRM}/asyncPassthrough.test.ts (100%) rename tests/wire/{crm => CRM}/auditTrail.test.ts (87%) rename tests/wire/{crm => CRM}/availableActions.test.ts (100%) rename tests/wire/{crm => CRM}/contacts.test.ts (98%) rename tests/wire/{crm => CRM}/customObjectClasses.test.ts (96%) rename tests/wire/{crm => CRM}/customObjects.test.ts (97%) rename tests/wire/{crm => CRM}/deleteAccount.test.ts (100%) rename tests/wire/{crm => CRM}/engagementTypes.test.ts (89%) rename tests/wire/{crm => CRM}/engagements.test.ts (98%) rename tests/wire/{crm => CRM}/fieldMapping.test.ts (100%) rename tests/wire/{crm => CRM}/forceResync.test.ts (100%) rename tests/wire/{crm => CRM}/generateKey.test.ts (100%) rename tests/wire/{crm => CRM}/issues.test.ts (89%) rename tests/wire/{crm => CRM}/leads.test.ts (98%) rename tests/wire/{crm => CRM}/linkToken.test.ts (100%) rename tests/wire/{crm => CRM}/linkedAccounts.test.ts (93%) rename tests/wire/{crm => CRM}/notes.test.ts (97%) rename tests/wire/{crm => CRM}/opportunities.test.ts (98%) rename tests/wire/{crm => CRM}/passthrough.test.ts (100%) rename tests/wire/{crm => CRM}/regenerateKey.test.ts (100%) rename tests/wire/{crm => CRM}/scopes.test.ts (100%) rename tests/wire/{crm => CRM}/stages.test.ts (89%) rename tests/wire/{crm => CRM}/syncStatus.test.ts (100%) rename tests/wire/{crm => CRM}/tasks.test.ts (98%) rename tests/wire/{crm => CRM}/users.test.ts (91%) rename tests/wire/{crm => CRM}/webhookReceivers.test.ts (100%) rename tests/wire/{filestorage => FileStorage}/accountDetails.test.ts (97%) rename tests/wire/{filestorage => FileStorage}/accountToken.test.ts (97%) rename tests/wire/{filestorage => FileStorage}/asyncPassthrough.test.ts (95%) rename tests/wire/{filestorage => FileStorage}/auditTrail.test.ts (87%) rename tests/wire/{filestorage => FileStorage}/availableActions.test.ts (97%) rename tests/wire/{filestorage => FileStorage}/deleteAccount.test.ts (91%) rename tests/wire/{filestorage => FileStorage}/drives.test.ts (93%) rename tests/wire/{filestorage => FileStorage}/fieldMapping.test.ts (98%) rename tests/wire/{filestorage => FileStorage}/files.test.ts (97%) rename tests/wire/{filestorage => FileStorage}/folders.test.ts (98%) rename tests/wire/{filestorage => FileStorage}/forceResync.test.ts (96%) rename tests/wire/{filestorage => FileStorage}/generateKey.test.ts (95%) rename tests/wire/{filestorage => FileStorage}/groups.test.ts (93%) rename tests/wire/{filestorage => FileStorage}/issues.test.ts (91%) rename tests/wire/{filestorage => FileStorage}/linkToken.test.ts (96%) rename tests/wire/{filestorage => FileStorage}/linkedAccounts.test.ts (92%) rename tests/wire/{filestorage => FileStorage}/passthrough.test.ts (97%) rename tests/wire/{filestorage => FileStorage}/regenerateKey.test.ts (95%) rename tests/wire/{filestorage => FileStorage}/scopes.test.ts (98%) rename tests/wire/{filestorage => FileStorage}/syncStatus.test.ts (86%) rename tests/wire/{filestorage => FileStorage}/users.test.ts (92%) rename tests/wire/{filestorage => FileStorage}/webhookReceivers.test.ts (93%) rename tests/wire/{hris => HRIS}/accountDetails.test.ts (100%) rename tests/wire/{hris => HRIS}/accountToken.test.ts (100%) rename tests/wire/{hris => HRIS}/asyncPassthrough.test.ts (100%) rename tests/wire/{hris => HRIS}/auditTrail.test.ts (87%) rename tests/wire/{hris => HRIS}/availableActions.test.ts (100%) rename tests/wire/{hris => HRIS}/bankInfo.test.ts (92%) rename tests/wire/{hris => HRIS}/benefits.test.ts (92%) rename tests/wire/{hris => HRIS}/companies.test.ts (91%) rename tests/wire/{hris => HRIS}/deleteAccount.test.ts (100%) rename tests/wire/{hris => HRIS}/dependents.test.ts (95%) rename tests/wire/{hris => HRIS}/employeePayrollRuns.test.ts (98%) rename tests/wire/{hris => HRIS}/employees.test.ts (98%) rename tests/wire/{hris => HRIS}/employerBenefits.test.ts (94%) rename tests/wire/{hris => HRIS}/employments.test.ts (95%) rename tests/wire/{hris => HRIS}/fieldMapping.test.ts (97%) rename tests/wire/{hris => HRIS}/forceResync.test.ts (100%) rename tests/wire/{hris => HRIS}/generateKey.test.ts (100%) rename tests/wire/{hris => HRIS}/groups.test.ts (91%) rename tests/wire/{hris => HRIS}/issues.test.ts (89%) rename tests/wire/{hris => HRIS}/linkToken.test.ts (100%) rename tests/wire/{hris => HRIS}/linkedAccounts.test.ts (92%) rename tests/wire/{hris => HRIS}/locations.test.ts (92%) rename tests/wire/{hris => HRIS}/passthrough.test.ts (100%) rename tests/wire/{hris => HRIS}/payGroups.test.ts (93%) rename tests/wire/{hris => HRIS}/payrollRuns.test.ts (94%) rename tests/wire/{hris => HRIS}/regenerateKey.test.ts (100%) rename tests/wire/{hris => HRIS}/scopes.test.ts (100%) rename tests/wire/{hris => HRIS}/syncStatus.test.ts (86%) rename tests/wire/{hris => HRIS}/teams.test.ts (91%) rename tests/wire/{hris => HRIS}/timeOff.test.ts (98%) rename tests/wire/{hris => HRIS}/timeOffBalances.test.ts (94%) rename tests/wire/{hris => HRIS}/timesheetEntries.test.ts (98%) rename tests/wire/{hris => HRIS}/webhookReceivers.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/accountDetails.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/accountToken.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/accounts.test.ts (94%) rename tests/wire/{ticketing => Ticketing}/asyncPassthrough.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/attachments.test.ts (98%) rename tests/wire/{ticketing => Ticketing}/auditTrail.test.ts (87%) rename tests/wire/{ticketing => Ticketing}/availableActions.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/collections.test.ts (92%) rename tests/wire/{ticketing => Ticketing}/comments.test.ts (98%) rename tests/wire/{ticketing => Ticketing}/contacts.test.ts (98%) rename tests/wire/{ticketing => Ticketing}/deleteAccount.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/fieldMapping.test.ts (97%) rename tests/wire/{ticketing => Ticketing}/forceResync.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/generateKey.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/issues.test.ts (92%) rename tests/wire/{ticketing => Ticketing}/linkToken.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/linkedAccounts.test.ts (92%) rename tests/wire/{ticketing => Ticketing}/passthrough.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/projects.test.ts (92%) rename tests/wire/{ticketing => Ticketing}/regenerateKey.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/roles.test.ts (94%) rename tests/wire/{ticketing => Ticketing}/scopes.test.ts (100%) rename tests/wire/{ticketing => Ticketing}/syncStatus.test.ts (86%) rename tests/wire/{ticketing => Ticketing}/tags.test.ts (90%) rename tests/wire/{ticketing => Ticketing}/teams.test.ts (94%) rename tests/wire/{ticketing => Ticketing}/tickets.test.ts (98%) rename tests/wire/{ticketing => Ticketing}/users.test.ts (94%) rename tests/wire/{ticketing => Ticketing}/webhookReceivers.test.ts (100%) delete mode 100644 tests/wire/accounting/contacts.test.ts delete mode 100644 tests/wire/accounting/expenseReports.test.ts diff --git a/.fern/metadata.json b/.fern/metadata.json index 3594085a7..3a835c4cc 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -17,7 +17,8 @@ "fetchSupport": "node-fetch", "generateSubpackageExports": true, "packageManager": "yarn", - "testFramework": "jest" + "testFramework": "jest", + "enableForwardCompatibleEnums": true }, - "sdkVersion": "3.0.1" + "sdkVersion": "3.0.3" } diff --git a/reference.md b/reference.md index ccb2348b5..f5781fc4b 100644 --- a/reference.md +++ b/reference.md @@ -120,7 +120,7 @@ await client.ats.accountToken.retrieve("public_token"); ## Ats Activities -
client.ats.activities.list({ ...params }) -> Merge.PaginatedActivityList +
client.ats.activities.list({ ...params }) -> core.Page
@@ -147,11 +147,10 @@ Returns a list of `Activity` objects.
```typescript -await client.ats.activities.list({ +const pageableResponse = await client.ats.activities.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "user", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -163,6 +162,32 @@ await client.ats.activities.list({ showEnumOrigins: "activity_type", userId: "user_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.activities.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "activity_type", + remoteId: "remote_id", + showEnumOrigins: "activity_type", + userId: "user_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -294,7 +319,6 @@ Returns an `Activity` object with the given `id`. ```typescript await client.ats.activities.retrieve("id", { - expand: "user", includeRemoteData: true, includeShellData: true, remoteFields: "activity_type", @@ -399,7 +423,7 @@ await client.ats.activities.metaPostRetrieve();
## Ats Applications -
client.ats.applications.list({ ...params }) -> Merge.PaginatedApplicationList +
client.ats.applications.list({ ...params }) -> core.Page
@@ -426,14 +450,13 @@ Returns a list of `Application` objects.
```typescript -await client.ats.applications.list({ +const pageableResponse = await client.ats.applications.list({ candidateId: "candidate_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), creditedToId: "credited_to_id", currentStageId: "current_stage_id", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "candidate", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -445,6 +468,35 @@ await client.ats.applications.list({ remoteId: "remote_id", source: "source" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.applications.list({ + candidateId: "candidate_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + creditedToId: "credited_to_id", + currentStageId: "current_stage_id", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + jobId: "job_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + rejectReasonId: "reject_reason_id", + remoteId: "remote_id", + source: "source" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -579,7 +631,6 @@ Returns an `Application` object with the given `id`. ```typescript await client.ats.applications.retrieve("id", { - expand: "candidate", includeRemoteData: true, includeShellData: true }); @@ -896,7 +947,7 @@ await client.ats.asyncPassthrough.retrieve("async_passthrough_receipt_id");
## Ats Attachments -
client.ats.attachments.list({ ...params }) -> Merge.PaginatedAttachmentList +
client.ats.attachments.list({ ...params }) -> core.Page
@@ -923,12 +974,11 @@ Returns a list of `Attachment` objects.
```typescript -await client.ats.attachments.list({ +const pageableResponse = await client.ats.attachments.list({ candidateId: "candidate_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "candidate", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -939,6 +989,32 @@ await client.ats.attachments.list({ remoteId: "remote_id", showEnumOrigins: "attachment_type" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.attachments.list({ + candidateId: "candidate_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "attachment_type", + remoteId: "remote_id", + showEnumOrigins: "attachment_type" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -1070,7 +1146,6 @@ Returns an `Attachment` object with the given `id`. ```typescript await client.ats.attachments.retrieve("id", { - expand: "candidate", includeRemoteData: true, includeShellData: true, remoteFields: "attachment_type", @@ -1175,7 +1250,7 @@ await client.ats.attachments.metaPostRetrieve();
## Ats AuditTrail -
client.ats.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList +
client.ats.auditTrail.list({ ...params }) -> core.Page
@@ -1202,7 +1277,20 @@ Gets a list of audit trail events.
```typescript -await client.ats.auditTrail.list({ +const pageableResponse = await client.ats.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.auditTrail.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", endDate: "end_date", eventType: "event_type", @@ -1210,6 +1298,12 @@ await client.ats.auditTrail.list({ startDate: "start_date", userEmail: "user_email" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -1302,7 +1396,7 @@ await client.ats.availableActions.retrieve();
## Ats Candidates -
client.ats.candidates.list({ ...params }) -> Merge.PaginatedCandidateList +
client.ats.candidates.list({ ...params }) -> core.Page
@@ -1329,12 +1423,11 @@ Returns a list of `Candidate` objects.
```typescript -await client.ats.candidates.list({ +const pageableResponse = await client.ats.candidates.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", emailAddresses: "email_addresses", - expand: "applications", firstName: "first_name", includeDeletedData: true, includeRemoteData: true, @@ -1346,6 +1439,33 @@ await client.ats.candidates.list({ remoteId: "remote_id", tags: "tags" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.candidates.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + firstName: "first_name", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + lastName: "last_name", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + tags: "tags" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -1477,7 +1597,6 @@ Returns a `Candidate` object with the given `id`. ```typescript await client.ats.candidates.retrieve("id", { - expand: "applications", includeRemoteData: true, includeShellData: true }); @@ -1653,7 +1772,7 @@ await client.ats.candidates.ignoreCreate("model_id", {
-**request:** `Merge.ats.IgnoreCommonModelRequest` +**request:** `Merge.IgnoreCommonModelRequest`
@@ -2045,7 +2164,7 @@ await client.ats.deleteAccount.delete();
## Ats Departments -
client.ats.departments.list({ ...params }) -> Merge.PaginatedDepartmentList +
client.ats.departments.list({ ...params }) -> core.Page
@@ -2072,7 +2191,24 @@ Returns a list of `Department` objects.
```typescript -await client.ats.departments.list({ +const pageableResponse = await client.ats.departments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.departments.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -2084,6 +2220,12 @@ await client.ats.departments.list({ pageSize: 1, remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -2194,7 +2336,7 @@ await client.ats.departments.retrieve("id", {
## Ats Eeocs -
client.ats.eeocs.list({ ...params }) -> Merge.PaginatedEeocList +
client.ats.eeocs.list({ ...params }) -> core.Page
@@ -2221,12 +2363,31 @@ Returns a list of `EEOC` objects.
```typescript -await client.ats.eeocs.list({ +const pageableResponse = await client.ats.eeocs.list({ + candidateId: "candidate_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "disability_status", + remoteId: "remote_id", + showEnumOrigins: "disability_status" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.eeocs.list({ candidateId: "candidate_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "candidate", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -2237,6 +2398,12 @@ await client.ats.eeocs.list({ remoteId: "remote_id", showEnumOrigins: "disability_status" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -2300,7 +2467,6 @@ Returns an `EEOC` object with the given `id`. ```typescript await client.ats.eeocs.retrieve("id", { - expand: "candidate", includeRemoteData: true, includeShellData: true, remoteFields: "disability_status", @@ -2808,7 +2974,7 @@ await client.ats.generateKey.create({
## Ats Interviews -
client.ats.interviews.list({ ...params }) -> Merge.PaginatedScheduledInterviewList +
client.ats.interviews.list({ ...params }) -> core.Page
@@ -2835,12 +3001,34 @@ Returns a list of `ScheduledInterview` objects.
```typescript -await client.ats.interviews.list({ +const pageableResponse = await client.ats.interviews.list({ + applicationId: "application_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + jobId: "job_id", + jobInterviewStageId: "job_interview_stage_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + organizerId: "organizer_id", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.interviews.list({ applicationId: "application_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "application", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -2854,6 +3042,12 @@ await client.ats.interviews.list({ remoteId: "remote_id", showEnumOrigins: "status" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -2985,7 +3179,6 @@ Returns a `ScheduledInterview` object with the given `id`. ```typescript await client.ats.interviews.retrieve("id", { - expand: "application", includeRemoteData: true, includeShellData: true, remoteFields: "status", @@ -3090,7 +3283,7 @@ await client.ats.interviews.metaPostRetrieve();
## Ats Issues -
client.ats.issues.list({ ...params }) -> Merge.PaginatedIssueList +
client.ats.issues.list({ ...params }) -> core.Page
@@ -3117,7 +3310,28 @@ Gets all issues for Organization.
```typescript -await client.ats.issues.list({ +const pageableResponse = await client.ats.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.issues.list({ accountToken: "account_token", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", endDate: "end_date", @@ -3133,6 +3347,12 @@ await client.ats.issues.list({ startDate: "start_date", status: "ONGOING" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -3232,7 +3452,7 @@ await client.ats.issues.retrieve("id");
## Ats JobInterviewStages -
client.ats.jobInterviewStages.list({ ...params }) -> Merge.PaginatedJobInterviewStageList +
client.ats.jobInterviewStages.list({ ...params }) -> core.Page
@@ -3259,11 +3479,10 @@ Returns a list of `JobInterviewStage` objects.
```typescript -await client.ats.jobInterviewStages.list({ +const pageableResponse = await client.ats.jobInterviewStages.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "job", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -3273,6 +3492,30 @@ await client.ats.jobInterviewStages.list({ pageSize: 1, remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.jobInterviewStages.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + jobId: "job_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -3336,7 +3579,6 @@ Returns a `JobInterviewStage` object with the given `id`. ```typescript await client.ats.jobInterviewStages.retrieve("id", { - expand: "job", includeRemoteData: true, includeShellData: true }); @@ -3384,7 +3626,7 @@ await client.ats.jobInterviewStages.retrieve("id", {
## Ats JobPostings -
client.ats.jobPostings.list({ ...params }) -> Merge.PaginatedJobPostingList +
client.ats.jobPostings.list({ ...params }) -> core.Page
@@ -3411,11 +3653,10 @@ Returns a list of `JobPosting` objects.
```typescript -await client.ats.jobPostings.list({ +const pageableResponse = await client.ats.jobPostings.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "job", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -3425,6 +3666,30 @@ await client.ats.jobPostings.list({ remoteId: "remote_id", status: "CLOSED" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.jobPostings.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + status: "CLOSED" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -3488,7 +3753,6 @@ Returns a `JobPosting` object with the given `id`. ```typescript await client.ats.jobPostings.retrieve("id", { - expand: "job", includeRemoteData: true, includeShellData: true }); @@ -3536,7 +3800,7 @@ await client.ats.jobPostings.retrieve("id", {
## Ats Jobs -
client.ats.jobs.list({ ...params }) -> Merge.PaginatedJobList +
client.ats.jobs.list({ ...params }) -> core.Page
@@ -3563,12 +3827,11 @@ Returns a list of `Job` objects.
```typescript -await client.ats.jobs.list({ +const pageableResponse = await client.ats.jobs.list({ code: "code", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "departments", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -3581,6 +3844,34 @@ await client.ats.jobs.list({ showEnumOrigins: "status", status: "ARCHIVED" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.jobs.list({ + code: "code", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + offices: "offices", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "ARCHIVED" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -3644,7 +3935,6 @@ Returns a `Job` object with the given `id`. ```typescript await client.ats.jobs.retrieve("id", { - expand: "departments", includeRemoteData: true, includeShellData: true, remoteFields: "status", @@ -3693,7 +3983,7 @@ await client.ats.jobs.retrieve("id", {
-
client.ats.jobs.screeningQuestionsList(job_id, { ...params }) -> Merge.PaginatedScreeningQuestionList +
client.ats.jobs.screeningQuestionsList(job_id, { ...params }) -> core.Page
@@ -3720,14 +4010,31 @@ Returns a list of `ScreeningQuestion` objects.
```typescript -await client.ats.jobs.screeningQuestionsList("job_id", { +const pageableResponse = await client.ats.jobs.screeningQuestionsList("job_id", { cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "job", includeDeletedData: true, includeRemoteData: true, includeShellData: true, pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.jobs.screeningQuestionsList("job_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -3841,7 +4148,7 @@ await client.ats.linkToken.create({
## Ats LinkedAccounts -
client.ats.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList +
client.ats.linkedAccounts.list({ ...params }) -> core.Page
@@ -3868,7 +4175,7 @@ List linked accounts for your organization.
```typescript -await client.ats.linkedAccounts.list({ +const pageableResponse = await client.ats.linkedAccounts.list({ category: "accounting", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", endUserEmailAddress: "end_user_email_address", @@ -3883,6 +4190,32 @@ await client.ats.linkedAccounts.list({ pageSize: 1, status: "status" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -3919,7 +4252,7 @@ await client.ats.linkedAccounts.list({
## Ats Offers -
client.ats.offers.list({ ...params }) -> Merge.PaginatedOfferList +
client.ats.offers.list({ ...params }) -> core.Page
@@ -3946,13 +4279,33 @@ Returns a list of `Offer` objects.
```typescript -await client.ats.offers.list({ +const pageableResponse = await client.ats.offers.list({ + applicationId: "application_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + creatorId: "creator_id", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.offers.list({ applicationId: "application_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), creatorId: "creator_id", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "application", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -3963,6 +4316,12 @@ await client.ats.offers.list({ remoteId: "remote_id", showEnumOrigins: "status" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -4026,7 +4385,6 @@ Returns an `Offer` object with the given `id`. ```typescript await client.ats.offers.retrieve("id", { - expand: "application", includeRemoteData: true, includeShellData: true, remoteFields: "status", @@ -4076,7 +4434,7 @@ await client.ats.offers.retrieve("id", {
## Ats Offices -
client.ats.offices.list({ ...params }) -> Merge.PaginatedOfficeList +
client.ats.offices.list({ ...params }) -> core.Page
@@ -4103,7 +4461,24 @@ Returns a list of `Office` objects.
```typescript -await client.ats.offices.list({ +const pageableResponse = await client.ats.offices.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.offices.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -4115,6 +4490,12 @@ await client.ats.offices.list({ pageSize: 1, remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -4358,7 +4739,7 @@ await client.ats.regenerateKey.create({
## Ats RejectReasons -
client.ats.rejectReasons.list({ ...params }) -> Merge.PaginatedRejectReasonList +
client.ats.rejectReasons.list({ ...params }) -> core.Page
@@ -4385,7 +4766,7 @@ Returns a list of `RejectReason` objects.
```typescript -await client.ats.rejectReasons.list({ +const pageableResponse = await client.ats.rejectReasons.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -4397,6 +4778,29 @@ await client.ats.rejectReasons.list({ pageSize: 1, remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.rejectReasons.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -4507,7 +4911,7 @@ await client.ats.rejectReasons.retrieve("id", {
## Ats Scorecards -
client.ats.scorecards.list({ ...params }) -> Merge.PaginatedScorecardList +
client.ats.scorecards.list({ ...params }) -> core.Page
@@ -4534,12 +4938,33 @@ Returns a list of `Scorecard` objects.
```typescript -await client.ats.scorecards.list({ +const pageableResponse = await client.ats.scorecards.list({ + applicationId: "application_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + interviewId: "interview_id", + interviewerId: "interviewer_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "overall_recommendation", + remoteId: "remote_id", + showEnumOrigins: "overall_recommendation" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.scorecards.list({ applicationId: "application_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "application", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -4552,6 +4977,12 @@ await client.ats.scorecards.list({ remoteId: "remote_id", showEnumOrigins: "overall_recommendation" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -4615,7 +5046,6 @@ Returns a `Scorecard` object with the given `id`. ```typescript await client.ats.scorecards.retrieve("id", { - expand: "application", includeRemoteData: true, includeShellData: true, remoteFields: "overall_recommendation", @@ -4665,7 +5095,7 @@ await client.ats.scorecards.retrieve("id", {
## Ats SyncStatus -
client.ats.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList +
client.ats.syncStatus.list({ ...params }) -> core.Page
@@ -4692,10 +5122,25 @@ Get sync status for the current sync and the most recently finished sync. `last_
```typescript -await client.ats.syncStatus.list({ +const pageableResponse = await client.ats.syncStatus.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -4788,7 +5233,7 @@ await client.ats.forceResync.syncStatusResyncCreate();
## Ats Tags -
client.ats.tags.list({ ...params }) -> Merge.PaginatedTagList +
client.ats.tags.list({ ...params }) -> core.Page
@@ -4815,7 +5260,24 @@ Returns a list of `Tag` objects.
```typescript -await client.ats.tags.list({ +const pageableResponse = await client.ats.tags.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.tags.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -4827,6 +5289,12 @@ await client.ats.tags.list({ pageSize: 1, remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -4863,7 +5331,7 @@ await client.ats.tags.list({
## Ats Users -
client.ats.users.list({ ...params }) -> Merge.PaginatedRemoteUserList +
client.ats.users.list({ ...params }) -> core.Page
@@ -4890,7 +5358,27 @@ Returns a list of `RemoteUser` objects.
```typescript -await client.ats.users.list({ +const pageableResponse = await client.ats.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email: "email", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "access_role", + remoteId: "remote_id", + showEnumOrigins: "access_role" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ats.users.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -4905,6 +5393,12 @@ await client.ats.users.list({ remoteId: "remote_id", showEnumOrigins: "access_role" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -5138,8 +5632,8 @@ await client.ats.webhookReceivers.create({
-## Crm AccountDetails -
client.crm.accountDetails.retrieve() -> Merge.AccountDetails +## Accounting AccountDetails +
client.accounting.accountDetails.retrieve() -> Merge.AccountDetails
@@ -5166,7 +5660,7 @@ Get details for a linked account.
```typescript -await client.crm.accountDetails.retrieve(); +await client.accounting.accountDetails.retrieve(); ```
@@ -5194,8 +5688,8 @@ await client.crm.accountDetails.retrieve();
-## Crm AccountToken -
client.crm.accountToken.retrieve(public_token) -> Merge.AccountToken +## Accounting AccountToken +
client.accounting.accountToken.retrieve(public_token) -> Merge.AccountToken
@@ -5222,7 +5716,7 @@ Returns the account token for the end user with the provided public token.
```typescript -await client.crm.accountToken.retrieve("public_token"); +await client.accounting.accountToken.retrieve("public_token"); ```
@@ -5258,8 +5752,170 @@ await client.crm.accountToken.retrieve("public_token");
-## Crm Accounts -
client.crm.accounts.list({ ...params }) -> Merge.PaginatedAccountList +## Accounting AccountingPeriods +
client.accounting.accountingPeriods.list({ ...params }) -> core.Page +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `AccountingPeriod` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +const pageableResponse = await client.accounting.accountingPeriods.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.accountingPeriods.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.accounting.AccountingPeriodsListRequest` + +
+
+ +
+
+ +**requestOptions:** `AccountingPeriodsClient.RequestOptions` + +
+
+
+
+ + +
+
+
+ +
client.accounting.accountingPeriods.retrieve(id, { ...params }) -> Merge.AccountingPeriod +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns an `AccountingPeriod` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.accounting.accountingPeriods.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.accounting.AccountingPeriodsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `AccountingPeriodsClient.RequestOptions` + +
+
+
+
+ + +
+
+
+ +## Accounting Accounts +
client.accounting.accounts.list({ ...params }) -> core.Page
@@ -5286,22 +5942,55 @@ Returns a list of `Account` objects.
```typescript -await client.crm.accounts.list({ +const pageableResponse = await client.accounting.accounts.list({ + accountType: "account_type", + classification: "", + companyId: "company_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "owner", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), name: "name", - ownerId: "owner_id", pageSize: 1, - remoteId: "remote_id" + remoteFields: "classification", + remoteId: "remote_id", + showEnumOrigins: "classification", + status: "" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.accounts.list({ + accountType: "account_type", + classification: "", + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteFields: "classification", + remoteId: "remote_id", + showEnumOrigins: "classification", + status: "" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -5317,7 +6006,7 @@ await client.crm.accounts.list({
-**request:** `Merge.crm.AccountsListRequest` +**request:** `Merge.accounting.AccountsListRequest`
@@ -5337,7 +6026,7 @@ await client.crm.accounts.list({
-
client.crm.accounts.create({ ...params }) -> Merge.CrmAccountResponse +
client.accounting.accounts.create({ ...params }) -> Merge.AccountResponse
@@ -5364,7 +6053,7 @@ Creates an `Account` object with the given values.
```typescript -await client.crm.accounts.create({ +await client.accounting.accounts.create({ isDebugMode: true, runAsync: true, model: {} @@ -5384,7 +6073,7 @@ await client.crm.accounts.create({
-**request:** `Merge.crm.CrmAccountEndpointRequest` +**request:** `Merge.accounting.AccountEndpointRequest`
@@ -5404,7 +6093,7 @@ await client.crm.accounts.create({
-
client.crm.accounts.retrieve(id, { ...params }) -> Merge.Account +
client.accounting.accounts.retrieve(id, { ...params }) -> Merge.Account
@@ -5431,11 +6120,11 @@ Returns an `Account` object with the given `id`.
```typescript -await client.crm.accounts.retrieve("id", { - expand: "owner", +await client.accounting.accounts.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true + includeShellData: true, + remoteFields: "classification", + showEnumOrigins: "classification" }); ``` @@ -5460,7 +6149,7 @@ await client.crm.accounts.retrieve("id", {
-**request:** `Merge.crm.AccountsRetrieveRequest` +**request:** `Merge.accounting.AccountsRetrieveRequest`
@@ -5480,7 +6169,7 @@ await client.crm.accounts.retrieve("id", {
-
client.crm.accounts.partialUpdate(id, { ...params }) -> Merge.CrmAccountResponse +
client.accounting.accounts.metaPostRetrieve() -> Merge.MetaResponse
@@ -5492,7 +6181,7 @@ await client.crm.accounts.retrieve("id", {
-Updates an `Account` object with the given `id`. +Returns metadata for `Account` POSTs.
@@ -5507,10 +6196,67 @@ Updates an `Account` object with the given `id`.
```typescript -await client.crm.accounts.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} +await client.accounting.accounts.metaPostRetrieve(); + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `AccountsClient.RequestOptions` + +
+
+
+
+ + + + +
+ +## Accounting Addresses +
client.accounting.addresses.retrieve(id, { ...params }) -> Merge.Address +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns an `Address` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.accounting.addresses.retrieve("id", { + includeRemoteData: true, + includeShellData: true, + remoteFields: "type", + showEnumOrigins: "type" }); ``` @@ -5535,7 +6281,7 @@ await client.crm.accounts.partialUpdate("id", {
-**request:** `Merge.crm.PatchedCrmAccountEndpointRequest` +**request:** `Merge.accounting.AddressesRetrieveRequest`
@@ -5543,7 +6289,7 @@ await client.crm.accounts.partialUpdate("id", {
-**requestOptions:** `AccountsClient.RequestOptions` +**requestOptions:** `AddressesClient.RequestOptions`
@@ -5555,7 +6301,8 @@ await client.crm.accounts.partialUpdate("id", {
-
client.crm.accounts.metaPatchRetrieve(id) -> Merge.MetaResponse +## Accounting AsyncPassthrough +
client.accounting.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
@@ -5567,7 +6314,7 @@ await client.crm.accounts.partialUpdate("id", {
-Returns metadata for `CRMAccount` PATCHs. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -5582,7 +6329,10 @@ Returns metadata for `CRMAccount` PATCHs.
```typescript -await client.crm.accounts.metaPatchRetrieve("id"); +await client.accounting.asyncPassthrough.create({ + method: "GET", + path: "/scooters" +}); ```
@@ -5598,7 +6348,7 @@ await client.crm.accounts.metaPatchRetrieve("id");
-**id:** `string` +**request:** `Merge.DataPassthroughRequest`
@@ -5606,7 +6356,7 @@ await client.crm.accounts.metaPatchRetrieve("id");
-**requestOptions:** `AccountsClient.RequestOptions` +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -5618,7 +6368,7 @@ await client.crm.accounts.metaPatchRetrieve("id");
-
client.crm.accounts.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
@@ -5630,7 +6380,7 @@ await client.crm.accounts.metaPatchRetrieve("id");
-Returns metadata for `CRMAccount` POSTs. +Retrieves data from earlier async-passthrough POST request
@@ -5645,7 +6395,7 @@ Returns metadata for `CRMAccount` POSTs.
```typescript -await client.crm.accounts.metaPostRetrieve(); +await client.accounting.asyncPassthrough.retrieve("async_passthrough_receipt_id"); ```
@@ -5661,7 +6411,15 @@ await client.crm.accounts.metaPostRetrieve();
-**requestOptions:** `AccountsClient.RequestOptions` +**async_passthrough_receipt_id:** `string` + +
+
+ +
+
+ +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -5673,7 +6431,8 @@ await client.crm.accounts.metaPostRetrieve();
-
client.crm.accounts.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Accounting AsyncTasks +
client.accounting.asyncTasks.retrieve(id) -> Merge.AsyncPostTask
@@ -5685,7 +6444,7 @@ await client.crm.accounts.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns an `AsyncPostTask` object with the given `id`.
@@ -5700,16 +6459,7 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.accounts.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 -}); +await client.accounting.asyncTasks.retrieve("id"); ```
@@ -5725,7 +6475,7 @@ await client.crm.accounts.remoteFieldClassesList({
-**request:** `Merge.crm.AccountsRemoteFieldClassesListRequest` +**id:** `string`
@@ -5733,7 +6483,7 @@ await client.crm.accounts.remoteFieldClassesList({
-**requestOptions:** `AccountsClient.RequestOptions` +**requestOptions:** `AsyncTasksClient.RequestOptions`
@@ -5745,8 +6495,8 @@ await client.crm.accounts.remoteFieldClassesList({
-## Crm AsyncPassthrough -
client.crm.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept +## Accounting Attachments +
client.accounting.attachments.list({ ...params }) -> core.Page
@@ -5758,7 +6508,7 @@ await client.crm.accounts.remoteFieldClassesList({
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a list of `AccountingAttachment` objects.
@@ -5773,10 +6523,43 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
```typescript -await client.crm.asyncPassthrough.create({ - method: "GET", - path: "/scooters" +const pageableResponse = await client.accounting.attachments.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.attachments.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -5792,7 +6575,7 @@ await client.crm.asyncPassthrough.create({
-**request:** `Merge.DataPassthroughRequest` +**request:** `Merge.accounting.AttachmentsListRequest`
@@ -5800,7 +6583,7 @@ await client.crm.asyncPassthrough.create({
-**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -5812,7 +6595,7 @@ await client.crm.asyncPassthrough.create({
-
client.crm.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse +
client.accounting.attachments.create({ ...params }) -> Merge.AccountingAttachmentResponse
@@ -5824,7 +6607,7 @@ await client.crm.asyncPassthrough.create({
-Retrieves data from earlier async-passthrough POST request +Creates an `AccountingAttachment` object with the given values.
@@ -5839,7 +6622,11 @@ Retrieves data from earlier async-passthrough POST request
```typescript -await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id"); +await client.accounting.attachments.create({ + isDebugMode: true, + runAsync: true, + model: {} +}); ```
@@ -5855,7 +6642,7 @@ await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-**async_passthrough_receipt_id:** `string` +**request:** `Merge.accounting.AccountingAttachmentEndpointRequest`
@@ -5863,7 +6650,7 @@ await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -5875,8 +6662,7 @@ await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-## Crm AuditTrail -
client.crm.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList +
client.accounting.attachments.retrieve(id, { ...params }) -> Merge.AccountingAttachment
@@ -5888,7 +6674,7 @@ await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-Gets a list of audit trail events. +Returns an `AccountingAttachment` object with the given `id`.
@@ -5903,13 +6689,9 @@ Gets a list of audit trail events.
```typescript -await client.crm.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email" +await client.accounting.attachments.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -5926,7 +6708,7 @@ await client.crm.auditTrail.list({
-**request:** `Merge.crm.AuditTrailListRequest` +**id:** `string`
@@ -5934,7 +6716,15 @@ await client.crm.auditTrail.list({
-**requestOptions:** `AuditTrailClient.RequestOptions` +**request:** `Merge.accounting.AttachmentsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -5946,8 +6736,7 @@ await client.crm.auditTrail.list({
-## Crm AvailableActions -
client.crm.availableActions.retrieve() -> Merge.AvailableActions +
client.accounting.attachments.metaPostRetrieve() -> Merge.MetaResponse
@@ -5959,7 +6748,7 @@ await client.crm.auditTrail.list({
-Returns a list of models and actions available for an account. +Returns metadata for `AccountingAttachment` POSTs.
@@ -5974,7 +6763,7 @@ Returns a list of models and actions available for an account.
```typescript -await client.crm.availableActions.retrieve(); +await client.accounting.attachments.metaPostRetrieve(); ```
@@ -5990,7 +6779,7 @@ await client.crm.availableActions.retrieve();
-**requestOptions:** `AvailableActionsClient.RequestOptions` +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -6002,8 +6791,8 @@ await client.crm.availableActions.retrieve();
-## Crm Contacts -
client.crm.contacts.list({ ...params }) -> Merge.PaginatedContactList +## Accounting AuditTrail +
client.accounting.auditTrail.list({ ...params }) -> core.Page
@@ -6015,7 +6804,7 @@ await client.crm.availableActions.retrieve();
-Returns a list of `Contact` objects. +Gets a list of audit trail events.
@@ -6030,23 +6819,33 @@ Returns a list of `Contact` objects.
```typescript -await client.crm.contacts.list({ - accountId: "account_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.accounting.auditTrail.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddresses: "email_addresses", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + endDate: "end_date", + eventType: "event_type", pageSize: 1, - phoneNumbers: "phone_numbers", - remoteId: "remote_id" + startDate: "start_date", + userEmail: "user_email" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -6062,7 +6861,7 @@ await client.crm.contacts.list({
-**request:** `Merge.crm.ContactsListRequest` +**request:** `Merge.accounting.AuditTrailListRequest`
@@ -6070,7 +6869,7 @@ await client.crm.contacts.list({
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `AuditTrailClient.RequestOptions`
@@ -6082,7 +6881,8 @@ await client.crm.contacts.list({
-
client.crm.contacts.create({ ...params }) -> Merge.CrmContactResponse +## Accounting AvailableActions +
client.accounting.availableActions.retrieve() -> Merge.AvailableActions
@@ -6094,7 +6894,7 @@ await client.crm.contacts.list({
-Creates a `Contact` object with the given values. +Returns a list of models and actions available for an account.
@@ -6109,11 +6909,99 @@ Creates a `Contact` object with the given values.
```typescript -await client.crm.contacts.create({ - isDebugMode: true, - runAsync: true, - model: {} +await client.accounting.availableActions.retrieve(); + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `AvailableActionsClient.RequestOptions` + +
+
+
+
+ + + + +
+ +## Accounting BalanceSheets +
client.accounting.balanceSheets.list({ ...params }) -> core.Page +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `BalanceSheet` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +const pageableResponse = await client.accounting.balanceSheets.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.balanceSheets.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -6129,7 +7017,7 @@ await client.crm.contacts.create({
-**request:** `Merge.crm.CrmContactEndpointRequest` +**request:** `Merge.accounting.BalanceSheetsListRequest`
@@ -6137,7 +7025,7 @@ await client.crm.contacts.create({
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `BalanceSheetsClient.RequestOptions`
@@ -6149,7 +7037,7 @@ await client.crm.contacts.create({
-
client.crm.contacts.retrieve(id, { ...params }) -> Merge.Contact +
client.accounting.balanceSheets.retrieve(id, { ...params }) -> Merge.BalanceSheet
@@ -6161,7 +7049,7 @@ await client.crm.contacts.create({
-Returns a `Contact` object with the given `id`. +Returns a `BalanceSheet` object with the given `id`.
@@ -6176,10 +7064,8 @@ Returns a `Contact` object with the given `id`.
```typescript -await client.crm.contacts.retrieve("id", { - expand: "account", +await client.accounting.balanceSheets.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, includeShellData: true }); @@ -6205,7 +7091,7 @@ await client.crm.contacts.retrieve("id", {
-**request:** `Merge.crm.ContactsRetrieveRequest` +**request:** `Merge.accounting.BalanceSheetsRetrieveRequest`
@@ -6213,7 +7099,7 @@ await client.crm.contacts.retrieve("id", {
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `BalanceSheetsClient.RequestOptions`
@@ -6225,7 +7111,8 @@ await client.crm.contacts.retrieve("id", {
-
client.crm.contacts.partialUpdate(id, { ...params }) -> Merge.CrmContactResponse +## Accounting BankFeedAccounts +
client.accounting.bankFeedAccounts.list({ ...params }) -> core.Page
@@ -6237,7 +7124,7 @@ await client.crm.contacts.retrieve("id", {
-Updates a `Contact` object with the given `id`. +Returns a list of `BankFeedAccount` objects.
@@ -6252,11 +7139,31 @@ Updates a `Contact` object with the given `id`.
```typescript -await client.crm.contacts.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.accounting.bankFeedAccounts.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.bankFeedAccounts.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -6272,15 +7179,7 @@ await client.crm.contacts.partialUpdate("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.PatchedCrmContactEndpointRequest` +**request:** `Merge.accounting.BankFeedAccountsListRequest`
@@ -6288,7 +7187,7 @@ await client.crm.contacts.partialUpdate("id", {
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -6300,7 +7199,7 @@ await client.crm.contacts.partialUpdate("id", {
-
client.crm.contacts.ignoreCreate(model_id, { ...params }) -> void +
client.accounting.bankFeedAccounts.create({ ...params }) -> Merge.BankFeedAccountResponse
@@ -6312,7 +7211,7 @@ await client.crm.contacts.partialUpdate("id", {
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Creates a `BankFeedAccount` object with the given values.
@@ -6327,8 +7226,10 @@ Ignores a specific row based on the `model_id` in the url. These records will ha
```typescript -await client.crm.contacts.ignoreCreate("model_id", { - reason: "GENERAL_CUSTOMER_REQUEST" +await client.accounting.bankFeedAccounts.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -6345,15 +7246,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-**model_id:** `string` - -
-
- -
-
- -**request:** `Merge.IgnoreCommonModelRequest` +**request:** `Merge.accounting.BankFeedAccountEndpointRequest`
@@ -6361,7 +7254,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -6373,7 +7266,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-
client.crm.contacts.metaPatchRetrieve(id) -> Merge.MetaResponse +
client.accounting.bankFeedAccounts.retrieve(id, { ...params }) -> Merge.BankFeedAccount
@@ -6385,7 +7278,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-Returns metadata for `CRMContact` PATCHs. +Returns a `BankFeedAccount` object with the given `id`.
@@ -6400,7 +7293,10 @@ Returns metadata for `CRMContact` PATCHs.
```typescript -await client.crm.contacts.metaPatchRetrieve("id"); +await client.accounting.bankFeedAccounts.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -6424,7 +7320,15 @@ await client.crm.contacts.metaPatchRetrieve("id");
-**requestOptions:** `ContactsClient.RequestOptions` +**request:** `Merge.accounting.BankFeedAccountsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -6436,7 +7340,7 @@ await client.crm.contacts.metaPatchRetrieve("id");
-
client.crm.contacts.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.bankFeedAccounts.metaPostRetrieve() -> Merge.MetaResponse
@@ -6448,7 +7352,7 @@ await client.crm.contacts.metaPatchRetrieve("id");
-Returns metadata for `CRMContact` POSTs. +Returns metadata for `BankFeedAccount` POSTs.
@@ -6463,7 +7367,7 @@ Returns metadata for `CRMContact` POSTs.
```typescript -await client.crm.contacts.metaPostRetrieve(); +await client.accounting.bankFeedAccounts.metaPostRetrieve(); ```
@@ -6479,7 +7383,7 @@ await client.crm.contacts.metaPostRetrieve();
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -6491,7 +7395,8 @@ await client.crm.contacts.metaPostRetrieve();
-
client.crm.contacts.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Accounting BankFeedTransactions +
client.accounting.bankFeedTransactions.list({ ...params }) -> core.Page
@@ -6503,7 +7408,7 @@ await client.crm.contacts.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `BankFeedTransaction` objects.
@@ -6518,16 +7423,43 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.contacts.remoteFieldClassesList({ +const pageableResponse = await client.accounting.bankFeedTransactions.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + isProcessed: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.bankFeedTransactions.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isProcessed: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -6543,7 +7475,7 @@ await client.crm.contacts.remoteFieldClassesList({
-**request:** `Merge.crm.ContactsRemoteFieldClassesListRequest` +**request:** `Merge.accounting.BankFeedTransactionsListRequest`
@@ -6551,7 +7483,7 @@ await client.crm.contacts.remoteFieldClassesList({
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -6563,8 +7495,7 @@ await client.crm.contacts.remoteFieldClassesList({
-## Crm CustomObjectClasses -
client.crm.customObjectClasses.list({ ...params }) -> Merge.PaginatedCustomObjectClassList +
client.accounting.bankFeedTransactions.create({ ...params }) -> Merge.BankFeedTransactionResponse
@@ -6576,7 +7507,7 @@ await client.crm.contacts.remoteFieldClassesList({
-Returns a list of `CustomObjectClass` objects. +Creates a `BankFeedTransaction` object with the given values.
@@ -6591,18 +7522,10 @@ Returns a list of `CustomObjectClass` objects.
```typescript -await client.crm.customObjectClasses.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "fields", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.accounting.bankFeedTransactions.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -6619,7 +7542,7 @@ await client.crm.customObjectClasses.list({
-**request:** `Merge.crm.CustomObjectClassesListRequest` +**request:** `Merge.accounting.BankFeedTransactionEndpointRequest`
@@ -6627,7 +7550,7 @@ await client.crm.customObjectClasses.list({
-**requestOptions:** `CustomObjectClassesClient.RequestOptions` +**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -6639,7 +7562,7 @@ await client.crm.customObjectClasses.list({
-
client.crm.customObjectClasses.retrieve(id, { ...params }) -> Merge.CustomObjectClass +
client.accounting.bankFeedTransactions.retrieve(id, { ...params }) -> Merge.BankFeedTransaction
@@ -6651,7 +7574,7 @@ await client.crm.customObjectClasses.list({
-Returns a `CustomObjectClass` object with the given `id`. +Returns a `BankFeedTransaction` object with the given `id`.
@@ -6666,8 +7589,7 @@ Returns a `CustomObjectClass` object with the given `id`.
```typescript -await client.crm.customObjectClasses.retrieve("id", { - expand: "fields", +await client.accounting.bankFeedTransactions.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -6694,7 +7616,7 @@ await client.crm.customObjectClasses.retrieve("id", {
-**request:** `Merge.crm.CustomObjectClassesRetrieveRequest` +**request:** `Merge.accounting.BankFeedTransactionsRetrieveRequest`
@@ -6702,7 +7624,7 @@ await client.crm.customObjectClasses.retrieve("id", {
-**requestOptions:** `CustomObjectClassesClient.RequestOptions` +**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -6714,8 +7636,7 @@ await client.crm.customObjectClasses.retrieve("id", {
-## Crm AssociationTypes -
client.crm.associationTypes.customObjectClassesAssociationTypesList(custom_object_class_id, { ...params }) -> Merge.PaginatedAssociationTypeList +
client.accounting.bankFeedTransactions.metaPostRetrieve() -> Merge.MetaResponse
@@ -6727,7 +7648,63 @@ await client.crm.customObjectClasses.retrieve("id", {
-Returns a list of `AssociationType` objects. +Returns metadata for `BankFeedTransaction` POSTs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.accounting.bankFeedTransactions.metaPostRetrieve(); + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `BankFeedTransactionsClient.RequestOptions` + +
+
+
+
+ + + + +
+ +## Accounting CashFlowStatements +
client.accounting.cashFlowStatements.list({ ...params }) -> core.Page +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `CashFlowStatement` objects.
@@ -6742,11 +7719,29 @@ Returns a list of `AssociationType` objects.
```typescript -await client.crm.associationTypes.customObjectClassesAssociationTypesList("custom_object_class_id", { +const pageableResponse = await client.accounting.cashFlowStatements.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.cashFlowStatements.list({ + companyId: "company_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "target_object_classes", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -6755,6 +7750,12 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo pageSize: 1, remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -6770,15 +7771,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo
-**custom_object_class_id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.CustomObjectClassesAssociationTypesListRequest` +**request:** `Merge.accounting.CashFlowStatementsListRequest`
@@ -6786,7 +7779,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo
-**requestOptions:** `AssociationTypesClient.RequestOptions` +**requestOptions:** `CashFlowStatementsClient.RequestOptions`
@@ -6798,7 +7791,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo
-
client.crm.associationTypes.customObjectClassesAssociationTypesCreate(custom_object_class_id, { ...params }) -> Merge.CrmAssociationTypeResponse +
client.accounting.cashFlowStatements.retrieve(id, { ...params }) -> Merge.CashFlowStatement
@@ -6810,7 +7803,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo
-Creates an `AssociationType` object with the given values. +Returns a `CashFlowStatement` object with the given `id`.
@@ -6825,20 +7818,9 @@ Creates an `AssociationType` object with the given values.
```typescript -await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("custom_object_class_id", { - isDebugMode: true, - runAsync: true, - model: { - sourceObjectClass: { - id: "id", - originType: "CUSTOM_OBJECT" - }, - targetObjectClasses: [{ - id: "id", - originType: "CUSTOM_OBJECT" - }], - remoteKeyName: "remote_key_name" - } +await client.accounting.cashFlowStatements.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -6855,7 +7837,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-**custom_object_class_id:** `string` +**id:** `string`
@@ -6863,7 +7845,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-**request:** `Merge.crm.CrmAssociationTypeEndpointRequest` +**request:** `Merge.accounting.CashFlowStatementsRetrieveRequest`
@@ -6871,7 +7853,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-**requestOptions:** `AssociationTypesClient.RequestOptions` +**requestOptions:** `CashFlowStatementsClient.RequestOptions`
@@ -6883,7 +7865,8 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-
client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve(custom_object_class_id, id, { ...params }) -> Merge.AssociationType +## Accounting CompanyInfo +
client.accounting.companyInfo.list({ ...params }) -> core.Page
@@ -6895,7 +7878,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-Returns an `AssociationType` object with the given `id`. +Returns a list of `CompanyInfo` objects.
@@ -6910,11 +7893,41 @@ Returns an `AssociationType` object with the given `id`.
```typescript -await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("custom_object_class_id", "id", { - expand: "target_object_classes", +const pageableResponse = await client.accounting.companyInfo.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeShellData: true + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.companyInfo.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -6930,23 +7943,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-**custom_object_class_id:** `string` - -
-
- -
-
- -**id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.CustomObjectClassesAssociationTypesRetrieveRequest` +**request:** `Merge.accounting.CompanyInfoListRequest`
@@ -6954,7 +7951,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-**requestOptions:** `AssociationTypesClient.RequestOptions` +**requestOptions:** `CompanyInfoClient.RequestOptions`
@@ -6966,7 +7963,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-
client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse +
client.accounting.companyInfo.retrieve(id, { ...params }) -> Merge.CompanyInfo
@@ -6978,7 +7975,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-Returns metadata for `CRMAssociationType` POSTs. +Returns a `CompanyInfo` object with the given `id`.
@@ -6993,7 +7990,10 @@ Returns metadata for `CRMAssociationType` POSTs.
```typescript -await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve("custom_object_class_id"); +await client.accounting.companyInfo.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -7009,7 +8009,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-**custom_object_class_id:** `string` +**id:** `string`
@@ -7017,7 +8017,15 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-**requestOptions:** `AssociationTypesClient.RequestOptions` +**request:** `Merge.accounting.CompanyInfoRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `CompanyInfoClient.RequestOptions`
@@ -7029,8 +8037,8 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-## Crm CustomObjects -
client.crm.customObjects.customObjectClassesCustomObjectsList(custom_object_class_id, { ...params }) -> Merge.PaginatedCustomObjectList +## Accounting Contacts +
client.accounting.contacts.list({ ...params }) -> core.Page
@@ -7042,7 +8050,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-Returns a list of `CustomObject` objects. +Returns a list of `Contact` objects.
@@ -7057,19 +8065,59 @@ Returns a list of `CustomObject` objects.
```typescript -await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", { +const pageableResponse = await client.accounting.contacts.list({ + companyId: "company_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", includeDeletedData: true, includeRemoteData: true, includeRemoteFields: true, includeShellData: true, + isCustomer: "is_customer", + isSupplier: "is_supplier", modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", pageSize: 1, - remoteId: "remote_id" + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.contacts.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCustomer: "is_customer", + isSupplier: "is_supplier", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -7085,15 +8133,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-**custom_object_class_id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.CustomObjectClassesCustomObjectsListRequest` +**request:** `Merge.accounting.ContactsListRequest`
@@ -7101,7 +8141,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-**requestOptions:** `CustomObjectsClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -7113,7 +8153,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-
client.crm.customObjects.customObjectClassesCustomObjectsCreate(custom_object_class_id, { ...params }) -> Merge.CrmCustomObjectResponse +
client.accounting.contacts.create({ ...params }) -> Merge.ContactResponse
@@ -7125,7 +8165,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-Creates a `CustomObject` object with the given values. +Creates a `Contact` object with the given values.
@@ -7140,14 +8180,10 @@ Creates a `CustomObject` object with the given values.
```typescript -await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_object_class_id", { +await client.accounting.contacts.create({ isDebugMode: true, runAsync: true, - model: { - fields: { - "test_field": "hello" - } - } + model: {} }); ``` @@ -7164,15 +8200,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-**custom_object_class_id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.CrmCustomObjectEndpointRequest` +**request:** `Merge.accounting.ContactEndpointRequest`
@@ -7180,7 +8208,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-**requestOptions:** `CustomObjectsClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -7192,7 +8220,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-
client.crm.customObjects.customObjectClassesCustomObjectsRetrieve(custom_object_class_id, id, { ...params }) -> Merge.CustomObject +
client.accounting.contacts.retrieve(id, { ...params }) -> Merge.Contact
@@ -7204,7 +8232,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-Returns a `CustomObject` object with the given `id`. +Returns a `Contact` object with the given `id`.
@@ -7219,10 +8247,12 @@ Returns a `CustomObject` object with the given `id`.
```typescript -await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_object_class_id", "id", { +await client.accounting.contacts.retrieve("id", { includeRemoteData: true, includeRemoteFields: true, - includeShellData: true + includeShellData: true, + remoteFields: "status", + showEnumOrigins: "status" }); ``` @@ -7239,14 +8269,6 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-**custom_object_class_id:** `string` - -
-
- -
-
- **id:** `string`
@@ -7255,7 +8277,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsRetrieveRequest` +**request:** `Merge.accounting.ContactsRetrieveRequest`
@@ -7263,7 +8285,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-**requestOptions:** `CustomObjectsClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -7275,7 +8297,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-
client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse +
client.accounting.contacts.metaPostRetrieve() -> Merge.MetaResponse
@@ -7287,7 +8309,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-Returns metadata for `CRMCustomObject` POSTs. +Returns metadata for `Contact` POSTs.
@@ -7302,7 +8324,7 @@ Returns metadata for `CRMCustomObject` POSTs.
```typescript -await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve("custom_object_class_id"); +await client.accounting.contacts.metaPostRetrieve(); ```
@@ -7318,15 +8340,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(
-**custom_object_class_id:** `string` - -
-
- -
-
- -**requestOptions:** `CustomObjectsClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -7338,7 +8352,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(
-
client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.accounting.contacts.remoteFieldClassesList({ ...params }) -> core.Page
@@ -7365,16 +8379,35 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ +const pageableResponse = await client.accounting.contacts.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, isCommonModelField: true, isCustom: true, pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.contacts.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -7390,7 +8423,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClasse
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest` +**request:** `Merge.accounting.ContactsRemoteFieldClassesListRequest`
@@ -7398,7 +8431,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClasse
-**requestOptions:** `CustomObjectsClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -7410,8 +8443,8 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClasse
-## Crm Associations -
client.crm.associations.customObjectClassesCustomObjectsAssociationsList(custom_object_class_id, object_id, { ...params }) -> Merge.PaginatedAssociationList +## Accounting CreditNotes +
client.accounting.creditNotes.list({ ...params }) -> core.Page
@@ -7423,7 +8456,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClasse
-Returns a list of `Association` objects. +Returns a list of `CreditNote` objects.
@@ -7438,20 +8471,51 @@ Returns a list of `Association` objects.
```typescript -await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("custom_object_class_id", "object_id", { - associationTypeId: "association_type_id", +const pageableResponse = await client.accounting.creditNotes.list({ + companyId: "company_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "association_type", includeDeletedData: true, includeRemoteData: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - remoteId: "remote_id" + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.creditNotes.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -7467,7 +8531,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-**custom_object_class_id:** `string` +**request:** `Merge.accounting.CreditNotesListRequest`
@@ -7475,15 +8539,66 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-**object_id:** `string` +**requestOptions:** `CreditNotesClient.RequestOptions`
+ +
+ + + +
+ +
client.accounting.creditNotes.create({ ...params }) -> Merge.CreditNoteResponse
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsListRequest` +#### 📝 Description + +
+
+ +
+
+ +Creates a `CreditNote` object with the given values. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.accounting.creditNotes.create({ + isDebugMode: true, + runAsync: true, + model: {} +}); + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.accounting.CreditNoteEndpointRequest`
@@ -7491,7 +8606,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-**requestOptions:** `AssociationsClient.RequestOptions` +**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -7503,7 +8618,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-
client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate(source_class_id, source_object_id, target_class_id, target_object_id, association_type_id, { ...params }) -> Merge.Association +
client.accounting.creditNotes.retrieve(id, { ...params }) -> Merge.CreditNote
@@ -7515,7 +8630,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`. +Returns a `CreditNote` object with the given `id`.
@@ -7530,9 +8645,11 @@ Creates an Association between `source_object_id` and `target_object_id` of type
```typescript -await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate("source_class_id", "source_object_id", "target_class_id", "target_object_id", "association_type_id", { - isDebugMode: true, - runAsync: true +await client.accounting.creditNotes.retrieve("id", { + includeRemoteData: true, + includeShellData: true, + remoteFields: "status", + showEnumOrigins: "status" }); ``` @@ -7549,7 +8666,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-**source_class_id:** `string` +**id:** `string`
@@ -7557,7 +8674,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-**source_object_id:** `string` +**request:** `Merge.accounting.CreditNotesRetrieveRequest`
@@ -7565,39 +8682,62 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-**target_class_id:** `string` +**requestOptions:** `CreditNotesClient.RequestOptions`
+
+
-
-
-**target_object_id:** `string` -
+
+
client.accounting.creditNotes.metaPostRetrieve() -> Merge.MetaResponse
-**association_type_id:** `string` - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `CreditNote` POSTs. +
+
+#### 🔌 Usage +
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsUpdateRequest` - +
+
+ +```typescript +await client.accounting.creditNotes.metaPostRetrieve(); + +``` +
+
+#### ⚙️ Parameters +
-**requestOptions:** `AssociationsClient.RequestOptions` +
+
+ +**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -7609,8 +8749,8 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-## Crm Scopes -
client.crm.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi +## Accounting Scopes +
client.accounting.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -7637,7 +8777,7 @@ Get the default permissions for Merge Common Models and fields across all Linked
```typescript -await client.crm.scopes.defaultScopesRetrieve(); +await client.accounting.scopes.defaultScopesRetrieve(); ```
@@ -7665,7 +8805,7 @@ await client.crm.scopes.defaultScopesRetrieve();
-
client.crm.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi +
client.accounting.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -7692,7 +8832,7 @@ Get all available permissions for Merge Common Models and fields for a single Li
```typescript -await client.crm.scopes.linkedAccountScopesRetrieve(); +await client.accounting.scopes.linkedAccountScopesRetrieve(); ```
@@ -7720,7 +8860,7 @@ await client.crm.scopes.linkedAccountScopesRetrieve();
-
client.crm.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi +
client.accounting.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
@@ -7747,7 +8887,7 @@ Update permissions for any Common Model or field for a single Linked Account. An
```typescript -await client.crm.scopes.linkedAccountScopesCreate({ +await client.accounting.scopes.linkedAccountScopesCreate({ commonModels: [{ modelName: "Employee", modelPermissions: { @@ -7786,7 +8926,7 @@ await client.crm.scopes.linkedAccountScopesCreate({
-**request:** `Merge.crm.LinkedAccountCommonModelScopeDeserializerRequest` +**request:** `Merge.accounting.LinkedAccountCommonModelScopeDeserializerRequest`
@@ -7806,8 +8946,8 @@ await client.crm.scopes.linkedAccountScopesCreate({
-## Crm DeleteAccount -
client.crm.deleteAccount.delete() -> void +## Accounting DeleteAccount +
client.accounting.deleteAccount.delete() -> void
@@ -7834,7 +8974,7 @@ Delete a linked account.
```typescript -await client.crm.deleteAccount.delete(); +await client.accounting.deleteAccount.delete(); ```
@@ -7862,8 +9002,8 @@ await client.crm.deleteAccount.delete();
-## Crm EngagementTypes -
client.crm.engagementTypes.list({ ...params }) -> Merge.PaginatedEngagementTypeList +## Accounting Employees +
client.accounting.employees.list({ ...params }) -> core.Page
@@ -7875,7 +9015,7 @@ await client.crm.deleteAccount.delete();
-Returns a list of `EngagementType` objects. +Returns a list of `Employee` objects.
@@ -7890,19 +9030,31 @@ Returns a list of `EngagementType` objects.
```typescript -await client.crm.engagementTypes.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.accounting.employees.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.employees.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -7918,7 +9070,7 @@ await client.crm.engagementTypes.list({
-**request:** `Merge.crm.EngagementTypesListRequest` +**request:** `Merge.accounting.EmployeesListRequest`
@@ -7926,7 +9078,7 @@ await client.crm.engagementTypes.list({
-**requestOptions:** `EngagementTypesClient.RequestOptions` +**requestOptions:** `EmployeesClient.RequestOptions`
@@ -7938,7 +9090,7 @@ await client.crm.engagementTypes.list({
-
client.crm.engagementTypes.retrieve(id, { ...params }) -> Merge.EngagementType +
client.accounting.employees.retrieve(id, { ...params }) -> Merge.Employee
@@ -7950,7 +9102,7 @@ await client.crm.engagementTypes.list({
-Returns an `EngagementType` object with the given `id`. +Returns an `Employee` object with the given `id`.
@@ -7965,9 +9117,8 @@ Returns an `EngagementType` object with the given `id`.
```typescript -await client.crm.engagementTypes.retrieve("id", { +await client.accounting.employees.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, includeShellData: true }); @@ -7993,7 +9144,7 @@ await client.crm.engagementTypes.retrieve("id", {
-**request:** `Merge.crm.EngagementTypesRetrieveRequest` +**request:** `Merge.accounting.EmployeesRetrieveRequest`
@@ -8001,7 +9152,7 @@ await client.crm.engagementTypes.retrieve("id", {
-**requestOptions:** `EngagementTypesClient.RequestOptions` +**requestOptions:** `EmployeesClient.RequestOptions`
@@ -8013,7 +9164,8 @@ await client.crm.engagementTypes.retrieve("id", {
-
client.crm.engagementTypes.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Accounting Expenses +
client.accounting.expenses.list({ ...params }) -> core.Page
@@ -8025,7 +9177,7 @@ await client.crm.engagementTypes.retrieve("id", {
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Expense` objects.
@@ -8040,84 +9192,32 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.engagementTypes.remoteFieldClassesList({ +const pageableResponse = await client.accounting.expenses.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, includeRemoteFields: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") }); +for await (const item of pageableResponse) { + console.log(item); +} -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.crm.EngagementTypesRemoteFieldClassesListRequest` - -
-
- -
-
- -**requestOptions:** `EngagementTypesClient.RequestOptions` - -
-
-
-
- - - - -
- -## Crm Engagements -
client.crm.engagements.list({ ...params }) -> Merge.PaginatedEngagementList -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Engagement` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.crm.engagements.list({ +// Or you can manually iterate page-by-page +let page = await client.accounting.expenses.list({ + companyId: "company_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", includeDeletedData: true, includeRemoteData: true, includeRemoteFields: true, @@ -8126,9 +9226,15 @@ await client.crm.engagements.list({ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, remoteId: "remote_id", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z") + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -8144,7 +9250,7 @@ await client.crm.engagements.list({
-**request:** `Merge.crm.EngagementsListRequest` +**request:** `Merge.accounting.ExpensesListRequest`
@@ -8152,7 +9258,7 @@ await client.crm.engagements.list({
-**requestOptions:** `EngagementsClient.RequestOptions` +**requestOptions:** `ExpensesClient.RequestOptions`
@@ -8164,7 +9270,7 @@ await client.crm.engagements.list({
-
client.crm.engagements.create({ ...params }) -> Merge.EngagementResponse +
client.accounting.expenses.create({ ...params }) -> Merge.ExpenseResponse
@@ -8176,7 +9282,7 @@ await client.crm.engagements.list({
-Creates an `Engagement` object with the given values. +Creates an `Expense` object with the given values.
@@ -8191,7 +9297,7 @@ Creates an `Engagement` object with the given values.
```typescript -await client.crm.engagements.create({ +await client.accounting.expenses.create({ isDebugMode: true, runAsync: true, model: {} @@ -8211,7 +9317,7 @@ await client.crm.engagements.create({
-**request:** `Merge.crm.EngagementEndpointRequest` +**request:** `Merge.accounting.ExpenseEndpointRequest`
@@ -8219,7 +9325,7 @@ await client.crm.engagements.create({
-**requestOptions:** `EngagementsClient.RequestOptions` +**requestOptions:** `ExpensesClient.RequestOptions`
@@ -8231,7 +9337,7 @@ await client.crm.engagements.create({
-
client.crm.engagements.retrieve(id, { ...params }) -> Merge.Engagement +
client.accounting.expenses.retrieve(id, { ...params }) -> Merge.Expense
@@ -8243,7 +9349,7 @@ await client.crm.engagements.create({
-Returns an `Engagement` object with the given `id`. +Returns an `Expense` object with the given `id`.
@@ -8258,8 +9364,7 @@ Returns an `Engagement` object with the given `id`.
```typescript -await client.crm.engagements.retrieve("id", { - expand: "account", +await client.accounting.expenses.retrieve("id", { includeRemoteData: true, includeRemoteFields: true, includeShellData: true @@ -8287,7 +9392,7 @@ await client.crm.engagements.retrieve("id", {
-**request:** `Merge.crm.EngagementsRetrieveRequest` +**request:** `Merge.accounting.ExpensesRetrieveRequest`
@@ -8295,7 +9400,7 @@ await client.crm.engagements.retrieve("id", {
-**requestOptions:** `EngagementsClient.RequestOptions` +**requestOptions:** `ExpensesClient.RequestOptions`
@@ -8307,7 +9412,7 @@ await client.crm.engagements.retrieve("id", {
-
client.crm.engagements.partialUpdate(id, { ...params }) -> Merge.EngagementResponse +
client.accounting.expenses.linesRemoteFieldClassesList({ ...params }) -> core.Page
@@ -8319,7 +9424,7 @@ await client.crm.engagements.retrieve("id", {
-Updates an `Engagement` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -8334,82 +9439,35 @@ Updates an `Engagement` object with the given `id`.
```typescript -await client.crm.engagements.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.accounting.expenses.linesRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.PatchedEngagementEndpointRequest` - -
-
- -
-
- -**requestOptions:** `EngagementsClient.RequestOptions` - -
-
-
-
- - - - -
- -
client.crm.engagements.metaPatchRetrieve(id) -> Merge.MetaResponse -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Engagement` PATCHs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
+// Or you can manually iterate page-by-page +let page = await client.accounting.expenses.linesRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} -```typescript -await client.crm.engagements.metaPatchRetrieve("id"); +// You can also access the underlying response +const response = page.response; ```
@@ -8425,7 +9483,7 @@ await client.crm.engagements.metaPatchRetrieve("id");
-**id:** `string` +**request:** `Merge.accounting.ExpensesLinesRemoteFieldClassesListRequest`
@@ -8433,7 +9491,7 @@ await client.crm.engagements.metaPatchRetrieve("id");
-**requestOptions:** `EngagementsClient.RequestOptions` +**requestOptions:** `ExpensesClient.RequestOptions`
@@ -8445,7 +9503,7 @@ await client.crm.engagements.metaPatchRetrieve("id");
-
client.crm.engagements.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.expenses.metaPostRetrieve() -> Merge.MetaResponse
@@ -8457,7 +9515,7 @@ await client.crm.engagements.metaPatchRetrieve("id");
-Returns metadata for `Engagement` POSTs. +Returns metadata for `Expense` POSTs.
@@ -8472,7 +9530,7 @@ Returns metadata for `Engagement` POSTs.
```typescript -await client.crm.engagements.metaPostRetrieve(); +await client.accounting.expenses.metaPostRetrieve(); ```
@@ -8488,7 +9546,7 @@ await client.crm.engagements.metaPostRetrieve();
-**requestOptions:** `EngagementsClient.RequestOptions` +**requestOptions:** `ExpensesClient.RequestOptions`
@@ -8500,7 +9558,7 @@ await client.crm.engagements.metaPostRetrieve();
-
client.crm.engagements.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.accounting.expenses.remoteFieldClassesList({ ...params }) -> core.Page
@@ -8527,16 +9585,35 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.engagements.remoteFieldClassesList({ +const pageableResponse = await client.accounting.expenses.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, isCommonModelField: true, isCustom: true, pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.expenses.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -8552,7 +9629,7 @@ await client.crm.engagements.remoteFieldClassesList({
-**request:** `Merge.crm.EngagementsRemoteFieldClassesListRequest` +**request:** `Merge.accounting.ExpensesRemoteFieldClassesListRequest`
@@ -8560,7 +9637,7 @@ await client.crm.engagements.remoteFieldClassesList({
-**requestOptions:** `EngagementsClient.RequestOptions` +**requestOptions:** `ExpensesClient.RequestOptions`
@@ -8572,8 +9649,8 @@ await client.crm.engagements.remoteFieldClassesList({
-## Crm FieldMapping -
client.crm.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse +## Accounting FieldMapping +
client.accounting.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
@@ -8600,7 +9677,7 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
```typescript -await client.crm.fieldMapping.fieldMappingsRetrieve({ +await client.accounting.fieldMapping.fieldMappingsRetrieve({ excludeRemoteFieldMetadata: true }); @@ -8618,7 +9695,7 @@ await client.crm.fieldMapping.fieldMappingsRetrieve({
-**request:** `Merge.crm.FieldMappingsRetrieveRequest` +**request:** `Merge.accounting.FieldMappingsRetrieveRequest`
@@ -8638,7 +9715,7 @@ await client.crm.fieldMapping.fieldMappingsRetrieve({
-
client.crm.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse +
client.accounting.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
@@ -8665,7 +9742,7 @@ Create new Field Mappings that will be available after the next scheduled sync.
```typescript -await client.crm.fieldMapping.fieldMappingsCreate({ +await client.accounting.fieldMapping.fieldMappingsCreate({ excludeRemoteFieldMetadata: true, targetFieldName: "example_target_field_name", targetFieldDescription: "this is a example description of the target field", @@ -8689,7 +9766,7 @@ await client.crm.fieldMapping.fieldMappingsCreate({
-**request:** `Merge.crm.CreateFieldMappingRequest` +**request:** `Merge.accounting.CreateFieldMappingRequest`
@@ -8709,7 +9786,7 @@ await client.crm.fieldMapping.fieldMappingsCreate({
-
client.crm.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse +
client.accounting.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
@@ -8736,7 +9813,7 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
```typescript -await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id"); +await client.accounting.fieldMapping.fieldMappingsDestroy("field_mapping_id"); ```
@@ -8772,7 +9849,7 @@ await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
client.crm.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse +
client.accounting.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
@@ -8799,7 +9876,7 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
```typescript -await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); +await client.accounting.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); ```
@@ -8823,7 +9900,7 @@ await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-**request:** `Merge.crm.PatchedEditFieldMappingRequest` +**request:** `Merge.accounting.PatchedEditFieldMappingRequest`
@@ -8843,7 +9920,7 @@ await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
client.crm.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse +
client.accounting.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
@@ -8870,7 +9947,7 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
```typescript -await client.crm.fieldMapping.remoteFieldsRetrieve({ +await client.accounting.fieldMapping.remoteFieldsRetrieve({ commonModels: "common_models", includeExampleValues: "include_example_values" }); @@ -8889,7 +9966,7 @@ await client.crm.fieldMapping.remoteFieldsRetrieve({
-**request:** `Merge.crm.RemoteFieldsRetrieveRequest` +**request:** `Merge.accounting.RemoteFieldsRetrieveRequest`
@@ -8909,7 +9986,7 @@ await client.crm.fieldMapping.remoteFieldsRetrieve({
-
client.crm.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse +
client.accounting.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
@@ -8936,7 +10013,7 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
```typescript -await client.crm.fieldMapping.targetFieldsRetrieve(); +await client.accounting.fieldMapping.targetFieldsRetrieve(); ```
@@ -8964,8 +10041,8 @@ await client.crm.fieldMapping.targetFieldsRetrieve();
-## Crm GenerateKey -
client.crm.generateKey.create({ ...params }) -> Merge.RemoteKey +## Accounting GeneralLedgerTransactions +
client.accounting.generalLedgerTransactions.list({ ...params }) -> core.Page
@@ -8977,7 +10054,7 @@ await client.crm.fieldMapping.targetFieldsRetrieve();
-Create a remote key. +Returns a list of `GeneralLedgerTransaction` objects.
@@ -8992,88 +10069,47 @@ Create a remote key.
```typescript -await client.crm.generateKey.create({ - name: "Remote Deployment Key 1" +const pageableResponse = await client.accounting.generalLedgerTransactions.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + postedDateAfter: new Date("2024-01-15T09:30:00.000Z"), + postedDateBefore: new Date("2024-01-15T09:30:00.000Z"), + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.crm.GenerateRemoteKeyRequest` - -
-
- -
-
- -**requestOptions:** `GenerateKeyClient.RequestOptions` - -
-
-
-
- - - - -
- -## Crm Issues -
client.crm.issues.list({ ...params }) -> Merge.PaginatedIssueList -
-
- -#### 📝 Description - -
-
- -
-
- -Gets all issues for Organization. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.crm.issues.list({ - accountToken: "account_token", +// Or you can manually iterate page-by-page +let page = await client.accounting.generalLedgerTransactions.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - startDate: "start_date", - status: "ONGOING" + postedDateAfter: new Date("2024-01-15T09:30:00.000Z"), + postedDateBefore: new Date("2024-01-15T09:30:00.000Z"), + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -9089,7 +10125,7 @@ await client.crm.issues.list({
-**request:** `Merge.crm.IssuesListRequest` +**request:** `Merge.accounting.GeneralLedgerTransactionsListRequest`
@@ -9097,7 +10133,7 @@ await client.crm.issues.list({
-**requestOptions:** `IssuesClient.RequestOptions` +**requestOptions:** `GeneralLedgerTransactionsClient.RequestOptions`
@@ -9109,7 +10145,7 @@ await client.crm.issues.list({
-
client.crm.issues.retrieve(id) -> Merge.Issue +
client.accounting.generalLedgerTransactions.retrieve(id, { ...params }) -> Merge.GeneralLedgerTransaction
@@ -9121,7 +10157,7 @@ await client.crm.issues.list({
-Get a specific issue. +Returns a `GeneralLedgerTransaction` object with the given `id`.
@@ -9136,7 +10172,10 @@ Get a specific issue.
```typescript -await client.crm.issues.retrieve("id"); +await client.accounting.generalLedgerTransactions.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -9160,7 +10199,15 @@ await client.crm.issues.retrieve("id");
-**requestOptions:** `IssuesClient.RequestOptions` +**request:** `Merge.accounting.GeneralLedgerTransactionsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `GeneralLedgerTransactionsClient.RequestOptions`
@@ -9172,8 +10219,8 @@ await client.crm.issues.retrieve("id");
-## Crm Leads -
client.crm.leads.list({ ...params }) -> Merge.PaginatedLeadList +## Accounting GenerateKey +
client.accounting.generateKey.create({ ...params }) -> Merge.RemoteKey
@@ -9185,7 +10232,7 @@ await client.crm.issues.retrieve("id");
-Returns a list of `Lead` objects. +Create a remote key.
@@ -9200,24 +10247,8 @@ Returns a list of `Lead` objects.
```typescript -await client.crm.leads.list({ - convertedAccountId: "converted_account_id", - convertedContactId: "converted_contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddresses: "email_addresses", - expand: "converted_account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - ownerId: "owner_id", - pageSize: 1, - phoneNumbers: "phone_numbers", - remoteId: "remote_id" +await client.accounting.generateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -9234,7 +10265,7 @@ await client.crm.leads.list({
-**request:** `Merge.crm.LeadsListRequest` +**request:** `Merge.accounting.GenerateRemoteKeyRequest`
@@ -9242,7 +10273,7 @@ await client.crm.leads.list({
-**requestOptions:** `LeadsClient.RequestOptions` +**requestOptions:** `GenerateKeyClient.RequestOptions`
@@ -9254,7 +10285,8 @@ await client.crm.leads.list({
-
client.crm.leads.create({ ...params }) -> Merge.LeadResponse +## Accounting IncomeStatements +
client.accounting.incomeStatements.list({ ...params }) -> core.Page
@@ -9266,7 +10298,7 @@ await client.crm.leads.list({
-Creates a `Lead` object with the given values. +Returns a list of `IncomeStatement` objects.
@@ -9281,11 +10313,43 @@ Creates a `Lead` object with the given values.
```typescript -await client.crm.leads.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.accounting.incomeStatements.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.incomeStatements.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -9301,7 +10365,7 @@ await client.crm.leads.create({
-**request:** `Merge.crm.LeadEndpointRequest` +**request:** `Merge.accounting.IncomeStatementsListRequest`
@@ -9309,7 +10373,7 @@ await client.crm.leads.create({
-**requestOptions:** `LeadsClient.RequestOptions` +**requestOptions:** `IncomeStatementsClient.RequestOptions`
@@ -9321,7 +10385,7 @@ await client.crm.leads.create({
-
client.crm.leads.retrieve(id, { ...params }) -> Merge.Lead +
client.accounting.incomeStatements.retrieve(id, { ...params }) -> Merge.IncomeStatement
@@ -9333,7 +10397,7 @@ await client.crm.leads.create({
-Returns a `Lead` object with the given `id`. +Returns an `IncomeStatement` object with the given `id`.
@@ -9348,10 +10412,8 @@ Returns a `Lead` object with the given `id`.
```typescript -await client.crm.leads.retrieve("id", { - expand: "converted_account", +await client.accounting.incomeStatements.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, includeShellData: true }); @@ -9377,7 +10439,7 @@ await client.crm.leads.retrieve("id", {
-**request:** `Merge.crm.LeadsRetrieveRequest` +**request:** `Merge.accounting.IncomeStatementsRetrieveRequest`
@@ -9385,7 +10447,7 @@ await client.crm.leads.retrieve("id", {
-**requestOptions:** `LeadsClient.RequestOptions` +**requestOptions:** `IncomeStatementsClient.RequestOptions`
@@ -9397,7 +10459,8 @@ await client.crm.leads.retrieve("id", {
-
client.crm.leads.metaPostRetrieve() -> Merge.MetaResponse +## Accounting Invoices +
client.accounting.invoices.list({ ...params }) -> core.Page
@@ -9409,7 +10472,7 @@ await client.crm.leads.retrieve("id", {
-Returns metadata for `Lead` POSTs. +Returns a list of `Invoice` objects.
@@ -9424,71 +10487,61 @@ Returns metadata for `Lead` POSTs.
```typescript -await client.crm.leads.metaPostRetrieve(); - -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `LeadsClient.RequestOptions` - -
-
-
-
- - - - -
- -
client.crm.leads.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
+const pageableResponse = await client.accounting.invoices.list({ + companyId: "company_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), + issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + number: "number", + pageSize: 1, + remoteFields: "type", + remoteId: "remote_id", + showEnumOrigins: "type", + status: "DRAFT", + type: "ACCOUNTS_PAYABLE" +}); +for await (const item of pageableResponse) { + console.log(item); +} -```typescript -await client.crm.leads.remoteFieldClassesList({ +// Or you can manually iterate page-by-page +let page = await client.accounting.invoices.list({ + companyId: "company_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, includeRemoteFields: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), + issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + number: "number", + pageSize: 1, + remoteFields: "type", + remoteId: "remote_id", + showEnumOrigins: "type", + status: "DRAFT", + type: "ACCOUNTS_PAYABLE" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -9504,7 +10557,7 @@ await client.crm.leads.remoteFieldClassesList({
-**request:** `Merge.crm.LeadsRemoteFieldClassesListRequest` +**request:** `Merge.accounting.InvoicesListRequest`
@@ -9512,7 +10565,7 @@ await client.crm.leads.remoteFieldClassesList({
-**requestOptions:** `LeadsClient.RequestOptions` +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -9524,8 +10577,7 @@ await client.crm.leads.remoteFieldClassesList({
-## Crm LinkToken -
client.crm.linkToken.create({ ...params }) -> Merge.LinkToken +
client.accounting.invoices.create({ ...params }) -> Merge.InvoiceResponse
@@ -9537,7 +10589,9 @@ await client.crm.leads.remoteFieldClassesList({
-Creates a link token to be used when linking a new end user. +Creates an `Invoice` object with the given values. + Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). +
@@ -9552,11 +10606,10 @@ Creates a link token to be used when linking a new end user.
```typescript -await client.crm.linkToken.create({ - endUserEmailAddress: "example@gmail.com", - endUserOrganizationName: "Test Organization", - endUserOriginId: "12345", - categories: ["hris", "ats"] +await client.accounting.invoices.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -9573,7 +10626,7 @@ await client.crm.linkToken.create({
-**request:** `Merge.crm.EndUserDetailsRequest` +**request:** `Merge.accounting.InvoiceEndpointRequest`
@@ -9581,7 +10634,7 @@ await client.crm.linkToken.create({
-**requestOptions:** `LinkTokenClient.RequestOptions` +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -9593,8 +10646,7 @@ await client.crm.linkToken.create({
-## Crm LinkedAccounts -
client.crm.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList +
client.accounting.invoices.retrieve(id, { ...params }) -> Merge.Invoice
@@ -9606,7 +10658,7 @@ await client.crm.linkToken.create({
-List linked accounts for your organization. +Returns an `Invoice` object with the given `id`.
@@ -9621,20 +10673,12 @@ List linked accounts for your organization.
```typescript -await client.crm.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status" +await client.accounting.invoices.retrieve("id", { + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + remoteFields: "type", + showEnumOrigins: "type" }); ``` @@ -9651,7 +10695,7 @@ await client.crm.linkedAccounts.list({
-**request:** `Merge.crm.LinkedAccountsListRequest` +**id:** `string`
@@ -9659,7 +10703,15 @@ await client.crm.linkedAccounts.list({
-**requestOptions:** `LinkedAccountsClient.RequestOptions` +**request:** `Merge.accounting.InvoicesRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -9671,8 +10723,7 @@ await client.crm.linkedAccounts.list({
-## Crm Notes -
client.crm.notes.list({ ...params }) -> Merge.PaginatedNoteList +
client.accounting.invoices.partialUpdate(id, { ...params }) -> Merge.InvoiceResponse
@@ -9684,7 +10735,7 @@ await client.crm.linkedAccounts.list({
-Returns a list of `Note` objects. +Updates an `Invoice` object with the given `id`.
@@ -9699,23 +10750,10 @@ Returns a list of `Note` objects.
```typescript -await client.crm.notes.list({ - accountId: "account_id", - contactId: "contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - opportunityId: "opportunity_id", - ownerId: "owner_id", - pageSize: 1, - remoteId: "remote_id" +await client.accounting.invoices.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -9732,7 +10770,7 @@ await client.crm.notes.list({
-**request:** `Merge.crm.NotesListRequest` +**id:** `string`
@@ -9740,7 +10778,15 @@ await client.crm.notes.list({
-**requestOptions:** `NotesClient.RequestOptions` +**request:** `Merge.accounting.PatchedInvoiceEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -9752,7 +10798,7 @@ await client.crm.notes.list({
-
client.crm.notes.create({ ...params }) -> Merge.NoteResponse +
client.accounting.invoices.lineItemsRemoteFieldClassesList({ ...params }) -> core.Page
@@ -9764,7 +10810,7 @@ await client.crm.notes.list({
-Creates a `Note` object with the given values. +Returns a list of `RemoteFieldClass` objects.
@@ -9779,11 +10825,35 @@ Creates a `Note` object with the given values.
```typescript -await client.crm.notes.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.accounting.invoices.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.invoices.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -9799,7 +10869,7 @@ await client.crm.notes.create({
-**request:** `Merge.crm.NoteEndpointRequest` +**request:** `Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest`
@@ -9807,7 +10877,7 @@ await client.crm.notes.create({
-**requestOptions:** `NotesClient.RequestOptions` +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -9819,7 +10889,7 @@ await client.crm.notes.create({
-
client.crm.notes.retrieve(id, { ...params }) -> Merge.Note +
client.accounting.invoices.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -9831,7 +10901,7 @@ await client.crm.notes.create({
-Returns a `Note` object with the given `id`. +Returns metadata for `Invoice` PATCHs.
@@ -9846,12 +10916,7 @@ Returns a `Note` object with the given `id`.
```typescript -await client.crm.notes.retrieve("id", { - expand: "account", - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true -}); +await client.accounting.invoices.metaPatchRetrieve("id"); ```
@@ -9875,15 +10940,7 @@ await client.crm.notes.retrieve("id", {
-**request:** `Merge.crm.NotesRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `NotesClient.RequestOptions` +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -9895,7 +10952,7 @@ await client.crm.notes.retrieve("id", {
-
client.crm.notes.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.invoices.metaPostRetrieve() -> Merge.MetaResponse
@@ -9907,7 +10964,7 @@ await client.crm.notes.retrieve("id", {
-Returns metadata for `Note` POSTs. +Returns metadata for `Invoice` POSTs.
@@ -9922,7 +10979,7 @@ Returns metadata for `Note` POSTs.
```typescript -await client.crm.notes.metaPostRetrieve(); +await client.accounting.invoices.metaPostRetrieve(); ```
@@ -9938,7 +10995,7 @@ await client.crm.notes.metaPostRetrieve();
-**requestOptions:** `NotesClient.RequestOptions` +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -9950,7 +11007,7 @@ await client.crm.notes.metaPostRetrieve();
-
client.crm.notes.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.accounting.invoices.remoteFieldClassesList({ ...params }) -> core.Page
@@ -9977,16 +11034,35 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.notes.remoteFieldClassesList({ +const pageableResponse = await client.accounting.invoices.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.invoices.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, isCommonModelField: true, isCustom: true, pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -10002,7 +11078,7 @@ await client.crm.notes.remoteFieldClassesList({
-**request:** `Merge.crm.NotesRemoteFieldClassesListRequest` +**request:** `Merge.accounting.InvoicesRemoteFieldClassesListRequest`
@@ -10010,7 +11086,7 @@ await client.crm.notes.remoteFieldClassesList({
-**requestOptions:** `NotesClient.RequestOptions` +**requestOptions:** `InvoicesClient.RequestOptions`
@@ -10022,8 +11098,8 @@ await client.crm.notes.remoteFieldClassesList({
-## Crm Opportunities -
client.crm.opportunities.list({ ...params }) -> Merge.PaginatedOpportunityList +## Accounting Issues +
client.accounting.issues.list({ ...params }) -> core.Page
@@ -10035,7 +11111,7 @@ await client.crm.notes.remoteFieldClassesList({
-Returns a list of `Opportunity` objects. +Gets all issues for Organization.
@@ -10050,27 +11126,49 @@ Returns a list of `Opportunity` objects.
```typescript -await client.crm.opportunities.list({ - accountId: "account_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.accounting.issues.list({ + accountToken: "account_token", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - ownerId: "owner_id", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - stageId: "stage_id", - status: "LOST" + startDate: "start_date", + status: "ONGOING" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -10086,7 +11184,7 @@ await client.crm.opportunities.list({
-**request:** `Merge.crm.OpportunitiesListRequest` +**request:** `Merge.accounting.IssuesListRequest`
@@ -10094,7 +11192,7 @@ await client.crm.opportunities.list({
-**requestOptions:** `OpportunitiesClient.RequestOptions` +**requestOptions:** `IssuesClient.RequestOptions`
@@ -10106,7 +11204,7 @@ await client.crm.opportunities.list({
-
client.crm.opportunities.create({ ...params }) -> Merge.OpportunityResponse +
client.accounting.issues.retrieve(id) -> Merge.Issue
@@ -10118,7 +11216,7 @@ await client.crm.opportunities.list({
-Creates an `Opportunity` object with the given values. +Get a specific issue.
@@ -10133,11 +11231,7 @@ Creates an `Opportunity` object with the given values.
```typescript -await client.crm.opportunities.create({ - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.accounting.issues.retrieve("id"); ```
@@ -10153,7 +11247,7 @@ await client.crm.opportunities.create({
-**request:** `Merge.crm.OpportunityEndpointRequest` +**id:** `string`
@@ -10161,7 +11255,7 @@ await client.crm.opportunities.create({
-**requestOptions:** `OpportunitiesClient.RequestOptions` +**requestOptions:** `IssuesClient.RequestOptions`
@@ -10173,7 +11267,8 @@ await client.crm.opportunities.create({
-
client.crm.opportunities.retrieve(id, { ...params }) -> Merge.Opportunity +## Accounting Items +
client.accounting.items.list({ ...params }) -> core.Page
@@ -10185,7 +11280,7 @@ await client.crm.opportunities.create({
-Returns an `Opportunity` object with the given `id`. +Returns a list of `Item` objects.
@@ -10200,14 +11295,47 @@ Returns an `Opportunity` object with the given `id`.
```typescript -await client.crm.opportunities.retrieve("id", { - expand: "account", +const pageableResponse = await client.accounting.items.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, remoteFields: "status", + remoteId: "remote_id", showEnumOrigins: "status" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.items.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -10223,15 +11351,7 @@ await client.crm.opportunities.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.OpportunitiesRetrieveRequest` +**request:** `Merge.accounting.ItemsListRequest`
@@ -10239,7 +11359,7 @@ await client.crm.opportunities.retrieve("id", {
-**requestOptions:** `OpportunitiesClient.RequestOptions` +**requestOptions:** `ItemsClient.RequestOptions`
@@ -10251,7 +11371,7 @@ await client.crm.opportunities.retrieve("id", {
-
client.crm.opportunities.partialUpdate(id, { ...params }) -> Merge.OpportunityResponse +
client.accounting.items.create({ ...params }) -> Merge.ItemResponse
@@ -10263,7 +11383,7 @@ await client.crm.opportunities.retrieve("id", {
-Updates an `Opportunity` object with the given `id`. +Creates an `Item` object with the given values.
@@ -10278,7 +11398,7 @@ Updates an `Opportunity` object with the given `id`.
```typescript -await client.crm.opportunities.partialUpdate("id", { +await client.accounting.items.create({ isDebugMode: true, runAsync: true, model: {} @@ -10298,15 +11418,7 @@ await client.crm.opportunities.partialUpdate("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.PatchedOpportunityEndpointRequest` +**request:** `Merge.accounting.ItemEndpointRequest`
@@ -10314,7 +11426,7 @@ await client.crm.opportunities.partialUpdate("id", {
-**requestOptions:** `OpportunitiesClient.RequestOptions` +**requestOptions:** `ItemsClient.RequestOptions`
@@ -10326,7 +11438,7 @@ await client.crm.opportunities.partialUpdate("id", {
-
client.crm.opportunities.metaPatchRetrieve(id) -> Merge.MetaResponse +
client.accounting.items.retrieve(id, { ...params }) -> Merge.Item
@@ -10338,7 +11450,7 @@ await client.crm.opportunities.partialUpdate("id", {
-Returns metadata for `Opportunity` PATCHs. +Returns an `Item` object with the given `id`.
@@ -10353,7 +11465,12 @@ Returns metadata for `Opportunity` PATCHs.
```typescript -await client.crm.opportunities.metaPatchRetrieve("id"); +await client.accounting.items.retrieve("id", { + includeRemoteData: true, + includeShellData: true, + remoteFields: "status", + showEnumOrigins: "status" +}); ```
@@ -10377,7 +11494,15 @@ await client.crm.opportunities.metaPatchRetrieve("id");
-**requestOptions:** `OpportunitiesClient.RequestOptions` +**request:** `Merge.accounting.ItemsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `ItemsClient.RequestOptions`
@@ -10389,7 +11514,7 @@ await client.crm.opportunities.metaPatchRetrieve("id");
-
client.crm.opportunities.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.items.partialUpdate(id, { ...params }) -> Merge.ItemResponse
@@ -10401,7 +11526,7 @@ await client.crm.opportunities.metaPatchRetrieve("id");
-Returns metadata for `Opportunity` POSTs. +Updates an `Item` object with the given `id`.
@@ -10416,7 +11541,11 @@ Returns metadata for `Opportunity` POSTs.
```typescript -await client.crm.opportunities.metaPostRetrieve(); +await client.accounting.items.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} +}); ```
@@ -10432,7 +11561,23 @@ await client.crm.opportunities.metaPostRetrieve();
-**requestOptions:** `OpportunitiesClient.RequestOptions` +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.accounting.PatchedItemEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `ItemsClient.RequestOptions`
@@ -10444,7 +11589,7 @@ await client.crm.opportunities.metaPostRetrieve();
-
client.crm.opportunities.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.accounting.items.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -10456,7 +11601,7 @@ await client.crm.opportunities.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns metadata for `Item` PATCHs.
@@ -10471,16 +11616,7 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.opportunities.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 -}); +await client.accounting.items.metaPatchRetrieve("id"); ```
@@ -10496,7 +11632,7 @@ await client.crm.opportunities.remoteFieldClassesList({
-**request:** `Merge.crm.OpportunitiesRemoteFieldClassesListRequest` +**id:** `string`
@@ -10504,7 +11640,7 @@ await client.crm.opportunities.remoteFieldClassesList({
-**requestOptions:** `OpportunitiesClient.RequestOptions` +**requestOptions:** `ItemsClient.RequestOptions`
@@ -10516,8 +11652,7 @@ await client.crm.opportunities.remoteFieldClassesList({
-## Crm Passthrough -
client.crm.passthrough.create({ ...params }) -> Merge.RemoteResponse +
client.accounting.items.metaPostRetrieve() -> Merge.MetaResponse
@@ -10529,7 +11664,7 @@ await client.crm.opportunities.remoteFieldClassesList({
-Pull data from an endpoint not currently supported by Merge. +Returns metadata for `Item` POSTs.
@@ -10544,10 +11679,7 @@ Pull data from an endpoint not currently supported by Merge.
```typescript -await client.crm.passthrough.create({ - method: "GET", - path: "/scooters" -}); +await client.accounting.items.metaPostRetrieve(); ```
@@ -10563,15 +11695,7 @@ await client.crm.passthrough.create({
-**request:** `Merge.DataPassthroughRequest` - -
-
- -
-
- -**requestOptions:** `PassthroughClient.RequestOptions` +**requestOptions:** `ItemsClient.RequestOptions`
@@ -10583,8 +11707,8 @@ await client.crm.passthrough.create({
-## Crm RegenerateKey -
client.crm.regenerateKey.create({ ...params }) -> Merge.RemoteKey +## Accounting JournalEntries +
client.accounting.journalEntries.list({ ...params }) -> core.Page
@@ -10596,7 +11720,7 @@ await client.crm.passthrough.create({
-Exchange remote keys. +Returns a list of `JournalEntry` objects.
@@ -10611,9 +11735,49 @@ Exchange remote keys.
```typescript -await client.crm.regenerateKey.create({ - name: "Remote Deployment Key 1" +const pageableResponse = await client.accounting.journalEntries.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.journalEntries.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -10629,7 +11793,7 @@ await client.crm.regenerateKey.create({
-**request:** `Merge.crm.RemoteKeyForRegenerationRequest` +**request:** `Merge.accounting.JournalEntriesListRequest`
@@ -10637,7 +11801,7 @@ await client.crm.regenerateKey.create({
-**requestOptions:** `RegenerateKeyClient.RequestOptions` +**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -10649,8 +11813,7 @@ await client.crm.regenerateKey.create({
-## Crm Stages -
client.crm.stages.list({ ...params }) -> Merge.PaginatedStageList +
client.accounting.journalEntries.create({ ...params }) -> Merge.JournalEntryResponse
@@ -10662,7 +11825,7 @@ await client.crm.regenerateKey.create({
-Returns a list of `Stage` objects. +Creates a `JournalEntry` object with the given values.
@@ -10677,18 +11840,10 @@ Returns a list of `Stage` objects.
```typescript -await client.crm.stages.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.accounting.journalEntries.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -10705,7 +11860,7 @@ await client.crm.stages.list({
-**request:** `Merge.crm.StagesListRequest` +**request:** `Merge.accounting.JournalEntryEndpointRequest`
@@ -10713,7 +11868,7 @@ await client.crm.stages.list({
-**requestOptions:** `StagesClient.RequestOptions` +**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -10725,7 +11880,7 @@ await client.crm.stages.list({
-
client.crm.stages.retrieve(id, { ...params }) -> Merge.Stage +
client.accounting.journalEntries.retrieve(id, { ...params }) -> Merge.JournalEntry
@@ -10737,7 +11892,7 @@ await client.crm.stages.list({
-Returns a `Stage` object with the given `id`. +Returns a `JournalEntry` object with the given `id`.
@@ -10752,7 +11907,7 @@ Returns a `Stage` object with the given `id`.
```typescript -await client.crm.stages.retrieve("id", { +await client.accounting.journalEntries.retrieve("id", { includeRemoteData: true, includeRemoteFields: true, includeShellData: true @@ -10780,7 +11935,7 @@ await client.crm.stages.retrieve("id", {
-**request:** `Merge.crm.StagesRetrieveRequest` +**request:** `Merge.accounting.JournalEntriesRetrieveRequest`
@@ -10788,7 +11943,7 @@ await client.crm.stages.retrieve("id", {
-**requestOptions:** `StagesClient.RequestOptions` +**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -10800,7 +11955,7 @@ await client.crm.stages.retrieve("id", {
-
client.crm.stages.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.accounting.journalEntries.linesRemoteFieldClassesList({ ...params }) -> core.Page
@@ -10827,83 +11982,35 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.stages.remoteFieldClassesList({ +const pageableResponse = await client.accounting.journalEntries.linesRemoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, isCommonModelField: true, isCustom: true, pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.crm.StagesRemoteFieldClassesListRequest` - -
-
- -
-
- -**requestOptions:** `StagesClient.RequestOptions` - -
-
-
-
- - - - -
- -## Crm SyncStatus -
client.crm.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList -
-
- -#### 📝 Description - -
-
- -
-
- -Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.crm.syncStatus.list({ +// Or you can manually iterate page-by-page +let page = await client.accounting.journalEntries.linesRemoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -10919,7 +12026,7 @@ await client.crm.syncStatus.list({
-**request:** `Merge.crm.SyncStatusListRequest` +**request:** `Merge.accounting.JournalEntriesLinesRemoteFieldClassesListRequest`
@@ -10927,7 +12034,7 @@ await client.crm.syncStatus.list({
-**requestOptions:** `SyncStatusClient.RequestOptions` +**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -10939,8 +12046,7 @@ await client.crm.syncStatus.list({
-## Crm ForceResync -
client.crm.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[] +
client.accounting.journalEntries.metaPostRetrieve() -> Merge.MetaResponse
@@ -10952,7 +12058,7 @@ await client.crm.syncStatus.list({
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns metadata for `JournalEntry` POSTs.
@@ -10967,7 +12073,7 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
```typescript -await client.crm.forceResync.syncStatusResyncCreate(); +await client.accounting.journalEntries.metaPostRetrieve(); ```
@@ -10983,7 +12089,7 @@ await client.crm.forceResync.syncStatusResyncCreate();
-**requestOptions:** `ForceResyncClient.RequestOptions` +**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -10995,8 +12101,7 @@ await client.crm.forceResync.syncStatusResyncCreate();
-## Crm Tasks -
client.crm.tasks.list({ ...params }) -> Merge.PaginatedTaskList +
client.accounting.journalEntries.remoteFieldClassesList({ ...params }) -> core.Page
@@ -11008,7 +12113,7 @@ await client.crm.forceResync.syncStatusResyncCreate();
-Returns a list of `Task` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -11023,20 +12128,35 @@ Returns a list of `Task` objects.
```typescript -await client.crm.tasks.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.accounting.journalEntries.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.journalEntries.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -11052,7 +12172,7 @@ await client.crm.tasks.list({
-**request:** `Merge.crm.TasksListRequest` +**request:** `Merge.accounting.JournalEntriesRemoteFieldClassesListRequest`
@@ -11060,7 +12180,7 @@ await client.crm.tasks.list({
-**requestOptions:** `TasksClient.RequestOptions` +**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -11072,7 +12192,8 @@ await client.crm.tasks.list({
-
client.crm.tasks.create({ ...params }) -> Merge.TaskResponse +## Accounting LinkToken +
client.accounting.linkToken.create({ ...params }) -> Merge.LinkToken
@@ -11084,7 +12205,7 @@ await client.crm.tasks.list({
-Creates a `Task` object with the given values. +Creates a link token to be used when linking a new end user.
@@ -11099,10 +12220,11 @@ Creates a `Task` object with the given values.
```typescript -await client.crm.tasks.create({ - isDebugMode: true, - runAsync: true, - model: {} +await client.accounting.linkToken.create({ + endUserEmailAddress: "example@gmail.com", + endUserOrganizationName: "Test Organization", + endUserOriginId: "12345", + categories: ["hris", "ats"] }); ``` @@ -11119,7 +12241,7 @@ await client.crm.tasks.create({
-**request:** `Merge.crm.TaskEndpointRequest` +**request:** `Merge.accounting.EndUserDetailsRequest`
@@ -11127,7 +12249,7 @@ await client.crm.tasks.create({
-**requestOptions:** `TasksClient.RequestOptions` +**requestOptions:** `LinkTokenClient.RequestOptions`
@@ -11139,7 +12261,8 @@ await client.crm.tasks.create({
-
client.crm.tasks.retrieve(id, { ...params }) -> Merge.Task +## Accounting LinkedAccounts +
client.accounting.linkedAccounts.list({ ...params }) -> core.Page
@@ -11151,7 +12274,7 @@ await client.crm.tasks.create({
-Returns a `Task` object with the given `id`. +List linked accounts for your organization.
@@ -11166,12 +12289,47 @@ Returns a `Task` object with the given `id`.
```typescript -await client.crm.tasks.retrieve("id", { - expand: "account", - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true +const pageableResponse = await client.accounting.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -11187,15 +12345,7 @@ await client.crm.tasks.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.TasksRetrieveRequest` +**request:** `Merge.accounting.LinkedAccountsListRequest`
@@ -11203,7 +12353,7 @@ await client.crm.tasks.retrieve("id", {
-**requestOptions:** `TasksClient.RequestOptions` +**requestOptions:** `LinkedAccountsClient.RequestOptions`
@@ -11215,7 +12365,8 @@ await client.crm.tasks.retrieve("id", {
-
client.crm.tasks.partialUpdate(id, { ...params }) -> Merge.TaskResponse +## Accounting Passthrough +
client.accounting.passthrough.create({ ...params }) -> Merge.RemoteResponse
@@ -11227,7 +12378,7 @@ await client.crm.tasks.retrieve("id", {
-Updates a `Task` object with the given `id`. +Pull data from an endpoint not currently supported by Merge.
@@ -11242,10 +12393,9 @@ Updates a `Task` object with the given `id`.
```typescript -await client.crm.tasks.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} +await client.accounting.passthrough.create({ + method: "GET", + path: "/scooters" }); ``` @@ -11262,15 +12412,7 @@ await client.crm.tasks.partialUpdate("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.crm.PatchedTaskEndpointRequest` +**request:** `Merge.DataPassthroughRequest`
@@ -11278,7 +12420,7 @@ await client.crm.tasks.partialUpdate("id", {
-**requestOptions:** `TasksClient.RequestOptions` +**requestOptions:** `PassthroughClient.RequestOptions`
@@ -11290,7 +12432,8 @@ await client.crm.tasks.partialUpdate("id", {
-
client.crm.tasks.metaPatchRetrieve(id) -> Merge.MetaResponse +## Accounting PaymentMethods +
client.accounting.paymentMethods.list({ ...params }) -> core.Page
@@ -11302,7 +12445,7 @@ await client.crm.tasks.partialUpdate("id", {
-Returns metadata for `Task` PATCHs. +Returns a list of `PaymentMethod` objects.
@@ -11317,7 +12460,31 @@ Returns metadata for `Task` PATCHs.
```typescript -await client.crm.tasks.metaPatchRetrieve("id"); +const pageableResponse = await client.accounting.paymentMethods.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.paymentMethods.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -11333,7 +12500,7 @@ await client.crm.tasks.metaPatchRetrieve("id");
-**id:** `string` +**request:** `Merge.accounting.PaymentMethodsListRequest`
@@ -11341,7 +12508,7 @@ await client.crm.tasks.metaPatchRetrieve("id");
-**requestOptions:** `TasksClient.RequestOptions` +**requestOptions:** `PaymentMethodsClient.RequestOptions`
@@ -11353,7 +12520,7 @@ await client.crm.tasks.metaPatchRetrieve("id");
-
client.crm.tasks.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.paymentMethods.retrieve(id, { ...params }) -> Merge.PaymentMethod
@@ -11365,7 +12532,7 @@ await client.crm.tasks.metaPatchRetrieve("id");
-Returns metadata for `Task` POSTs. +Returns a `PaymentMethod` object with the given `id`.
@@ -11380,7 +12547,10 @@ Returns metadata for `Task` POSTs.
```typescript -await client.crm.tasks.metaPostRetrieve(); +await client.accounting.paymentMethods.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -11396,71 +12566,15 @@ await client.crm.tasks.metaPostRetrieve();
-**requestOptions:** `TasksClient.RequestOptions` +**id:** `string` -
-
- -
- - - - -
- -
client.crm.tasks.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.crm.tasks.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 -}); - -``` -
-
-#### ⚙️ Parameters - -
-
-
-**request:** `Merge.crm.TasksRemoteFieldClassesListRequest` +**request:** `Merge.accounting.PaymentMethodsRetrieveRequest`
@@ -11468,7 +12582,7 @@ await client.crm.tasks.remoteFieldClassesList({
-**requestOptions:** `TasksClient.RequestOptions` +**requestOptions:** `PaymentMethodsClient.RequestOptions`
@@ -11480,8 +12594,8 @@ await client.crm.tasks.remoteFieldClassesList({
-## Crm Users -
client.crm.users.list({ ...params }) -> Merge.PaginatedUserList +## Accounting PaymentTerms +
client.accounting.paymentTerms.list({ ...params }) -> core.Page
@@ -11493,7 +12607,7 @@ await client.crm.tasks.remoteFieldClassesList({
-Returns a list of `User` objects. +Returns a list of `PaymentTerm` objects.
@@ -11508,20 +12622,31 @@ Returns a list of `User` objects.
```typescript -await client.crm.users.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.accounting.paymentTerms.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email: "email", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.paymentTerms.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -11537,7 +12662,7 @@ await client.crm.users.list({
-**request:** `Merge.crm.UsersListRequest` +**request:** `Merge.accounting.PaymentTermsListRequest`
@@ -11545,7 +12670,7 @@ await client.crm.users.list({
-**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `PaymentTermsClient.RequestOptions`
@@ -11557,7 +12682,7 @@ await client.crm.users.list({
-
client.crm.users.retrieve(id, { ...params }) -> Merge.User +
client.accounting.paymentTerms.retrieve(id, { ...params }) -> Merge.PaymentTerm
@@ -11569,7 +12694,7 @@ await client.crm.users.list({
-Returns a `User` object with the given `id`. +Returns a `PaymentTerm` object with the given `id`.
@@ -11584,9 +12709,8 @@ Returns a `User` object with the given `id`.
```typescript -await client.crm.users.retrieve("id", { +await client.accounting.paymentTerms.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, includeShellData: true }); @@ -11612,7 +12736,7 @@ await client.crm.users.retrieve("id", {
-**request:** `Merge.crm.UsersRetrieveRequest` +**request:** `Merge.accounting.PaymentTermsRetrieveRequest`
@@ -11620,7 +12744,7 @@ await client.crm.users.retrieve("id", {
-**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `PaymentTermsClient.RequestOptions`
@@ -11632,7 +12756,8 @@ await client.crm.users.retrieve("id", {
-
client.crm.users.ignoreCreate(model_id, { ...params }) -> void +## Accounting Payments +
client.accounting.payments.list({ ...params }) -> core.Page
@@ -11644,7 +12769,7 @@ await client.crm.users.retrieve("id", {
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Returns a list of `Payment` objects.
@@ -11659,9 +12784,53 @@ Ignores a specific row based on the `model_id` in the url. These records will ha
```typescript -await client.crm.users.ignoreCreate("model_id", { - reason: "GENERAL_CUSTOMER_REQUEST" +const pageableResponse = await client.accounting.payments.list({ + accountId: "account_id", + companyId: "company_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.payments.list({ + accountId: "account_id", + companyId: "company_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -11677,15 +12846,7 @@ await client.crm.users.ignoreCreate("model_id", {
-**model_id:** `string` - -
-
- -
-
- -**request:** `Merge.IgnoreCommonModelRequest` +**request:** `Merge.accounting.PaymentsListRequest`
@@ -11693,7 +12854,7 @@ await client.crm.users.ignoreCreate("model_id", {
-**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -11705,7 +12866,7 @@ await client.crm.users.ignoreCreate("model_id", {
-
client.crm.users.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.accounting.payments.create({ ...params }) -> Merge.PaymentResponse
@@ -11717,7 +12878,7 @@ await client.crm.users.ignoreCreate("model_id", {
-Returns a list of `RemoteFieldClass` objects. +Creates a `Payment` object with the given values.
@@ -11732,15 +12893,10 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.crm.users.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 +await client.accounting.payments.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -11757,7 +12913,7 @@ await client.crm.users.remoteFieldClassesList({
-**request:** `Merge.crm.UsersRemoteFieldClassesListRequest` +**request:** `Merge.accounting.PaymentEndpointRequest`
@@ -11765,7 +12921,7 @@ await client.crm.users.remoteFieldClassesList({
-**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -11777,8 +12933,7 @@ await client.crm.users.remoteFieldClassesList({
-## Crm WebhookReceivers -
client.crm.webhookReceivers.list() -> Merge.WebhookReceiver[] +
client.accounting.payments.retrieve(id, { ...params }) -> Merge.Payment
@@ -11790,7 +12945,7 @@ await client.crm.users.remoteFieldClassesList({
-Returns a list of `WebhookReceiver` objects. +Returns a `Payment` object with the given `id`.
@@ -11805,7 +12960,11 @@ Returns a list of `WebhookReceiver` objects.
```typescript -await client.crm.webhookReceivers.list(); +await client.accounting.payments.retrieve("id", { + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true +}); ```
@@ -11821,7 +12980,23 @@ await client.crm.webhookReceivers.list();
-**requestOptions:** `WebhookReceiversClient.RequestOptions` +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.accounting.PaymentsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -11833,7 +13008,7 @@ await client.crm.webhookReceivers.list();
-
client.crm.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver +
client.accounting.payments.partialUpdate(id, { ...params }) -> Merge.PaymentResponse
@@ -11845,7 +13020,7 @@ await client.crm.webhookReceivers.list();
-Creates a `WebhookReceiver` object with the given values. +Updates a `Payment` object with the given `id`.
@@ -11860,9 +13035,10 @@ Creates a `WebhookReceiver` object with the given values.
```typescript -await client.crm.webhookReceivers.create({ - event: "event", - isActive: true +await client.accounting.payments.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -11879,7 +13055,7 @@ await client.crm.webhookReceivers.create({
-**request:** `Merge.crm.WebhookReceiverRequest` +**id:** `string`
@@ -11887,63 +13063,15 @@ await client.crm.webhookReceivers.create({
-**requestOptions:** `WebhookReceiversClient.RequestOptions` +**request:** `Merge.accounting.PatchedPaymentEndpointRequest`
-
-
- - - - -
- -## Filestorage AccountDetails -
client.filestorage.accountDetails.retrieve() -> Merge.AccountDetails -
-
- -#### 📝 Description - -
-
- -
-
- -Get details for a linked account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.filestorage.accountDetails.retrieve(); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
-**requestOptions:** `AccountDetailsClient.RequestOptions` +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -11955,8 +13083,7 @@ await client.filestorage.accountDetails.retrieve();
-## Filestorage AccountToken -
client.filestorage.accountToken.retrieve(public_token) -> Merge.AccountToken +
client.accounting.payments.lineItemsRemoteFieldClassesList({ ...params }) -> core.Page
@@ -11968,7 +13095,7 @@ await client.filestorage.accountDetails.retrieve();
-Returns the account token for the end user with the provided public token. +Returns a list of `RemoteFieldClass` objects.
@@ -11983,7 +13110,35 @@ Returns the account token for the end user with the provided public token.
```typescript -await client.filestorage.accountToken.retrieve("public_token"); +const pageableResponse = await client.accounting.payments.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.payments.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -11999,7 +13154,7 @@ await client.filestorage.accountToken.retrieve("public_token");
-**public_token:** `string` +**request:** `Merge.accounting.PaymentsLineItemsRemoteFieldClassesListRequest`
@@ -12007,7 +13162,7 @@ await client.filestorage.accountToken.retrieve("public_token");
-**requestOptions:** `AccountTokenClient.RequestOptions` +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -12019,8 +13174,7 @@ await client.filestorage.accountToken.retrieve("public_token");
-## Filestorage AsyncPassthrough -
client.filestorage.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept +
client.accounting.payments.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -12032,7 +13186,7 @@ await client.filestorage.accountToken.retrieve("public_token");
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns metadata for `Payment` PATCHs.
@@ -12047,10 +13201,7 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
```typescript -await client.filestorage.asyncPassthrough.create({ - method: "GET", - path: "/scooters" -}); +await client.accounting.payments.metaPatchRetrieve("id"); ```
@@ -12066,7 +13217,7 @@ await client.filestorage.asyncPassthrough.create({
-**request:** `Merge.DataPassthroughRequest` +**id:** `string`
@@ -12074,7 +13225,7 @@ await client.filestorage.asyncPassthrough.create({
-**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -12086,7 +13237,7 @@ await client.filestorage.asyncPassthrough.create({
-
client.filestorage.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse +
client.accounting.payments.metaPostRetrieve() -> Merge.MetaResponse
@@ -12098,7 +13249,7 @@ await client.filestorage.asyncPassthrough.create({
-Retrieves data from earlier async-passthrough POST request +Returns metadata for `Payment` POSTs.
@@ -12113,7 +13264,7 @@ Retrieves data from earlier async-passthrough POST request
```typescript -await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id"); +await client.accounting.payments.metaPostRetrieve(); ```
@@ -12129,15 +13280,7 @@ await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id
-**async_passthrough_receipt_id:** `string` - -
-
- -
-
- -**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -12149,8 +13292,7 @@ await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id
-## Filestorage AuditTrail -
client.filestorage.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList +
client.accounting.payments.remoteFieldClassesList({ ...params }) -> core.Page
@@ -12162,7 +13304,7 @@ await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id
-Gets a list of audit trail events. +Returns a list of `RemoteFieldClass` objects.
@@ -12177,14 +13319,35 @@ Gets a list of audit trail events.
```typescript -await client.filestorage.auditTrail.list({ +const pageableResponse = await client.accounting.payments.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email" + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.payments.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -12200,7 +13363,7 @@ await client.filestorage.auditTrail.list({
-**request:** `Merge.filestorage.AuditTrailListRequest` +**request:** `Merge.accounting.PaymentsRemoteFieldClassesListRequest`
@@ -12208,7 +13371,7 @@ await client.filestorage.auditTrail.list({
-**requestOptions:** `AuditTrailClient.RequestOptions` +**requestOptions:** `PaymentsClient.RequestOptions`
@@ -12220,8 +13383,8 @@ await client.filestorage.auditTrail.list({
-## Filestorage AvailableActions -
client.filestorage.availableActions.retrieve() -> Merge.AvailableActions +## Accounting PhoneNumbers +
client.accounting.phoneNumbers.retrieve(id, { ...params }) -> Merge.AccountingPhoneNumber
@@ -12233,7 +13396,7 @@ await client.filestorage.auditTrail.list({
-Returns a list of models and actions available for an account. +Returns an `AccountingPhoneNumber` object with the given `id`.
@@ -12248,7 +13411,10 @@ Returns a list of models and actions available for an account.
```typescript -await client.filestorage.availableActions.retrieve(); +await client.accounting.phoneNumbers.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -12264,63 +13430,23 @@ await client.filestorage.availableActions.retrieve();
-**requestOptions:** `AvailableActionsClient.RequestOptions` +**id:** `string`
- -
- - - - -
-## Filestorage Scopes -
client.filestorage.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
-#### 📝 Description - -
-
- -
-
- -Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.filestorage.scopes.defaultScopesRetrieve(); - -``` -
-
+**request:** `Merge.accounting.PhoneNumbersRetrieveRequest` +
-#### ⚙️ Parameters - -
-
-
-**requestOptions:** `ScopesClient.RequestOptions` +**requestOptions:** `PhoneNumbersClient.RequestOptions`
@@ -12332,7 +13458,8 @@ await client.filestorage.scopes.defaultScopesRetrieve();
-
client.filestorage.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi +## Accounting Projects +
client.accounting.projects.list({ ...params }) -> Merge.PaginatedProjectList
@@ -12344,7 +13471,7 @@ await client.filestorage.scopes.defaultScopesRetrieve();
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a list of `Project` objects.
@@ -12359,7 +13486,13 @@ Get all available permissions for Merge Common Models and fields for a single Li
```typescript -await client.filestorage.scopes.linkedAccountScopesRetrieve(); +await client.accounting.projects.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); ```
@@ -12375,7 +13508,15 @@ await client.filestorage.scopes.linkedAccountScopesRetrieve();
-**requestOptions:** `ScopesClient.RequestOptions` +**request:** `Merge.accounting.ProjectsListRequest` + +
+
+ +
+
+ +**requestOptions:** `ProjectsClient.RequestOptions`
@@ -12387,7 +13528,7 @@ await client.filestorage.scopes.linkedAccountScopesRetrieve();
-
client.filestorage.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi +
client.accounting.projects.retrieve(id, { ...params }) -> Merge.Project
@@ -12399,7 +13540,7 @@ await client.filestorage.scopes.linkedAccountScopesRetrieve();
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a `Project` object with the given `id`.
@@ -12414,29 +13555,9 @@ Update permissions for any Common Model or field for a single Linked Account. An
```typescript -await client.filestorage.scopes.linkedAccountScopesCreate({ - commonModels: [{ - modelName: "Employee", - modelPermissions: { - "READ": { - isEnabled: true - }, - "WRITE": { - isEnabled: false - } - }, - fieldPermissions: { - enabledFields: ["avatar", "home_location"], - disabledFields: ["work_location"] - } - }, { - modelName: "Benefit", - modelPermissions: { - "WRITE": { - isEnabled: false - } - } - }] +await client.accounting.projects.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -12453,7 +13574,7 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-**request:** `Merge.filestorage.LinkedAccountCommonModelScopeDeserializerRequest` +**id:** `string`
@@ -12461,7 +13582,15 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-**requestOptions:** `ScopesClient.RequestOptions` +**request:** `Merge.accounting.ProjectsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `ProjectsClient.RequestOptions`
@@ -12473,8 +13602,8 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-## Filestorage DeleteAccount -
client.filestorage.deleteAccount.delete() -> void +## Accounting PurchaseOrders +
client.accounting.purchaseOrders.list({ ...params }) -> core.Page
@@ -12486,7 +13615,7 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-Delete a linked account. +Returns a list of `PurchaseOrder` objects.
@@ -12501,7 +13630,53 @@ Delete a linked account.
```typescript -await client.filestorage.deleteAccount.delete(); +const pageableResponse = await client.accounting.purchaseOrders.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), + issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.purchaseOrders.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), + issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -12517,7 +13692,15 @@ await client.filestorage.deleteAccount.delete();
-**requestOptions:** `DeleteAccountClient.RequestOptions` +**request:** `Merge.accounting.PurchaseOrdersListRequest` + +
+
+ +
+
+ +**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -12529,8 +13712,7 @@ await client.filestorage.deleteAccount.delete();
-## Filestorage Drives -
client.filestorage.drives.list({ ...params }) -> Merge.PaginatedDriveList +
client.accounting.purchaseOrders.create({ ...params }) -> Merge.PurchaseOrderResponse
@@ -12542,7 +13724,7 @@ await client.filestorage.deleteAccount.delete();
-Returns a list of `Drive` objects. +Creates a `PurchaseOrder` object with the given values.
@@ -12557,18 +13739,10 @@ Returns a list of `Drive` objects.
```typescript -await client.filestorage.drives.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteId: "remote_id" +await client.accounting.purchaseOrders.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -12585,7 +13759,7 @@ await client.filestorage.drives.list({
-**request:** `Merge.filestorage.DrivesListRequest` +**request:** `Merge.accounting.PurchaseOrderEndpointRequest`
@@ -12593,7 +13767,7 @@ await client.filestorage.drives.list({
-**requestOptions:** `DrivesClient.RequestOptions` +**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -12605,7 +13779,7 @@ await client.filestorage.drives.list({
-
client.filestorage.drives.retrieve(id, { ...params }) -> Merge.Drive +
client.accounting.purchaseOrders.retrieve(id, { ...params }) -> Merge.PurchaseOrder
@@ -12617,7 +13791,7 @@ await client.filestorage.drives.list({
-Returns a `Drive` object with the given `id`. +Returns a `PurchaseOrder` object with the given `id`.
@@ -12632,9 +13806,12 @@ Returns a `Drive` object with the given `id`.
```typescript -await client.filestorage.drives.retrieve("id", { +await client.accounting.purchaseOrders.retrieve("id", { includeRemoteData: true, - includeShellData: true + includeRemoteFields: true, + includeShellData: true, + remoteFields: "status", + showEnumOrigins: "status" }); ``` @@ -12659,7 +13836,7 @@ await client.filestorage.drives.retrieve("id", {
-**request:** `Merge.filestorage.DrivesRetrieveRequest` +**request:** `Merge.accounting.PurchaseOrdersRetrieveRequest`
@@ -12667,7 +13844,7 @@ await client.filestorage.drives.retrieve("id", {
-**requestOptions:** `DrivesClient.RequestOptions` +**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -12679,8 +13856,7 @@ await client.filestorage.drives.retrieve("id", {
-## Filestorage FieldMapping -
client.filestorage.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse +
client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ ...params }) -> core.Page
@@ -12692,7 +13868,7 @@ await client.filestorage.drives.retrieve("id", {
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a list of `RemoteFieldClass` objects.
@@ -12707,9 +13883,35 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
```typescript -await client.filestorage.fieldMapping.fieldMappingsRetrieve({ - excludeRemoteFieldMetadata: true +const pageableResponse = await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -12725,7 +13927,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-**request:** `Merge.filestorage.FieldMappingsRetrieveRequest` +**request:** `Merge.accounting.PurchaseOrdersLineItemsRemoteFieldClassesListRequest`
@@ -12733,7 +13935,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -12745,7 +13947,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-
client.filestorage.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse +
client.accounting.purchaseOrders.metaPostRetrieve() -> Merge.MetaResponse
@@ -12757,7 +13959,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns metadata for `PurchaseOrder` POSTs.
@@ -12772,15 +13974,7 @@ Create new Field Mappings that will be available after the next scheduled sync.
```typescript -await client.filestorage.fieldMapping.fieldMappingsCreate({ - excludeRemoteFieldMetadata: true, - targetFieldName: "example_target_field_name", - targetFieldDescription: "this is a example description of the target field", - remoteFieldTraversalPath: ["example_remote_field"], - remoteMethod: "GET", - remoteUrlPath: "/example-url-path", - commonModelName: "ExampleCommonModel" -}); +await client.accounting.purchaseOrders.metaPostRetrieve(); ```
@@ -12796,15 +13990,7 @@ await client.filestorage.fieldMapping.fieldMappingsCreate({
-**request:** `Merge.filestorage.CreateFieldMappingRequest` - -
-
- -
-
- -**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -12816,7 +14002,7 @@ await client.filestorage.fieldMapping.fieldMappingsCreate({
-
client.filestorage.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse +
client.accounting.purchaseOrders.remoteFieldClassesList({ ...params }) -> core.Page
@@ -12828,7 +14014,7 @@ await client.filestorage.fieldMapping.fieldMappingsCreate({
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `RemoteFieldClass` objects.
@@ -12843,7 +14029,35 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
```typescript -await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id"); +const pageableResponse = await client.accounting.purchaseOrders.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.purchaseOrders.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -12859,7 +14073,7 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-**field_mapping_id:** `string` +**request:** `Merge.accounting.PurchaseOrdersRemoteFieldClassesListRequest`
@@ -12867,7 +14081,7 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -12879,7 +14093,8 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
client.filestorage.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse +## Accounting RegenerateKey +
client.accounting.regenerateKey.create({ ...params }) -> Merge.RemoteKey
@@ -12891,7 +14106,7 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Exchange remote keys.
@@ -12906,7 +14121,9 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
```typescript -await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); +await client.accounting.regenerateKey.create({ + name: "Remote Deployment Key 1" +}); ```
@@ -12922,15 +14139,7 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-**field_mapping_id:** `string` - -
-
- -
-
- -**request:** `Merge.filestorage.PatchedEditFieldMappingRequest` +**request:** `Merge.accounting.RemoteKeyForRegenerationRequest`
@@ -12938,7 +14147,7 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `RegenerateKeyClient.RequestOptions`
@@ -12950,7 +14159,8 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-
client.filestorage.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse +## Accounting SyncStatus +
client.accounting.syncStatus.list({ ...params }) -> core.Page
@@ -12962,7 +14172,7 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -12977,10 +14187,25 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
```typescript -await client.filestorage.fieldMapping.remoteFieldsRetrieve({ - commonModels: "common_models", - includeExampleValues: "include_example_values" +const pageableResponse = await client.accounting.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -12996,7 +14221,7 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-**request:** `Merge.filestorage.RemoteFieldsRetrieveRequest` +**request:** `Merge.accounting.SyncStatusListRequest`
@@ -13004,7 +14229,7 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `SyncStatusClient.RequestOptions`
@@ -13016,7 +14241,8 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-
client.filestorage.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse +## Accounting ForceResync +
client.accounting.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
@@ -13028,7 +14254,7 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -13043,7 +14269,7 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
```typescript -await client.filestorage.fieldMapping.targetFieldsRetrieve(); +await client.accounting.forceResync.syncStatusResyncCreate(); ```
@@ -13059,7 +14285,7 @@ await client.filestorage.fieldMapping.targetFieldsRetrieve();
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `ForceResyncClient.RequestOptions`
@@ -13071,8 +14297,8 @@ await client.filestorage.fieldMapping.targetFieldsRetrieve();
-## Filestorage Files -
client.filestorage.files.list({ ...params }) -> Merge.PaginatedFileList +## Accounting TaxRates +
client.accounting.taxRates.list({ ...params }) -> core.Page
@@ -13084,7 +14310,7 @@ await client.filestorage.fieldMapping.targetFieldsRetrieve();
-Returns a list of `File` objects. +Returns a list of `TaxRate` objects.
@@ -13099,26 +14325,45 @@ Returns a list of `File` objects.
```typescript -await client.filestorage.files.list({ +const pageableResponse = await client.accounting.taxRates.list({ + companyId: "company_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - driveId: "drive_id", - expand: "drive", - folderId: "folder_id", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - mimeType: "mime_type", modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), name: "name", - orderBy: "-created_at", pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.taxRates.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -13134,7 +14379,7 @@ await client.filestorage.files.list({
-**request:** `Merge.filestorage.FilesListRequest` +**request:** `Merge.accounting.TaxRatesListRequest`
@@ -13142,7 +14387,7 @@ await client.filestorage.files.list({
-**requestOptions:** `FilesClient.RequestOptions` +**requestOptions:** `TaxRatesClient.RequestOptions`
@@ -13154,7 +14399,7 @@ await client.filestorage.files.list({
-
client.filestorage.files.create({ ...params }) -> Merge.FileStorageFileResponse +
client.accounting.taxRates.retrieve(id, { ...params }) -> Merge.TaxRate
@@ -13166,7 +14411,7 @@ await client.filestorage.files.list({
-Creates a `File` object with the given values. +Returns a `TaxRate` object with the given `id`.
@@ -13181,10 +14426,9 @@ Creates a `File` object with the given values.
```typescript -await client.filestorage.files.create({ - isDebugMode: true, - runAsync: true, - model: {} +await client.accounting.taxRates.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -13201,7 +14445,7 @@ await client.filestorage.files.create({
-**request:** `Merge.filestorage.FileStorageFileEndpointRequest` +**id:** `string`
@@ -13209,7 +14453,15 @@ await client.filestorage.files.create({
-**requestOptions:** `FilesClient.RequestOptions` +**request:** `Merge.accounting.TaxRatesRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `TaxRatesClient.RequestOptions`
@@ -13221,7 +14473,8 @@ await client.filestorage.files.create({
-
client.filestorage.files.retrieve(id, { ...params }) -> Merge.File_ +## Accounting TrackingCategories +
client.accounting.trackingCategories.list({ ...params }) -> core.Page
@@ -13233,7 +14486,7 @@ await client.filestorage.files.create({
-Returns a `File` object with the given `id`. +Returns a list of `TrackingCategory` objects.
@@ -13248,11 +14501,53 @@ Returns a `File` object with the given `id`.
```typescript -await client.filestorage.files.retrieve("id", { - expand: "drive", +const pageableResponse = await client.accounting.trackingCategories.list({ + categoryType: "", + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeShellData: true + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.trackingCategories.list({ + categoryType: "", + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -13268,15 +14563,7 @@ await client.filestorage.files.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.filestorage.FilesRetrieveRequest` +**request:** `Merge.accounting.TrackingCategoriesListRequest`
@@ -13284,7 +14571,7 @@ await client.filestorage.files.retrieve("id", {
-**requestOptions:** `FilesClient.RequestOptions` +**requestOptions:** `TrackingCategoriesClient.RequestOptions`
@@ -13296,7 +14583,7 @@ await client.filestorage.files.retrieve("id", {
-
client.filestorage.files.downloadRequestMetaRetrieve(id, { ...params }) -> Merge.DownloadRequestMeta +
client.accounting.trackingCategories.retrieve(id, { ...params }) -> Merge.TrackingCategory
@@ -13308,7 +14595,7 @@ await client.filestorage.files.retrieve("id", {
-Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. +Returns a `TrackingCategory` object with the given `id`.
@@ -13323,8 +14610,11 @@ Returns metadata to construct an authenticated file download request for a singu
```typescript -await client.filestorage.files.downloadRequestMetaRetrieve("id", { - mimeType: "mime_type" +await client.accounting.trackingCategories.retrieve("id", { + includeRemoteData: true, + includeShellData: true, + remoteFields: "status", + showEnumOrigins: "status" }); ``` @@ -13349,7 +14639,7 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-**request:** `Merge.filestorage.FilesDownloadRequestMetaRetrieveRequest` +**request:** `Merge.accounting.TrackingCategoriesRetrieveRequest`
@@ -13357,7 +14647,7 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-**requestOptions:** `FilesClient.RequestOptions` +**requestOptions:** `TrackingCategoriesClient.RequestOptions`
@@ -13369,7 +14659,8 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-
client.filestorage.files.downloadRequestMetaList({ ...params }) -> Merge.PaginatedDownloadRequestMetaList +## Accounting Transactions +
client.accounting.transactions.list({ ...params }) -> core.Page
@@ -13381,7 +14672,7 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. +Returns a list of `Transaction` objects.
@@ -13396,17 +14687,47 @@ Returns metadata to construct authenticated file download requests, allowing you
```typescript -await client.filestorage.files.downloadRequestMetaList({ - createdAfter: "created_after", - createdBefore: "created_before", +const pageableResponse = await client.accounting.transactions.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, - mimeTypes: "mime_types", - modifiedAfter: "modified_after", - modifiedBefore: "modified_before", - orderBy: "-created_at", - pageSize: 1 + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.transactions.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -13422,7 +14743,7 @@ await client.filestorage.files.downloadRequestMetaList({
-**request:** `Merge.filestorage.FilesDownloadRequestMetaListRequest` +**request:** `Merge.accounting.TransactionsListRequest`
@@ -13430,7 +14751,7 @@ await client.filestorage.files.downloadRequestMetaList({
-**requestOptions:** `FilesClient.RequestOptions` +**requestOptions:** `TransactionsClient.RequestOptions`
@@ -13442,7 +14763,7 @@ await client.filestorage.files.downloadRequestMetaList({
-
client.filestorage.files.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.transactions.retrieve(id, { ...params }) -> Merge.Transaction
@@ -13454,7 +14775,7 @@ await client.filestorage.files.downloadRequestMetaList({
-Returns metadata for `FileStorageFile` POSTs. +Returns a `Transaction` object with the given `id`.
@@ -13469,7 +14790,10 @@ Returns metadata for `FileStorageFile` POSTs.
```typescript -await client.filestorage.files.metaPostRetrieve(); +await client.accounting.transactions.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -13485,7 +14809,23 @@ await client.filestorage.files.metaPostRetrieve();
-**requestOptions:** `FilesClient.RequestOptions` +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.accounting.TransactionsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `TransactionsClient.RequestOptions`
@@ -13497,8 +14837,8 @@ await client.filestorage.files.metaPostRetrieve();
-## Filestorage Folders -
client.filestorage.folders.list({ ...params }) -> Merge.PaginatedFolderList +## Accounting VendorCredits +
client.accounting.vendorCredits.list({ ...params }) -> core.Page
@@ -13510,7 +14850,7 @@ await client.filestorage.files.metaPostRetrieve();
-Returns a list of `Folder` objects. +Returns a list of `VendorCredit` objects.
@@ -13525,22 +14865,47 @@ Returns a list of `Folder` objects.
```typescript -await client.filestorage.folders.list({ +const pageableResponse = await client.accounting.vendorCredits.list({ + companyId: "company_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - driveId: "drive_id", - expand: "drive", includeDeletedData: true, includeRemoteData: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", pageSize: 1, - parentFolderId: "parent_folder_id", - remoteId: "remote_id" + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.accounting.vendorCredits.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -13556,7 +14921,7 @@ await client.filestorage.folders.list({
-**request:** `Merge.filestorage.FoldersListRequest` +**request:** `Merge.accounting.VendorCreditsListRequest`
@@ -13564,7 +14929,7 @@ await client.filestorage.folders.list({
-**requestOptions:** `FoldersClient.RequestOptions` +**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -13576,7 +14941,7 @@ await client.filestorage.folders.list({
-
client.filestorage.folders.create({ ...params }) -> Merge.FileStorageFolderResponse +
client.accounting.vendorCredits.create({ ...params }) -> Merge.VendorCreditResponse
@@ -13588,7 +14953,7 @@ await client.filestorage.folders.list({
-Creates a `Folder` object with the given values. +Creates a `VendorCredit` object with the given values.
@@ -13603,7 +14968,7 @@ Creates a `Folder` object with the given values.
```typescript -await client.filestorage.folders.create({ +await client.accounting.vendorCredits.create({ isDebugMode: true, runAsync: true, model: {} @@ -13623,7 +14988,7 @@ await client.filestorage.folders.create({
-**request:** `Merge.filestorage.FileStorageFolderEndpointRequest` +**request:** `Merge.accounting.VendorCreditEndpointRequest`
@@ -13631,7 +14996,7 @@ await client.filestorage.folders.create({
-**requestOptions:** `FoldersClient.RequestOptions` +**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -13643,7 +15008,7 @@ await client.filestorage.folders.create({
-
client.filestorage.folders.retrieve(id, { ...params }) -> Merge.Folder +
client.accounting.vendorCredits.retrieve(id, { ...params }) -> Merge.VendorCredit
@@ -13655,7 +15020,7 @@ await client.filestorage.folders.create({
-Returns a `Folder` object with the given `id`. +Returns a `VendorCredit` object with the given `id`.
@@ -13670,8 +15035,7 @@ Returns a `Folder` object with the given `id`.
```typescript -await client.filestorage.folders.retrieve("id", { - expand: "drive", +await client.accounting.vendorCredits.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -13698,7 +15062,7 @@ await client.filestorage.folders.retrieve("id", {
-**request:** `Merge.filestorage.FoldersRetrieveRequest` +**request:** `Merge.accounting.VendorCreditsRetrieveRequest`
@@ -13706,7 +15070,7 @@ await client.filestorage.folders.retrieve("id", {
-**requestOptions:** `FoldersClient.RequestOptions` +**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -13718,7 +15082,7 @@ await client.filestorage.folders.retrieve("id", {
-
client.filestorage.folders.metaPostRetrieve() -> Merge.MetaResponse +
client.accounting.vendorCredits.metaPostRetrieve() -> Merge.MetaResponse
@@ -13730,7 +15094,7 @@ await client.filestorage.folders.retrieve("id", {
-Returns metadata for `FileStorageFolder` POSTs. +Returns metadata for `VendorCredit` POSTs.
@@ -13745,7 +15109,7 @@ Returns metadata for `FileStorageFolder` POSTs.
```typescript -await client.filestorage.folders.metaPostRetrieve(); +await client.accounting.vendorCredits.metaPostRetrieve(); ```
@@ -13761,7 +15125,7 @@ await client.filestorage.folders.metaPostRetrieve();
-**requestOptions:** `FoldersClient.RequestOptions` +**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -13773,8 +15137,8 @@ await client.filestorage.folders.metaPostRetrieve();
-## Filestorage GenerateKey -
client.filestorage.generateKey.create({ ...params }) -> Merge.RemoteKey +## Accounting WebhookReceivers +
client.accounting.webhookReceivers.list() -> Merge.WebhookReceiver[]
@@ -13786,7 +15150,7 @@ await client.filestorage.folders.metaPostRetrieve();
-Create a remote key. +Returns a list of `WebhookReceiver` objects.
@@ -13801,9 +15165,7 @@ Create a remote key.
```typescript -await client.filestorage.generateKey.create({ - name: "Remote Deployment Key 1" -}); +await client.accounting.webhookReceivers.list(); ```
@@ -13819,15 +15181,7 @@ await client.filestorage.generateKey.create({
-**request:** `Merge.filestorage.GenerateRemoteKeyRequest` - -
-
- -
-
- -**requestOptions:** `GenerateKeyClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -13839,8 +15193,7 @@ await client.filestorage.generateKey.create({
-## Filestorage Groups -
client.filestorage.groups.list({ ...params }) -> Merge.PaginatedGroupList +
client.accounting.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
@@ -13852,7 +15205,7 @@ await client.filestorage.generateKey.create({
-Returns a list of `Group` objects. +Creates a `WebhookReceiver` object with the given values.
@@ -13867,18 +15220,9 @@ Returns a list of `Group` objects.
```typescript -await client.filestorage.groups.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "child_groups", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.accounting.webhookReceivers.create({ + event: "event", + isActive: true }); ``` @@ -13895,7 +15239,7 @@ await client.filestorage.groups.list({
-**request:** `Merge.filestorage.GroupsListRequest` +**request:** `Merge.accounting.WebhookReceiverRequest`
@@ -13903,7 +15247,7 @@ await client.filestorage.groups.list({
-**requestOptions:** `GroupsClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -13915,7 +15259,8 @@ await client.filestorage.groups.list({
-
client.filestorage.groups.retrieve(id, { ...params }) -> Merge.Group +## Crm AccountDetails +
client.crm.accountDetails.retrieve() -> Merge.AccountDetails
@@ -13927,7 +15272,7 @@ await client.filestorage.groups.list({
-Returns a `Group` object with the given `id`. +Get details for a linked account.
@@ -13942,11 +15287,7 @@ Returns a `Group` object with the given `id`.
```typescript -await client.filestorage.groups.retrieve("id", { - expand: "child_groups", - includeRemoteData: true, - includeShellData: true -}); +await client.crm.accountDetails.retrieve(); ```
@@ -13962,23 +15303,7 @@ await client.filestorage.groups.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.filestorage.GroupsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `GroupsClient.RequestOptions` +**requestOptions:** `AccountDetailsClient.RequestOptions`
@@ -13990,8 +15315,8 @@ await client.filestorage.groups.retrieve("id", {
-## Filestorage Issues -
client.filestorage.issues.list({ ...params }) -> Merge.PaginatedIssueList +## Crm AccountToken +
client.crm.accountToken.retrieve(public_token) -> Merge.AccountToken
@@ -14003,7 +15328,7 @@ await client.filestorage.groups.retrieve("id", {
-Gets all issues for Organization. +Returns the account token for the end user with the provided public token.
@@ -14018,22 +15343,7 @@ Gets all issues for Organization.
```typescript -await client.filestorage.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING" -}); +await client.crm.accountToken.retrieve("public_token"); ```
@@ -14049,7 +15359,7 @@ await client.filestorage.issues.list({
-**request:** `Merge.filestorage.IssuesListRequest` +**public_token:** `string`
@@ -14057,7 +15367,7 @@ await client.filestorage.issues.list({
-**requestOptions:** `IssuesClient.RequestOptions` +**requestOptions:** `AccountTokenClient.RequestOptions`
@@ -14069,7 +15379,8 @@ await client.filestorage.issues.list({
-
client.filestorage.issues.retrieve(id) -> Merge.Issue +## Crm Accounts +
client.crm.accounts.list({ ...params }) -> core.Page
@@ -14081,7 +15392,7 @@ await client.filestorage.issues.list({
-Get a specific issue. +Returns a list of `Account` objects.
@@ -14096,7 +15407,47 @@ Get a specific issue.
```typescript -await client.filestorage.issues.retrieve("id"); +const pageableResponse = await client.crm.accounts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + ownerId: "owner_id", + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.accounts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + ownerId: "owner_id", + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -14112,7 +15463,7 @@ await client.filestorage.issues.retrieve("id");
-**id:** `string` +**request:** `Merge.crm.AccountsListRequest`
@@ -14120,7 +15471,7 @@ await client.filestorage.issues.retrieve("id");
-**requestOptions:** `IssuesClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -14132,8 +15483,7 @@ await client.filestorage.issues.retrieve("id");
-## Filestorage LinkToken -
client.filestorage.linkToken.create({ ...params }) -> Merge.LinkToken +
client.crm.accounts.create({ ...params }) -> Merge.CrmAccountResponse
@@ -14145,7 +15495,7 @@ await client.filestorage.issues.retrieve("id");
-Creates a link token to be used when linking a new end user. +Creates an `Account` object with the given values.
@@ -14160,11 +15510,10 @@ Creates a link token to be used when linking a new end user.
```typescript -await client.filestorage.linkToken.create({ - endUserEmailAddress: "example@gmail.com", - endUserOrganizationName: "Test Organization", - endUserOriginId: "12345", - categories: ["hris", "ats"] +await client.crm.accounts.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -14181,7 +15530,7 @@ await client.filestorage.linkToken.create({
-**request:** `Merge.filestorage.EndUserDetailsRequest` +**request:** `Merge.crm.CrmAccountEndpointRequest`
@@ -14189,7 +15538,7 @@ await client.filestorage.linkToken.create({
-**requestOptions:** `LinkTokenClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -14201,8 +15550,7 @@ await client.filestorage.linkToken.create({
-## Filestorage LinkedAccounts -
client.filestorage.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList +
client.crm.accounts.retrieve(id, { ...params }) -> Merge.Account
@@ -14214,7 +15562,7 @@ await client.filestorage.linkToken.create({
-List linked accounts for your organization. +Returns an `Account` object with the given `id`.
@@ -14229,20 +15577,10 @@ List linked accounts for your organization.
```typescript -await client.filestorage.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status" +await client.crm.accounts.retrieve("id", { + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true }); ``` @@ -14259,74 +15597,15 @@ await client.filestorage.linkedAccounts.list({
-**request:** `Merge.filestorage.LinkedAccountsListRequest` - -
-
- -
-
- -**requestOptions:** `LinkedAccountsClient.RequestOptions` +**id:** `string`
-
-
- - - - -
-## Filestorage Passthrough -
client.filestorage.passthrough.create({ ...params }) -> Merge.RemoteResponse
-#### 📝 Description - -
-
- -
-
- -Pull data from an endpoint not currently supported by Merge. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.filestorage.passthrough.create({ - method: "GET", - path: "/scooters" -}); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.DataPassthroughRequest` +**request:** `Merge.crm.AccountsRetrieveRequest`
@@ -14334,7 +15613,7 @@ await client.filestorage.passthrough.create({
-**requestOptions:** `PassthroughClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -14346,8 +15625,7 @@ await client.filestorage.passthrough.create({
-## Filestorage RegenerateKey -
client.filestorage.regenerateKey.create({ ...params }) -> Merge.RemoteKey +
client.crm.accounts.partialUpdate(id, { ...params }) -> Merge.CrmAccountResponse
@@ -14359,7 +15637,7 @@ await client.filestorage.passthrough.create({
-Exchange remote keys. +Updates an `Account` object with the given `id`.
@@ -14374,8 +15652,10 @@ Exchange remote keys.
```typescript -await client.filestorage.regenerateKey.create({ - name: "Remote Deployment Key 1" +await client.crm.accounts.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -14392,7 +15672,7 @@ await client.filestorage.regenerateKey.create({
-**request:** `Merge.filestorage.RemoteKeyForRegenerationRequest` +**id:** `string`
@@ -14400,7 +15680,15 @@ await client.filestorage.regenerateKey.create({
-**requestOptions:** `RegenerateKeyClient.RequestOptions` +**request:** `Merge.crm.PatchedCrmAccountEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `AccountsClient.RequestOptions`
@@ -14412,8 +15700,7 @@ await client.filestorage.regenerateKey.create({
-## Filestorage SyncStatus -
client.filestorage.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList +
client.crm.accounts.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -14425,7 +15712,7 @@ await client.filestorage.regenerateKey.create({
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns metadata for `CRMAccount` PATCHs.
@@ -14440,10 +15727,7 @@ Get sync status for the current sync and the most recently finished sync. `last_
```typescript -await client.filestorage.syncStatus.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1 -}); +await client.crm.accounts.metaPatchRetrieve("id"); ```
@@ -14459,7 +15743,7 @@ await client.filestorage.syncStatus.list({
-**request:** `Merge.filestorage.SyncStatusListRequest` +**id:** `string`
@@ -14467,7 +15751,7 @@ await client.filestorage.syncStatus.list({
-**requestOptions:** `SyncStatusClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -14479,8 +15763,7 @@ await client.filestorage.syncStatus.list({
-## Filestorage ForceResync -
client.filestorage.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[] +
client.crm.accounts.metaPostRetrieve() -> Merge.MetaResponse
@@ -14492,7 +15775,7 @@ await client.filestorage.syncStatus.list({
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns metadata for `CRMAccount` POSTs.
@@ -14507,7 +15790,7 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
```typescript -await client.filestorage.forceResync.syncStatusResyncCreate(); +await client.crm.accounts.metaPostRetrieve(); ```
@@ -14523,7 +15806,7 @@ await client.filestorage.forceResync.syncStatusResyncCreate();
-**requestOptions:** `ForceResyncClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -14535,8 +15818,7 @@ await client.filestorage.forceResync.syncStatusResyncCreate();
-## Filestorage Users -
client.filestorage.users.list({ ...params }) -> Merge.PaginatedUserList +
client.crm.accounts.remoteFieldClassesList({ ...params }) -> core.Page
@@ -14548,7 +15830,7 @@ await client.filestorage.forceResync.syncStatusResyncCreate();
-Returns a list of `User` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -14563,19 +15845,37 @@ Returns a list of `User` objects.
```typescript -await client.filestorage.users.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.crm.accounts.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, + includeRemoteFields: true, includeShellData: true, - isMe: "is_me", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.accounts.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -14591,7 +15891,7 @@ await client.filestorage.users.list({
-**request:** `Merge.filestorage.UsersListRequest` +**request:** `Merge.crm.AccountsRemoteFieldClassesListRequest`
@@ -14599,7 +15899,7 @@ await client.filestorage.users.list({
-**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -14611,7 +15911,8 @@ await client.filestorage.users.list({
-
client.filestorage.users.retrieve(id, { ...params }) -> Merge.User +## Crm AsyncPassthrough +
client.crm.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
@@ -14623,7 +15924,7 @@ await client.filestorage.users.list({
-Returns a `User` object with the given `id`. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -14638,9 +15939,9 @@ Returns a `User` object with the given `id`.
```typescript -await client.filestorage.users.retrieve("id", { - includeRemoteData: true, - includeShellData: true +await client.crm.asyncPassthrough.create({ + method: "GET", + path: "/scooters" }); ``` @@ -14657,15 +15958,7 @@ await client.filestorage.users.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.filestorage.UsersRetrieveRequest` +**request:** `Merge.DataPassthroughRequest`
@@ -14673,7 +15966,7 @@ await client.filestorage.users.retrieve("id", {
-**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -14685,8 +15978,7 @@ await client.filestorage.users.retrieve("id", {
-## Filestorage WebhookReceivers -
client.filestorage.webhookReceivers.list() -> Merge.WebhookReceiver[] +
client.crm.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
@@ -14698,7 +15990,7 @@ await client.filestorage.users.retrieve("id", {
-Returns a list of `WebhookReceiver` objects. +Retrieves data from earlier async-passthrough POST request
@@ -14713,7 +16005,7 @@ Returns a list of `WebhookReceiver` objects.
```typescript -await client.filestorage.webhookReceivers.list(); +await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id"); ```
@@ -14729,7 +16021,15 @@ await client.filestorage.webhookReceivers.list();
-**requestOptions:** `WebhookReceiversClient.RequestOptions` +**async_passthrough_receipt_id:** `string` + +
+
+ +
+
+ +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -14741,7 +16041,8 @@ await client.filestorage.webhookReceivers.list();
-
client.filestorage.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver +## Crm AuditTrail +
client.crm.auditTrail.list({ ...params }) -> core.Page
@@ -14753,7 +16054,7 @@ await client.filestorage.webhookReceivers.list();
-Creates a `WebhookReceiver` object with the given values. +Gets a list of audit trail events.
@@ -14768,10 +16069,33 @@ Creates a `WebhookReceiver` object with the given values.
```typescript -await client.filestorage.webhookReceivers.create({ - event: "event", - isActive: true +const pageableResponse = await client.crm.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -14787,7 +16111,7 @@ await client.filestorage.webhookReceivers.create({
-**request:** `Merge.filestorage.WebhookReceiverRequest` +**request:** `Merge.crm.AuditTrailListRequest`
@@ -14795,7 +16119,7 @@ await client.filestorage.webhookReceivers.create({
-**requestOptions:** `WebhookReceiversClient.RequestOptions` +**requestOptions:** `AuditTrailClient.RequestOptions`
@@ -14807,8 +16131,8 @@ await client.filestorage.webhookReceivers.create({
-## Hris AccountDetails -
client.hris.accountDetails.retrieve() -> Merge.AccountDetails +## Crm AvailableActions +
client.crm.availableActions.retrieve() -> Merge.AvailableActions
@@ -14820,7 +16144,7 @@ await client.filestorage.webhookReceivers.create({
-Get details for a linked account. +Returns a list of models and actions available for an account.
@@ -14835,7 +16159,7 @@ Get details for a linked account.
```typescript -await client.hris.accountDetails.retrieve(); +await client.crm.availableActions.retrieve(); ```
@@ -14851,7 +16175,7 @@ await client.hris.accountDetails.retrieve();
-**requestOptions:** `AccountDetailsClient.RequestOptions` +**requestOptions:** `AvailableActionsClient.RequestOptions`
@@ -14863,8 +16187,8 @@ await client.hris.accountDetails.retrieve();
-## Hris AccountToken -
client.hris.accountToken.retrieve(public_token) -> Merge.AccountToken +## Crm Contacts +
client.crm.contacts.list({ ...params }) -> core.Page
@@ -14876,7 +16200,7 @@ await client.hris.accountDetails.retrieve();
-Returns the account token for the end user with the provided public token. +Returns a list of `Contact` objects.
@@ -14891,7 +16215,49 @@ Returns the account token for the end user with the provided public token.
```typescript -await client.hris.accountToken.retrieve("public_token"); +const pageableResponse = await client.crm.contacts.list({ + accountId: "account_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + phoneNumbers: "phone_numbers", + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.contacts.list({ + accountId: "account_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + phoneNumbers: "phone_numbers", + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -14907,7 +16273,7 @@ await client.hris.accountToken.retrieve("public_token");
-**public_token:** `string` +**request:** `Merge.crm.ContactsListRequest`
@@ -14915,7 +16281,7 @@ await client.hris.accountToken.retrieve("public_token");
-**requestOptions:** `AccountTokenClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -14927,8 +16293,7 @@ await client.hris.accountToken.retrieve("public_token");
-## Hris AsyncPassthrough -
client.hris.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept +
client.crm.contacts.create({ ...params }) -> Merge.CrmContactResponse
@@ -14940,7 +16305,7 @@ await client.hris.accountToken.retrieve("public_token");
-Asynchronously pull data from an endpoint not currently supported by Merge. +Creates a `Contact` object with the given values.
@@ -14955,9 +16320,10 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
```typescript -await client.hris.asyncPassthrough.create({ - method: "GET", - path: "/scooters" +await client.crm.contacts.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -14974,7 +16340,7 @@ await client.hris.asyncPassthrough.create({
-**request:** `Merge.DataPassthroughRequest` +**request:** `Merge.crm.CrmContactEndpointRequest`
@@ -14982,7 +16348,7 @@ await client.hris.asyncPassthrough.create({
-**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -14994,7 +16360,7 @@ await client.hris.asyncPassthrough.create({
-
client.hris.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse +
client.crm.contacts.retrieve(id, { ...params }) -> Merge.Contact
@@ -15006,7 +16372,7 @@ await client.hris.asyncPassthrough.create({
-Retrieves data from earlier async-passthrough POST request +Returns a `Contact` object with the given `id`.
@@ -15021,7 +16387,11 @@ Retrieves data from earlier async-passthrough POST request
```typescript -await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id"); +await client.crm.contacts.retrieve("id", { + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true +}); ```
@@ -15037,7 +16407,7 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-**async_passthrough_receipt_id:** `string` +**id:** `string`
@@ -15045,7 +16415,15 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**request:** `Merge.crm.ContactsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `ContactsClient.RequestOptions`
@@ -15057,8 +16435,7 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-## Hris AuditTrail -
client.hris.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList +
client.crm.contacts.partialUpdate(id, { ...params }) -> Merge.CrmContactResponse
@@ -15070,7 +16447,7 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-Gets a list of audit trail events. +Updates a `Contact` object with the given `id`.
@@ -15085,13 +16462,10 @@ Gets a list of audit trail events.
```typescript -await client.hris.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email" +await client.crm.contacts.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -15108,7 +16482,7 @@ await client.hris.auditTrail.list({
-**request:** `Merge.hris.AuditTrailListRequest` +**id:** `string`
@@ -15116,63 +16490,15 @@ await client.hris.auditTrail.list({
-**requestOptions:** `AuditTrailClient.RequestOptions` +**request:** `Merge.crm.PatchedCrmContactEndpointRequest`
-
-
- - - - -
- -## Hris AvailableActions -
client.hris.availableActions.retrieve() -> Merge.AvailableActions -
-
- -#### 📝 Description - -
-
-Returns a list of models and actions available for an account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.hris.availableActions.retrieve(); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `AvailableActionsClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -15184,8 +16510,7 @@ await client.hris.availableActions.retrieve();
-## Hris BankInfo -
client.hris.bankInfo.list({ ...params }) -> Merge.PaginatedBankInfoList +
client.crm.contacts.ignoreCreate(model_id, { ...params }) -> void
@@ -15197,7 +16522,7 @@ await client.hris.availableActions.retrieve();
-Returns a list of `BankInfo` objects. +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -15212,24 +16537,8 @@ Returns a list of `BankInfo` objects.
```typescript -await client.hris.bankInfo.list({ - accountType: "CHECKING", - bankName: "bank_name", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - orderBy: "-remote_created_at", - pageSize: 1, - remoteFields: "account_type", - remoteId: "remote_id", - showEnumOrigins: "account_type" +await client.crm.contacts.ignoreCreate("model_id", { + reason: "GENERAL_CUSTOMER_REQUEST" }); ``` @@ -15246,7 +16555,7 @@ await client.hris.bankInfo.list({
-**request:** `Merge.hris.BankInfoListRequest` +**model_id:** `string`
@@ -15254,7 +16563,15 @@ await client.hris.bankInfo.list({
-**requestOptions:** `BankInfoClient.RequestOptions` +**request:** `Merge.IgnoreCommonModelRequest` + +
+
+ +
+
+ +**requestOptions:** `ContactsClient.RequestOptions`
@@ -15266,7 +16583,7 @@ await client.hris.bankInfo.list({
-
client.hris.bankInfo.retrieve(id, { ...params }) -> Merge.BankInfo +
client.crm.contacts.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -15278,7 +16595,7 @@ await client.hris.bankInfo.list({
-Returns a `BankInfo` object with the given `id`. +Returns metadata for `CRMContact` PATCHs.
@@ -15293,13 +16610,7 @@ Returns a `BankInfo` object with the given `id`.
```typescript -await client.hris.bankInfo.retrieve("id", { - expand: "employee", - includeRemoteData: true, - includeShellData: true, - remoteFields: "account_type", - showEnumOrigins: "account_type" -}); +await client.crm.contacts.metaPatchRetrieve("id"); ```
@@ -15323,15 +16634,62 @@ await client.hris.bankInfo.retrieve("id", {
-**request:** `Merge.hris.BankInfoRetrieveRequest` +**requestOptions:** `ContactsClient.RequestOptions`
+ +
+ + + +
+ +
client.crm.contacts.metaPostRetrieve() -> Merge.MetaResponse
-**requestOptions:** `BankInfoClient.RequestOptions` +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `CRMContact` POSTs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.crm.contacts.metaPostRetrieve(); + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `ContactsClient.RequestOptions`
@@ -15343,8 +16701,7 @@ await client.hris.bankInfo.retrieve("id", {
-## Hris Benefits -
client.hris.benefits.list({ ...params }) -> Merge.PaginatedBenefitList +
client.crm.contacts.remoteFieldClassesList({ ...params }) -> core.Page
@@ -15356,7 +16713,101 @@ await client.hris.bankInfo.retrieve("id", {
-Returns a list of `Benefit` objects. +Returns a list of `RemoteFieldClass` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +const pageableResponse = await client.crm.contacts.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.contacts.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.crm.ContactsRemoteFieldClassesListRequest` + +
+
+ +
+
+ +**requestOptions:** `ContactsClient.RequestOptions` + +
+
+
+
+ + + + +
+ +## Crm CustomObjectClasses +
client.crm.customObjectClasses.list({ ...params }) -> core.Page +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `CustomObjectClass` objects.
@@ -15371,12 +16822,10 @@ Returns a list of `Benefit` objects.
```typescript -await client.hris.benefits.list({ +const pageableResponse = await client.crm.customObjectClasses.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -15385,6 +16834,29 @@ await client.hris.benefits.list({ pageSize: 1, remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.customObjectClasses.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -15400,7 +16872,7 @@ await client.hris.benefits.list({
-**request:** `Merge.hris.BenefitsListRequest` +**request:** `Merge.crm.CustomObjectClassesListRequest`
@@ -15408,7 +16880,7 @@ await client.hris.benefits.list({
-**requestOptions:** `BenefitsClient.RequestOptions` +**requestOptions:** `CustomObjectClassesClient.RequestOptions`
@@ -15420,7 +16892,7 @@ await client.hris.benefits.list({
-
client.hris.benefits.retrieve(id, { ...params }) -> Merge.Benefit +
client.crm.customObjectClasses.retrieve(id, { ...params }) -> Merge.CustomObjectClass
@@ -15432,7 +16904,7 @@ await client.hris.benefits.list({
-Returns a `Benefit` object with the given `id`. +Returns a `CustomObjectClass` object with the given `id`.
@@ -15447,8 +16919,7 @@ Returns a `Benefit` object with the given `id`.
```typescript -await client.hris.benefits.retrieve("id", { - expand: "employee", +await client.crm.customObjectClasses.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -15475,7 +16946,7 @@ await client.hris.benefits.retrieve("id", {
-**request:** `Merge.hris.BenefitsRetrieveRequest` +**request:** `Merge.crm.CustomObjectClassesRetrieveRequest`
@@ -15483,7 +16954,7 @@ await client.hris.benefits.retrieve("id", {
-**requestOptions:** `BenefitsClient.RequestOptions` +**requestOptions:** `CustomObjectClassesClient.RequestOptions`
@@ -15495,8 +16966,8 @@ await client.hris.benefits.retrieve("id", {
-## Hris Companies -
client.hris.companies.list({ ...params }) -> Merge.PaginatedCompanyList +## Crm AssociationTypes +
client.crm.associationTypes.customObjectClassesAssociationTypesList(custom_object_class_id, { ...params }) -> core.Page
@@ -15508,7 +16979,7 @@ await client.hris.benefits.retrieve("id", {
-Returns a list of `Company` objects. +Returns a list of `AssociationType` objects.
@@ -15523,7 +16994,24 @@ Returns a list of `Company` objects.
```typescript -await client.hris.companies.list({ +const pageableResponse = await client.crm.associationTypes.customObjectClassesAssociationTypesList("custom_object_class_id", { + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.associationTypes.customObjectClassesAssociationTypesList("custom_object_class_id", { createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -15535,6 +17023,12 @@ await client.hris.companies.list({ pageSize: 1, remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -15550,7 +17044,7 @@ await client.hris.companies.list({
-**request:** `Merge.hris.CompaniesListRequest` +**custom_object_class_id:** `string`
@@ -15558,7 +17052,15 @@ await client.hris.companies.list({
-**requestOptions:** `CompaniesClient.RequestOptions` +**request:** `Merge.crm.CustomObjectClassesAssociationTypesListRequest` + +
+
+ +
+
+ +**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -15570,7 +17072,7 @@ await client.hris.companies.list({
-
client.hris.companies.retrieve(id, { ...params }) -> Merge.Company +
client.crm.associationTypes.customObjectClassesAssociationTypesCreate(custom_object_class_id, { ...params }) -> Merge.CrmAssociationTypeResponse
@@ -15582,7 +17084,7 @@ await client.hris.companies.list({
-Returns a `Company` object with the given `id`. +Creates an `AssociationType` object with the given values.
@@ -15597,9 +17099,20 @@ Returns a `Company` object with the given `id`.
```typescript -await client.hris.companies.retrieve("id", { - includeRemoteData: true, - includeShellData: true +await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("custom_object_class_id", { + isDebugMode: true, + runAsync: true, + model: { + sourceObjectClass: { + id: "id", + originType: "CUSTOM_OBJECT" + }, + targetObjectClasses: [{ + id: "id", + originType: "CUSTOM_OBJECT" + }], + remoteKeyName: "remote_key_name" + } }); ``` @@ -15616,7 +17129,7 @@ await client.hris.companies.retrieve("id", {
-**id:** `string` +**custom_object_class_id:** `string`
@@ -15624,7 +17137,7 @@ await client.hris.companies.retrieve("id", {
-**request:** `Merge.hris.CompaniesRetrieveRequest` +**request:** `Merge.crm.CrmAssociationTypeEndpointRequest`
@@ -15632,7 +17145,7 @@ await client.hris.companies.retrieve("id", {
-**requestOptions:** `CompaniesClient.RequestOptions` +**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -15644,8 +17157,7 @@ await client.hris.companies.retrieve("id", {
-## Hris Scopes -
client.hris.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi +
client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve(custom_object_class_id, id, { ...params }) -> Merge.AssociationType
@@ -15657,7 +17169,7 @@ await client.hris.companies.retrieve("id", {
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns an `AssociationType` object with the given `id`.
@@ -15672,7 +17184,10 @@ Get the default permissions for Merge Common Models and fields across all Linked
```typescript -await client.hris.scopes.defaultScopesRetrieve(); +await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("custom_object_class_id", "id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -15688,7 +17203,31 @@ await client.hris.scopes.defaultScopesRetrieve();
-**requestOptions:** `ScopesClient.RequestOptions` +**custom_object_class_id:** `string` + +
+
+ +
+
+ +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.crm.CustomObjectClassesAssociationTypesRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -15700,7 +17239,7 @@ await client.hris.scopes.defaultScopesRetrieve();
-
client.hris.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi +
client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse
@@ -15712,7 +17251,7 @@ await client.hris.scopes.defaultScopesRetrieve();
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns metadata for `CRMAssociationType` POSTs.
@@ -15727,7 +17266,7 @@ Get all available permissions for Merge Common Models and fields for a single Li
```typescript -await client.hris.scopes.linkedAccountScopesRetrieve(); +await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve("custom_object_class_id"); ```
@@ -15743,7 +17282,15 @@ await client.hris.scopes.linkedAccountScopesRetrieve();
-**requestOptions:** `ScopesClient.RequestOptions` +**custom_object_class_id:** `string` + +
+
+ +
+
+ +**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -15755,7 +17302,8 @@ await client.hris.scopes.linkedAccountScopesRetrieve();
-
client.hris.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi +## Crm CustomObjects +
client.crm.customObjects.customObjectClassesCustomObjectsList(custom_object_class_id, { ...params }) -> core.Page
@@ -15767,7 +17315,7 @@ await client.hris.scopes.linkedAccountScopesRetrieve();
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a list of `CustomObject` objects.
@@ -15782,30 +17330,43 @@ Update permissions for any Common Model or field for a single Linked Account. An
```typescript -await client.hris.scopes.linkedAccountScopesCreate({ - commonModels: [{ - modelName: "Employee", - modelPermissions: { - "READ": { - isEnabled: true - }, - "WRITE": { - isEnabled: false - } - }, - fieldPermissions: { - enabledFields: ["avatar", "home_location"], - disabledFields: ["work_location"] - } - }, { - modelName: "Benefit", - modelPermissions: { - "WRITE": { - isEnabled: false - } - } - }] +const pageableResponse = await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", { + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", { + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -15821,7 +17382,7 @@ await client.hris.scopes.linkedAccountScopesCreate({
-**request:** `Merge.hris.LinkedAccountCommonModelScopeDeserializerRequest` +**custom_object_class_id:** `string`
@@ -15829,7 +17390,15 @@ await client.hris.scopes.linkedAccountScopesCreate({
-**requestOptions:** `ScopesClient.RequestOptions` +**request:** `Merge.crm.CustomObjectClassesCustomObjectsListRequest` + +
+
+ +
+
+ +**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -15841,8 +17410,7 @@ await client.hris.scopes.linkedAccountScopesCreate({
-## Hris DeleteAccount -
client.hris.deleteAccount.delete() -> void +
client.crm.customObjects.customObjectClassesCustomObjectsCreate(custom_object_class_id, { ...params }) -> Merge.CrmCustomObjectResponse
@@ -15854,7 +17422,7 @@ await client.hris.scopes.linkedAccountScopesCreate({
-Delete a linked account. +Creates a `CustomObject` object with the given values.
@@ -15869,7 +17437,15 @@ Delete a linked account.
```typescript -await client.hris.deleteAccount.delete(); +await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_object_class_id", { + isDebugMode: true, + runAsync: true, + model: { + fields: { + "test_field": "hello" + } + } +}); ```
@@ -15885,7 +17461,23 @@ await client.hris.deleteAccount.delete();
-**requestOptions:** `DeleteAccountClient.RequestOptions` +**custom_object_class_id:** `string` + +
+
+ +
+
+ +**request:** `Merge.crm.CrmCustomObjectEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -15897,8 +17489,7 @@ await client.hris.deleteAccount.delete();
-## Hris Dependents -
client.hris.dependents.list({ ...params }) -> Merge.PaginatedDependentList +
client.crm.customObjects.customObjectClassesCustomObjectsRetrieve(custom_object_class_id, id, { ...params }) -> Merge.CustomObject
@@ -15910,7 +17501,7 @@ await client.hris.deleteAccount.delete();
-Returns a list of `Dependent` objects. +Returns a `CustomObject` object with the given `id`.
@@ -15925,19 +17516,10 @@ Returns a list of `Dependent` objects.
```typescript -await client.hris.dependents.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - includeDeletedData: true, +await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_object_class_id", "id", { includeRemoteData: true, - includeSensitiveFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" + includeRemoteFields: true, + includeShellData: true }); ``` @@ -15954,7 +17536,7 @@ await client.hris.dependents.list({
-**request:** `Merge.hris.DependentsListRequest` +**custom_object_class_id:** `string`
@@ -15962,7 +17544,23 @@ await client.hris.dependents.list({
-**requestOptions:** `DependentsClient.RequestOptions` +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.crm.CustomObjectClassesCustomObjectsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -15974,7 +17572,7 @@ await client.hris.dependents.list({
-
client.hris.dependents.retrieve(id, { ...params }) -> Merge.Dependent +
client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse
@@ -15986,7 +17584,7 @@ await client.hris.dependents.list({
-Returns a `Dependent` object with the given `id`. +Returns metadata for `CRMCustomObject` POSTs.
@@ -16001,11 +17599,7 @@ Returns a `Dependent` object with the given `id`.
```typescript -await client.hris.dependents.retrieve("id", { - includeRemoteData: true, - includeSensitiveFields: true, - includeShellData: true -}); +await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve("custom_object_class_id"); ```
@@ -16021,7 +17615,7 @@ await client.hris.dependents.retrieve("id", {
-**id:** `string` +**custom_object_class_id:** `string`
@@ -16029,15 +17623,100 @@ await client.hris.dependents.retrieve("id", {
-**request:** `Merge.hris.DependentsRetrieveRequest` +**requestOptions:** `CustomObjectsClient.RequestOptions`
+ +
+ + + + +
+
client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ ...params }) -> core.Page
-**requestOptions:** `DependentsClient.RequestOptions` +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +const pageableResponse = await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest` + +
+
+ +
+
+ +**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -16049,8 +17728,8 @@ await client.hris.dependents.retrieve("id", {
-## Hris EmployeePayrollRuns -
client.hris.employeePayrollRuns.list({ ...params }) -> Merge.PaginatedEmployeePayrollRunList +## Crm Associations +
client.crm.associations.customObjectClassesCustomObjectsAssociationsList(custom_object_class_id, object_id, { ...params }) -> core.Page
@@ -16062,7 +17741,7 @@ await client.hris.dependents.retrieve("id", {
-Returns a list of `EmployeePayrollRun` objects. +Returns a list of `Association` objects.
@@ -16077,25 +17756,43 @@ Returns a list of `EmployeePayrollRun` objects.
```typescript -await client.hris.employeePayrollRuns.list({ +const pageableResponse = await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("custom_object_class_id", "object_id", { + associationTypeId: "association_type_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "employee", includeDeletedData: true, includeRemoteData: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - payrollRunId: "payroll_run_id", - remoteId: "remote_id", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z") + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("custom_object_class_id", "object_id", { + associationTypeId: "association_type_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -16111,7 +17808,7 @@ await client.hris.employeePayrollRuns.list({
-**request:** `Merge.hris.EmployeePayrollRunsListRequest` +**custom_object_class_id:** `string`
@@ -16119,7 +17816,23 @@ await client.hris.employeePayrollRuns.list({
-**requestOptions:** `EmployeePayrollRunsClient.RequestOptions` +**object_id:** `string` + +
+
+ +
+
+ +**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsListRequest` + +
+
+ +
+
+ +**requestOptions:** `AssociationsClient.RequestOptions`
@@ -16131,7 +17844,7 @@ await client.hris.employeePayrollRuns.list({
-
client.hris.employeePayrollRuns.retrieve(id, { ...params }) -> Merge.EmployeePayrollRun +
client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate(source_class_id, source_object_id, target_class_id, target_object_id, association_type_id, { ...params }) -> Merge.Association
@@ -16143,7 +17856,7 @@ await client.hris.employeePayrollRuns.list({
-Returns an `EmployeePayrollRun` object with the given `id`. +Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`.
@@ -16158,10 +17871,9 @@ Returns an `EmployeePayrollRun` object with the given `id`.
```typescript -await client.hris.employeePayrollRuns.retrieve("id", { - expand: "employee", - includeRemoteData: true, - includeShellData: true +await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate("source_class_id", "source_object_id", "target_class_id", "target_object_id", "association_type_id", { + isDebugMode: true, + runAsync: true }); ``` @@ -16178,7 +17890,7 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-**id:** `string` +**source_class_id:** `string`
@@ -16186,7 +17898,7 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-**request:** `Merge.hris.EmployeePayrollRunsRetrieveRequest` +**source_object_id:** `string`
@@ -16194,7 +17906,39 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-**requestOptions:** `EmployeePayrollRunsClient.RequestOptions` +**target_class_id:** `string` + +
+
+ +
+
+ +**target_object_id:** `string` + +
+
+ +
+
+ +**association_type_id:** `string` + +
+
+ +
+
+ +**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsUpdateRequest` + +
+
+ +
+
+ +**requestOptions:** `AssociationsClient.RequestOptions`
@@ -16206,8 +17950,8 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-## Hris Employees -
client.hris.employees.list({ ...params }) -> Merge.PaginatedEmployeeList +## Crm Scopes +
client.crm.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -16219,7 +17963,7 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-Returns a list of `Employee` objects. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -16234,42 +17978,7 @@ Returns a list of `Employee` objects.
```typescript -await client.hris.employees.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - displayFullName: "display_full_name", - employeeNumber: "employee_number", - employmentStatus: "ACTIVE", - employmentType: "employment_type", - expand: "company", - firstName: "first_name", - groups: "groups", - homeLocationId: "home_location_id", - includeDeletedData: true, - includeRemoteData: true, - includeSensitiveFields: true, - includeShellData: true, - jobTitle: "job_title", - lastName: "last_name", - managerId: "manager_id", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - payGroupId: "pay_group_id", - personalEmail: "personal_email", - remoteFields: "employment_status", - remoteId: "remote_id", - showEnumOrigins: "employment_status", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - teamId: "team_id", - terminatedAfter: new Date("2024-01-15T09:30:00.000Z"), - terminatedBefore: new Date("2024-01-15T09:30:00.000Z"), - workEmail: "work_email", - workLocationId: "work_location_id" -}); +await client.crm.scopes.defaultScopesRetrieve(); ```
@@ -16285,15 +17994,62 @@ await client.hris.employees.list({
-**request:** `Merge.hris.EmployeesListRequest` +**requestOptions:** `ScopesClient.RequestOptions`
+ +
+ + + +
+ +
client.crm.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
-**requestOptions:** `EmployeesClient.RequestOptions` +#### 📝 Description + +
+
+ +
+
+ +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.crm.scopes.linkedAccountScopesRetrieve(); + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `ScopesClient.RequestOptions`
@@ -16305,7 +18061,7 @@ await client.hris.employees.list({
-
client.hris.employees.create({ ...params }) -> Merge.EmployeeResponse +
client.crm.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
@@ -16317,7 +18073,7 @@ await client.hris.employees.list({
-Creates an `Employee` object with the given values. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -16332,10 +18088,29 @@ Creates an `Employee` object with the given values.
```typescript -await client.hris.employees.create({ - isDebugMode: true, - runAsync: true, - model: {} +await client.crm.scopes.linkedAccountScopesCreate({ + commonModels: [{ + modelName: "Employee", + modelPermissions: { + "READ": { + isEnabled: true + }, + "WRITE": { + isEnabled: false + } + }, + fieldPermissions: { + enabledFields: ["avatar", "home_location"], + disabledFields: ["work_location"] + } + }, { + modelName: "Benefit", + modelPermissions: { + "WRITE": { + isEnabled: false + } + } + }] }); ``` @@ -16352,7 +18127,7 @@ await client.hris.employees.create({
-**request:** `Merge.hris.EmployeeEndpointRequest` +**request:** `Merge.crm.LinkedAccountCommonModelScopeDeserializerRequest`
@@ -16360,7 +18135,7 @@ await client.hris.employees.create({
-**requestOptions:** `EmployeesClient.RequestOptions` +**requestOptions:** `ScopesClient.RequestOptions`
@@ -16372,7 +18147,8 @@ await client.hris.employees.create({
-
client.hris.employees.retrieve(id, { ...params }) -> Merge.Employee +## Crm DeleteAccount +
client.crm.deleteAccount.delete() -> void
@@ -16384,7 +18160,7 @@ await client.hris.employees.create({
-Returns an `Employee` object with the given `id`. +Delete a linked account.
@@ -16399,14 +18175,7 @@ Returns an `Employee` object with the given `id`.
```typescript -await client.hris.employees.retrieve("id", { - expand: "company", - includeRemoteData: true, - includeSensitiveFields: true, - includeShellData: true, - remoteFields: "employment_status", - showEnumOrigins: "employment_status" -}); +await client.crm.deleteAccount.delete(); ```
@@ -16422,15 +18191,99 @@ await client.hris.employees.retrieve("id", {
-**id:** `string` +**requestOptions:** `DeleteAccountClient.RequestOptions`
+ +
+ + + + +
+## Crm EngagementTypes +
client.crm.engagementTypes.list({ ...params }) -> core.Page
-**request:** `Merge.hris.EmployeesRetrieveRequest` +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `EngagementType` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +const pageableResponse = await client.crm.engagementTypes.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.engagementTypes.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.crm.EngagementTypesListRequest`
@@ -16438,7 +18291,7 @@ await client.hris.employees.retrieve("id", {
-**requestOptions:** `EmployeesClient.RequestOptions` +**requestOptions:** `EngagementTypesClient.RequestOptions`
@@ -16450,7 +18303,7 @@ await client.hris.employees.retrieve("id", {
-
client.hris.employees.ignoreCreate(model_id, { ...params }) -> void +
client.crm.engagementTypes.retrieve(id, { ...params }) -> Merge.EngagementType
@@ -16462,7 +18315,7 @@ await client.hris.employees.retrieve("id", {
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Returns an `EngagementType` object with the given `id`.
@@ -16477,8 +18330,10 @@ Ignores a specific row based on the `model_id` in the url. These records will ha
```typescript -await client.hris.employees.ignoreCreate("model_id", { - reason: "GENERAL_CUSTOMER_REQUEST" +await client.crm.engagementTypes.retrieve("id", { + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true }); ``` @@ -16495,7 +18350,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-**model_id:** `string` +**id:** `string`
@@ -16503,7 +18358,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-**request:** `Merge.hris.IgnoreCommonModelRequest` +**request:** `Merge.crm.EngagementTypesRetrieveRequest`
@@ -16511,7 +18366,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-**requestOptions:** `EmployeesClient.RequestOptions` +**requestOptions:** `EngagementTypesClient.RequestOptions`
@@ -16523,7 +18378,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-
client.hris.employees.metaPostRetrieve() -> Merge.MetaResponse +
client.crm.engagementTypes.remoteFieldClassesList({ ...params }) -> core.Page
@@ -16535,7 +18390,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-Returns metadata for `Employee` POSTs. +Returns a list of `RemoteFieldClass` objects.
@@ -16550,7 +18405,37 @@ Returns metadata for `Employee` POSTs.
```typescript -await client.hris.employees.metaPostRetrieve(); +const pageableResponse = await client.crm.engagementTypes.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.engagementTypes.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -16566,7 +18451,15 @@ await client.hris.employees.metaPostRetrieve();
-**requestOptions:** `EmployeesClient.RequestOptions` +**request:** `Merge.crm.EngagementTypesRemoteFieldClassesListRequest` + +
+
+ +
+
+ +**requestOptions:** `EngagementTypesClient.RequestOptions`
@@ -16578,8 +18471,8 @@ await client.hris.employees.metaPostRetrieve();
-## Hris EmployerBenefits -
client.hris.employerBenefits.list({ ...params }) -> Merge.PaginatedEmployerBenefitList +## Crm Engagements +
client.crm.engagements.list({ ...params }) -> core.Page
@@ -16591,7 +18484,7 @@ await client.hris.employees.metaPostRetrieve();
-Returns a list of `EmployerBenefit` objects. +Returns a list of `Engagement` objects.
@@ -16606,18 +18499,47 @@ Returns a list of `EmployerBenefit` objects.
```typescript -await client.hris.employerBenefits.list({ +const pageableResponse = await client.crm.engagements.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, + includeRemoteFields: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - remoteId: "remote_id" + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.engagements.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -16633,7 +18555,7 @@ await client.hris.employerBenefits.list({
-**request:** `Merge.hris.EmployerBenefitsListRequest` +**request:** `Merge.crm.EngagementsListRequest`
@@ -16641,7 +18563,7 @@ await client.hris.employerBenefits.list({
-**requestOptions:** `EmployerBenefitsClient.RequestOptions` +**requestOptions:** `EngagementsClient.RequestOptions`
@@ -16653,7 +18575,7 @@ await client.hris.employerBenefits.list({
-
client.hris.employerBenefits.retrieve(id, { ...params }) -> Merge.EmployerBenefit +
client.crm.engagements.create({ ...params }) -> Merge.EngagementResponse
@@ -16665,7 +18587,7 @@ await client.hris.employerBenefits.list({
-Returns an `EmployerBenefit` object with the given `id`. +Creates an `Engagement` object with the given values.
@@ -16680,8 +18602,76 @@ Returns an `EmployerBenefit` object with the given `id`.
```typescript -await client.hris.employerBenefits.retrieve("id", { +await client.crm.engagements.create({ + isDebugMode: true, + runAsync: true, + model: {} +}); + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.crm.EngagementEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `EngagementsClient.RequestOptions` + +
+
+
+
+ + + + +
+ +
client.crm.engagements.retrieve(id, { ...params }) -> Merge.Engagement +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns an `Engagement` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.crm.engagements.retrieve("id", { includeRemoteData: true, + includeRemoteFields: true, includeShellData: true }); @@ -16707,7 +18697,7 @@ await client.hris.employerBenefits.retrieve("id", {
-**request:** `Merge.hris.EmployerBenefitsRetrieveRequest` +**request:** `Merge.crm.EngagementsRetrieveRequest`
@@ -16715,7 +18705,7 @@ await client.hris.employerBenefits.retrieve("id", {
-**requestOptions:** `EmployerBenefitsClient.RequestOptions` +**requestOptions:** `EngagementsClient.RequestOptions`
@@ -16727,8 +18717,7 @@ await client.hris.employerBenefits.retrieve("id", {
-## Hris Employments -
client.hris.employments.list({ ...params }) -> Merge.PaginatedEmploymentList +
client.crm.engagements.partialUpdate(id, { ...params }) -> Merge.EngagementResponse
@@ -16740,7 +18729,7 @@ await client.hris.employerBenefits.retrieve("id", {
-Returns a list of `Employment` objects. +Updates an `Engagement` object with the given `id`.
@@ -16755,22 +18744,10 @@ Returns a list of `Employment` objects.
```typescript -await client.hris.employments.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - orderBy: "-effective_date", - pageSize: 1, - remoteFields: "employment_type", - remoteId: "remote_id", - showEnumOrigins: "employment_type" +await client.crm.engagements.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -16787,7 +18764,7 @@ await client.hris.employments.list({
-**request:** `Merge.hris.EmploymentsListRequest` +**id:** `string`
@@ -16795,7 +18772,15 @@ await client.hris.employments.list({
-**requestOptions:** `EmploymentsClient.RequestOptions` +**request:** `Merge.crm.PatchedEngagementEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `EngagementsClient.RequestOptions`
@@ -16807,7 +18792,7 @@ await client.hris.employments.list({
-
client.hris.employments.retrieve(id, { ...params }) -> Merge.Employment +
client.crm.engagements.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -16819,7 +18804,7 @@ await client.hris.employments.list({
-Returns an `Employment` object with the given `id`. +Returns metadata for `Engagement` PATCHs.
@@ -16834,13 +18819,7 @@ Returns an `Employment` object with the given `id`.
```typescript -await client.hris.employments.retrieve("id", { - expand: "employee", - includeRemoteData: true, - includeShellData: true, - remoteFields: "employment_type", - showEnumOrigins: "employment_type" -}); +await client.crm.engagements.metaPatchRetrieve("id"); ```
@@ -16864,15 +18843,7 @@ await client.hris.employments.retrieve("id", {
-**request:** `Merge.hris.EmploymentsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `EmploymentsClient.RequestOptions` +**requestOptions:** `EngagementsClient.RequestOptions`
@@ -16884,8 +18855,7 @@ await client.hris.employments.retrieve("id", {
-## Hris FieldMapping -
client.hris.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse +
client.crm.engagements.metaPostRetrieve() -> Merge.MetaResponse
@@ -16897,7 +18867,7 @@ await client.hris.employments.retrieve("id", {
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns metadata for `Engagement` POSTs.
@@ -16912,9 +18882,7 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
```typescript -await client.hris.fieldMapping.fieldMappingsRetrieve({ - excludeRemoteFieldMetadata: true -}); +await client.crm.engagements.metaPostRetrieve(); ```
@@ -16930,15 +18898,7 @@ await client.hris.fieldMapping.fieldMappingsRetrieve({
-**request:** `Merge.hris.FieldMappingsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `EngagementsClient.RequestOptions`
@@ -16950,7 +18910,7 @@ await client.hris.fieldMapping.fieldMappingsRetrieve({
-
client.hris.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse +
client.crm.engagements.remoteFieldClassesList({ ...params }) -> core.Page
@@ -16962,7 +18922,7 @@ await client.hris.fieldMapping.fieldMappingsRetrieve({
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `RemoteFieldClass` objects.
@@ -16977,15 +18937,37 @@ Create new Field Mappings that will be available after the next scheduled sync.
```typescript -await client.hris.fieldMapping.fieldMappingsCreate({ - excludeRemoteFieldMetadata: true, - targetFieldName: "example_target_field_name", - targetFieldDescription: "this is a example description of the target field", - remoteFieldTraversalPath: ["example_remote_field"], - remoteMethod: "GET", - remoteUrlPath: "/example-url-path", - commonModelName: "ExampleCommonModel" +const pageableResponse = await client.crm.engagements.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.engagements.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -17001,7 +18983,7 @@ await client.hris.fieldMapping.fieldMappingsCreate({
-**request:** `Merge.hris.CreateFieldMappingRequest` +**request:** `Merge.crm.EngagementsRemoteFieldClassesListRequest`
@@ -17009,7 +18991,7 @@ await client.hris.fieldMapping.fieldMappingsCreate({
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `EngagementsClient.RequestOptions`
@@ -17021,7 +19003,8 @@ await client.hris.fieldMapping.fieldMappingsCreate({
-
client.hris.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse +## Crm FieldMapping +
client.crm.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
@@ -17033,7 +19016,7 @@ await client.hris.fieldMapping.fieldMappingsCreate({
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -17048,7 +19031,9 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
```typescript -await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id"); +await client.crm.fieldMapping.fieldMappingsRetrieve({ + excludeRemoteFieldMetadata: true +}); ```
@@ -17064,7 +19049,7 @@ await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-**field_mapping_id:** `string` +**request:** `Merge.crm.FieldMappingsRetrieveRequest`
@@ -17084,7 +19069,7 @@ await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
client.hris.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse +
client.crm.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
@@ -17096,7 +19081,7 @@ await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -17111,7 +19096,15 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
```typescript -await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); +await client.crm.fieldMapping.fieldMappingsCreate({ + excludeRemoteFieldMetadata: true, + targetFieldName: "example_target_field_name", + targetFieldDescription: "this is a example description of the target field", + remoteFieldTraversalPath: ["example_remote_field"], + remoteMethod: "GET", + remoteUrlPath: "/example-url-path", + commonModelName: "ExampleCommonModel" +}); ```
@@ -17127,15 +19120,7 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-**field_mapping_id:** `string` - -
-
- -
-
- -**request:** `Merge.hris.PatchedEditFieldMappingRequest` +**request:** `Merge.crm.CreateFieldMappingRequest`
@@ -17155,7 +19140,7 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
client.hris.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse +
client.crm.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
@@ -17167,7 +19152,7 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -17182,10 +19167,7 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
```typescript -await client.hris.fieldMapping.remoteFieldsRetrieve({ - commonModels: "common_models", - includeExampleValues: "include_example_values" -}); +await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id"); ```
@@ -17201,7 +19183,7 @@ await client.hris.fieldMapping.remoteFieldsRetrieve({
-**request:** `Merge.hris.RemoteFieldsRetrieveRequest` +**field_mapping_id:** `string`
@@ -17221,7 +19203,7 @@ await client.hris.fieldMapping.remoteFieldsRetrieve({
-
client.hris.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse +
client.crm.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
@@ -17233,7 +19215,7 @@ await client.hris.fieldMapping.remoteFieldsRetrieve({
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -17248,7 +19230,7 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
```typescript -await client.hris.fieldMapping.targetFieldsRetrieve(); +await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); ```
@@ -17264,6 +19246,22 @@ await client.hris.fieldMapping.targetFieldsRetrieve();
+**field_mapping_id:** `string` + +
+
+ +
+
+ +**request:** `Merge.crm.PatchedEditFieldMappingRequest` + +
+
+ +
+
+ **requestOptions:** `FieldMappingClient.RequestOptions`
@@ -17276,8 +19274,7 @@ await client.hris.fieldMapping.targetFieldsRetrieve();
-## Hris GenerateKey -
client.hris.generateKey.create({ ...params }) -> Merge.RemoteKey +
client.crm.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
@@ -17289,7 +19286,7 @@ await client.hris.fieldMapping.targetFieldsRetrieve();
-Create a remote key. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -17304,8 +19301,9 @@ Create a remote key.
```typescript -await client.hris.generateKey.create({ - name: "Remote Deployment Key 1" +await client.crm.fieldMapping.remoteFieldsRetrieve({ + commonModels: "common_models", + includeExampleValues: "include_example_values" }); ``` @@ -17322,7 +19320,7 @@ await client.hris.generateKey.create({
-**request:** `Merge.hris.GenerateRemoteKeyRequest` +**request:** `Merge.crm.RemoteFieldsRetrieveRequest`
@@ -17330,7 +19328,7 @@ await client.hris.generateKey.create({
-**requestOptions:** `GenerateKeyClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -17342,8 +19340,7 @@ await client.hris.generateKey.create({
-## Hris Groups -
client.hris.groups.list({ ...params }) -> Merge.PaginatedGroupList +
client.crm.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
@@ -17355,7 +19352,7 @@ await client.hris.generateKey.create({
-Returns a list of `Group` objects. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -17370,23 +19367,7 @@ Returns a list of `Group` objects.
```typescript -await client.hris.groups.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonlyUsedAsTeam: "is_commonly_used_as_team", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - names: "names", - pageSize: 1, - remoteFields: "type", - remoteId: "remote_id", - showEnumOrigins: "type", - types: "types" -}); +await client.crm.fieldMapping.targetFieldsRetrieve(); ```
@@ -17402,15 +19383,7 @@ await client.hris.groups.list({
-**request:** `Merge.hris.GroupsListRequest` - -
-
- -
-
- -**requestOptions:** `GroupsClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -17422,7 +19395,8 @@ await client.hris.groups.list({
-
client.hris.groups.retrieve(id, { ...params }) -> Merge.Group +## Crm GenerateKey +
client.crm.generateKey.create({ ...params }) -> Merge.RemoteKey
@@ -17434,7 +19408,7 @@ await client.hris.groups.list({
-Returns a `Group` object with the given `id`. +Create a remote key.
@@ -17449,11 +19423,8 @@ Returns a `Group` object with the given `id`.
```typescript -await client.hris.groups.retrieve("id", { - includeRemoteData: true, - includeShellData: true, - remoteFields: "type", - showEnumOrigins: "type" +await client.crm.generateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -17470,15 +19441,7 @@ await client.hris.groups.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.hris.GroupsRetrieveRequest` +**request:** `Merge.crm.GenerateRemoteKeyRequest`
@@ -17486,7 +19449,7 @@ await client.hris.groups.retrieve("id", {
-**requestOptions:** `GroupsClient.RequestOptions` +**requestOptions:** `GenerateKeyClient.RequestOptions`
@@ -17498,8 +19461,8 @@ await client.hris.groups.retrieve("id", {
-## Hris Issues -
client.hris.issues.list({ ...params }) -> Merge.PaginatedIssueList +## Crm Issues +
client.crm.issues.list({ ...params }) -> core.Page
@@ -17526,7 +19489,28 @@ Gets all issues for Organization.
```typescript -await client.hris.issues.list({ +const pageableResponse = await client.crm.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.issues.list({ accountToken: "account_token", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", endDate: "end_date", @@ -17542,6 +19526,12 @@ await client.hris.issues.list({ startDate: "start_date", status: "ONGOING" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -17557,7 +19547,7 @@ await client.hris.issues.list({
-**request:** `Merge.hris.IssuesListRequest` +**request:** `Merge.crm.IssuesListRequest`
@@ -17577,7 +19567,7 @@ await client.hris.issues.list({
-
client.hris.issues.retrieve(id) -> Merge.Issue +
client.crm.issues.retrieve(id) -> Merge.Issue
@@ -17604,7 +19594,7 @@ Get a specific issue.
```typescript -await client.hris.issues.retrieve("id"); +await client.crm.issues.retrieve("id"); ```
@@ -17640,8 +19630,8 @@ await client.hris.issues.retrieve("id");
-## Hris LinkToken -
client.hris.linkToken.create({ ...params }) -> Merge.LinkToken +## Crm Leads +
client.crm.leads.list({ ...params }) -> core.Page
@@ -17653,7 +19643,7 @@ await client.hris.issues.retrieve("id");
-Creates a link token to be used when linking a new end user. +Returns a list of `Lead` objects.
@@ -17668,12 +19658,53 @@ Creates a link token to be used when linking a new end user.
```typescript -await client.hris.linkToken.create({ - endUserEmailAddress: "example@gmail.com", - endUserOrganizationName: "Test Organization", - endUserOriginId: "12345", - categories: ["hris", "ats"] +const pageableResponse = await client.crm.leads.list({ + convertedAccountId: "converted_account_id", + convertedContactId: "converted_contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + ownerId: "owner_id", + pageSize: 1, + phoneNumbers: "phone_numbers", + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.leads.list({ + convertedAccountId: "converted_account_id", + convertedContactId: "converted_contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + ownerId: "owner_id", + pageSize: 1, + phoneNumbers: "phone_numbers", + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -17689,7 +19720,7 @@ await client.hris.linkToken.create({
-**request:** `Merge.hris.EndUserDetailsRequest` +**request:** `Merge.crm.LeadsListRequest`
@@ -17697,7 +19728,7 @@ await client.hris.linkToken.create({
-**requestOptions:** `LinkTokenClient.RequestOptions` +**requestOptions:** `LeadsClient.RequestOptions`
@@ -17709,8 +19740,7 @@ await client.hris.linkToken.create({
-## Hris LinkedAccounts -
client.hris.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList +
client.crm.leads.create({ ...params }) -> Merge.LeadResponse
@@ -17722,7 +19752,7 @@ await client.hris.linkToken.create({
-List linked accounts for your organization. +Creates a `Lead` object with the given values.
@@ -17737,20 +19767,10 @@ List linked accounts for your organization.
```typescript -await client.hris.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status" +await client.crm.leads.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -17767,7 +19787,7 @@ await client.hris.linkedAccounts.list({
-**request:** `Merge.hris.LinkedAccountsListRequest` +**request:** `Merge.crm.LeadEndpointRequest`
@@ -17775,7 +19795,7 @@ await client.hris.linkedAccounts.list({
-**requestOptions:** `LinkedAccountsClient.RequestOptions` +**requestOptions:** `LeadsClient.RequestOptions`
@@ -17787,8 +19807,7 @@ await client.hris.linkedAccounts.list({
-## Hris Locations -
client.hris.locations.list({ ...params }) -> Merge.PaginatedLocationList +
client.crm.leads.retrieve(id, { ...params }) -> Merge.Lead
@@ -17800,7 +19819,7 @@ await client.hris.linkedAccounts.list({
-Returns a list of `Location` objects. +Returns a `Lead` object with the given `id`.
@@ -17815,20 +19834,10 @@ Returns a list of `Location` objects.
```typescript -await client.hris.locations.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, +await client.crm.leads.retrieve("id", { includeRemoteData: true, - includeShellData: true, - locationType: "HOME", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "country", - remoteId: "remote_id", - showEnumOrigins: "country" + includeRemoteFields: true, + includeShellData: true }); ``` @@ -17845,7 +19854,7 @@ await client.hris.locations.list({
-**request:** `Merge.hris.LocationsListRequest` +**id:** `string`
@@ -17853,7 +19862,15 @@ await client.hris.locations.list({
-**requestOptions:** `LocationsClient.RequestOptions` +**request:** `Merge.crm.LeadsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `LeadsClient.RequestOptions`
@@ -17865,7 +19882,7 @@ await client.hris.locations.list({
-
client.hris.locations.retrieve(id, { ...params }) -> Merge.Location +
client.crm.leads.metaPostRetrieve() -> Merge.MetaResponse
@@ -17877,7 +19894,7 @@ await client.hris.locations.list({
-Returns a `Location` object with the given `id`. +Returns metadata for `Lead` POSTs.
@@ -17892,12 +19909,7 @@ Returns a `Location` object with the given `id`.
```typescript -await client.hris.locations.retrieve("id", { - includeRemoteData: true, - includeShellData: true, - remoteFields: "country", - showEnumOrigins: "country" -}); +await client.crm.leads.metaPostRetrieve(); ```
@@ -17913,15 +19925,92 @@ await client.hris.locations.retrieve("id", {
-**id:** `string` +**requestOptions:** `LeadsClient.RequestOptions`
+ +
+ + + + +
+
client.crm.leads.remoteFieldClassesList({ ...params }) -> core.Page
-**request:** `Merge.hris.LocationsRetrieveRequest` +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +const pageableResponse = await client.crm.leads.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.leads.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.crm.LeadsRemoteFieldClassesListRequest`
@@ -17929,7 +20018,7 @@ await client.hris.locations.retrieve("id", {
-**requestOptions:** `LocationsClient.RequestOptions` +**requestOptions:** `LeadsClient.RequestOptions`
@@ -17941,8 +20030,8 @@ await client.hris.locations.retrieve("id", {
-## Hris Passthrough -
client.hris.passthrough.create({ ...params }) -> Merge.RemoteResponse +## Crm LinkToken +
client.crm.linkToken.create({ ...params }) -> Merge.LinkToken
@@ -17954,7 +20043,7 @@ await client.hris.locations.retrieve("id", {
-Pull data from an endpoint not currently supported by Merge. +Creates a link token to be used when linking a new end user.
@@ -17969,9 +20058,11 @@ Pull data from an endpoint not currently supported by Merge.
```typescript -await client.hris.passthrough.create({ - method: "GET", - path: "/scooters" +await client.crm.linkToken.create({ + endUserEmailAddress: "example@gmail.com", + endUserOrganizationName: "Test Organization", + endUserOriginId: "12345", + categories: ["hris", "ats"] }); ``` @@ -17988,7 +20079,7 @@ await client.hris.passthrough.create({
-**request:** `Merge.DataPassthroughRequest` +**request:** `Merge.crm.EndUserDetailsRequest`
@@ -17996,7 +20087,7 @@ await client.hris.passthrough.create({
-**requestOptions:** `PassthroughClient.RequestOptions` +**requestOptions:** `LinkTokenClient.RequestOptions`
@@ -18008,8 +20099,8 @@ await client.hris.passthrough.create({
-## Hris PayGroups -
client.hris.payGroups.list({ ...params }) -> Merge.PaginatedPayGroupList +## Crm LinkedAccounts +
client.crm.linkedAccounts.list({ ...params }) -> core.Page
@@ -18021,7 +20112,7 @@ await client.hris.passthrough.create({
-Returns a list of `PayGroup` objects. +List linked accounts for your organization.
@@ -18036,18 +20127,47 @@ Returns a list of `PayGroup` objects.
```typescript -await client.hris.payGroups.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.crm.linkedAccounts.list({ + category: "accounting", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", pageSize: 1, - remoteId: "remote_id" + status: "status" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -18063,7 +20183,7 @@ await client.hris.payGroups.list({
-**request:** `Merge.hris.PayGroupsListRequest` +**request:** `Merge.crm.LinkedAccountsListRequest`
@@ -18071,7 +20191,7 @@ await client.hris.payGroups.list({
-**requestOptions:** `PayGroupsClient.RequestOptions` +**requestOptions:** `LinkedAccountsClient.RequestOptions`
@@ -18083,7 +20203,8 @@ await client.hris.payGroups.list({
-
client.hris.payGroups.retrieve(id, { ...params }) -> Merge.PayGroup +## Crm Notes +
client.crm.notes.list({ ...params }) -> core.Page
@@ -18095,7 +20216,7 @@ await client.hris.payGroups.list({
-Returns a `PayGroup` object with the given `id`. +Returns a list of `Note` objects.
@@ -18110,10 +20231,51 @@ Returns a `PayGroup` object with the given `id`.
```typescript -await client.hris.payGroups.retrieve("id", { +const pageableResponse = await client.crm.notes.list({ + accountId: "account_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeShellData: true + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + opportunityId: "opportunity_id", + ownerId: "owner_id", + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.notes.list({ + accountId: "account_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + opportunityId: "opportunity_id", + ownerId: "owner_id", + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -18129,15 +20291,7 @@ await client.hris.payGroups.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.hris.PayGroupsRetrieveRequest` +**request:** `Merge.crm.NotesListRequest`
@@ -18145,7 +20299,7 @@ await client.hris.payGroups.retrieve("id", {
-**requestOptions:** `PayGroupsClient.RequestOptions` +**requestOptions:** `NotesClient.RequestOptions`
@@ -18157,8 +20311,7 @@ await client.hris.payGroups.retrieve("id", {
-## Hris PayrollRuns -
client.hris.payrollRuns.list({ ...params }) -> Merge.PaginatedPayrollRunList +
client.crm.notes.create({ ...params }) -> Merge.NoteResponse
@@ -18170,7 +20323,7 @@ await client.hris.payGroups.retrieve("id", {
-Returns a list of `PayrollRun` objects. +Creates a `Note` object with the given values.
@@ -18185,24 +20338,10 @@ Returns a list of `PayrollRun` objects.
```typescript -await client.hris.payrollRuns.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "run_state", - remoteId: "remote_id", - runType: "CORRECTION", - showEnumOrigins: "run_state", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z") +await client.crm.notes.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -18219,7 +20358,7 @@ await client.hris.payrollRuns.list({
-**request:** `Merge.hris.PayrollRunsListRequest` +**request:** `Merge.crm.NoteEndpointRequest`
@@ -18227,7 +20366,7 @@ await client.hris.payrollRuns.list({
-**requestOptions:** `PayrollRunsClient.RequestOptions` +**requestOptions:** `NotesClient.RequestOptions`
@@ -18239,7 +20378,7 @@ await client.hris.payrollRuns.list({
-
client.hris.payrollRuns.retrieve(id, { ...params }) -> Merge.PayrollRun +
client.crm.notes.retrieve(id, { ...params }) -> Merge.Note
@@ -18251,7 +20390,7 @@ await client.hris.payrollRuns.list({
-Returns a `PayrollRun` object with the given `id`. +Returns a `Note` object with the given `id`.
@@ -18266,11 +20405,10 @@ Returns a `PayrollRun` object with the given `id`.
```typescript -await client.hris.payrollRuns.retrieve("id", { +await client.crm.notes.retrieve("id", { includeRemoteData: true, - includeShellData: true, - remoteFields: "run_state", - showEnumOrigins: "run_state" + includeRemoteFields: true, + includeShellData: true }); ``` @@ -18295,7 +20433,7 @@ await client.hris.payrollRuns.retrieve("id", {
-**request:** `Merge.hris.PayrollRunsRetrieveRequest` +**request:** `Merge.crm.NotesRetrieveRequest`
@@ -18303,7 +20441,7 @@ await client.hris.payrollRuns.retrieve("id", {
-**requestOptions:** `PayrollRunsClient.RequestOptions` +**requestOptions:** `NotesClient.RequestOptions`
@@ -18315,8 +20453,7 @@ await client.hris.payrollRuns.retrieve("id", {
-## Hris RegenerateKey -
client.hris.regenerateKey.create({ ...params }) -> Merge.RemoteKey +
client.crm.notes.metaPostRetrieve() -> Merge.MetaResponse
@@ -18328,7 +20465,7 @@ await client.hris.payrollRuns.retrieve("id", {
-Exchange remote keys. +Returns metadata for `Note` POSTs.
@@ -18343,9 +20480,7 @@ Exchange remote keys.
```typescript -await client.hris.regenerateKey.create({ - name: "Remote Deployment Key 1" -}); +await client.crm.notes.metaPostRetrieve(); ```
@@ -18361,15 +20496,7 @@ await client.hris.regenerateKey.create({
-**request:** `Merge.hris.RemoteKeyForRegenerationRequest` - -
-
- -
-
- -**requestOptions:** `RegenerateKeyClient.RequestOptions` +**requestOptions:** `NotesClient.RequestOptions`
@@ -18381,8 +20508,7 @@ await client.hris.regenerateKey.create({
-## Hris SyncStatus -
client.hris.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList +
client.crm.notes.remoteFieldClassesList({ ...params }) -> core.Page
@@ -18394,7 +20520,7 @@ await client.hris.regenerateKey.create({
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns a list of `RemoteFieldClass` objects.
@@ -18409,10 +20535,37 @@ Get sync status for the current sync and the most recently finished sync. `last_
```typescript -await client.hris.syncStatus.list({ +const pageableResponse = await client.crm.notes.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.notes.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -18428,7 +20581,7 @@ await client.hris.syncStatus.list({
-**request:** `Merge.hris.SyncStatusListRequest` +**request:** `Merge.crm.NotesRemoteFieldClassesListRequest`
@@ -18436,7 +20589,7 @@ await client.hris.syncStatus.list({
-**requestOptions:** `SyncStatusClient.RequestOptions` +**requestOptions:** `NotesClient.RequestOptions`
@@ -18448,8 +20601,8 @@ await client.hris.syncStatus.list({
-## Hris ForceResync -
client.hris.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[] +## Crm Opportunities +
client.crm.opportunities.list({ ...params }) -> core.Page
@@ -18461,7 +20614,7 @@ await client.hris.syncStatus.list({
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns a list of `Opportunity` objects.
@@ -18476,76 +20629,57 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
```typescript -await client.hris.forceResync.syncStatusResyncCreate(); - -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `ForceResyncClient.RequestOptions` - -
-
-
-
- - - - -
- -## Hris Teams -
client.hris.teams.list({ ...params }) -> Merge.PaginatedTeamList -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Team` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
+const pageableResponse = await client.crm.opportunities.list({ + accountId: "account_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + ownerId: "owner_id", + pageSize: 1, + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + stageId: "stage_id", + status: "LOST" +}); +for await (const item of pageableResponse) { + console.log(item); +} -```typescript -await client.hris.teams.list({ +// Or you can manually iterate page-by-page +let page = await client.crm.opportunities.list({ + accountId: "account_id", createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "parent_team", includeDeletedData: true, includeRemoteData: true, + includeRemoteFields: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + ownerId: "owner_id", pageSize: 1, - parentTeamId: "parent_team_id", - remoteId: "remote_id" + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + stageId: "stage_id", + status: "LOST" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -18561,7 +20695,7 @@ await client.hris.teams.list({
-**request:** `Merge.hris.TeamsListRequest` +**request:** `Merge.crm.OpportunitiesListRequest`
@@ -18569,7 +20703,7 @@ await client.hris.teams.list({
-**requestOptions:** `TeamsClient.RequestOptions` +**requestOptions:** `OpportunitiesClient.RequestOptions`
@@ -18581,7 +20715,7 @@ await client.hris.teams.list({
-
client.hris.teams.retrieve(id, { ...params }) -> Merge.Team +
client.crm.opportunities.create({ ...params }) -> Merge.OpportunityResponse
@@ -18593,7 +20727,7 @@ await client.hris.teams.list({
-Returns a `Team` object with the given `id`. +Creates an `Opportunity` object with the given values.
@@ -18608,10 +20742,10 @@ Returns a `Team` object with the given `id`.
```typescript -await client.hris.teams.retrieve("id", { - expand: "parent_team", - includeRemoteData: true, - includeShellData: true +await client.crm.opportunities.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -18628,15 +20762,7 @@ await client.hris.teams.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.hris.TeamsRetrieveRequest` +**request:** `Merge.crm.OpportunityEndpointRequest`
@@ -18644,7 +20770,7 @@ await client.hris.teams.retrieve("id", {
-**requestOptions:** `TeamsClient.RequestOptions` +**requestOptions:** `OpportunitiesClient.RequestOptions`
@@ -18656,8 +20782,7 @@ await client.hris.teams.retrieve("id", {
-## Hris TimeOff -
client.hris.timeOff.list({ ...params }) -> Merge.PaginatedTimeOffList +
client.crm.opportunities.retrieve(id, { ...params }) -> Merge.Opportunity
@@ -18669,7 +20794,7 @@ await client.hris.teams.retrieve("id", {
-Returns a list of `TimeOff` objects. +Returns an `Opportunity` object with the given `id`.
@@ -18684,28 +20809,12 @@ Returns a list of `TimeOff` objects.
```typescript -await client.hris.timeOff.list({ - approverId: "approver_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "approver", - includeDeletedData: true, +await client.crm.opportunities.retrieve("id", { includeRemoteData: true, + includeRemoteFields: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "request_type", - remoteId: "remote_id", - requestType: "BEREAVEMENT", - showEnumOrigins: "request_type", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - status: "APPROVED" + remoteFields: "status", + showEnumOrigins: "status" }); ``` @@ -18722,7 +20831,7 @@ await client.hris.timeOff.list({
-**request:** `Merge.hris.TimeOffListRequest` +**id:** `string`
@@ -18730,7 +20839,15 @@ await client.hris.timeOff.list({
-**requestOptions:** `TimeOffClient.RequestOptions` +**request:** `Merge.crm.OpportunitiesRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `OpportunitiesClient.RequestOptions`
@@ -18742,7 +20859,7 @@ await client.hris.timeOff.list({
-
client.hris.timeOff.create({ ...params }) -> Merge.TimeOffResponse +
client.crm.opportunities.partialUpdate(id, { ...params }) -> Merge.OpportunityResponse
@@ -18754,7 +20871,7 @@ await client.hris.timeOff.list({
-Creates a `TimeOff` object with the given values. +Updates an `Opportunity` object with the given `id`.
@@ -18769,7 +20886,7 @@ Creates a `TimeOff` object with the given values.
```typescript -await client.hris.timeOff.create({ +await client.crm.opportunities.partialUpdate("id", { isDebugMode: true, runAsync: true, model: {} @@ -18789,7 +20906,7 @@ await client.hris.timeOff.create({
-**request:** `Merge.hris.TimeOffEndpointRequest` +**id:** `string`
@@ -18797,7 +20914,15 @@ await client.hris.timeOff.create({
-**requestOptions:** `TimeOffClient.RequestOptions` +**request:** `Merge.crm.PatchedOpportunityEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `OpportunitiesClient.RequestOptions`
@@ -18809,7 +20934,7 @@ await client.hris.timeOff.create({
-
client.hris.timeOff.retrieve(id, { ...params }) -> Merge.TimeOff +
client.crm.opportunities.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -18821,7 +20946,7 @@ await client.hris.timeOff.create({
-Returns a `TimeOff` object with the given `id`. +Returns metadata for `Opportunity` PATCHs.
@@ -18836,13 +20961,7 @@ Returns a `TimeOff` object with the given `id`.
```typescript -await client.hris.timeOff.retrieve("id", { - expand: "approver", - includeRemoteData: true, - includeShellData: true, - remoteFields: "request_type", - showEnumOrigins: "request_type" -}); +await client.crm.opportunities.metaPatchRetrieve("id"); ```
@@ -18866,15 +20985,7 @@ await client.hris.timeOff.retrieve("id", {
-**request:** `Merge.hris.TimeOffRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `TimeOffClient.RequestOptions` +**requestOptions:** `OpportunitiesClient.RequestOptions`
@@ -18886,7 +20997,7 @@ await client.hris.timeOff.retrieve("id", {
-
client.hris.timeOff.metaPostRetrieve() -> Merge.MetaResponse +
client.crm.opportunities.metaPostRetrieve() -> Merge.MetaResponse
@@ -18898,7 +21009,7 @@ await client.hris.timeOff.retrieve("id", {
-Returns metadata for `TimeOff` POSTs. +Returns metadata for `Opportunity` POSTs.
@@ -18913,7 +21024,7 @@ Returns metadata for `TimeOff` POSTs.
```typescript -await client.hris.timeOff.metaPostRetrieve(); +await client.crm.opportunities.metaPostRetrieve(); ```
@@ -18929,7 +21040,7 @@ await client.hris.timeOff.metaPostRetrieve();
-**requestOptions:** `TimeOffClient.RequestOptions` +**requestOptions:** `OpportunitiesClient.RequestOptions`
@@ -18941,8 +21052,7 @@ await client.hris.timeOff.metaPostRetrieve();
-## Hris TimeOffBalances -
client.hris.timeOffBalances.list({ ...params }) -> Merge.PaginatedTimeOffBalanceList +
client.crm.opportunities.remoteFieldClassesList({ ...params }) -> core.Page
@@ -18954,7 +21064,7 @@ await client.hris.timeOff.metaPostRetrieve();
-Returns a list of `TimeOffBalance` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -18969,23 +21079,37 @@ Returns a list of `TimeOffBalance` objects.
```typescript -await client.hris.timeOffBalances.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.crm.opportunities.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", includeDeletedData: true, includeRemoteData: true, + includeRemoteFields: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - policyType: "BEREAVEMENT", - remoteFields: "policy_type", - remoteId: "remote_id", - showEnumOrigins: "policy_type" + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.opportunities.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -19001,7 +21125,7 @@ await client.hris.timeOffBalances.list({
-**request:** `Merge.hris.TimeOffBalancesListRequest` +**request:** `Merge.crm.OpportunitiesRemoteFieldClassesListRequest`
@@ -19009,7 +21133,7 @@ await client.hris.timeOffBalances.list({
-**requestOptions:** `TimeOffBalancesClient.RequestOptions` +**requestOptions:** `OpportunitiesClient.RequestOptions`
@@ -19021,7 +21145,8 @@ await client.hris.timeOffBalances.list({
-
client.hris.timeOffBalances.retrieve(id, { ...params }) -> Merge.TimeOffBalance +## Crm Passthrough +
client.crm.passthrough.create({ ...params }) -> Merge.RemoteResponse
@@ -19033,7 +21158,7 @@ await client.hris.timeOffBalances.list({
-Returns a `TimeOffBalance` object with the given `id`. +Pull data from an endpoint not currently supported by Merge.
@@ -19048,12 +21173,9 @@ Returns a `TimeOffBalance` object with the given `id`.
```typescript -await client.hris.timeOffBalances.retrieve("id", { - expand: "employee", - includeRemoteData: true, - includeShellData: true, - remoteFields: "policy_type", - showEnumOrigins: "policy_type" +await client.crm.passthrough.create({ + method: "GET", + path: "/scooters" }); ``` @@ -19070,15 +21192,7 @@ await client.hris.timeOffBalances.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.hris.TimeOffBalancesRetrieveRequest` +**request:** `Merge.DataPassthroughRequest`
@@ -19086,7 +21200,7 @@ await client.hris.timeOffBalances.retrieve("id", {
-**requestOptions:** `TimeOffBalancesClient.RequestOptions` +**requestOptions:** `PassthroughClient.RequestOptions`
@@ -19098,8 +21212,8 @@ await client.hris.timeOffBalances.retrieve("id", {
-## Hris TimesheetEntries -
client.hris.timesheetEntries.list({ ...params }) -> Merge.PaginatedTimesheetEntryList +## Crm RegenerateKey +
client.crm.regenerateKey.create({ ...params }) -> Merge.RemoteKey
@@ -19111,7 +21225,7 @@ await client.hris.timeOffBalances.retrieve("id", {
-Returns a list of `TimesheetEntry` objects. +Exchange remote keys.
@@ -19126,24 +21240,8 @@ Returns a list of `TimesheetEntry` objects.
```typescript -await client.hris.timesheetEntries.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - orderBy: "-start_time", - pageSize: 1, - remoteId: "remote_id", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z") +await client.crm.regenerateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -19160,7 +21258,7 @@ await client.hris.timesheetEntries.list({
-**request:** `Merge.hris.TimesheetEntriesListRequest` +**request:** `Merge.crm.RemoteKeyForRegenerationRequest`
@@ -19168,7 +21266,7 @@ await client.hris.timesheetEntries.list({
-**requestOptions:** `TimesheetEntriesClient.RequestOptions` +**requestOptions:** `RegenerateKeyClient.RequestOptions`
@@ -19180,7 +21278,8 @@ await client.hris.timesheetEntries.list({
-
client.hris.timesheetEntries.create({ ...params }) -> Merge.TimesheetEntryResponse +## Crm Stages +
client.crm.stages.list({ ...params }) -> core.Page
@@ -19192,7 +21291,7 @@ await client.hris.timesheetEntries.list({
-Creates a `TimesheetEntry` object with the given values. +Returns a list of `Stage` objects.
@@ -19207,11 +21306,43 @@ Creates a `TimesheetEntry` object with the given values.
```typescript -await client.hris.timesheetEntries.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.crm.stages.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.stages.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -19227,7 +21358,7 @@ await client.hris.timesheetEntries.create({
-**request:** `Merge.hris.TimesheetEntryEndpointRequest` +**request:** `Merge.crm.StagesListRequest`
@@ -19235,7 +21366,7 @@ await client.hris.timesheetEntries.create({
-**requestOptions:** `TimesheetEntriesClient.RequestOptions` +**requestOptions:** `StagesClient.RequestOptions`
@@ -19247,7 +21378,7 @@ await client.hris.timesheetEntries.create({
-
client.hris.timesheetEntries.retrieve(id, { ...params }) -> Merge.TimesheetEntry +
client.crm.stages.retrieve(id, { ...params }) -> Merge.Stage
@@ -19259,7 +21390,7 @@ await client.hris.timesheetEntries.create({
-Returns a `TimesheetEntry` object with the given `id`. +Returns a `Stage` object with the given `id`.
@@ -19274,9 +21405,9 @@ Returns a `TimesheetEntry` object with the given `id`.
```typescript -await client.hris.timesheetEntries.retrieve("id", { - expand: "employee", +await client.crm.stages.retrieve("id", { includeRemoteData: true, + includeRemoteFields: true, includeShellData: true }); @@ -19302,7 +21433,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-**request:** `Merge.hris.TimesheetEntriesRetrieveRequest` +**request:** `Merge.crm.StagesRetrieveRequest`
@@ -19310,7 +21441,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-**requestOptions:** `TimesheetEntriesClient.RequestOptions` +**requestOptions:** `StagesClient.RequestOptions`
@@ -19322,7 +21453,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-
client.hris.timesheetEntries.metaPostRetrieve() -> Merge.MetaResponse +
client.crm.stages.remoteFieldClassesList({ ...params }) -> core.Page
@@ -19334,7 +21465,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-Returns metadata for `TimesheetEntry` POSTs. +Returns a list of `RemoteFieldClass` objects.
@@ -19349,7 +21480,37 @@ Returns metadata for `TimesheetEntry` POSTs.
```typescript -await client.hris.timesheetEntries.metaPostRetrieve(); +const pageableResponse = await client.crm.stages.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.stages.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -19365,63 +21526,15 @@ await client.hris.timesheetEntries.metaPostRetrieve();
-**requestOptions:** `TimesheetEntriesClient.RequestOptions` +**request:** `Merge.crm.StagesRemoteFieldClassesListRequest`
- -
- - - - -
- -## Hris WebhookReceivers -
client.hris.webhookReceivers.list() -> Merge.WebhookReceiver[] -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `WebhookReceiver` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.hris.webhookReceivers.list(); - -``` -
-
-
-
- -#### ⚙️ Parameters
-
-
- -**requestOptions:** `WebhookReceiversClient.RequestOptions` +**requestOptions:** `StagesClient.RequestOptions`
@@ -19433,7 +21546,8 @@ await client.hris.webhookReceivers.list();
-
client.hris.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver +## Crm SyncStatus +
client.crm.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList
@@ -19445,7 +21559,7 @@ await client.hris.webhookReceivers.list();
-Creates a `WebhookReceiver` object with the given values. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -19460,9 +21574,9 @@ Creates a `WebhookReceiver` object with the given values.
```typescript -await client.hris.webhookReceivers.create({ - event: "event", - isActive: true +await client.crm.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 }); ``` @@ -19479,7 +21593,7 @@ await client.hris.webhookReceivers.create({
-**request:** `Merge.hris.WebhookReceiverRequest` +**request:** `Merge.crm.SyncStatusListRequest`
@@ -19487,7 +21601,7 @@ await client.hris.webhookReceivers.create({
-**requestOptions:** `WebhookReceiversClient.RequestOptions` +**requestOptions:** `SyncStatusClient.RequestOptions`
@@ -19499,8 +21613,8 @@ await client.hris.webhookReceivers.create({
-## Ticketing AccountDetails -
client.ticketing.accountDetails.retrieve() -> Merge.AccountDetails +## Crm ForceResync +
client.crm.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
@@ -19512,7 +21626,7 @@ await client.hris.webhookReceivers.create({
-Get details for a linked account. +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -19527,7 +21641,7 @@ Get details for a linked account.
```typescript -await client.ticketing.accountDetails.retrieve(); +await client.crm.forceResync.syncStatusResyncCreate(); ```
@@ -19543,7 +21657,7 @@ await client.ticketing.accountDetails.retrieve();
-**requestOptions:** `AccountDetailsClient.RequestOptions` +**requestOptions:** `ForceResyncClient.RequestOptions`
@@ -19555,8 +21669,8 @@ await client.ticketing.accountDetails.retrieve();
-## Ticketing AccountToken -
client.ticketing.accountToken.retrieve(public_token) -> Merge.AccountToken +## Crm Tasks +
client.crm.tasks.list({ ...params }) -> core.Page
@@ -19568,7 +21682,7 @@ await client.ticketing.accountDetails.retrieve();
-Returns the account token for the end user with the provided public token. +Returns a list of `Task` objects.
@@ -19583,7 +21697,43 @@ Returns the account token for the end user with the provided public token.
```typescript -await client.ticketing.accountToken.retrieve("public_token"); +const pageableResponse = await client.crm.tasks.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.tasks.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -19599,7 +21749,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-**public_token:** `string` +**request:** `Merge.crm.TasksListRequest`
@@ -19607,7 +21757,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-**requestOptions:** `AccountTokenClient.RequestOptions` +**requestOptions:** `TasksClient.RequestOptions`
@@ -19619,8 +21769,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-## Ticketing Accounts -
client.ticketing.accounts.list({ ...params }) -> Merge.PaginatedAccountList +
client.crm.tasks.create({ ...params }) -> Merge.TaskResponse
@@ -19632,7 +21781,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-Returns a list of `Account` objects. +Creates a `Task` object with the given values.
@@ -19647,17 +21796,10 @@ Returns a list of `Account` objects.
```typescript -await client.ticketing.accounts.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.crm.tasks.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -19674,7 +21816,7 @@ await client.ticketing.accounts.list({
-**request:** `Merge.ticketing.AccountsListRequest` +**request:** `Merge.crm.TaskEndpointRequest`
@@ -19682,7 +21824,7 @@ await client.ticketing.accounts.list({
-**requestOptions:** `AccountsClient.RequestOptions` +**requestOptions:** `TasksClient.RequestOptions`
@@ -19694,7 +21836,7 @@ await client.ticketing.accounts.list({
-
client.ticketing.accounts.retrieve(id, { ...params }) -> Merge.Account +
client.crm.tasks.retrieve(id, { ...params }) -> Merge.Task
@@ -19706,7 +21848,7 @@ await client.ticketing.accounts.list({
-Returns an `Account` object with the given `id`. +Returns a `Task` object with the given `id`.
@@ -19721,8 +21863,9 @@ Returns an `Account` object with the given `id`.
```typescript -await client.ticketing.accounts.retrieve("id", { +await client.crm.tasks.retrieve("id", { includeRemoteData: true, + includeRemoteFields: true, includeShellData: true }); @@ -19748,7 +21891,7 @@ await client.ticketing.accounts.retrieve("id", {
-**request:** `Merge.ticketing.AccountsRetrieveRequest` +**request:** `Merge.crm.TasksRetrieveRequest`
@@ -19756,7 +21899,7 @@ await client.ticketing.accounts.retrieve("id", {
-**requestOptions:** `AccountsClient.RequestOptions` +**requestOptions:** `TasksClient.RequestOptions`
@@ -19768,8 +21911,7 @@ await client.ticketing.accounts.retrieve("id", {
-## Ticketing AsyncPassthrough -
client.ticketing.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept +
client.crm.tasks.partialUpdate(id, { ...params }) -> Merge.TaskResponse
@@ -19781,7 +21923,7 @@ await client.ticketing.accounts.retrieve("id", {
-Asynchronously pull data from an endpoint not currently supported by Merge. +Updates a `Task` object with the given `id`.
@@ -19796,9 +21938,10 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
```typescript -await client.ticketing.asyncPassthrough.create({ - method: "GET", - path: "/scooters" +await client.crm.tasks.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -19815,7 +21958,7 @@ await client.ticketing.asyncPassthrough.create({
-**request:** `Merge.DataPassthroughRequest` +**id:** `string`
@@ -19823,7 +21966,15 @@ await client.ticketing.asyncPassthrough.create({
-**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**request:** `Merge.crm.PatchedTaskEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `TasksClient.RequestOptions`
@@ -19835,7 +21986,7 @@ await client.ticketing.asyncPassthrough.create({
-
client.ticketing.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse +
client.crm.tasks.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -19847,7 +21998,7 @@ await client.ticketing.asyncPassthrough.create({
-Retrieves data from earlier async-passthrough POST request +Returns metadata for `Task` PATCHs.
@@ -19862,7 +22013,7 @@ Retrieves data from earlier async-passthrough POST request
```typescript -await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id"); +await client.crm.tasks.metaPatchRetrieve("id"); ```
@@ -19878,7 +22029,7 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-**async_passthrough_receipt_id:** `string` +**id:** `string`
@@ -19886,7 +22037,7 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `TasksClient.RequestOptions`
@@ -19898,8 +22049,7 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-## Ticketing Attachments -
client.ticketing.attachments.list({ ...params }) -> Merge.PaginatedAttachmentList +
client.crm.tasks.metaPostRetrieve() -> Merge.MetaResponse
@@ -19911,7 +22061,7 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-Returns a list of `Attachment` objects. +Returns metadata for `Task` POSTs.
@@ -19926,21 +22076,7 @@ Returns a list of `Attachment` objects.
```typescript -await client.ticketing.attachments.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "ticket", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteId: "remote_id", - ticketId: "ticket_id" -}); +await client.crm.tasks.metaPostRetrieve(); ```
@@ -19956,15 +22092,7 @@ await client.ticketing.attachments.list({
-**request:** `Merge.ticketing.AttachmentsListRequest` - -
-
- -
-
- -**requestOptions:** `AttachmentsClient.RequestOptions` +**requestOptions:** `TasksClient.RequestOptions`
@@ -19976,7 +22104,7 @@ await client.ticketing.attachments.list({
-
client.ticketing.attachments.create({ ...params }) -> Merge.TicketingAttachmentResponse +
client.crm.tasks.remoteFieldClassesList({ ...params }) -> core.Page
@@ -19988,7 +22116,7 @@ await client.ticketing.attachments.list({
-Creates an `Attachment` object with the given values. +Returns a list of `RemoteFieldClass` objects.
@@ -20003,11 +22131,37 @@ Creates an `Attachment` object with the given values.
```typescript -await client.ticketing.attachments.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.crm.tasks.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.tasks.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -20023,7 +22177,7 @@ await client.ticketing.attachments.create({
-**request:** `Merge.ticketing.TicketingAttachmentEndpointRequest` +**request:** `Merge.crm.TasksRemoteFieldClassesListRequest`
@@ -20031,7 +22185,7 @@ await client.ticketing.attachments.create({
-**requestOptions:** `AttachmentsClient.RequestOptions` +**requestOptions:** `TasksClient.RequestOptions`
@@ -20043,7 +22197,8 @@ await client.ticketing.attachments.create({
-
client.ticketing.attachments.retrieve(id, { ...params }) -> Merge.Attachment +## Crm Users +
client.crm.users.list({ ...params }) -> core.Page
@@ -20055,7 +22210,7 @@ await client.ticketing.attachments.create({
-Returns an `Attachment` object with the given `id`. +Returns a list of `User` objects.
@@ -20070,11 +22225,45 @@ Returns an `Attachment` object with the given `id`.
```typescript -await client.ticketing.attachments.retrieve("id", { - expand: "ticket", +const pageableResponse = await client.crm.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email: "email", + includeDeletedData: true, includeRemoteData: true, - includeShellData: true + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email: "email", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -20090,15 +22279,7 @@ await client.ticketing.attachments.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.AttachmentsRetrieveRequest` +**request:** `Merge.crm.UsersListRequest`
@@ -20106,7 +22287,7 @@ await client.ticketing.attachments.retrieve("id", {
-**requestOptions:** `AttachmentsClient.RequestOptions` +**requestOptions:** `UsersClient.RequestOptions`
@@ -20118,7 +22299,7 @@ await client.ticketing.attachments.retrieve("id", {
-
client.ticketing.attachments.metaPostRetrieve() -> Merge.MetaResponse +
client.crm.users.retrieve(id, { ...params }) -> Merge.User
@@ -20130,7 +22311,7 @@ await client.ticketing.attachments.retrieve("id", {
-Returns metadata for `TicketingAttachment` POSTs. +Returns a `User` object with the given `id`.
@@ -20145,7 +22326,11 @@ Returns metadata for `TicketingAttachment` POSTs.
```typescript -await client.ticketing.attachments.metaPostRetrieve(); +await client.crm.users.retrieve("id", { + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true +}); ```
@@ -20161,70 +22346,15 @@ await client.ticketing.attachments.metaPostRetrieve();
-**requestOptions:** `AttachmentsClient.RequestOptions` +**id:** `string`
- -
- - - - -
- -## Ticketing AuditTrail -
client.ticketing.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList -
-
- -#### 📝 Description - -
-
- -
-
- -Gets a list of audit trail events. -
-
-
-
- -#### 🔌 Usage
-
-
- -```typescript -await client.ticketing.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email" -}); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.ticketing.AuditTrailListRequest` +**request:** `Merge.crm.UsersRetrieveRequest`
@@ -20232,7 +22362,7 @@ await client.ticketing.auditTrail.list({
-**requestOptions:** `AuditTrailClient.RequestOptions` +**requestOptions:** `UsersClient.RequestOptions`
@@ -20244,8 +22374,7 @@ await client.ticketing.auditTrail.list({
-## Ticketing AvailableActions -
client.ticketing.availableActions.retrieve() -> Merge.AvailableActions +
client.crm.users.ignoreCreate(model_id, { ...params }) -> void
@@ -20257,7 +22386,7 @@ await client.ticketing.auditTrail.list({
-Returns a list of models and actions available for an account. +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -20272,7 +22401,9 @@ Returns a list of models and actions available for an account.
```typescript -await client.ticketing.availableActions.retrieve(); +await client.crm.users.ignoreCreate("model_id", { + reason: "GENERAL_CUSTOMER_REQUEST" +}); ```
@@ -20288,80 +22419,15 @@ await client.ticketing.availableActions.retrieve();
-**requestOptions:** `AvailableActionsClient.RequestOptions` +**model_id:** `string`
- -
- - - - -
- -## Ticketing Collections -
client.ticketing.collections.list({ ...params }) -> Merge.PaginatedCollectionList -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Collection` objects. -
-
-
-
- -#### 🔌 Usage
-
-
- -```typescript -await client.ticketing.collections.list({ - collectionType: "", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "parent_collection", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - parentCollectionId: "parent_collection_id", - remoteFields: "collection_type", - remoteId: "remote_id", - showEnumOrigins: "collection_type" -}); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.ticketing.CollectionsListRequest` +**request:** `Merge.IgnoreCommonModelRequest`
@@ -20369,7 +22435,7 @@ await client.ticketing.collections.list({
-**requestOptions:** `CollectionsClient.RequestOptions` +**requestOptions:** `UsersClient.RequestOptions`
@@ -20381,7 +22447,7 @@ await client.ticketing.collections.list({
-
client.ticketing.collections.viewersList(collection_id, { ...params }) -> Merge.PaginatedViewerList +
client.crm.users.remoteFieldClassesList({ ...params }) -> core.Page
@@ -20393,7 +22459,7 @@ await client.ticketing.collections.list({
-Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) +Returns a list of `RemoteFieldClass` objects.
@@ -20408,14 +22474,37 @@ Returns a list of `Viewer` objects that point to a User id or Team id that is ei
```typescript -await client.ticketing.collections.viewersList("collection_id", { +const pageableResponse = await client.crm.users.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.crm.users.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "team", includeDeletedData: true, includeRemoteData: true, + includeRemoteFields: true, includeShellData: true, + isCommonModelField: true, + isCustom: true, pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -20431,15 +22520,7 @@ await client.ticketing.collections.viewersList("collection_id", {
-**collection_id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.CollectionsViewersListRequest` +**request:** `Merge.crm.UsersRemoteFieldClassesListRequest`
@@ -20447,7 +22528,7 @@ await client.ticketing.collections.viewersList("collection_id", {
-**requestOptions:** `CollectionsClient.RequestOptions` +**requestOptions:** `UsersClient.RequestOptions`
@@ -20459,7 +22540,8 @@ await client.ticketing.collections.viewersList("collection_id", {
-
client.ticketing.collections.retrieve(id, { ...params }) -> Merge.Collection +## Crm WebhookReceivers +
client.crm.webhookReceivers.list() -> Merge.WebhookReceiver[]
@@ -20471,7 +22553,7 @@ await client.ticketing.collections.viewersList("collection_id", {
-Returns a `Collection` object with the given `id`. +Returns a list of `WebhookReceiver` objects.
@@ -20486,13 +22568,7 @@ Returns a `Collection` object with the given `id`.
```typescript -await client.ticketing.collections.retrieve("id", { - expand: "parent_collection", - includeRemoteData: true, - includeShellData: true, - remoteFields: "collection_type", - showEnumOrigins: "collection_type" -}); +await client.crm.webhookReceivers.list(); ```
@@ -20508,23 +22584,7 @@ await client.ticketing.collections.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.CollectionsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `CollectionsClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -20536,8 +22596,7 @@ await client.ticketing.collections.retrieve("id", {
-## Ticketing Comments -
client.ticketing.comments.list({ ...params }) -> Merge.PaginatedCommentList +
client.crm.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
@@ -20549,7 +22608,7 @@ await client.ticketing.collections.retrieve("id", {
-Returns a list of `Comment` objects. +Creates a `WebhookReceiver` object with the given values.
@@ -20564,20 +22623,9 @@ Returns a list of `Comment` objects.
```typescript -await client.ticketing.comments.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "contact", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteId: "remote_id", - ticketId: "ticket_id" +await client.crm.webhookReceivers.create({ + event: "event", + isActive: true }); ``` @@ -20594,7 +22642,7 @@ await client.ticketing.comments.list({
-**request:** `Merge.ticketing.CommentsListRequest` +**request:** `Merge.crm.WebhookReceiverRequest`
@@ -20602,7 +22650,7 @@ await client.ticketing.comments.list({
-**requestOptions:** `CommentsClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -20614,7 +22662,8 @@ await client.ticketing.comments.list({
-
client.ticketing.comments.create({ ...params }) -> Merge.CommentResponse +## FileStorage AccountDetails +
client.fileStorage.accountDetails.retrieve() -> Merge.AccountDetails
@@ -20626,7 +22675,7 @@ await client.ticketing.comments.list({
-Creates a `Comment` object with the given values. +Get details for a linked account.
@@ -20641,11 +22690,7 @@ Creates a `Comment` object with the given values.
```typescript -await client.ticketing.comments.create({ - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.fileStorage.accountDetails.retrieve(); ```
@@ -20661,15 +22706,7 @@ await client.ticketing.comments.create({
-**request:** `Merge.ticketing.CommentEndpointRequest` - -
-
- -
-
- -**requestOptions:** `CommentsClient.RequestOptions` +**requestOptions:** `AccountDetailsClient.RequestOptions`
@@ -20681,7 +22718,8 @@ await client.ticketing.comments.create({
-
client.ticketing.comments.retrieve(id, { ...params }) -> Merge.Comment +## FileStorage AccountToken +
client.fileStorage.accountToken.retrieve(public_token) -> Merge.AccountToken
@@ -20693,7 +22731,7 @@ await client.ticketing.comments.create({
-Returns a `Comment` object with the given `id`. +Returns the account token for the end user with the provided public token.
@@ -20708,11 +22746,7 @@ Returns a `Comment` object with the given `id`.
```typescript -await client.ticketing.comments.retrieve("id", { - expand: "contact", - includeRemoteData: true, - includeShellData: true -}); +await client.fileStorage.accountToken.retrieve("public_token"); ```
@@ -20728,15 +22762,7 @@ await client.ticketing.comments.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.CommentsRetrieveRequest` +**public_token:** `string`
@@ -20744,7 +22770,7 @@ await client.ticketing.comments.retrieve("id", {
-**requestOptions:** `CommentsClient.RequestOptions` +**requestOptions:** `AccountTokenClient.RequestOptions`
@@ -20756,7 +22782,8 @@ await client.ticketing.comments.retrieve("id", {
-
client.ticketing.comments.metaPostRetrieve() -> Merge.MetaResponse +## FileStorage AsyncPassthrough +
client.fileStorage.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
@@ -20768,7 +22795,7 @@ await client.ticketing.comments.retrieve("id", {
-Returns metadata for `Comment` POSTs. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -20783,7 +22810,10 @@ Returns metadata for `Comment` POSTs.
```typescript -await client.ticketing.comments.metaPostRetrieve(); +await client.fileStorage.asyncPassthrough.create({ + method: "GET", + path: "/scooters" +}); ```
@@ -20799,7 +22829,15 @@ await client.ticketing.comments.metaPostRetrieve();
-**requestOptions:** `CommentsClient.RequestOptions` +**request:** `Merge.DataPassthroughRequest` + +
+
+ +
+
+ +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -20811,8 +22849,7 @@ await client.ticketing.comments.metaPostRetrieve();
-## Ticketing Contacts -
client.ticketing.contacts.list({ ...params }) -> Merge.PaginatedContactList +
client.fileStorage.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
@@ -20824,7 +22861,7 @@ await client.ticketing.comments.metaPostRetrieve();
-Returns a list of `Contact` objects. +Retrieves data from earlier async-passthrough POST request
@@ -20839,20 +22876,7 @@ Returns a list of `Contact` objects.
```typescript -await client.ticketing.contacts.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddress: "email_address", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" -}); +await client.fileStorage.asyncPassthrough.retrieve("async_passthrough_receipt_id"); ```
@@ -20868,7 +22892,7 @@ await client.ticketing.contacts.list({
-**request:** `Merge.ticketing.ContactsListRequest` +**async_passthrough_receipt_id:** `string`
@@ -20876,7 +22900,7 @@ await client.ticketing.contacts.list({
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -20888,7 +22912,8 @@ await client.ticketing.contacts.list({
-
client.ticketing.contacts.create({ ...params }) -> Merge.TicketingContactResponse +## FileStorage AuditTrail +
client.fileStorage.auditTrail.list({ ...params }) -> core.Page
@@ -20900,7 +22925,7 @@ await client.ticketing.contacts.list({
-Creates a `Contact` object with the given values. +Gets a list of audit trail events.
@@ -20915,11 +22940,33 @@ Creates a `Contact` object with the given values.
```typescript -await client.ticketing.contacts.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.fileStorage.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -20935,7 +22982,7 @@ await client.ticketing.contacts.create({
-**request:** `Merge.ticketing.TicketingContactEndpointRequest` +**request:** `Merge.fileStorage.AuditTrailListRequest`
@@ -20943,7 +22990,7 @@ await client.ticketing.contacts.create({
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `AuditTrailClient.RequestOptions`
@@ -20955,7 +23002,8 @@ await client.ticketing.contacts.create({
-
client.ticketing.contacts.retrieve(id, { ...params }) -> Merge.Contact +## FileStorage AvailableActions +
client.fileStorage.availableActions.retrieve() -> Merge.AvailableActions
@@ -20967,7 +23015,7 @@ await client.ticketing.contacts.create({
-Returns a `Contact` object with the given `id`. +Returns a list of models and actions available for an account.
@@ -20982,11 +23030,7 @@ Returns a `Contact` object with the given `id`.
```typescript -await client.ticketing.contacts.retrieve("id", { - expand: "account", - includeRemoteData: true, - includeShellData: true -}); +await client.fileStorage.availableActions.retrieve(); ```
@@ -21002,23 +23046,63 @@ await client.ticketing.contacts.retrieve("id", {
-**id:** `string` +**requestOptions:** `AvailableActionsClient.RequestOptions`
+ +
+ + + + +
+## FileStorage Scopes +
client.fileStorage.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
-**request:** `Merge.ticketing.ContactsRetrieveRequest` - +#### 📝 Description + +
+
+ +
+
+ +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +
+
+#### 🔌 Usage +
-**requestOptions:** `ContactsClient.RequestOptions` +
+
+ +```typescript +await client.fileStorage.scopes.defaultScopesRetrieve(); + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `ScopesClient.RequestOptions`
@@ -21030,7 +23114,7 @@ await client.ticketing.contacts.retrieve("id", {
-
client.ticketing.contacts.metaPostRetrieve() -> Merge.MetaResponse +
client.fileStorage.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -21042,7 +23126,7 @@ await client.ticketing.contacts.retrieve("id", {
-Returns metadata for `TicketingContact` POSTs. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -21057,7 +23141,7 @@ Returns metadata for `TicketingContact` POSTs.
```typescript -await client.ticketing.contacts.metaPostRetrieve(); +await client.fileStorage.scopes.linkedAccountScopesRetrieve(); ```
@@ -21073,7 +23157,7 @@ await client.ticketing.contacts.metaPostRetrieve();
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `ScopesClient.RequestOptions`
@@ -21085,8 +23169,7 @@ await client.ticketing.contacts.metaPostRetrieve();
-## Ticketing Scopes -
client.ticketing.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi +
client.fileStorage.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
@@ -21098,7 +23181,7 @@ await client.ticketing.contacts.metaPostRetrieve();
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -21113,7 +23196,30 @@ Get the default permissions for Merge Common Models and fields across all Linked
```typescript -await client.ticketing.scopes.defaultScopesRetrieve(); +await client.fileStorage.scopes.linkedAccountScopesCreate({ + commonModels: [{ + modelName: "Employee", + modelPermissions: { + "READ": { + isEnabled: true + }, + "WRITE": { + isEnabled: false + } + }, + fieldPermissions: { + enabledFields: ["avatar", "home_location"], + disabledFields: ["work_location"] + } + }, { + modelName: "Benefit", + modelPermissions: { + "WRITE": { + isEnabled: false + } + } + }] +}); ```
@@ -21129,6 +23235,14 @@ await client.ticketing.scopes.defaultScopesRetrieve();
+**request:** `Merge.fileStorage.LinkedAccountCommonModelScopeDeserializerRequest` + +
+
+ +
+
+ **requestOptions:** `ScopesClient.RequestOptions`
@@ -21141,7 +23255,8 @@ await client.ticketing.scopes.defaultScopesRetrieve();
-
client.ticketing.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi +## FileStorage DeleteAccount +
client.fileStorage.deleteAccount.delete() -> void
@@ -21153,7 +23268,7 @@ await client.ticketing.scopes.defaultScopesRetrieve();
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Delete a linked account.
@@ -21168,7 +23283,7 @@ Get all available permissions for Merge Common Models and fields for a single Li
```typescript -await client.ticketing.scopes.linkedAccountScopesRetrieve(); +await client.fileStorage.deleteAccount.delete(); ```
@@ -21184,7 +23299,7 @@ await client.ticketing.scopes.linkedAccountScopesRetrieve();
-**requestOptions:** `ScopesClient.RequestOptions` +**requestOptions:** `DeleteAccountClient.RequestOptions`
@@ -21196,7 +23311,8 @@ await client.ticketing.scopes.linkedAccountScopesRetrieve();
-
client.ticketing.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi +## FileStorage Drives +
client.fileStorage.drives.list({ ...params }) -> core.Page
@@ -21208,7 +23324,7 @@ await client.ticketing.scopes.linkedAccountScopesRetrieve();
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a list of `Drive` objects.
@@ -21223,30 +23339,43 @@ Update permissions for any Common Model or field for a single Linked Account. An
```typescript -await client.ticketing.scopes.linkedAccountScopesCreate({ - commonModels: [{ - modelName: "Employee", - modelPermissions: { - "READ": { - isEnabled: true - }, - "WRITE": { - isEnabled: false - } - }, - fieldPermissions: { - enabledFields: ["avatar", "home_location"], - disabledFields: ["work_location"] - } - }, { - modelName: "Benefit", - modelPermissions: { - "WRITE": { - isEnabled: false - } - } - }] +const pageableResponse = await client.fileStorage.drives.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.drives.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -21262,7 +23391,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-**request:** `Merge.ticketing.LinkedAccountCommonModelScopeDeserializerRequest` +**request:** `Merge.fileStorage.DrivesListRequest`
@@ -21270,7 +23399,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-**requestOptions:** `ScopesClient.RequestOptions` +**requestOptions:** `DrivesClient.RequestOptions`
@@ -21282,8 +23411,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-## Ticketing DeleteAccount -
client.ticketing.deleteAccount.delete() -> void +
client.fileStorage.drives.retrieve(id, { ...params }) -> Merge.Drive
@@ -21295,7 +23423,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-Delete a linked account. +Returns a `Drive` object with the given `id`.
@@ -21310,7 +23438,10 @@ Delete a linked account.
```typescript -await client.ticketing.deleteAccount.delete(); +await client.fileStorage.drives.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -21326,7 +23457,23 @@ await client.ticketing.deleteAccount.delete();
-**requestOptions:** `DeleteAccountClient.RequestOptions` +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.fileStorage.DrivesRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `DrivesClient.RequestOptions`
@@ -21338,8 +23485,8 @@ await client.ticketing.deleteAccount.delete();
-## Ticketing FieldMapping -
client.ticketing.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse +## FileStorage FieldMapping +
client.fileStorage.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
@@ -21366,7 +23513,7 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
```typescript -await client.ticketing.fieldMapping.fieldMappingsRetrieve({ +await client.fileStorage.fieldMapping.fieldMappingsRetrieve({ excludeRemoteFieldMetadata: true }); @@ -21384,7 +23531,7 @@ await client.ticketing.fieldMapping.fieldMappingsRetrieve({
-**request:** `Merge.ticketing.FieldMappingsRetrieveRequest` +**request:** `Merge.fileStorage.FieldMappingsRetrieveRequest`
@@ -21404,7 +23551,7 @@ await client.ticketing.fieldMapping.fieldMappingsRetrieve({
-
client.ticketing.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse +
client.fileStorage.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
@@ -21431,7 +23578,7 @@ Create new Field Mappings that will be available after the next scheduled sync.
```typescript -await client.ticketing.fieldMapping.fieldMappingsCreate({ +await client.fileStorage.fieldMapping.fieldMappingsCreate({ excludeRemoteFieldMetadata: true, targetFieldName: "example_target_field_name", targetFieldDescription: "this is a example description of the target field", @@ -21455,7 +23602,7 @@ await client.ticketing.fieldMapping.fieldMappingsCreate({
-**request:** `Merge.ticketing.CreateFieldMappingRequest` +**request:** `Merge.fileStorage.CreateFieldMappingRequest`
@@ -21475,7 +23622,7 @@ await client.ticketing.fieldMapping.fieldMappingsCreate({
-
client.ticketing.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse +
client.fileStorage.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
@@ -21502,7 +23649,7 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
```typescript -await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id"); +await client.fileStorage.fieldMapping.fieldMappingsDestroy("field_mapping_id"); ```
@@ -21538,7 +23685,7 @@ await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
client.ticketing.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse +
client.fileStorage.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
@@ -21565,7 +23712,7 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
```typescript -await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); +await client.fileStorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); ```
@@ -21589,7 +23736,7 @@ await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id
-**request:** `Merge.ticketing.PatchedEditFieldMappingRequest` +**request:** `Merge.fileStorage.PatchedEditFieldMappingRequest`
@@ -21609,7 +23756,7 @@ await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id
-
client.ticketing.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse +
client.fileStorage.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
@@ -21636,7 +23783,7 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
```typescript -await client.ticketing.fieldMapping.remoteFieldsRetrieve({ +await client.fileStorage.fieldMapping.remoteFieldsRetrieve({ commonModels: "common_models", includeExampleValues: "include_example_values" }); @@ -21655,7 +23802,7 @@ await client.ticketing.fieldMapping.remoteFieldsRetrieve({
-**request:** `Merge.ticketing.RemoteFieldsRetrieveRequest` +**request:** `Merge.fileStorage.RemoteFieldsRetrieveRequest`
@@ -21675,7 +23822,7 @@ await client.ticketing.fieldMapping.remoteFieldsRetrieve({
-
client.ticketing.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse +
client.fileStorage.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
@@ -21702,7 +23849,7 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
```typescript -await client.ticketing.fieldMapping.targetFieldsRetrieve(); +await client.fileStorage.fieldMapping.targetFieldsRetrieve(); ```
@@ -21730,8 +23877,8 @@ await client.ticketing.fieldMapping.targetFieldsRetrieve();
-## Ticketing GenerateKey -
client.ticketing.generateKey.create({ ...params }) -> Merge.RemoteKey +## FileStorage Files +
client.fileStorage.files.list({ ...params }) -> core.Page
@@ -21743,7 +23890,7 @@ await client.ticketing.fieldMapping.targetFieldsRetrieve();
-Create a remote key. +Returns a list of `File` objects.
@@ -21758,9 +23905,51 @@ Create a remote key.
```typescript -await client.ticketing.generateKey.create({ - name: "Remote Deployment Key 1" +const pageableResponse = await client.fileStorage.files.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + driveId: "drive_id", + folderId: "folder_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + mimeType: "mime_type", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + orderBy: "-created_at", + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.files.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + driveId: "drive_id", + folderId: "folder_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + mimeType: "mime_type", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + orderBy: "-created_at", + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -21776,7 +23965,7 @@ await client.ticketing.generateKey.create({
-**request:** `Merge.ticketing.GenerateRemoteKeyRequest` +**request:** `Merge.fileStorage.FilesListRequest`
@@ -21784,7 +23973,7 @@ await client.ticketing.generateKey.create({
-**requestOptions:** `GenerateKeyClient.RequestOptions` +**requestOptions:** `FilesClient.RequestOptions`
@@ -21796,8 +23985,7 @@ await client.ticketing.generateKey.create({
-## Ticketing Issues -
client.ticketing.issues.list({ ...params }) -> Merge.PaginatedIssueList +
client.fileStorage.files.create({ ...params }) -> Merge.FileStorageFileResponse
@@ -21809,7 +23997,7 @@ await client.ticketing.generateKey.create({
-Gets all issues for Organization. +Creates a `File` object with the given values.
@@ -21824,21 +24012,10 @@ Gets all issues for Organization.
```typescript -await client.ticketing.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING" +await client.fileStorage.files.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -21855,7 +24032,7 @@ await client.ticketing.issues.list({
-**request:** `Merge.ticketing.IssuesListRequest` +**request:** `Merge.fileStorage.FileStorageFileEndpointRequest`
@@ -21863,7 +24040,7 @@ await client.ticketing.issues.list({
-**requestOptions:** `IssuesClient.RequestOptions` +**requestOptions:** `FilesClient.RequestOptions`
@@ -21875,7 +24052,7 @@ await client.ticketing.issues.list({
-
client.ticketing.issues.retrieve(id) -> Merge.Issue +
client.fileStorage.files.retrieve(id, { ...params }) -> Merge.File_
@@ -21887,7 +24064,7 @@ await client.ticketing.issues.list({
-Get a specific issue. +Returns a `File` object with the given `id`.
@@ -21902,7 +24079,10 @@ Get a specific issue.
```typescript -await client.ticketing.issues.retrieve("id"); +await client.fileStorage.files.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -21926,76 +24106,15 @@ await client.ticketing.issues.retrieve("id");
-**requestOptions:** `IssuesClient.RequestOptions` +**request:** `Merge.fileStorage.FilesRetrieveRequest`
- -
- - - - -
-## Ticketing LinkToken -
client.ticketing.linkToken.create({ ...params }) -> Merge.LinkToken
-#### 📝 Description - -
-
- -
-
- -Creates a link token to be used when linking a new end user. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.ticketing.linkToken.create({ - endUserEmailAddress: "example@gmail.com", - endUserOrganizationName: "Test Organization", - endUserOriginId: "12345", - categories: ["hris", "ats"] -}); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.ticketing.EndUserDetailsRequest` - -
-
- -
-
- -**requestOptions:** `LinkTokenClient.RequestOptions` +**requestOptions:** `FilesClient.RequestOptions`
@@ -22007,8 +24126,7 @@ await client.ticketing.linkToken.create({
-## Ticketing LinkedAccounts -
client.ticketing.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList +
client.fileStorage.files.downloadRequestMetaRetrieve(id, { ...params }) -> Merge.DownloadRequestMeta
@@ -22020,7 +24138,7 @@ await client.ticketing.linkToken.create({
-List linked accounts for your organization. +Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party.
@@ -22035,20 +24153,8 @@ List linked accounts for your organization.
```typescript -await client.ticketing.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status" +await client.fileStorage.files.downloadRequestMetaRetrieve("id", { + mimeType: "mime_type" }); ``` @@ -22065,74 +24171,15 @@ await client.ticketing.linkedAccounts.list({
-**request:** `Merge.ticketing.LinkedAccountsListRequest` - -
-
- -
-
- -**requestOptions:** `LinkedAccountsClient.RequestOptions` +**id:** `string`
-
-
- - - - -
- -## Ticketing Passthrough -
client.ticketing.passthrough.create({ ...params }) -> Merge.RemoteResponse -
-
- -#### 📝 Description - -
-
- -
-
- -Pull data from an endpoint not currently supported by Merge. -
-
-
-
- -#### 🔌 Usage - -
-
-```typescript -await client.ticketing.passthrough.create({ - method: "GET", - path: "/scooters" -}); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.DataPassthroughRequest` +**request:** `Merge.fileStorage.FilesDownloadRequestMetaRetrieveRequest`
@@ -22140,7 +24187,7 @@ await client.ticketing.passthrough.create({
-**requestOptions:** `PassthroughClient.RequestOptions` +**requestOptions:** `FilesClient.RequestOptions`
@@ -22152,8 +24199,7 @@ await client.ticketing.passthrough.create({
-## Ticketing Projects -
client.ticketing.projects.list({ ...params }) -> Merge.PaginatedProjectList +
client.fileStorage.files.downloadRequestMetaList({ ...params }) -> core.Page
@@ -22165,7 +24211,7 @@ await client.ticketing.passthrough.create({
-Returns a list of `Project` objects. +Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.
@@ -22180,18 +24226,39 @@ Returns a list of `Project` objects.
```typescript -await client.ticketing.projects.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.fileStorage.files.downloadRequestMetaList({ + createdAfter: "created_after", + createdBefore: "created_before", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" + mimeTypes: "mime_types", + modifiedAfter: "modified_after", + modifiedBefore: "modified_before", + orderBy: "-created_at", + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.files.downloadRequestMetaList({ + createdAfter: "created_after", + createdBefore: "created_before", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + mimeTypes: "mime_types", + modifiedAfter: "modified_after", + modifiedBefore: "modified_before", + orderBy: "-created_at", + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -22207,7 +24274,7 @@ await client.ticketing.projects.list({
-**request:** `Merge.ticketing.ProjectsListRequest` +**request:** `Merge.fileStorage.FilesDownloadRequestMetaListRequest`
@@ -22215,7 +24282,7 @@ await client.ticketing.projects.list({
-**requestOptions:** `ProjectsClient.RequestOptions` +**requestOptions:** `FilesClient.RequestOptions`
@@ -22227,7 +24294,7 @@ await client.ticketing.projects.list({
-
client.ticketing.projects.retrieve(id, { ...params }) -> Merge.Project +
client.fileStorage.files.metaPostRetrieve() -> Merge.MetaResponse
@@ -22239,7 +24306,7 @@ await client.ticketing.projects.list({
-Returns a `Project` object with the given `id`. +Returns metadata for `FileStorageFile` POSTs.
@@ -22254,10 +24321,7 @@ Returns a `Project` object with the given `id`.
```typescript -await client.ticketing.projects.retrieve("id", { - includeRemoteData: true, - includeShellData: true -}); +await client.fileStorage.files.metaPostRetrieve(); ```
@@ -22273,23 +24337,7 @@ await client.ticketing.projects.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.ProjectsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `ProjectsClient.RequestOptions` +**requestOptions:** `FilesClient.RequestOptions`
@@ -22301,7 +24349,8 @@ await client.ticketing.projects.retrieve("id", {
-
client.ticketing.projects.usersList(parent_id, { ...params }) -> Merge.PaginatedUserList +## FileStorage Folders +
client.fileStorage.folders.list({ ...params }) -> core.Page
@@ -22313,7 +24362,7 @@ await client.ticketing.projects.retrieve("id", {
-Returns a list of `User` objects. +Returns a list of `Folder` objects.
@@ -22328,88 +24377,47 @@ Returns a list of `User` objects.
```typescript -await client.ticketing.projects.usersList("parent_id", { +const pageableResponse = await client.fileStorage.folders.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "roles", + driveId: "drive_id", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - pageSize: 1 + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentFolderId: "parent_folder_id", + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**parent_id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.ProjectsUsersListRequest` - -
-
- -
-
- -**requestOptions:** `ProjectsClient.RequestOptions` - -
-
-
-
- - - - -
- -## Ticketing RegenerateKey -
client.ticketing.regenerateKey.create({ ...params }) -> Merge.RemoteKey -
-
- -#### 📝 Description - -
-
- -
-
- -Exchange remote keys. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.ticketing.regenerateKey.create({ - name: "Remote Deployment Key 1" +// Or you can manually iterate page-by-page +let page = await client.fileStorage.folders.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + driveId: "drive_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentFolderId: "parent_folder_id", + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -22425,7 +24433,7 @@ await client.ticketing.regenerateKey.create({
-**request:** `Merge.ticketing.RemoteKeyForRegenerationRequest` +**request:** `Merge.fileStorage.FoldersListRequest`
@@ -22433,7 +24441,7 @@ await client.ticketing.regenerateKey.create({
-**requestOptions:** `RegenerateKeyClient.RequestOptions` +**requestOptions:** `FoldersClient.RequestOptions`
@@ -22445,8 +24453,7 @@ await client.ticketing.regenerateKey.create({
-## Ticketing Roles -
client.ticketing.roles.list({ ...params }) -> Merge.PaginatedRoleList +
client.fileStorage.folders.create({ ...params }) -> Merge.FileStorageFolderResponse
@@ -22458,7 +24465,7 @@ await client.ticketing.regenerateKey.create({
-Returns a list of `Role` objects. +Creates a `Folder` object with the given values.
@@ -22473,17 +24480,10 @@ Returns a list of `Role` objects.
```typescript -await client.ticketing.roles.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.fileStorage.folders.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -22500,7 +24500,7 @@ await client.ticketing.roles.list({
-**request:** `Merge.ticketing.RolesListRequest` +**request:** `Merge.fileStorage.FileStorageFolderEndpointRequest`
@@ -22508,7 +24508,7 @@ await client.ticketing.roles.list({
-**requestOptions:** `RolesClient.RequestOptions` +**requestOptions:** `FoldersClient.RequestOptions`
@@ -22520,7 +24520,7 @@ await client.ticketing.roles.list({
-
client.ticketing.roles.retrieve(id, { ...params }) -> Merge.Role +
client.fileStorage.folders.retrieve(id, { ...params }) -> Merge.Folder
@@ -22532,7 +24532,7 @@ await client.ticketing.roles.list({
-Returns a `Role` object with the given `id`. +Returns a `Folder` object with the given `id`.
@@ -22547,7 +24547,7 @@ Returns a `Role` object with the given `id`.
```typescript -await client.ticketing.roles.retrieve("id", { +await client.fileStorage.folders.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -22574,7 +24574,7 @@ await client.ticketing.roles.retrieve("id", {
-**request:** `Merge.ticketing.RolesRetrieveRequest` +**request:** `Merge.fileStorage.FoldersRetrieveRequest`
@@ -22582,7 +24582,7 @@ await client.ticketing.roles.retrieve("id", {
-**requestOptions:** `RolesClient.RequestOptions` +**requestOptions:** `FoldersClient.RequestOptions`
@@ -22594,8 +24594,7 @@ await client.ticketing.roles.retrieve("id", {
-## Ticketing SyncStatus -
client.ticketing.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList +
client.fileStorage.folders.metaPostRetrieve() -> Merge.MetaResponse
@@ -22607,7 +24606,7 @@ await client.ticketing.roles.retrieve("id", {
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns metadata for `FileStorageFolder` POSTs.
@@ -22622,10 +24621,7 @@ Get sync status for the current sync and the most recently finished sync. `last_
```typescript -await client.ticketing.syncStatus.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1 -}); +await client.fileStorage.folders.metaPostRetrieve(); ```
@@ -22641,15 +24637,7 @@ await client.ticketing.syncStatus.list({
-**request:** `Merge.ticketing.SyncStatusListRequest` - -
-
- -
-
- -**requestOptions:** `SyncStatusClient.RequestOptions` +**requestOptions:** `FoldersClient.RequestOptions`
@@ -22661,8 +24649,8 @@ await client.ticketing.syncStatus.list({
-## Ticketing ForceResync -
client.ticketing.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[] +## FileStorage GenerateKey +
client.fileStorage.generateKey.create({ ...params }) -> Merge.RemoteKey
@@ -22674,7 +24662,7 @@ await client.ticketing.syncStatus.list({
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Create a remote key.
@@ -22689,7 +24677,9 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
```typescript -await client.ticketing.forceResync.syncStatusResyncCreate(); +await client.fileStorage.generateKey.create({ + name: "Remote Deployment Key 1" +}); ```
@@ -22705,7 +24695,15 @@ await client.ticketing.forceResync.syncStatusResyncCreate();
-**requestOptions:** `ForceResyncClient.RequestOptions` +**request:** `Merge.fileStorage.GenerateRemoteKeyRequest` + +
+
+ +
+
+ +**requestOptions:** `GenerateKeyClient.RequestOptions`
@@ -22717,8 +24715,8 @@ await client.ticketing.forceResync.syncStatusResyncCreate();
-## Ticketing Tags -
client.ticketing.tags.list({ ...params }) -> Merge.PaginatedTagList +## FileStorage Groups +
client.fileStorage.groups.list({ ...params }) -> core.Page
@@ -22730,7 +24728,7 @@ await client.ticketing.forceResync.syncStatusResyncCreate();
-Returns a list of `Tag` objects. +Returns a list of `Group` objects.
@@ -22745,7 +24743,24 @@ Returns a list of `Tag` objects.
```typescript -await client.ticketing.tags.list({ +const pageableResponse = await client.fileStorage.groups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.groups.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -22757,6 +24772,12 @@ await client.ticketing.tags.list({ pageSize: 1, remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -22772,7 +24793,7 @@ await client.ticketing.tags.list({
-**request:** `Merge.ticketing.TagsListRequest` +**request:** `Merge.fileStorage.GroupsListRequest`
@@ -22780,7 +24801,7 @@ await client.ticketing.tags.list({
-**requestOptions:** `TagsClient.RequestOptions` +**requestOptions:** `GroupsClient.RequestOptions`
@@ -22792,7 +24813,7 @@ await client.ticketing.tags.list({
-
client.ticketing.tags.retrieve(id, { ...params }) -> Merge.Tag +
client.fileStorage.groups.retrieve(id, { ...params }) -> Merge.Group
@@ -22804,7 +24825,7 @@ await client.ticketing.tags.list({
-Returns a `Tag` object with the given `id`. +Returns a `Group` object with the given `id`.
@@ -22819,7 +24840,7 @@ Returns a `Tag` object with the given `id`.
```typescript -await client.ticketing.tags.retrieve("id", { +await client.fileStorage.groups.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -22846,7 +24867,7 @@ await client.ticketing.tags.retrieve("id", {
-**request:** `Merge.ticketing.TagsRetrieveRequest` +**request:** `Merge.fileStorage.GroupsRetrieveRequest`
@@ -22854,7 +24875,7 @@ await client.ticketing.tags.retrieve("id", {
-**requestOptions:** `TagsClient.RequestOptions` +**requestOptions:** `GroupsClient.RequestOptions`
@@ -22866,8 +24887,8 @@ await client.ticketing.tags.retrieve("id", {
-## Ticketing Teams -
client.ticketing.teams.list({ ...params }) -> Merge.PaginatedTeamList +## FileStorage Issues +
client.fileStorage.issues.list({ ...params }) -> core.Page
@@ -22879,7 +24900,7 @@ await client.ticketing.tags.retrieve("id", {
-Returns a list of `Team` objects. +Gets all issues for Organization.
@@ -22894,18 +24915,49 @@ Returns a list of `Team` objects.
```typescript -await client.ticketing.teams.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.fileStorage.issues.list({ + accountToken: "account_token", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", pageSize: 1, - remoteId: "remote_id" + startDate: "start_date", + status: "ONGOING" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -22921,7 +24973,7 @@ await client.ticketing.teams.list({
-**request:** `Merge.ticketing.TeamsListRequest` +**request:** `Merge.fileStorage.IssuesListRequest`
@@ -22929,7 +24981,7 @@ await client.ticketing.teams.list({
-**requestOptions:** `TeamsClient.RequestOptions` +**requestOptions:** `IssuesClient.RequestOptions`
@@ -22941,7 +24993,7 @@ await client.ticketing.teams.list({
-
client.ticketing.teams.retrieve(id, { ...params }) -> Merge.Team +
client.fileStorage.issues.retrieve(id) -> Merge.Issue
@@ -22953,7 +25005,7 @@ await client.ticketing.teams.list({
-Returns a `Team` object with the given `id`. +Get a specific issue.
@@ -22968,10 +25020,7 @@ Returns a `Team` object with the given `id`.
```typescript -await client.ticketing.teams.retrieve("id", { - includeRemoteData: true, - includeShellData: true -}); +await client.fileStorage.issues.retrieve("id"); ```
@@ -22995,15 +25044,7 @@ await client.ticketing.teams.retrieve("id", {
-**request:** `Merge.ticketing.TeamsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `TeamsClient.RequestOptions` +**requestOptions:** `IssuesClient.RequestOptions`
@@ -23015,8 +25056,8 @@ await client.ticketing.teams.retrieve("id", {
-## Ticketing Tickets -
client.ticketing.tickets.list({ ...params }) -> Merge.PaginatedTicketList +## FileStorage LinkToken +
client.fileStorage.linkToken.create({ ...params }) -> Merge.LinkToken
@@ -23028,7 +25069,7 @@ await client.ticketing.teams.retrieve("id", {
-Returns a list of `Ticket` objects. +Creates a link token to be used when linking a new end user.
@@ -23043,42 +25084,11 @@ Returns a list of `Ticket` objects.
```typescript -await client.ticketing.tickets.list({ - accountId: "account_id", - assigneeIds: "assignee_ids", - collectionIds: "collection_ids", - completedAfter: new Date("2024-01-15T09:30:00.000Z"), - completedBefore: new Date("2024-01-15T09:30:00.000Z"), - contactId: "contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - creatorId: "creator_id", - creatorIds: "creator_ids", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - dueAfter: new Date("2024-01-15T09:30:00.000Z"), - dueBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - parentTicketId: "parent_ticket_id", - priority: "HIGH", - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), - remoteFields: "priority", - remoteId: "remote_id", - remoteUpdatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteUpdatedBefore: new Date("2024-01-15T09:30:00.000Z"), - showEnumOrigins: "priority", - status: "", - tags: "tags", - ticketType: "ticket_type", - ticketUrl: "ticket_url" +await client.fileStorage.linkToken.create({ + endUserEmailAddress: "example@gmail.com", + endUserOrganizationName: "Test Organization", + endUserOriginId: "12345", + categories: ["hris", "ats"] }); ``` @@ -23095,7 +25105,7 @@ await client.ticketing.tickets.list({
-**request:** `Merge.ticketing.TicketsListRequest` +**request:** `Merge.fileStorage.EndUserDetailsRequest`
@@ -23103,7 +25113,7 @@ await client.ticketing.tickets.list({
-**requestOptions:** `TicketsClient.RequestOptions` +**requestOptions:** `LinkTokenClient.RequestOptions`
@@ -23115,7 +25125,8 @@ await client.ticketing.tickets.list({
-
client.ticketing.tickets.create({ ...params }) -> Merge.TicketResponse +## FileStorage LinkedAccounts +
client.fileStorage.linkedAccounts.list({ ...params }) -> core.Page
@@ -23127,7 +25138,7 @@ await client.ticketing.tickets.list({
-Creates a `Ticket` object with the given values. +List linked accounts for your organization.
@@ -23142,11 +25153,47 @@ Creates a `Ticket` object with the given values.
```typescript -await client.ticketing.tickets.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.fileStorage.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -23162,7 +25209,7 @@ await client.ticketing.tickets.create({
-**request:** `Merge.ticketing.TicketEndpointRequest` +**request:** `Merge.fileStorage.LinkedAccountsListRequest`
@@ -23170,7 +25217,7 @@ await client.ticketing.tickets.create({
-**requestOptions:** `TicketsClient.RequestOptions` +**requestOptions:** `LinkedAccountsClient.RequestOptions`
@@ -23182,7 +25229,8 @@ await client.ticketing.tickets.create({
-
client.ticketing.tickets.retrieve(id, { ...params }) -> Merge.Ticket +## FileStorage Passthrough +
client.fileStorage.passthrough.create({ ...params }) -> Merge.RemoteResponse
@@ -23194,7 +25242,7 @@ await client.ticketing.tickets.create({
-Returns a `Ticket` object with the given `id`. +Pull data from an endpoint not currently supported by Merge.
@@ -23209,13 +25257,9 @@ Returns a `Ticket` object with the given `id`.
```typescript -await client.ticketing.tickets.retrieve("id", { - expand: "account", - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - remoteFields: "priority", - showEnumOrigins: "priority" +await client.fileStorage.passthrough.create({ + method: "GET", + path: "/scooters" }); ``` @@ -23232,15 +25276,7 @@ await client.ticketing.tickets.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.TicketsRetrieveRequest` +**request:** `Merge.DataPassthroughRequest`
@@ -23248,7 +25284,7 @@ await client.ticketing.tickets.retrieve("id", {
-**requestOptions:** `TicketsClient.RequestOptions` +**requestOptions:** `PassthroughClient.RequestOptions`
@@ -23260,7 +25296,8 @@ await client.ticketing.tickets.retrieve("id", {
-
client.ticketing.tickets.partialUpdate(id, { ...params }) -> Merge.TicketResponse +## FileStorage RegenerateKey +
client.fileStorage.regenerateKey.create({ ...params }) -> Merge.RemoteKey
@@ -23272,7 +25309,7 @@ await client.ticketing.tickets.retrieve("id", {
-Updates a `Ticket` object with the given `id`. +Exchange remote keys.
@@ -23287,10 +25324,8 @@ Updates a `Ticket` object with the given `id`.
```typescript -await client.ticketing.tickets.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} +await client.fileStorage.regenerateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -23307,7 +25342,7 @@ await client.ticketing.tickets.partialUpdate("id", {
-**id:** `string` +**request:** `Merge.fileStorage.RemoteKeyForRegenerationRequest`
@@ -23315,15 +25350,7 @@ await client.ticketing.tickets.partialUpdate("id", {
-**request:** `Merge.ticketing.PatchedTicketEndpointRequest` - -
-
- -
-
- -**requestOptions:** `TicketsClient.RequestOptions` +**requestOptions:** `RegenerateKeyClient.RequestOptions`
@@ -23335,7 +25362,8 @@ await client.ticketing.tickets.partialUpdate("id", {
-
client.ticketing.tickets.viewersList(ticket_id, { ...params }) -> Merge.PaginatedViewerList +## FileStorage SyncStatus +
client.fileStorage.syncStatus.list({ ...params }) -> core.Page
@@ -23347,7 +25375,7 @@ await client.ticketing.tickets.partialUpdate("id", {
-Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -23362,14 +25390,25 @@ Returns a list of `Viewer` objects that point to a User id or Team id that is ei
```typescript -await client.ticketing.tickets.viewersList("ticket_id", { +const pageableResponse = await client.fileStorage.syncStatus.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "team", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -23385,7 +25424,7 @@ await client.ticketing.tickets.viewersList("ticket_id", {
-**ticket_id:** `string` +**request:** `Merge.fileStorage.SyncStatusListRequest`
@@ -23393,15 +25432,63 @@ await client.ticketing.tickets.viewersList("ticket_id", {
-**request:** `Merge.ticketing.TicketsViewersListRequest` +**requestOptions:** `SyncStatusClient.RequestOptions`
+ +
+ + + +
+ +## FileStorage ForceResync +
client.fileStorage.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
-**requestOptions:** `TicketsClient.RequestOptions` +#### 📝 Description + +
+
+ +
+
+ +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.fileStorage.forceResync.syncStatusResyncCreate(); + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `ForceResyncClient.RequestOptions`
@@ -23413,7 +25500,8 @@ await client.ticketing.tickets.viewersList("ticket_id", {
-
client.ticketing.tickets.metaPatchRetrieve(id) -> Merge.MetaResponse +## FileStorage Users +
client.fileStorage.users.list({ ...params }) -> core.Page
@@ -23425,7 +25513,7 @@ await client.ticketing.tickets.viewersList("ticket_id", {
-Returns metadata for `Ticket` PATCHs. +Returns a list of `User` objects.
@@ -23440,7 +25528,43 @@ Returns metadata for `Ticket` PATCHs.
```typescript -await client.ticketing.tickets.metaPatchRetrieve("id"); +const pageableResponse = await client.fileStorage.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isMe: "is_me", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.fileStorage.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isMe: "is_me", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -23456,7 +25580,7 @@ await client.ticketing.tickets.metaPatchRetrieve("id");
-**id:** `string` +**request:** `Merge.fileStorage.UsersListRequest`
@@ -23464,7 +25588,7 @@ await client.ticketing.tickets.metaPatchRetrieve("id");
-**requestOptions:** `TicketsClient.RequestOptions` +**requestOptions:** `UsersClient.RequestOptions`
@@ -23476,7 +25600,7 @@ await client.ticketing.tickets.metaPatchRetrieve("id");
-
client.ticketing.tickets.metaPostRetrieve({ ...params }) -> Merge.MetaResponse +
client.fileStorage.users.retrieve(id, { ...params }) -> Merge.User
@@ -23488,7 +25612,7 @@ await client.ticketing.tickets.metaPatchRetrieve("id");
-Returns metadata for `Ticket` POSTs. +Returns a `User` object with the given `id`.
@@ -23503,9 +25627,9 @@ Returns metadata for `Ticket` POSTs.
```typescript -await client.ticketing.tickets.metaPostRetrieve({ - collectionId: "collection_id", - ticketType: "ticket_type" +await client.fileStorage.users.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -23522,7 +25646,7 @@ await client.ticketing.tickets.metaPostRetrieve({
-**request:** `Merge.ticketing.TicketsMetaPostRetrieveRequest` +**id:** `string`
@@ -23530,7 +25654,15 @@ await client.ticketing.tickets.metaPostRetrieve({
-**requestOptions:** `TicketsClient.RequestOptions` +**request:** `Merge.fileStorage.UsersRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `UsersClient.RequestOptions`
@@ -23542,7 +25674,8 @@ await client.ticketing.tickets.metaPostRetrieve({
-
client.ticketing.tickets.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## FileStorage WebhookReceivers +
client.fileStorage.webhookReceivers.list() -> Merge.WebhookReceiver[]
@@ -23554,7 +25687,7 @@ await client.ticketing.tickets.metaPostRetrieve({
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `WebhookReceiver` objects.
@@ -23569,16 +25702,7 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.ticketing.tickets.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ids: "ids", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 -}); +await client.fileStorage.webhookReceivers.list(); ```
@@ -23594,15 +25718,7 @@ await client.ticketing.tickets.remoteFieldClassesList({
-**request:** `Merge.ticketing.TicketsRemoteFieldClassesListRequest` - -
-
- -
-
- -**requestOptions:** `TicketsClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -23614,8 +25730,7 @@ await client.ticketing.tickets.remoteFieldClassesList({
-## Ticketing Users -
client.ticketing.users.list({ ...params }) -> Merge.PaginatedUserList +
client.fileStorage.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
@@ -23627,7 +25742,7 @@ await client.ticketing.tickets.remoteFieldClassesList({
-Returns a list of `User` objects. +Creates a `WebhookReceiver` object with the given values.
@@ -23642,20 +25757,9 @@ Returns a list of `User` objects.
```typescript -await client.ticketing.users.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddress: "email_address", - expand: "roles", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - team: "team" +await client.fileStorage.webhookReceivers.create({ + event: "event", + isActive: true }); ``` @@ -23672,7 +25776,7 @@ await client.ticketing.users.list({
-**request:** `Merge.ticketing.UsersListRequest` +**request:** `Merge.fileStorage.WebhookReceiverRequest`
@@ -23680,7 +25784,7 @@ await client.ticketing.users.list({
-**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -23692,7 +25796,8 @@ await client.ticketing.users.list({
-
client.ticketing.users.retrieve(id, { ...params }) -> Merge.User +## Hris AccountDetails +
client.hris.accountDetails.retrieve() -> Merge.AccountDetails
@@ -23704,7 +25809,7 @@ await client.ticketing.users.list({
-Returns a `User` object with the given `id`. +Get details for a linked account.
@@ -23719,11 +25824,7 @@ Returns a `User` object with the given `id`.
```typescript -await client.ticketing.users.retrieve("id", { - expand: "roles", - includeRemoteData: true, - includeShellData: true -}); +await client.hris.accountDetails.retrieve(); ```
@@ -23739,23 +25840,7 @@ await client.ticketing.users.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.ticketing.UsersRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `UsersClient.RequestOptions` +**requestOptions:** `AccountDetailsClient.RequestOptions`
@@ -23767,8 +25852,8 @@ await client.ticketing.users.retrieve("id", {
-## Ticketing WebhookReceivers -
client.ticketing.webhookReceivers.list() -> Merge.WebhookReceiver[] +## Hris AccountToken +
client.hris.accountToken.retrieve(public_token) -> Merge.AccountToken
@@ -23780,7 +25865,7 @@ await client.ticketing.users.retrieve("id", {
-Returns a list of `WebhookReceiver` objects. +Returns the account token for the end user with the provided public token.
@@ -23795,7 +25880,7 @@ Returns a list of `WebhookReceiver` objects.
```typescript -await client.ticketing.webhookReceivers.list(); +await client.hris.accountToken.retrieve("public_token"); ```
@@ -23811,7 +25896,15 @@ await client.ticketing.webhookReceivers.list();
-**requestOptions:** `WebhookReceiversClient.RequestOptions` +**public_token:** `string` + +
+
+ +
+
+ +**requestOptions:** `AccountTokenClient.RequestOptions`
@@ -23823,7 +25916,8 @@ await client.ticketing.webhookReceivers.list();
-
client.ticketing.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver +## Hris AsyncPassthrough +
client.hris.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
@@ -23835,7 +25929,7 @@ await client.ticketing.webhookReceivers.list();
-Creates a `WebhookReceiver` object with the given values. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -23850,9 +25944,9 @@ Creates a `WebhookReceiver` object with the given values.
```typescript -await client.ticketing.webhookReceivers.create({ - event: "event", - isActive: true +await client.hris.asyncPassthrough.create({ + method: "GET", + path: "/scooters" }); ``` @@ -23869,7 +25963,7 @@ await client.ticketing.webhookReceivers.create({
-**request:** `Merge.ticketing.WebhookReceiverRequest` +**request:** `Merge.DataPassthroughRequest`
@@ -23877,7 +25971,7 @@ await client.ticketing.webhookReceivers.create({
-**requestOptions:** `WebhookReceiversClient.RequestOptions` +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -23889,8 +25983,7 @@ await client.ticketing.webhookReceivers.create({
-## Accounting AccountDetails -
client.accounting.accountDetails.retrieve() -> Merge.AccountDetails +
client.hris.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
@@ -23902,7 +25995,7 @@ await client.ticketing.webhookReceivers.create({
-Get details for a linked account. +Retrieves data from earlier async-passthrough POST request
@@ -23917,7 +26010,7 @@ Get details for a linked account.
```typescript -await client.accounting.accountDetails.retrieve(); +await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id"); ```
@@ -23933,7 +26026,15 @@ await client.accounting.accountDetails.retrieve();
-**requestOptions:** `AccountDetailsClient.RequestOptions` +**async_passthrough_receipt_id:** `string` + +
+
+ +
+
+ +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -23945,8 +26046,8 @@ await client.accounting.accountDetails.retrieve();
-## Accounting AccountToken -
client.accounting.accountToken.retrieve(public_token) -> Merge.AccountToken +## Hris AuditTrail +
client.hris.auditTrail.list({ ...params }) -> core.Page
@@ -23958,7 +26059,7 @@ await client.accounting.accountDetails.retrieve();
-Returns the account token for the end user with the provided public token. +Gets a list of audit trail events.
@@ -23973,7 +26074,33 @@ Returns the account token for the end user with the provided public token.
```typescript -await client.accounting.accountToken.retrieve("public_token"); +const pageableResponse = await client.hris.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -23989,7 +26116,7 @@ await client.accounting.accountToken.retrieve("public_token");
-**public_token:** `string` +**request:** `Merge.hris.AuditTrailListRequest`
@@ -23997,7 +26124,7 @@ await client.accounting.accountToken.retrieve("public_token");
-**requestOptions:** `AccountTokenClient.RequestOptions` +**requestOptions:** `AuditTrailClient.RequestOptions`
@@ -24009,8 +26136,8 @@ await client.accounting.accountToken.retrieve("public_token");
-## Accounting AccountingPeriods -
client.accounting.accountingPeriods.list({ ...params }) -> Merge.PaginatedAccountingPeriodList +## Hris AvailableActions +
client.hris.availableActions.retrieve() -> Merge.AvailableActions
@@ -24022,7 +26149,7 @@ await client.accounting.accountToken.retrieve("public_token");
-Returns a list of `AccountingPeriod` objects. +Returns a list of models and actions available for an account.
@@ -24037,13 +26164,7 @@ Returns a list of `AccountingPeriod` objects.
```typescript -await client.accounting.accountingPeriods.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1 -}); +await client.hris.availableActions.retrieve(); ```
@@ -24059,15 +26180,7 @@ await client.accounting.accountingPeriods.list({
-**request:** `Merge.accounting.AccountingPeriodsListRequest` - -
-
- -
-
- -**requestOptions:** `AccountingPeriodsClient.RequestOptions` +**requestOptions:** `AvailableActionsClient.RequestOptions`
@@ -24079,7 +26192,8 @@ await client.accounting.accountingPeriods.list({
-
client.accounting.accountingPeriods.retrieve(id, { ...params }) -> Merge.AccountingPeriod +## Hris BankInfo +
client.hris.bankInfo.list({ ...params }) -> core.Page
@@ -24091,7 +26205,7 @@ await client.accounting.accountingPeriods.list({
-Returns an `AccountingPeriod` object with the given `id`. +Returns a list of `BankInfo` objects.
@@ -24106,10 +26220,53 @@ Returns an `AccountingPeriod` object with the given `id`.
```typescript -await client.accounting.accountingPeriods.retrieve("id", { +const pageableResponse = await client.hris.bankInfo.list({ + accountType: "CHECKING", + bankName: "bank_name", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, includeRemoteData: true, - includeShellData: true + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-remote_created_at", + pageSize: 1, + remoteFields: "account_type", + remoteId: "remote_id", + showEnumOrigins: "account_type" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.bankInfo.list({ + accountType: "CHECKING", + bankName: "bank_name", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-remote_created_at", + pageSize: 1, + remoteFields: "account_type", + remoteId: "remote_id", + showEnumOrigins: "account_type" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -24125,15 +26282,7 @@ await client.accounting.accountingPeriods.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.AccountingPeriodsRetrieveRequest` +**request:** `Merge.hris.BankInfoListRequest`
@@ -24141,7 +26290,7 @@ await client.accounting.accountingPeriods.retrieve("id", {
-**requestOptions:** `AccountingPeriodsClient.RequestOptions` +**requestOptions:** `BankInfoClient.RequestOptions`
@@ -24153,8 +26302,7 @@ await client.accounting.accountingPeriods.retrieve("id", {
-## Accounting Accounts -
client.accounting.accounts.list({ ...params }) -> Merge.PaginatedAccountList +
client.hris.bankInfo.retrieve(id, { ...params }) -> Merge.BankInfo
@@ -24166,7 +26314,7 @@ await client.accounting.accountingPeriods.retrieve("id", {
-Returns a list of `Account` objects. +Returns a `BankInfo` object with the given `id`.
@@ -24181,25 +26329,11 @@ Returns a list of `Account` objects.
```typescript -await client.accounting.accounts.list({ - accountType: "account_type", - classification: "", - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, +await client.hris.bankInfo.retrieve("id", { includeRemoteData: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteFields: "classification", - remoteId: "remote_id", - showEnumOrigins: "classification", - status: "" + remoteFields: "account_type", + showEnumOrigins: "account_type" }); ``` @@ -24216,7 +26350,7 @@ await client.accounting.accounts.list({
-**request:** `Merge.accounting.AccountsListRequest` +**id:** `string`
@@ -24224,7 +26358,15 @@ await client.accounting.accounts.list({
-**requestOptions:** `AccountsClient.RequestOptions` +**request:** `Merge.hris.BankInfoRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `BankInfoClient.RequestOptions`
@@ -24236,7 +26378,8 @@ await client.accounting.accounts.list({
-
client.accounting.accounts.create({ ...params }) -> Merge.AccountResponse +## Hris Benefits +
client.hris.benefits.list({ ...params }) -> core.Page
@@ -24248,7 +26391,7 @@ await client.accounting.accounts.list({
-Creates an `Account` object with the given values. +Returns a list of `Benefit` objects.
@@ -24263,11 +26406,43 @@ Creates an `Account` object with the given values.
```typescript -await client.accounting.accounts.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.hris.benefits.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.benefits.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -24283,7 +26458,7 @@ await client.accounting.accounts.create({
-**request:** `Merge.accounting.AccountEndpointRequest` +**request:** `Merge.hris.BenefitsListRequest`
@@ -24291,7 +26466,7 @@ await client.accounting.accounts.create({
-**requestOptions:** `AccountsClient.RequestOptions` +**requestOptions:** `BenefitsClient.RequestOptions`
@@ -24303,7 +26478,7 @@ await client.accounting.accounts.create({
-
client.accounting.accounts.retrieve(id, { ...params }) -> Merge.Account +
client.hris.benefits.retrieve(id, { ...params }) -> Merge.Benefit
@@ -24315,7 +26490,7 @@ await client.accounting.accounts.create({
-Returns an `Account` object with the given `id`. +Returns a `Benefit` object with the given `id`.
@@ -24330,12 +26505,9 @@ Returns an `Account` object with the given `id`.
```typescript -await client.accounting.accounts.retrieve("id", { - expand: "company", +await client.hris.benefits.retrieve("id", { includeRemoteData: true, - includeShellData: true, - remoteFields: "classification", - showEnumOrigins: "classification" + includeShellData: true }); ``` @@ -24360,7 +26532,7 @@ await client.accounting.accounts.retrieve("id", {
-**request:** `Merge.accounting.AccountsRetrieveRequest` +**request:** `Merge.hris.BenefitsRetrieveRequest`
@@ -24368,7 +26540,7 @@ await client.accounting.accounts.retrieve("id", {
-**requestOptions:** `AccountsClient.RequestOptions` +**requestOptions:** `BenefitsClient.RequestOptions`
@@ -24380,7 +26552,8 @@ await client.accounting.accounts.retrieve("id", {
-
client.accounting.accounts.metaPostRetrieve() -> Merge.MetaResponse +## Hris Companies +
client.hris.companies.list({ ...params }) -> core.Page
@@ -24392,7 +26565,7 @@ await client.accounting.accounts.retrieve("id", {
-Returns metadata for `Account` POSTs. +Returns a list of `Company` objects.
@@ -24407,7 +26580,41 @@ Returns metadata for `Account` POSTs.
```typescript -await client.accounting.accounts.metaPostRetrieve(); +const pageableResponse = await client.hris.companies.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.companies.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -24423,7 +26630,15 @@ await client.accounting.accounts.metaPostRetrieve();
-**requestOptions:** `AccountsClient.RequestOptions` +**request:** `Merge.hris.CompaniesListRequest` + +
+
+ +
+
+ +**requestOptions:** `CompaniesClient.RequestOptions`
@@ -24435,8 +26650,7 @@ await client.accounting.accounts.metaPostRetrieve();
-## Accounting Addresses -
client.accounting.addresses.retrieve(id, { ...params }) -> Merge.Address +
client.hris.companies.retrieve(id, { ...params }) -> Merge.Company
@@ -24448,7 +26662,7 @@ await client.accounting.accounts.metaPostRetrieve();
-Returns an `Address` object with the given `id`. +Returns a `Company` object with the given `id`.
@@ -24463,11 +26677,9 @@ Returns an `Address` object with the given `id`.
```typescript -await client.accounting.addresses.retrieve("id", { +await client.hris.companies.retrieve("id", { includeRemoteData: true, - includeShellData: true, - remoteFields: "type", - showEnumOrigins: "type" + includeShellData: true }); ``` @@ -24492,7 +26704,7 @@ await client.accounting.addresses.retrieve("id", {
-**request:** `Merge.accounting.AddressesRetrieveRequest` +**request:** `Merge.hris.CompaniesRetrieveRequest`
@@ -24500,7 +26712,7 @@ await client.accounting.addresses.retrieve("id", {
-**requestOptions:** `AddressesClient.RequestOptions` +**requestOptions:** `CompaniesClient.RequestOptions`
@@ -24512,8 +26724,8 @@ await client.accounting.addresses.retrieve("id", {
-## Accounting AsyncPassthrough -
client.accounting.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept +## Hris Scopes +
client.hris.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -24525,7 +26737,7 @@ await client.accounting.addresses.retrieve("id", {
-Asynchronously pull data from an endpoint not currently supported by Merge. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -24540,10 +26752,7 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
```typescript -await client.accounting.asyncPassthrough.create({ - method: "GET", - path: "/scooters" -}); +await client.hris.scopes.defaultScopesRetrieve(); ```
@@ -24559,15 +26768,7 @@ await client.accounting.asyncPassthrough.create({
-**request:** `Merge.DataPassthroughRequest` - -
-
- -
-
- -**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `ScopesClient.RequestOptions`
@@ -24579,7 +26780,7 @@ await client.accounting.asyncPassthrough.create({
-
client.accounting.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse +
client.hris.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -24591,7 +26792,7 @@ await client.accounting.asyncPassthrough.create({
-Retrieves data from earlier async-passthrough POST request +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -24606,7 +26807,7 @@ Retrieves data from earlier async-passthrough POST request
```typescript -await client.accounting.asyncPassthrough.retrieve("async_passthrough_receipt_id"); +await client.hris.scopes.linkedAccountScopesRetrieve(); ```
@@ -24622,15 +26823,7 @@ await client.accounting.asyncPassthrough.retrieve("async_passthrough_receipt_id"
-**async_passthrough_receipt_id:** `string` - -
-
- -
-
- -**requestOptions:** `AsyncPassthroughClient.RequestOptions` +**requestOptions:** `ScopesClient.RequestOptions`
@@ -24642,8 +26835,7 @@ await client.accounting.asyncPassthrough.retrieve("async_passthrough_receipt_id"
-## Accounting AsyncTasks -
client.accounting.asyncTasks.retrieve(id) -> Merge.AsyncPostTask +
client.hris.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
@@ -24655,7 +26847,7 @@ await client.accounting.asyncPassthrough.retrieve("async_passthrough_receipt_id"
-Returns an `AsyncPostTask` object with the given `id`. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -24670,7 +26862,30 @@ Returns an `AsyncPostTask` object with the given `id`.
```typescript -await client.accounting.asyncTasks.retrieve("id"); +await client.hris.scopes.linkedAccountScopesCreate({ + commonModels: [{ + modelName: "Employee", + modelPermissions: { + "READ": { + isEnabled: true + }, + "WRITE": { + isEnabled: false + } + }, + fieldPermissions: { + enabledFields: ["avatar", "home_location"], + disabledFields: ["work_location"] + } + }, { + modelName: "Benefit", + modelPermissions: { + "WRITE": { + isEnabled: false + } + } + }] +}); ```
@@ -24686,7 +26901,7 @@ await client.accounting.asyncTasks.retrieve("id");
-**id:** `string` +**request:** `Merge.hris.LinkedAccountCommonModelScopeDeserializerRequest`
@@ -24694,7 +26909,7 @@ await client.accounting.asyncTasks.retrieve("id");
-**requestOptions:** `AsyncTasksClient.RequestOptions` +**requestOptions:** `ScopesClient.RequestOptions`
@@ -24706,8 +26921,8 @@ await client.accounting.asyncTasks.retrieve("id");
-## Accounting Attachments -
client.accounting.attachments.list({ ...params }) -> Merge.PaginatedAccountingAttachmentList +## Hris DeleteAccount +
client.hris.deleteAccount.delete() -> void
@@ -24719,7 +26934,7 @@ await client.accounting.asyncTasks.retrieve("id");
-Returns a list of `AccountingAttachment` objects. +Delete a linked account.
@@ -24734,19 +26949,7 @@ Returns a list of `AccountingAttachment` objects.
```typescript -await client.accounting.attachments.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" -}); +await client.hris.deleteAccount.delete(); ```
@@ -24762,15 +26965,7 @@ await client.accounting.attachments.list({
-**request:** `Merge.accounting.AttachmentsListRequest` - -
-
- -
-
- -**requestOptions:** `AttachmentsClient.RequestOptions` +**requestOptions:** `DeleteAccountClient.RequestOptions`
@@ -24782,7 +26977,8 @@ await client.accounting.attachments.list({
-
client.accounting.attachments.create({ ...params }) -> Merge.AccountingAttachmentResponse +## Hris Dependents +
client.hris.dependents.list({ ...params }) -> core.Page
@@ -24794,7 +26990,7 @@ await client.accounting.attachments.list({
-Creates an `AccountingAttachment` object with the given values. +Returns a list of `Dependent` objects.
@@ -24809,11 +27005,43 @@ Creates an `AccountingAttachment` object with the given values.
```typescript -await client.accounting.attachments.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.hris.dependents.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeSensitiveFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.dependents.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeSensitiveFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -24829,7 +27057,7 @@ await client.accounting.attachments.create({
-**request:** `Merge.accounting.AccountingAttachmentEndpointRequest` +**request:** `Merge.hris.DependentsListRequest`
@@ -24837,7 +27065,7 @@ await client.accounting.attachments.create({
-**requestOptions:** `AttachmentsClient.RequestOptions` +**requestOptions:** `DependentsClient.RequestOptions`
@@ -24849,7 +27077,7 @@ await client.accounting.attachments.create({
-
client.accounting.attachments.retrieve(id, { ...params }) -> Merge.AccountingAttachment +
client.hris.dependents.retrieve(id, { ...params }) -> Merge.Dependent
@@ -24861,7 +27089,7 @@ await client.accounting.attachments.create({
-Returns an `AccountingAttachment` object with the given `id`. +Returns a `Dependent` object with the given `id`.
@@ -24876,8 +27104,9 @@ Returns an `AccountingAttachment` object with the given `id`.
```typescript -await client.accounting.attachments.retrieve("id", { +await client.hris.dependents.retrieve("id", { includeRemoteData: true, + includeSensitiveFields: true, includeShellData: true }); @@ -24903,7 +27132,7 @@ await client.accounting.attachments.retrieve("id", {
-**request:** `Merge.accounting.AttachmentsRetrieveRequest` +**request:** `Merge.hris.DependentsRetrieveRequest`
@@ -24911,7 +27140,7 @@ await client.accounting.attachments.retrieve("id", {
-**requestOptions:** `AttachmentsClient.RequestOptions` +**requestOptions:** `DependentsClient.RequestOptions`
@@ -24923,7 +27152,8 @@ await client.accounting.attachments.retrieve("id", {
-
client.accounting.attachments.metaPostRetrieve() -> Merge.MetaResponse +## Hris EmployeePayrollRuns +
client.hris.employeePayrollRuns.list({ ...params }) -> core.Page
@@ -24935,7 +27165,7 @@ await client.accounting.attachments.retrieve("id", {
-Returns metadata for `AccountingAttachment` POSTs. +Returns a list of `EmployeePayrollRun` objects.
@@ -24950,7 +27180,53 @@ Returns metadata for `AccountingAttachment` POSTs.
```typescript -await client.accounting.attachments.metaPostRetrieve(); +const pageableResponse = await client.hris.employeePayrollRuns.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + payrollRunId: "payroll_run_id", + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.employeePayrollRuns.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + payrollRunId: "payroll_run_id", + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -24966,7 +27242,15 @@ await client.accounting.attachments.metaPostRetrieve();
-**requestOptions:** `AttachmentsClient.RequestOptions` +**request:** `Merge.hris.EmployeePayrollRunsListRequest` + +
+
+ +
+
+ +**requestOptions:** `EmployeePayrollRunsClient.RequestOptions`
@@ -24978,8 +27262,7 @@ await client.accounting.attachments.metaPostRetrieve();
-## Accounting AuditTrail -
client.accounting.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList +
client.hris.employeePayrollRuns.retrieve(id, { ...params }) -> Merge.EmployeePayrollRun
@@ -24991,7 +27274,7 @@ await client.accounting.attachments.metaPostRetrieve();
-Gets a list of audit trail events. +Returns an `EmployeePayrollRun` object with the given `id`.
@@ -25006,13 +27289,9 @@ Gets a list of audit trail events.
```typescript -await client.accounting.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email" +await client.hris.employeePayrollRuns.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -25029,7 +27308,7 @@ await client.accounting.auditTrail.list({
-**request:** `Merge.accounting.AuditTrailListRequest` +**id:** `string`
@@ -25037,7 +27316,15 @@ await client.accounting.auditTrail.list({
-**requestOptions:** `AuditTrailClient.RequestOptions` +**request:** `Merge.hris.EmployeePayrollRunsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `EmployeePayrollRunsClient.RequestOptions`
@@ -25049,8 +27336,8 @@ await client.accounting.auditTrail.list({
-## Accounting AvailableActions -
client.accounting.availableActions.retrieve() -> Merge.AvailableActions +## Hris Employees +
client.hris.employees.list({ ...params }) -> core.Page
@@ -25062,7 +27349,7 @@ await client.accounting.auditTrail.list({
-Returns a list of models and actions available for an account. +Returns a list of `Employee` objects.
@@ -25077,7 +27364,85 @@ Returns a list of models and actions available for an account.
```typescript -await client.accounting.availableActions.retrieve(); +const pageableResponse = await client.hris.employees.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + displayFullName: "display_full_name", + employmentStatus: "ACTIVE", + employmentType: "employment_type", + firstName: "first_name", + groups: "groups", + homeLocationId: "home_location_id", + includeDeletedData: true, + includeRemoteData: true, + includeSensitiveFields: true, + includeShellData: true, + jobTitle: "job_title", + lastName: "last_name", + managerId: "manager_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + payGroupId: "pay_group_id", + personalEmail: "personal_email", + remoteFields: "employment_status", + remoteId: "remote_id", + showEnumOrigins: "employment_status", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), + teamId: "team_id", + terminatedAfter: new Date("2024-01-15T09:30:00.000Z"), + terminatedBefore: new Date("2024-01-15T09:30:00.000Z"), + workEmail: "work_email", + workLocationId: "work_location_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.employees.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + displayFullName: "display_full_name", + employmentStatus: "ACTIVE", + employmentType: "employment_type", + firstName: "first_name", + groups: "groups", + homeLocationId: "home_location_id", + includeDeletedData: true, + includeRemoteData: true, + includeSensitiveFields: true, + includeShellData: true, + jobTitle: "job_title", + lastName: "last_name", + managerId: "manager_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + payGroupId: "pay_group_id", + personalEmail: "personal_email", + remoteFields: "employment_status", + remoteId: "remote_id", + showEnumOrigins: "employment_status", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), + teamId: "team_id", + terminatedAfter: new Date("2024-01-15T09:30:00.000Z"), + terminatedBefore: new Date("2024-01-15T09:30:00.000Z"), + workEmail: "work_email", + workLocationId: "work_location_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -25093,7 +27458,15 @@ await client.accounting.availableActions.retrieve();
-**requestOptions:** `AvailableActionsClient.RequestOptions` +**request:** `Merge.hris.EmployeesListRequest` + +
+
+ +
+
+ +**requestOptions:** `EmployeesClient.RequestOptions`
@@ -25105,8 +27478,7 @@ await client.accounting.availableActions.retrieve();
-## Accounting BalanceSheets -
client.accounting.balanceSheets.list({ ...params }) -> Merge.PaginatedBalanceSheetList +
client.hris.employees.create({ ...params }) -> Merge.EmployeeResponse
@@ -25118,7 +27490,7 @@ await client.accounting.availableActions.retrieve();
-Returns a list of `BalanceSheet` objects. +Creates an `Employee` object with the given values.
@@ -25133,19 +27505,10 @@ Returns a list of `BalanceSheet` objects.
```typescript -await client.accounting.balanceSheets.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.hris.employees.create({ + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -25162,7 +27525,7 @@ await client.accounting.balanceSheets.list({
-**request:** `Merge.accounting.BalanceSheetsListRequest` +**request:** `Merge.hris.EmployeeEndpointRequest`
@@ -25170,7 +27533,7 @@ await client.accounting.balanceSheets.list({
-**requestOptions:** `BalanceSheetsClient.RequestOptions` +**requestOptions:** `EmployeesClient.RequestOptions`
@@ -25182,7 +27545,7 @@ await client.accounting.balanceSheets.list({
-
client.accounting.balanceSheets.retrieve(id, { ...params }) -> Merge.BalanceSheet +
client.hris.employees.retrieve(id, { ...params }) -> Merge.Employee
@@ -25194,7 +27557,7 @@ await client.accounting.balanceSheets.list({
-Returns a `BalanceSheet` object with the given `id`. +Returns an `Employee` object with the given `id`.
@@ -25209,10 +27572,12 @@ Returns a `BalanceSheet` object with the given `id`.
```typescript -await client.accounting.balanceSheets.retrieve("id", { - expand: "company", +await client.hris.employees.retrieve("id", { includeRemoteData: true, - includeShellData: true + includeSensitiveFields: true, + includeShellData: true, + remoteFields: "employment_status", + showEnumOrigins: "employment_status" }); ``` @@ -25237,7 +27602,7 @@ await client.accounting.balanceSheets.retrieve("id", {
-**request:** `Merge.accounting.BalanceSheetsRetrieveRequest` +**request:** `Merge.hris.EmployeesRetrieveRequest`
@@ -25245,7 +27610,7 @@ await client.accounting.balanceSheets.retrieve("id", {
-**requestOptions:** `BalanceSheetsClient.RequestOptions` +**requestOptions:** `EmployeesClient.RequestOptions`
@@ -25257,8 +27622,7 @@ await client.accounting.balanceSheets.retrieve("id", {
-## Accounting BankFeedAccounts -
client.accounting.bankFeedAccounts.list({ ...params }) -> Merge.PaginatedBankFeedAccountList +
client.hris.employees.ignoreCreate(model_id, { ...params }) -> void
@@ -25270,7 +27634,7 @@ await client.accounting.balanceSheets.retrieve("id", {
-Returns a list of `BankFeedAccount` objects. +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -25285,12 +27649,8 @@ Returns a list of `BankFeedAccount` objects.
```typescript -await client.accounting.bankFeedAccounts.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1 +await client.hris.employees.ignoreCreate("model_id", { + reason: "GENERAL_CUSTOMER_REQUEST" }); ``` @@ -25307,7 +27667,7 @@ await client.accounting.bankFeedAccounts.list({
-**request:** `Merge.accounting.BankFeedAccountsListRequest` +**model_id:** `string`
@@ -25315,7 +27675,15 @@ await client.accounting.bankFeedAccounts.list({
-**requestOptions:** `BankFeedAccountsClient.RequestOptions` +**request:** `Merge.IgnoreCommonModelRequest` + +
+
+ +
+
+ +**requestOptions:** `EmployeesClient.RequestOptions`
@@ -25327,7 +27695,7 @@ await client.accounting.bankFeedAccounts.list({
-
client.accounting.bankFeedAccounts.create({ ...params }) -> Merge.BankFeedAccountResponse +
client.hris.employees.metaPostRetrieve() -> Merge.MetaResponse
@@ -25339,7 +27707,7 @@ await client.accounting.bankFeedAccounts.list({
-Creates a `BankFeedAccount` object with the given values. +Returns metadata for `Employee` POSTs.
@@ -25354,11 +27722,7 @@ Creates a `BankFeedAccount` object with the given values.
```typescript -await client.accounting.bankFeedAccounts.create({ - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.hris.employees.metaPostRetrieve(); ```
@@ -25374,15 +27738,7 @@ await client.accounting.bankFeedAccounts.create({
-**request:** `Merge.accounting.BankFeedAccountEndpointRequest` - -
-
- -
-
- -**requestOptions:** `BankFeedAccountsClient.RequestOptions` +**requestOptions:** `EmployeesClient.RequestOptions`
@@ -25394,7 +27750,8 @@ await client.accounting.bankFeedAccounts.create({
-
client.accounting.bankFeedAccounts.retrieve(id, { ...params }) -> Merge.BankFeedAccount +## Hris EmployerBenefits +
client.hris.employerBenefits.list({ ...params }) -> core.Page
@@ -25406,7 +27763,7 @@ await client.accounting.bankFeedAccounts.create({
-Returns a `BankFeedAccount` object with the given `id`. +Returns a list of `EmployerBenefit` objects.
@@ -25421,10 +27778,41 @@ Returns a `BankFeedAccount` object with the given `id`.
```typescript -await client.accounting.bankFeedAccounts.retrieve("id", { +const pageableResponse = await client.hris.employerBenefits.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeShellData: true + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.employerBenefits.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -25440,15 +27828,7 @@ await client.accounting.bankFeedAccounts.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.BankFeedAccountsRetrieveRequest` +**request:** `Merge.hris.EmployerBenefitsListRequest`
@@ -25456,7 +27836,7 @@ await client.accounting.bankFeedAccounts.retrieve("id", {
-**requestOptions:** `BankFeedAccountsClient.RequestOptions` +**requestOptions:** `EmployerBenefitsClient.RequestOptions`
@@ -25468,7 +27848,7 @@ await client.accounting.bankFeedAccounts.retrieve("id", {
-
client.accounting.bankFeedAccounts.metaPostRetrieve() -> Merge.MetaResponse +
client.hris.employerBenefits.retrieve(id, { ...params }) -> Merge.EmployerBenefit
@@ -25480,7 +27860,7 @@ await client.accounting.bankFeedAccounts.retrieve("id", {
-Returns metadata for `BankFeedAccount` POSTs. +Returns an `EmployerBenefit` object with the given `id`.
@@ -25495,7 +27875,10 @@ Returns metadata for `BankFeedAccount` POSTs.
```typescript -await client.accounting.bankFeedAccounts.metaPostRetrieve(); +await client.hris.employerBenefits.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -25511,76 +27894,15 @@ await client.accounting.bankFeedAccounts.metaPostRetrieve();
-**requestOptions:** `BankFeedAccountsClient.RequestOptions` +**id:** `string`
- -
- - - - -
-## Accounting BankFeedTransactions -
client.accounting.bankFeedTransactions.list({ ...params }) -> Merge.PaginatedBankFeedTransactionList
-#### 📝 Description - -
-
- -
-
- -Returns a list of `BankFeedTransaction` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.bankFeedTransactions.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "bank_feed_account", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isProcessed: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" -}); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.accounting.BankFeedTransactionsListRequest` +**request:** `Merge.hris.EmployerBenefitsRetrieveRequest`
@@ -25588,7 +27910,7 @@ await client.accounting.bankFeedTransactions.list({
-**requestOptions:** `BankFeedTransactionsClient.RequestOptions` +**requestOptions:** `EmployerBenefitsClient.RequestOptions`
@@ -25600,7 +27922,8 @@ await client.accounting.bankFeedTransactions.list({
-
client.accounting.bankFeedTransactions.create({ ...params }) -> Merge.BankFeedTransactionResponse +## Hris Employments +
client.hris.employments.list({ ...params }) -> core.Page
@@ -25612,7 +27935,7 @@ await client.accounting.bankFeedTransactions.list({
-Creates a `BankFeedTransaction` object with the given values. +Returns a list of `Employment` objects.
@@ -25627,11 +27950,49 @@ Creates a `BankFeedTransaction` object with the given values.
```typescript -await client.accounting.bankFeedTransactions.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.hris.employments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-effective_date", + pageSize: 1, + remoteFields: "employment_type", + remoteId: "remote_id", + showEnumOrigins: "employment_type" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.employments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-effective_date", + pageSize: 1, + remoteFields: "employment_type", + remoteId: "remote_id", + showEnumOrigins: "employment_type" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -25647,7 +28008,7 @@ await client.accounting.bankFeedTransactions.create({
-**request:** `Merge.accounting.BankFeedTransactionEndpointRequest` +**request:** `Merge.hris.EmploymentsListRequest`
@@ -25655,7 +28016,7 @@ await client.accounting.bankFeedTransactions.create({
-**requestOptions:** `BankFeedTransactionsClient.RequestOptions` +**requestOptions:** `EmploymentsClient.RequestOptions`
@@ -25667,7 +28028,7 @@ await client.accounting.bankFeedTransactions.create({
-
client.accounting.bankFeedTransactions.retrieve(id, { ...params }) -> Merge.BankFeedTransaction +
client.hris.employments.retrieve(id, { ...params }) -> Merge.Employment
@@ -25679,7 +28040,7 @@ await client.accounting.bankFeedTransactions.create({
-Returns a `BankFeedTransaction` object with the given `id`. +Returns an `Employment` object with the given `id`.
@@ -25694,10 +28055,11 @@ Returns a `BankFeedTransaction` object with the given `id`.
```typescript -await client.accounting.bankFeedTransactions.retrieve("id", { - expand: "bank_feed_account", +await client.hris.employments.retrieve("id", { includeRemoteData: true, - includeShellData: true + includeShellData: true, + remoteFields: "employment_type", + showEnumOrigins: "employment_type" }); ``` @@ -25722,7 +28084,7 @@ await client.accounting.bankFeedTransactions.retrieve("id", {
-**request:** `Merge.accounting.BankFeedTransactionsRetrieveRequest` +**request:** `Merge.hris.EmploymentsRetrieveRequest`
@@ -25730,7 +28092,7 @@ await client.accounting.bankFeedTransactions.retrieve("id", {
-**requestOptions:** `BankFeedTransactionsClient.RequestOptions` +**requestOptions:** `EmploymentsClient.RequestOptions`
@@ -25742,7 +28104,8 @@ await client.accounting.bankFeedTransactions.retrieve("id", {
-
client.accounting.bankFeedTransactions.metaPostRetrieve() -> Merge.MetaResponse +## Hris FieldMapping +
client.hris.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
@@ -25754,7 +28117,7 @@ await client.accounting.bankFeedTransactions.retrieve("id", {
-Returns metadata for `BankFeedTransaction` POSTs. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -25769,7 +28132,9 @@ Returns metadata for `BankFeedTransaction` POSTs.
```typescript -await client.accounting.bankFeedTransactions.metaPostRetrieve(); +await client.hris.fieldMapping.fieldMappingsRetrieve({ + excludeRemoteFieldMetadata: true +}); ```
@@ -25785,7 +28150,15 @@ await client.accounting.bankFeedTransactions.metaPostRetrieve();
-**requestOptions:** `BankFeedTransactionsClient.RequestOptions` +**request:** `Merge.hris.FieldMappingsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -25797,8 +28170,7 @@ await client.accounting.bankFeedTransactions.metaPostRetrieve();
-## Accounting CashFlowStatements -
client.accounting.cashFlowStatements.list({ ...params }) -> Merge.PaginatedCashFlowStatementList +
client.hris.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
@@ -25810,7 +28182,7 @@ await client.accounting.bankFeedTransactions.metaPostRetrieve();
-Returns a list of `CashFlowStatement` objects. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -25825,19 +28197,14 @@ Returns a list of `CashFlowStatement` objects.
```typescript -await client.accounting.cashFlowStatements.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.hris.fieldMapping.fieldMappingsCreate({ + excludeRemoteFieldMetadata: true, + targetFieldName: "example_target_field_name", + targetFieldDescription: "this is a example description of the target field", + remoteFieldTraversalPath: ["example_remote_field"], + remoteMethod: "GET", + remoteUrlPath: "/example-url-path", + commonModelName: "ExampleCommonModel" }); ``` @@ -25854,7 +28221,7 @@ await client.accounting.cashFlowStatements.list({
-**request:** `Merge.accounting.CashFlowStatementsListRequest` +**request:** `Merge.hris.CreateFieldMappingRequest`
@@ -25862,7 +28229,7 @@ await client.accounting.cashFlowStatements.list({
-**requestOptions:** `CashFlowStatementsClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -25874,7 +28241,7 @@ await client.accounting.cashFlowStatements.list({
-
client.accounting.cashFlowStatements.retrieve(id, { ...params }) -> Merge.CashFlowStatement +
client.hris.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
@@ -25886,7 +28253,7 @@ await client.accounting.cashFlowStatements.list({
-Returns a `CashFlowStatement` object with the given `id`. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -25901,11 +28268,7 @@ Returns a `CashFlowStatement` object with the given `id`.
```typescript -await client.accounting.cashFlowStatements.retrieve("id", { - expand: "company", - includeRemoteData: true, - includeShellData: true -}); +await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id"); ```
@@ -25921,15 +28284,7 @@ await client.accounting.cashFlowStatements.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.CashFlowStatementsRetrieveRequest` +**field_mapping_id:** `string`
@@ -25937,7 +28292,7 @@ await client.accounting.cashFlowStatements.retrieve("id", {
-**requestOptions:** `CashFlowStatementsClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -25949,8 +28304,7 @@ await client.accounting.cashFlowStatements.retrieve("id", {
-## Accounting CompanyInfo -
client.accounting.companyInfo.list({ ...params }) -> Merge.PaginatedCompanyInfoList +
client.hris.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
@@ -25962,7 +28316,7 @@ await client.accounting.cashFlowStatements.retrieve("id", {
-Returns a list of `CompanyInfo` objects. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -25977,19 +28331,7 @@ Returns a list of `CompanyInfo` objects.
```typescript -await client.accounting.companyInfo.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "addresses", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" -}); +await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); ```
@@ -26005,7 +28347,7 @@ await client.accounting.companyInfo.list({
-**request:** `Merge.accounting.CompanyInfoListRequest` +**field_mapping_id:** `string`
@@ -26013,7 +28355,15 @@ await client.accounting.companyInfo.list({
-**requestOptions:** `CompanyInfoClient.RequestOptions` +**request:** `Merge.hris.PatchedEditFieldMappingRequest` + +
+
+ +
+
+ +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -26025,7 +28375,7 @@ await client.accounting.companyInfo.list({
-
client.accounting.companyInfo.retrieve(id, { ...params }) -> Merge.CompanyInfo +
client.hris.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
@@ -26037,7 +28387,7 @@ await client.accounting.companyInfo.list({
-Returns a `CompanyInfo` object with the given `id`. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -26052,10 +28402,9 @@ Returns a `CompanyInfo` object with the given `id`.
```typescript -await client.accounting.companyInfo.retrieve("id", { - expand: "addresses", - includeRemoteData: true, - includeShellData: true +await client.hris.fieldMapping.remoteFieldsRetrieve({ + commonModels: "common_models", + includeExampleValues: "include_example_values" }); ``` @@ -26072,15 +28421,7 @@ await client.accounting.companyInfo.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.CompanyInfoRetrieveRequest` +**request:** `Merge.hris.RemoteFieldsRetrieveRequest`
@@ -26088,7 +28429,7 @@ await client.accounting.companyInfo.retrieve("id", {
-**requestOptions:** `CompanyInfoClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -26100,8 +28441,7 @@ await client.accounting.companyInfo.retrieve("id", {
-## Accounting Contacts -
client.accounting.contacts.list({ ...params }) -> Merge.PaginatedContactList +
client.hris.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
@@ -26113,7 +28453,7 @@ await client.accounting.companyInfo.retrieve("id", {
-Returns a list of `Contact` objects. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -26128,28 +28468,7 @@ Returns a list of `Contact` objects.
```typescript -await client.accounting.contacts.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddress: "email_address", - expand: "addresses", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCustomer: "is_customer", - isSupplier: "is_supplier", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - status: "" -}); +await client.hris.fieldMapping.targetFieldsRetrieve(); ```
@@ -26165,15 +28484,7 @@ await client.accounting.contacts.list({
-**request:** `Merge.accounting.ContactsListRequest` - -
-
- -
-
- -**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -26185,7 +28496,8 @@ await client.accounting.contacts.list({
-
client.accounting.contacts.create({ ...params }) -> Merge.ContactResponse +## Hris GenerateKey +
client.hris.generateKey.create({ ...params }) -> Merge.RemoteKey
@@ -26197,7 +28509,7 @@ await client.accounting.contacts.list({
-Creates a `Contact` object with the given values. +Create a remote key.
@@ -26212,10 +28524,8 @@ Creates a `Contact` object with the given values.
```typescript -await client.accounting.contacts.create({ - isDebugMode: true, - runAsync: true, - model: {} +await client.hris.generateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -26232,7 +28542,7 @@ await client.accounting.contacts.create({
-**request:** `Merge.accounting.ContactEndpointRequest` +**request:** `Merge.hris.GenerateRemoteKeyRequest`
@@ -26240,7 +28550,7 @@ await client.accounting.contacts.create({
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `GenerateKeyClient.RequestOptions`
@@ -26252,7 +28562,8 @@ await client.accounting.contacts.create({
-
client.accounting.contacts.retrieve(id, { ...params }) -> Merge.Contact +## Hris Groups +
client.hris.groups.list({ ...params }) -> core.Page
@@ -26264,7 +28575,7 @@ await client.accounting.contacts.create({
-Returns a `Contact` object with the given `id`. +Returns a list of `Group` objects.
@@ -26279,14 +28590,51 @@ Returns a `Contact` object with the given `id`.
```typescript -await client.accounting.contacts.retrieve("id", { - expand: "addresses", +const pageableResponse = await client.hris.groups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, - remoteFields: "status", - showEnumOrigins: "status" + isCommonlyUsedAsTeam: "is_commonly_used_as_team", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + names: "names", + pageSize: 1, + remoteFields: "type", + remoteId: "remote_id", + showEnumOrigins: "type", + types: "types" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.groups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonlyUsedAsTeam: "is_commonly_used_as_team", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + names: "names", + pageSize: 1, + remoteFields: "type", + remoteId: "remote_id", + showEnumOrigins: "type", + types: "types" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -26302,15 +28650,7 @@ await client.accounting.contacts.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.ContactsRetrieveRequest` +**request:** `Merge.hris.GroupsListRequest`
@@ -26318,7 +28658,7 @@ await client.accounting.contacts.retrieve("id", {
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `GroupsClient.RequestOptions`
@@ -26330,7 +28670,7 @@ await client.accounting.contacts.retrieve("id", {
-
client.accounting.contacts.partialUpdate(id, { ...params }) -> Merge.ContactResponse +
client.hris.groups.retrieve(id, { ...params }) -> Merge.Group
@@ -26342,7 +28682,7 @@ await client.accounting.contacts.retrieve("id", {
-Updates a `Contact` object with the given `id`. +Returns a `Group` object with the given `id`.
@@ -26357,10 +28697,11 @@ Updates a `Contact` object with the given `id`.
```typescript -await client.accounting.contacts.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} +await client.hris.groups.retrieve("id", { + includeRemoteData: true, + includeShellData: true, + remoteFields: "type", + showEnumOrigins: "type" }); ``` @@ -26385,7 +28726,7 @@ await client.accounting.contacts.partialUpdate("id", {
-**request:** `Merge.accounting.PatchedContactEndpointRequest` +**request:** `Merge.hris.GroupsRetrieveRequest`
@@ -26393,7 +28734,7 @@ await client.accounting.contacts.partialUpdate("id", {
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `GroupsClient.RequestOptions`
@@ -26405,7 +28746,8 @@ await client.accounting.contacts.partialUpdate("id", {
-
client.accounting.contacts.metaPatchRetrieve(id) -> Merge.MetaResponse +## Hris Issues +
client.hris.issues.list({ ...params }) -> core.Page
@@ -26417,7 +28759,7 @@ await client.accounting.contacts.partialUpdate("id", {
-Returns metadata for `Contact` PATCHs. +Gets all issues for Organization.
@@ -26432,7 +28774,49 @@ Returns metadata for `Contact` PATCHs.
```typescript -await client.accounting.contacts.metaPatchRetrieve("id"); +const pageableResponse = await client.hris.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -26448,7 +28832,7 @@ await client.accounting.contacts.metaPatchRetrieve("id");
-**id:** `string` +**request:** `Merge.hris.IssuesListRequest`
@@ -26456,7 +28840,7 @@ await client.accounting.contacts.metaPatchRetrieve("id");
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `IssuesClient.RequestOptions`
@@ -26468,7 +28852,7 @@ await client.accounting.contacts.metaPatchRetrieve("id");
-
client.accounting.contacts.metaPostRetrieve() -> Merge.MetaResponse +
client.hris.issues.retrieve(id) -> Merge.Issue
@@ -26480,7 +28864,7 @@ await client.accounting.contacts.metaPatchRetrieve("id");
-Returns metadata for `Contact` POSTs. +Get a specific issue.
@@ -26495,7 +28879,7 @@ Returns metadata for `Contact` POSTs.
```typescript -await client.accounting.contacts.metaPostRetrieve(); +await client.hris.issues.retrieve("id"); ```
@@ -26511,7 +28895,15 @@ await client.accounting.contacts.metaPostRetrieve();
-**requestOptions:** `ContactsClient.RequestOptions` +**id:** `string` + +
+
+ +
+
+ +**requestOptions:** `IssuesClient.RequestOptions`
@@ -26523,7 +28915,8 @@ await client.accounting.contacts.metaPostRetrieve();
-
client.accounting.contacts.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Hris LinkToken +
client.hris.linkToken.create({ ...params }) -> Merge.LinkToken
@@ -26535,7 +28928,7 @@ await client.accounting.contacts.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Creates a link token to be used when linking a new end user.
@@ -26550,14 +28943,11 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.contacts.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 +await client.hris.linkToken.create({ + endUserEmailAddress: "example@gmail.com", + endUserOrganizationName: "Test Organization", + endUserOriginId: "12345", + categories: ["hris", "ats"] }); ``` @@ -26574,7 +28964,7 @@ await client.accounting.contacts.remoteFieldClassesList({
-**request:** `Merge.accounting.ContactsRemoteFieldClassesListRequest` +**request:** `Merge.hris.EndUserDetailsRequest`
@@ -26582,7 +28972,7 @@ await client.accounting.contacts.remoteFieldClassesList({
-**requestOptions:** `ContactsClient.RequestOptions` +**requestOptions:** `LinkTokenClient.RequestOptions`
@@ -26594,8 +28984,8 @@ await client.accounting.contacts.remoteFieldClassesList({
-## Accounting CreditNotes -
client.accounting.creditNotes.list({ ...params }) -> Merge.PaginatedCreditNoteList +## Hris LinkedAccounts +
client.hris.linkedAccounts.list({ ...params }) -> core.Page
@@ -26607,7 +28997,7 @@ await client.accounting.contacts.remoteFieldClassesList({
-Returns a list of `CreditNote` objects. +List linked accounts for your organization.
@@ -26622,24 +29012,47 @@ Returns a list of `CreditNote` objects.
```typescript -await client.accounting.creditNotes.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.hris.linkedAccounts.list({ + category: "accounting", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") + status: "status" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -26655,7 +29068,7 @@ await client.accounting.creditNotes.list({
-**request:** `Merge.accounting.CreditNotesListRequest` +**request:** `Merge.hris.LinkedAccountsListRequest`
@@ -26663,7 +29076,7 @@ await client.accounting.creditNotes.list({
-**requestOptions:** `CreditNotesClient.RequestOptions` +**requestOptions:** `LinkedAccountsClient.RequestOptions`
@@ -26675,7 +29088,8 @@ await client.accounting.creditNotes.list({
-
client.accounting.creditNotes.create({ ...params }) -> Merge.CreditNoteResponse +## Hris Locations +
client.hris.locations.list({ ...params }) -> core.Page
@@ -26687,7 +29101,7 @@ await client.accounting.creditNotes.list({
-Creates a `CreditNote` object with the given values. +Returns a list of `Location` objects.
@@ -26702,11 +29116,47 @@ Creates a `CreditNote` object with the given values.
```typescript -await client.accounting.creditNotes.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.hris.locations.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + locationType: "HOME", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "country", + remoteId: "remote_id", + showEnumOrigins: "country" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.locations.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + locationType: "HOME", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "country", + remoteId: "remote_id", + showEnumOrigins: "country" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -26722,7 +29172,7 @@ await client.accounting.creditNotes.create({
-**request:** `Merge.accounting.CreditNoteEndpointRequest` +**request:** `Merge.hris.LocationsListRequest`
@@ -26730,7 +29180,7 @@ await client.accounting.creditNotes.create({
-**requestOptions:** `CreditNotesClient.RequestOptions` +**requestOptions:** `LocationsClient.RequestOptions`
@@ -26742,7 +29192,7 @@ await client.accounting.creditNotes.create({
-
client.accounting.creditNotes.retrieve(id, { ...params }) -> Merge.CreditNote +
client.hris.locations.retrieve(id, { ...params }) -> Merge.Location
@@ -26754,7 +29204,7 @@ await client.accounting.creditNotes.create({
-Returns a `CreditNote` object with the given `id`. +Returns a `Location` object with the given `id`.
@@ -26769,12 +29219,11 @@ Returns a `CreditNote` object with the given `id`.
```typescript -await client.accounting.creditNotes.retrieve("id", { - expand: "accounting_period", +await client.hris.locations.retrieve("id", { includeRemoteData: true, includeShellData: true, - remoteFields: "status", - showEnumOrigins: "status" + remoteFields: "country", + showEnumOrigins: "country" }); ``` @@ -26799,7 +29248,7 @@ await client.accounting.creditNotes.retrieve("id", {
-**request:** `Merge.accounting.CreditNotesRetrieveRequest` +**request:** `Merge.hris.LocationsRetrieveRequest`
@@ -26807,7 +29256,7 @@ await client.accounting.creditNotes.retrieve("id", {
-**requestOptions:** `CreditNotesClient.RequestOptions` +**requestOptions:** `LocationsClient.RequestOptions`
@@ -26819,7 +29268,8 @@ await client.accounting.creditNotes.retrieve("id", {
-
client.accounting.creditNotes.metaPostRetrieve() -> Merge.MetaResponse +## Hris Passthrough +
client.hris.passthrough.create({ ...params }) -> Merge.RemoteResponse
@@ -26831,7 +29281,7 @@ await client.accounting.creditNotes.retrieve("id", {
-Returns metadata for `CreditNote` POSTs. +Pull data from an endpoint not currently supported by Merge.
@@ -26846,7 +29296,10 @@ Returns metadata for `CreditNote` POSTs.
```typescript -await client.accounting.creditNotes.metaPostRetrieve(); +await client.hris.passthrough.create({ + method: "GET", + path: "/scooters" +}); ```
@@ -26862,63 +29315,15 @@ await client.accounting.creditNotes.metaPostRetrieve();
-**requestOptions:** `CreditNotesClient.RequestOptions` +**request:** `Merge.DataPassthroughRequest`
- -
- - - -
- -## Accounting Scopes -
client.accounting.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
-#### 📝 Description - -
-
- -
-
- -Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.scopes.defaultScopesRetrieve(); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `ScopesClient.RequestOptions` +**requestOptions:** `PassthroughClient.RequestOptions`
@@ -26930,7 +29335,8 @@ await client.accounting.scopes.defaultScopesRetrieve();
-
client.accounting.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi +## Hris PayGroups +
client.hris.payGroups.list({ ...params }) -> core.Page
@@ -26942,7 +29348,7 @@ await client.accounting.scopes.defaultScopesRetrieve();
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a list of `PayGroup` objects.
@@ -26957,7 +29363,41 @@ Get all available permissions for Merge Common Models and fields for a single Li
```typescript -await client.accounting.scopes.linkedAccountScopesRetrieve(); +const pageableResponse = await client.hris.payGroups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.payGroups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -26973,7 +29413,15 @@ await client.accounting.scopes.linkedAccountScopesRetrieve();
-**requestOptions:** `ScopesClient.RequestOptions` +**request:** `Merge.hris.PayGroupsListRequest` + +
+
+ +
+
+ +**requestOptions:** `PayGroupsClient.RequestOptions`
@@ -26985,7 +29433,7 @@ await client.accounting.scopes.linkedAccountScopesRetrieve();
-
client.accounting.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi +
client.hris.payGroups.retrieve(id, { ...params }) -> Merge.PayGroup
@@ -26997,7 +29445,7 @@ await client.accounting.scopes.linkedAccountScopesRetrieve();
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a `PayGroup` object with the given `id`.
@@ -27012,29 +29460,9 @@ Update permissions for any Common Model or field for a single Linked Account. An
```typescript -await client.accounting.scopes.linkedAccountScopesCreate({ - commonModels: [{ - modelName: "Employee", - modelPermissions: { - "READ": { - isEnabled: true - }, - "WRITE": { - isEnabled: false - } - }, - fieldPermissions: { - enabledFields: ["avatar", "home_location"], - disabledFields: ["work_location"] - } - }, { - modelName: "Benefit", - modelPermissions: { - "WRITE": { - isEnabled: false - } - } - }] +await client.hris.payGroups.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -27051,7 +29479,7 @@ await client.accounting.scopes.linkedAccountScopesCreate({
-**request:** `Merge.accounting.LinkedAccountCommonModelScopeDeserializerRequest` +**id:** `string`
@@ -27059,63 +29487,15 @@ await client.accounting.scopes.linkedAccountScopesCreate({
-**requestOptions:** `ScopesClient.RequestOptions` +**request:** `Merge.hris.PayGroupsRetrieveRequest`
-
-
- - - - -
- -## Accounting DeleteAccount -
client.accounting.deleteAccount.delete() -> void -
-
- -#### 📝 Description - -
-
- -
-
- -Delete a linked account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.deleteAccount.delete(); - -``` -
-
-
-
- -#### ⚙️ Parameters
-
-
- -**requestOptions:** `DeleteAccountClient.RequestOptions` +**requestOptions:** `PayGroupsClient.RequestOptions`
@@ -27127,8 +29507,8 @@ await client.accounting.deleteAccount.delete();
-## Accounting Employees -
client.accounting.employees.list({ ...params }) -> Merge.PaginatedEmployeeList +## Hris PayrollRuns +
client.hris.payrollRuns.list({ ...params }) -> core.Page
@@ -27140,7 +29520,7 @@ await client.accounting.deleteAccount.delete();
-Returns a list of `Employee` objects. +Returns a list of `PayrollRun` objects.
@@ -27155,20 +29535,55 @@ Returns a list of `Employee` objects.
```typescript -await client.accounting.employees.list({ - companyId: "company_id", +const pageableResponse = await client.hris.payrollRuns.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), includeDeletedData: true, includeRemoteData: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - remoteId: "remote_id" + remoteFields: "run_state", + remoteId: "remote_id", + runType: "CORRECTION", + showEnumOrigins: "run_state", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.payrollRuns.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "run_state", + remoteId: "remote_id", + runType: "CORRECTION", + showEnumOrigins: "run_state", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -27184,7 +29599,7 @@ await client.accounting.employees.list({
-**request:** `Merge.accounting.EmployeesListRequest` +**request:** `Merge.hris.PayrollRunsListRequest`
@@ -27192,7 +29607,7 @@ await client.accounting.employees.list({
-**requestOptions:** `EmployeesClient.RequestOptions` +**requestOptions:** `PayrollRunsClient.RequestOptions`
@@ -27204,7 +29619,7 @@ await client.accounting.employees.list({
-
client.accounting.employees.retrieve(id, { ...params }) -> Merge.Employee +
client.hris.payrollRuns.retrieve(id, { ...params }) -> Merge.PayrollRun
@@ -27216,7 +29631,7 @@ await client.accounting.employees.list({
-Returns an `Employee` object with the given `id`. +Returns a `PayrollRun` object with the given `id`.
@@ -27231,10 +29646,11 @@ Returns an `Employee` object with the given `id`.
```typescript -await client.accounting.employees.retrieve("id", { - expand: "company", +await client.hris.payrollRuns.retrieve("id", { includeRemoteData: true, - includeShellData: true + includeShellData: true, + remoteFields: "run_state", + showEnumOrigins: "run_state" }); ``` @@ -27259,7 +29675,7 @@ await client.accounting.employees.retrieve("id", {
-**request:** `Merge.accounting.EmployeesRetrieveRequest` +**request:** `Merge.hris.PayrollRunsRetrieveRequest`
@@ -27267,7 +29683,7 @@ await client.accounting.employees.retrieve("id", {
-**requestOptions:** `EmployeesClient.RequestOptions` +**requestOptions:** `PayrollRunsClient.RequestOptions`
@@ -27279,8 +29695,8 @@ await client.accounting.employees.retrieve("id", {
-## Accounting ExpenseReports -
client.accounting.expenseReports.list({ ...params }) -> Merge.PaginatedExpenseReportList +## Hris RegenerateKey +
client.hris.regenerateKey.create({ ...params }) -> Merge.RemoteKey
@@ -27292,7 +29708,7 @@ await client.accounting.employees.retrieve("id", {
-Returns a list of `ExpenseReport` objects. +Exchange remote keys.
@@ -27307,20 +29723,8 @@ Returns a list of `ExpenseReport` objects.
```typescript -await client.accounting.expenseReports.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" +await client.hris.regenerateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -27337,7 +29741,7 @@ await client.accounting.expenseReports.list({
-**request:** `Merge.accounting.ExpenseReportsListRequest` +**request:** `Merge.hris.RemoteKeyForRegenerationRequest`
@@ -27345,7 +29749,7 @@ await client.accounting.expenseReports.list({
-**requestOptions:** `ExpenseReportsClient.RequestOptions` +**requestOptions:** `RegenerateKeyClient.RequestOptions`
@@ -27357,7 +29761,8 @@ await client.accounting.expenseReports.list({
-
client.accounting.expenseReports.create({ ...params }) -> Merge.ExpenseReportResponse +## Hris SyncStatus +
client.hris.syncStatus.list({ ...params }) -> core.Page
@@ -27369,7 +29774,7 @@ await client.accounting.expenseReports.list({
-Creates an `ExpenseReport` object with the given values. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -27384,13 +29789,25 @@ Creates an `ExpenseReport` object with the given values.
```typescript -await client.accounting.expenseReports.create({ - isDebugMode: true, - runAsync: true, - model: { - trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"] - } +const pageableResponse = await client.hris.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -27406,7 +29823,7 @@ await client.accounting.expenseReports.create({
-**request:** `Merge.accounting.ExpenseReportEndpointRequest` +**request:** `Merge.hris.SyncStatusListRequest`
@@ -27414,7 +29831,7 @@ await client.accounting.expenseReports.create({
-**requestOptions:** `ExpenseReportsClient.RequestOptions` +**requestOptions:** `SyncStatusClient.RequestOptions`
@@ -27426,7 +29843,8 @@ await client.accounting.expenseReports.create({
-
client.accounting.expenseReports.linesList(expense_report_id, { ...params }) -> Merge.PaginatedExpenseReportLineList +## Hris ForceResync +
client.hris.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
@@ -27438,7 +29856,7 @@ await client.accounting.expenseReports.create({
-Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -27453,15 +29871,7 @@ Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` wi
```typescript -await client.accounting.expenseReports.linesList("expense_report_id", { - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - pageSize: 1 -}); +await client.hris.forceResync.syncStatusResyncCreate(); ```
@@ -27477,15 +29887,99 @@ await client.accounting.expenseReports.linesList("expense_report_id", {
-**expense_report_id:** `string` +**requestOptions:** `ForceResyncClient.RequestOptions`
+ +
+ + + + +
+ +## Hris Teams +
client.hris.teams.list({ ...params }) -> core.Page +
+
+ +#### 📝 Description + +
+
-**request:** `Merge.accounting.ExpenseReportsLinesListRequest` +Returns a list of `Team` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +const pageableResponse = await client.hris.teams.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + parentTeamId: "parent_team_id", + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.teams.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + parentTeamId: "parent_team_id", + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Merge.hris.TeamsListRequest`
@@ -27493,7 +29987,7 @@ await client.accounting.expenseReports.linesList("expense_report_id", {
-**requestOptions:** `ExpenseReportsClient.RequestOptions` +**requestOptions:** `TeamsClient.RequestOptions`
@@ -27505,7 +29999,7 @@ await client.accounting.expenseReports.linesList("expense_report_id", {
-
client.accounting.expenseReports.retrieve(id, { ...params }) -> Merge.ExpenseReport +
client.hris.teams.retrieve(id, { ...params }) -> Merge.Team
@@ -27517,7 +30011,7 @@ await client.accounting.expenseReports.linesList("expense_report_id", {
-Returns an `ExpenseReport` object with the given `id`. +Returns a `Team` object with the given `id`.
@@ -27532,10 +30026,8 @@ Returns an `ExpenseReport` object with the given `id`.
```typescript -await client.accounting.expenseReports.retrieve("id", { - expand: "accounting_period", +await client.hris.teams.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, includeShellData: true }); @@ -27561,7 +30053,7 @@ await client.accounting.expenseReports.retrieve("id", {
-**request:** `Merge.accounting.ExpenseReportsRetrieveRequest` +**request:** `Merge.hris.TeamsRetrieveRequest`
@@ -27569,7 +30061,7 @@ await client.accounting.expenseReports.retrieve("id", {
-**requestOptions:** `ExpenseReportsClient.RequestOptions` +**requestOptions:** `TeamsClient.RequestOptions`
@@ -27581,7 +30073,8 @@ await client.accounting.expenseReports.retrieve("id", {
-
client.accounting.expenseReports.linesRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Hris TimeOff +
client.hris.timeOff.list({ ...params }) -> core.Page
@@ -27593,7 +30086,7 @@ await client.accounting.expenseReports.retrieve("id", {
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `TimeOff` objects.
@@ -27608,15 +30101,61 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.expenseReports.linesRemoteFieldClassesList({ +const pageableResponse = await client.hris.timeOff.list({ + approverId: "approver_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), includeDeletedData: true, includeRemoteData: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "request_type", + remoteId: "remote_id", + requestType: "BEREAVEMENT", + showEnumOrigins: "request_type", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), + status: "APPROVED" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.timeOff.list({ + approverId: "approver_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "request_type", + remoteId: "remote_id", + requestType: "BEREAVEMENT", + showEnumOrigins: "request_type", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), + status: "APPROVED" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -27632,7 +30171,7 @@ await client.accounting.expenseReports.linesRemoteFieldClassesList({
-**request:** `Merge.accounting.ExpenseReportsLinesRemoteFieldClassesListRequest` +**request:** `Merge.hris.TimeOffListRequest`
@@ -27640,7 +30179,7 @@ await client.accounting.expenseReports.linesRemoteFieldClassesList({
-**requestOptions:** `ExpenseReportsClient.RequestOptions` +**requestOptions:** `TimeOffClient.RequestOptions`
@@ -27652,7 +30191,7 @@ await client.accounting.expenseReports.linesRemoteFieldClassesList({
-
client.accounting.expenseReports.metaPostRetrieve() -> Merge.MetaResponse +
client.hris.timeOff.create({ ...params }) -> Merge.TimeOffResponse
@@ -27664,7 +30203,7 @@ await client.accounting.expenseReports.linesRemoteFieldClassesList({
-Returns metadata for `ExpenseReport` POSTs. +Creates a `TimeOff` object with the given values.
@@ -27679,7 +30218,11 @@ Returns metadata for `ExpenseReport` POSTs.
```typescript -await client.accounting.expenseReports.metaPostRetrieve(); +await client.hris.timeOff.create({ + isDebugMode: true, + runAsync: true, + model: {} +}); ```
@@ -27695,7 +30238,15 @@ await client.accounting.expenseReports.metaPostRetrieve();
-**requestOptions:** `ExpenseReportsClient.RequestOptions` +**request:** `Merge.hris.TimeOffEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `TimeOffClient.RequestOptions`
@@ -27707,7 +30258,7 @@ await client.accounting.expenseReports.metaPostRetrieve();
-
client.accounting.expenseReports.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.hris.timeOff.retrieve(id, { ...params }) -> Merge.TimeOff
@@ -27719,7 +30270,7 @@ await client.accounting.expenseReports.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns a `TimeOff` object with the given `id`.
@@ -27734,14 +30285,11 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.expenseReports.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, +await client.hris.timeOff.retrieve("id", { includeRemoteData: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + remoteFields: "request_type", + showEnumOrigins: "request_type" }); ``` @@ -27758,7 +30306,7 @@ await client.accounting.expenseReports.remoteFieldClassesList({
-**request:** `Merge.accounting.ExpenseReportsRemoteFieldClassesListRequest` +**id:** `string`
@@ -27766,7 +30314,15 @@ await client.accounting.expenseReports.remoteFieldClassesList({
-**requestOptions:** `ExpenseReportsClient.RequestOptions` +**request:** `Merge.hris.TimeOffRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `TimeOffClient.RequestOptions`
@@ -27778,8 +30334,7 @@ await client.accounting.expenseReports.remoteFieldClassesList({
-## Accounting Expenses -
client.accounting.expenses.list({ ...params }) -> Merge.PaginatedExpenseList +
client.hris.timeOff.metaPostRetrieve() -> Merge.MetaResponse
@@ -27791,7 +30346,7 @@ await client.accounting.expenseReports.remoteFieldClassesList({
-Returns a list of `Expense` objects. +Returns metadata for `TimeOff` POSTs.
@@ -27806,23 +30361,7 @@ Returns a list of `Expense` objects.
```typescript -await client.accounting.expenses.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") -}); +await client.hris.timeOff.metaPostRetrieve(); ```
@@ -27838,15 +30377,7 @@ await client.accounting.expenses.list({
-**request:** `Merge.accounting.ExpensesListRequest` - -
-
- -
-
- -**requestOptions:** `ExpensesClient.RequestOptions` +**requestOptions:** `TimeOffClient.RequestOptions`
@@ -27858,7 +30389,8 @@ await client.accounting.expenses.list({
-
client.accounting.expenses.create({ ...params }) -> Merge.ExpenseResponse +## Hris TimeOffBalances +
client.hris.timeOffBalances.list({ ...params }) -> core.Page
@@ -27870,7 +30402,7 @@ await client.accounting.expenses.list({
-Creates an `Expense` object with the given values. +Returns a list of `TimeOffBalance` objects.
@@ -27885,11 +30417,49 @@ Creates an `Expense` object with the given values.
```typescript -await client.accounting.expenses.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.hris.timeOffBalances.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + policyType: "BEREAVEMENT", + remoteFields: "policy_type", + remoteId: "remote_id", + showEnumOrigins: "policy_type" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.timeOffBalances.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + policyType: "BEREAVEMENT", + remoteFields: "policy_type", + remoteId: "remote_id", + showEnumOrigins: "policy_type" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -27905,7 +30475,7 @@ await client.accounting.expenses.create({
-**request:** `Merge.accounting.ExpenseEndpointRequest` +**request:** `Merge.hris.TimeOffBalancesListRequest`
@@ -27913,7 +30483,7 @@ await client.accounting.expenses.create({
-**requestOptions:** `ExpensesClient.RequestOptions` +**requestOptions:** `TimeOffBalancesClient.RequestOptions`
@@ -27925,7 +30495,7 @@ await client.accounting.expenses.create({
-
client.accounting.expenses.retrieve(id, { ...params }) -> Merge.Expense +
client.hris.timeOffBalances.retrieve(id, { ...params }) -> Merge.TimeOffBalance
@@ -27937,7 +30507,7 @@ await client.accounting.expenses.create({
-Returns an `Expense` object with the given `id`. +Returns a `TimeOffBalance` object with the given `id`.
@@ -27952,11 +30522,11 @@ Returns an `Expense` object with the given `id`.
```typescript -await client.accounting.expenses.retrieve("id", { - expand: "account", +await client.hris.timeOffBalances.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true + includeShellData: true, + remoteFields: "policy_type", + showEnumOrigins: "policy_type" }); ``` @@ -27981,7 +30551,7 @@ await client.accounting.expenses.retrieve("id", {
-**request:** `Merge.accounting.ExpensesRetrieveRequest` +**request:** `Merge.hris.TimeOffBalancesRetrieveRequest`
@@ -27989,7 +30559,7 @@ await client.accounting.expenses.retrieve("id", {
-**requestOptions:** `ExpensesClient.RequestOptions` +**requestOptions:** `TimeOffBalancesClient.RequestOptions`
@@ -28001,7 +30571,8 @@ await client.accounting.expenses.retrieve("id", {
-
client.accounting.expenses.linesRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Hris TimesheetEntries +
client.hris.timesheetEntries.list({ ...params }) -> core.Page
@@ -28013,7 +30584,7 @@ await client.accounting.expenses.retrieve("id", {
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `TimesheetEntry` objects.
@@ -28028,15 +30599,53 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.expenses.linesRemoteFieldClassesList({ +const pageableResponse = await client.hris.timesheetEntries.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), includeDeletedData: true, includeRemoteData: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-start_time", + pageSize: 1, + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.hris.timesheetEntries.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-start_time", + pageSize: 1, + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z") +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -28052,7 +30661,7 @@ await client.accounting.expenses.linesRemoteFieldClassesList({
-**request:** `Merge.accounting.ExpensesLinesRemoteFieldClassesListRequest` +**request:** `Merge.hris.TimesheetEntriesListRequest`
@@ -28060,7 +30669,7 @@ await client.accounting.expenses.linesRemoteFieldClassesList({
-**requestOptions:** `ExpensesClient.RequestOptions` +**requestOptions:** `TimesheetEntriesClient.RequestOptions`
@@ -28072,7 +30681,7 @@ await client.accounting.expenses.linesRemoteFieldClassesList({
-
client.accounting.expenses.metaPostRetrieve() -> Merge.MetaResponse +
client.hris.timesheetEntries.create({ ...params }) -> Merge.TimesheetEntryResponse
@@ -28084,7 +30693,7 @@ await client.accounting.expenses.linesRemoteFieldClassesList({
-Returns metadata for `Expense` POSTs. +Creates a `TimesheetEntry` object with the given values.
@@ -28099,7 +30708,11 @@ Returns metadata for `Expense` POSTs.
```typescript -await client.accounting.expenses.metaPostRetrieve(); +await client.hris.timesheetEntries.create({ + isDebugMode: true, + runAsync: true, + model: {} +}); ```
@@ -28115,7 +30728,15 @@ await client.accounting.expenses.metaPostRetrieve();
-**requestOptions:** `ExpensesClient.RequestOptions` +**request:** `Merge.hris.TimesheetEntryEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `TimesheetEntriesClient.RequestOptions`
@@ -28127,7 +30748,7 @@ await client.accounting.expenses.metaPostRetrieve();
-
client.accounting.expenses.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.hris.timesheetEntries.retrieve(id, { ...params }) -> Merge.TimesheetEntry
@@ -28139,7 +30760,7 @@ await client.accounting.expenses.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns a `TimesheetEntry` object with the given `id`.
@@ -28154,14 +30775,9 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.expenses.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, +await client.hris.timesheetEntries.retrieve("id", { includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + includeShellData: true }); ``` @@ -28178,7 +30794,7 @@ await client.accounting.expenses.remoteFieldClassesList({
-**request:** `Merge.accounting.ExpensesRemoteFieldClassesListRequest` +**id:** `string`
@@ -28186,7 +30802,15 @@ await client.accounting.expenses.remoteFieldClassesList({
-**requestOptions:** `ExpensesClient.RequestOptions` +**request:** `Merge.hris.TimesheetEntriesRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `TimesheetEntriesClient.RequestOptions`
@@ -28198,8 +30822,7 @@ await client.accounting.expenses.remoteFieldClassesList({
-## Accounting FieldMapping -
client.accounting.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse +
client.hris.timesheetEntries.metaPostRetrieve() -> Merge.MetaResponse
@@ -28211,7 +30834,7 @@ await client.accounting.expenses.remoteFieldClassesList({
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns metadata for `TimesheetEntry` POSTs.
@@ -28226,9 +30849,7 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
```typescript -await client.accounting.fieldMapping.fieldMappingsRetrieve({ - excludeRemoteFieldMetadata: true -}); +await client.hris.timesheetEntries.metaPostRetrieve(); ```
@@ -28244,15 +30865,7 @@ await client.accounting.fieldMapping.fieldMappingsRetrieve({
-**request:** `Merge.accounting.FieldMappingsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `TimesheetEntriesClient.RequestOptions`
@@ -28264,7 +30877,8 @@ await client.accounting.fieldMapping.fieldMappingsRetrieve({
-
client.accounting.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse +## Hris WebhookReceivers +
client.hris.webhookReceivers.list() -> Merge.WebhookReceiver[]
@@ -28276,7 +30890,7 @@ await client.accounting.fieldMapping.fieldMappingsRetrieve({
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `WebhookReceiver` objects.
@@ -28291,15 +30905,7 @@ Create new Field Mappings that will be available after the next scheduled sync.
```typescript -await client.accounting.fieldMapping.fieldMappingsCreate({ - excludeRemoteFieldMetadata: true, - targetFieldName: "example_target_field_name", - targetFieldDescription: "this is a example description of the target field", - remoteFieldTraversalPath: ["example_remote_field"], - remoteMethod: "GET", - remoteUrlPath: "/example-url-path", - commonModelName: "ExampleCommonModel" -}); +await client.hris.webhookReceivers.list(); ```
@@ -28315,15 +30921,7 @@ await client.accounting.fieldMapping.fieldMappingsCreate({
-**request:** `Merge.accounting.CreateFieldMappingRequest` - -
-
- -
-
- -**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -28335,7 +30933,7 @@ await client.accounting.fieldMapping.fieldMappingsCreate({
-
client.accounting.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse +
client.hris.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
@@ -28347,7 +30945,7 @@ await client.accounting.fieldMapping.fieldMappingsCreate({
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Creates a `WebhookReceiver` object with the given values.
@@ -28362,7 +30960,10 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
```typescript -await client.accounting.fieldMapping.fieldMappingsDestroy("field_mapping_id"); +await client.hris.webhookReceivers.create({ + event: "event", + isActive: true +}); ```
@@ -28378,7 +30979,7 @@ await client.accounting.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-**field_mapping_id:** `string` +**request:** `Merge.hris.WebhookReceiverRequest`
@@ -28386,7 +30987,7 @@ await client.accounting.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -28398,7 +30999,8 @@ await client.accounting.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
client.accounting.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse +## Ticketing AccountDetails +
client.ticketing.accountDetails.retrieve() -> Merge.AccountDetails
@@ -28410,7 +31012,7 @@ await client.accounting.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Get details for a linked account.
@@ -28425,7 +31027,7 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
```typescript -await client.accounting.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); +await client.ticketing.accountDetails.retrieve(); ```
@@ -28441,23 +31043,7 @@ await client.accounting.fieldMapping.fieldMappingsPartialUpdate("field_mapping_i
-**field_mapping_id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PatchedEditFieldMappingRequest` - -
-
- -
-
- -**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `AccountDetailsClient.RequestOptions`
@@ -28469,7 +31055,8 @@ await client.accounting.fieldMapping.fieldMappingsPartialUpdate("field_mapping_i
-
client.accounting.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse +## Ticketing AccountToken +
client.ticketing.accountToken.retrieve(public_token) -> Merge.AccountToken
@@ -28481,7 +31068,7 @@ await client.accounting.fieldMapping.fieldMappingsPartialUpdate("field_mapping_i
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns the account token for the end user with the provided public token.
@@ -28496,10 +31083,7 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
```typescript -await client.accounting.fieldMapping.remoteFieldsRetrieve({ - commonModels: "common_models", - includeExampleValues: "include_example_values" -}); +await client.ticketing.accountToken.retrieve("public_token"); ```
@@ -28515,7 +31099,7 @@ await client.accounting.fieldMapping.remoteFieldsRetrieve({
-**request:** `Merge.accounting.RemoteFieldsRetrieveRequest` +**public_token:** `string`
@@ -28523,7 +31107,7 @@ await client.accounting.fieldMapping.remoteFieldsRetrieve({
-**requestOptions:** `FieldMappingClient.RequestOptions` +**requestOptions:** `AccountTokenClient.RequestOptions`
@@ -28535,7 +31119,8 @@ await client.accounting.fieldMapping.remoteFieldsRetrieve({
-
client.accounting.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse +## Ticketing Accounts +
client.ticketing.accounts.list({ ...params }) -> core.Page
@@ -28547,7 +31132,7 @@ await client.accounting.fieldMapping.remoteFieldsRetrieve({
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Returns a list of `Account` objects.
@@ -28562,78 +31147,41 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
```typescript -await client.accounting.fieldMapping.targetFieldsRetrieve(); - -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `FieldMappingClient.RequestOptions` - -
-
-
-
- - - - -
- -## Accounting GeneralLedgerTransactions -
client.accounting.generalLedgerTransactions.list({ ...params }) -> Merge.PaginatedGeneralLedgerTransactionList -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `GeneralLedgerTransaction` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
+const pageableResponse = await client.ticketing.accounts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} -```typescript -await client.accounting.generalLedgerTransactions.list({ - companyId: "company_id", +// Or you can manually iterate page-by-page +let page = await client.ticketing.accounts.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", includeDeletedData: true, includeRemoteData: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - postedDateAfter: new Date("2024-01-15T09:30:00.000Z"), - postedDateBefore: new Date("2024-01-15T09:30:00.000Z"), remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -28649,7 +31197,7 @@ await client.accounting.generalLedgerTransactions.list({
-**request:** `Merge.accounting.GeneralLedgerTransactionsListRequest` +**request:** `Merge.ticketing.AccountsListRequest`
@@ -28657,7 +31205,7 @@ await client.accounting.generalLedgerTransactions.list({
-**requestOptions:** `GeneralLedgerTransactionsClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -28669,7 +31217,7 @@ await client.accounting.generalLedgerTransactions.list({
-
client.accounting.generalLedgerTransactions.retrieve(id, { ...params }) -> Merge.GeneralLedgerTransaction +
client.ticketing.accounts.retrieve(id, { ...params }) -> Merge.Account
@@ -28681,7 +31229,7 @@ await client.accounting.generalLedgerTransactions.list({
-Returns a `GeneralLedgerTransaction` object with the given `id`. +Returns an `Account` object with the given `id`.
@@ -28696,8 +31244,7 @@ Returns a `GeneralLedgerTransaction` object with the given `id`.
```typescript -await client.accounting.generalLedgerTransactions.retrieve("id", { - expand: "accounting_period", +await client.ticketing.accounts.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -28724,7 +31271,7 @@ await client.accounting.generalLedgerTransactions.retrieve("id", {
-**request:** `Merge.accounting.GeneralLedgerTransactionsRetrieveRequest` +**request:** `Merge.ticketing.AccountsRetrieveRequest`
@@ -28732,7 +31279,7 @@ await client.accounting.generalLedgerTransactions.retrieve("id", {
-**requestOptions:** `GeneralLedgerTransactionsClient.RequestOptions` +**requestOptions:** `AccountsClient.RequestOptions`
@@ -28744,8 +31291,8 @@ await client.accounting.generalLedgerTransactions.retrieve("id", {
-## Accounting GenerateKey -
client.accounting.generateKey.create({ ...params }) -> Merge.RemoteKey +## Ticketing AsyncPassthrough +
client.ticketing.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
@@ -28757,7 +31304,7 @@ await client.accounting.generalLedgerTransactions.retrieve("id", {
-Create a remote key. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -28772,8 +31319,9 @@ Create a remote key.
```typescript -await client.accounting.generateKey.create({ - name: "Remote Deployment Key 1" +await client.ticketing.asyncPassthrough.create({ + method: "GET", + path: "/scooters" }); ``` @@ -28790,7 +31338,7 @@ await client.accounting.generateKey.create({
-**request:** `Merge.accounting.GenerateRemoteKeyRequest` +**request:** `Merge.DataPassthroughRequest`
@@ -28798,7 +31346,7 @@ await client.accounting.generateKey.create({
-**requestOptions:** `GenerateKeyClient.RequestOptions` +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -28810,8 +31358,7 @@ await client.accounting.generateKey.create({
-## Accounting IncomeStatements -
client.accounting.incomeStatements.list({ ...params }) -> Merge.PaginatedIncomeStatementList +
client.ticketing.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
@@ -28823,7 +31370,7 @@ await client.accounting.generateKey.create({
-Returns a list of `IncomeStatement` objects. +Retrieves data from earlier async-passthrough POST request
@@ -28838,20 +31385,7 @@ Returns a list of `IncomeStatement` objects.
```typescript -await client.accounting.incomeStatements.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id" -}); +await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id"); ```
@@ -28867,7 +31401,7 @@ await client.accounting.incomeStatements.list({
-**request:** `Merge.accounting.IncomeStatementsListRequest` +**async_passthrough_receipt_id:** `string`
@@ -28875,7 +31409,7 @@ await client.accounting.incomeStatements.list({
-**requestOptions:** `IncomeStatementsClient.RequestOptions` +**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -28887,7 +31421,8 @@ await client.accounting.incomeStatements.list({
-
client.accounting.incomeStatements.retrieve(id, { ...params }) -> Merge.IncomeStatement +## Ticketing Attachments +
client.ticketing.attachments.list({ ...params }) -> core.Page
@@ -28899,7 +31434,7 @@ await client.accounting.incomeStatements.list({
-Returns an `IncomeStatement` object with the given `id`. +Returns a list of `Attachment` objects.
@@ -28914,105 +31449,45 @@ Returns an `IncomeStatement` object with the given `id`.
```typescript -await client.accounting.incomeStatements.retrieve("id", { - expand: "company", +const pageableResponse = await client.ticketing.attachments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeShellData: true + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteId: "remote_id", + ticketId: "ticket_id" }); +for await (const item of pageableResponse) { + console.log(item); +} -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.IncomeStatementsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `IncomeStatementsClient.RequestOptions` - -
-
-
-
- - - - -
- -## Accounting Invoices -
client.accounting.invoices.list({ ...params }) -> Merge.PaginatedInvoiceList -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Invoice` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.invoices.list({ - companyId: "company_id", - contactId: "contact_id", +// Or you can manually iterate page-by-page +let page = await client.ticketing.attachments.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, - issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), - issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - number: "number", pageSize: 1, - remoteFields: "type", + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), remoteId: "remote_id", - showEnumOrigins: "type", - status: "DRAFT", - type: "ACCOUNTS_PAYABLE" + ticketId: "ticket_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -29028,7 +31503,7 @@ await client.accounting.invoices.list({
-**request:** `Merge.accounting.InvoicesListRequest` +**request:** `Merge.ticketing.AttachmentsListRequest`
@@ -29036,7 +31511,7 @@ await client.accounting.invoices.list({
-**requestOptions:** `InvoicesClient.RequestOptions` +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -29048,7 +31523,7 @@ await client.accounting.invoices.list({
-
client.accounting.invoices.create({ ...params }) -> Merge.InvoiceResponse +
client.ticketing.attachments.create({ ...params }) -> Merge.TicketingAttachmentResponse
@@ -29060,9 +31535,7 @@ await client.accounting.invoices.list({
-Creates an `Invoice` object with the given values. - Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). - +Creates an `Attachment` object with the given values.
@@ -29077,7 +31550,7 @@ Creates an `Invoice` object with the given values.
```typescript -await client.accounting.invoices.create({ +await client.ticketing.attachments.create({ isDebugMode: true, runAsync: true, model: {} @@ -29097,7 +31570,7 @@ await client.accounting.invoices.create({
-**request:** `Merge.accounting.InvoiceEndpointRequest` +**request:** `Merge.ticketing.TicketingAttachmentEndpointRequest`
@@ -29105,7 +31578,7 @@ await client.accounting.invoices.create({
-**requestOptions:** `InvoicesClient.RequestOptions` +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -29117,7 +31590,7 @@ await client.accounting.invoices.create({
-
client.accounting.invoices.retrieve(id, { ...params }) -> Merge.Invoice +
client.ticketing.attachments.retrieve(id, { ...params }) -> Merge.Attachment
@@ -29129,7 +31602,7 @@ await client.accounting.invoices.create({
-Returns an `Invoice` object with the given `id`. +Returns an `Attachment` object with the given `id`.
@@ -29144,13 +31617,9 @@ Returns an `Invoice` object with the given `id`.
```typescript -await client.accounting.invoices.retrieve("id", { - expand: "accounting_period", +await client.ticketing.attachments.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - remoteFields: "type", - showEnumOrigins: "type" + includeShellData: true }); ``` @@ -29175,7 +31644,7 @@ await client.accounting.invoices.retrieve("id", {
-**request:** `Merge.accounting.InvoicesRetrieveRequest` +**request:** `Merge.ticketing.AttachmentsRetrieveRequest`
@@ -29183,7 +31652,7 @@ await client.accounting.invoices.retrieve("id", {
-**requestOptions:** `InvoicesClient.RequestOptions` +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -29195,7 +31664,7 @@ await client.accounting.invoices.retrieve("id", {
-
client.accounting.invoices.partialUpdate(id, { ...params }) -> Merge.InvoiceResponse +
client.ticketing.attachments.metaPostRetrieve() -> Merge.MetaResponse
@@ -29207,7 +31676,7 @@ await client.accounting.invoices.retrieve("id", {
-Updates an `Invoice` object with the given `id`. +Returns metadata for `TicketingAttachment` POSTs.
@@ -29222,11 +31691,7 @@ Updates an `Invoice` object with the given `id`.
```typescript -await client.accounting.invoices.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.ticketing.attachments.metaPostRetrieve(); ```
@@ -29242,23 +31707,7 @@ await client.accounting.invoices.partialUpdate("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PatchedInvoiceEndpointRequest` - -
-
- -
-
- -**requestOptions:** `InvoicesClient.RequestOptions` +**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -29270,7 +31719,8 @@ await client.accounting.invoices.partialUpdate("id", {
-
client.accounting.invoices.lineItemsRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Ticketing AuditTrail +
client.ticketing.auditTrail.list({ ...params }) -> core.Page
@@ -29282,7 +31732,7 @@ await client.accounting.invoices.partialUpdate("id", {
-Returns a list of `RemoteFieldClass` objects. +Gets a list of audit trail events.
@@ -29297,15 +31747,33 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.invoices.lineItemsRemoteFieldClassesList({ +const pageableResponse = await client.ticketing.auditTrail.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -29321,7 +31789,7 @@ await client.accounting.invoices.lineItemsRemoteFieldClassesList({
-**request:** `Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest` +**request:** `Merge.ticketing.AuditTrailListRequest`
@@ -29329,7 +31797,7 @@ await client.accounting.invoices.lineItemsRemoteFieldClassesList({
-**requestOptions:** `InvoicesClient.RequestOptions` +**requestOptions:** `AuditTrailClient.RequestOptions`
@@ -29341,7 +31809,8 @@ await client.accounting.invoices.lineItemsRemoteFieldClassesList({
-
client.accounting.invoices.metaPatchRetrieve(id) -> Merge.MetaResponse +## Ticketing AvailableActions +
client.ticketing.availableActions.retrieve() -> Merge.AvailableActions
@@ -29353,7 +31822,7 @@ await client.accounting.invoices.lineItemsRemoteFieldClassesList({
-Returns metadata for `Invoice` PATCHs. +Returns a list of models and actions available for an account.
@@ -29368,7 +31837,7 @@ Returns metadata for `Invoice` PATCHs.
```typescript -await client.accounting.invoices.metaPatchRetrieve("id"); +await client.ticketing.availableActions.retrieve(); ```
@@ -29384,15 +31853,7 @@ await client.accounting.invoices.metaPatchRetrieve("id");
-**id:** `string` - -
-
- -
-
- -**requestOptions:** `InvoicesClient.RequestOptions` +**requestOptions:** `AvailableActionsClient.RequestOptions`
@@ -29404,7 +31865,8 @@ await client.accounting.invoices.metaPatchRetrieve("id");
-
client.accounting.invoices.metaPostRetrieve() -> Merge.MetaResponse +## Ticketing Collections +
client.ticketing.collections.list({ ...params }) -> core.Page
@@ -29416,7 +31878,7 @@ await client.accounting.invoices.metaPatchRetrieve("id");
-Returns metadata for `Invoice` POSTs. +Returns a list of `Collection` objects.
@@ -29431,7 +31893,51 @@ Returns metadata for `Invoice` POSTs.
```typescript -await client.accounting.invoices.metaPostRetrieve(); +const pageableResponse = await client.ticketing.collections.list({ + collectionType: "", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentCollectionId: "parent_collection_id", + remoteFields: "collection_type", + remoteId: "remote_id", + showEnumOrigins: "collection_type" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.collections.list({ + collectionType: "", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentCollectionId: "parent_collection_id", + remoteFields: "collection_type", + remoteId: "remote_id", + showEnumOrigins: "collection_type" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -29447,7 +31953,15 @@ await client.accounting.invoices.metaPostRetrieve();
-**requestOptions:** `InvoicesClient.RequestOptions` +**request:** `Merge.ticketing.CollectionsListRequest` + +
+
+ +
+
+ +**requestOptions:** `CollectionsClient.RequestOptions`
@@ -29459,7 +31973,7 @@ await client.accounting.invoices.metaPostRetrieve();
-
client.accounting.invoices.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.ticketing.collections.viewersList(collection_id, { ...params }) -> core.Page
@@ -29471,7 +31985,7 @@ await client.accounting.invoices.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls)
@@ -29486,15 +32000,31 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.invoices.remoteFieldClassesList({ +const pageableResponse = await client.ticketing.collections.viewersList("collection_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.collections.viewersList("collection_id", { cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -29510,7 +32040,7 @@ await client.accounting.invoices.remoteFieldClassesList({
-**request:** `Merge.accounting.InvoicesRemoteFieldClassesListRequest` +**collection_id:** `string`
@@ -29518,78 +32048,7 @@ await client.accounting.invoices.remoteFieldClassesList({
-**requestOptions:** `InvoicesClient.RequestOptions` - -
-
- -
- - - - -
- -## Accounting Issues -
client.accounting.issues.list({ ...params }) -> Merge.PaginatedIssueList -
-
- -#### 📝 Description - -
-
- -
-
- -Gets all issues for Organization. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING" -}); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.accounting.IssuesListRequest` +**request:** `Merge.ticketing.CollectionsViewersListRequest`
@@ -29597,7 +32056,7 @@ await client.accounting.issues.list({
-**requestOptions:** `IssuesClient.RequestOptions` +**requestOptions:** `CollectionsClient.RequestOptions`
@@ -29609,7 +32068,7 @@ await client.accounting.issues.list({
-
client.accounting.issues.retrieve(id) -> Merge.Issue +
client.ticketing.collections.retrieve(id, { ...params }) -> Merge.Collection
@@ -29621,7 +32080,7 @@ await client.accounting.issues.list({
-Get a specific issue. +Returns a `Collection` object with the given `id`.
@@ -29636,7 +32095,12 @@ Get a specific issue.
```typescript -await client.accounting.issues.retrieve("id"); +await client.ticketing.collections.retrieve("id", { + includeRemoteData: true, + includeShellData: true, + remoteFields: "collection_type", + showEnumOrigins: "collection_type" +}); ```
@@ -29660,7 +32124,15 @@ await client.accounting.issues.retrieve("id");
-**requestOptions:** `IssuesClient.RequestOptions` +**request:** `Merge.ticketing.CollectionsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `CollectionsClient.RequestOptions`
@@ -29672,8 +32144,8 @@ await client.accounting.issues.retrieve("id");
-## Accounting Items -
client.accounting.items.list({ ...params }) -> Merge.PaginatedItemList +## Ticketing Comments +
client.ticketing.comments.list({ ...params }) -> core.Page
@@ -29685,7 +32157,7 @@ await client.accounting.issues.retrieve("id");
-Returns a list of `Item` objects. +Returns a list of `Comment` objects.
@@ -29700,22 +32172,45 @@ Returns a list of `Item` objects.
```typescript -await client.accounting.items.list({ - companyId: "company_id", +const pageableResponse = await client.ticketing.comments.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", includeDeletedData: true, includeRemoteData: true, includeShellData: true, modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - remoteFields: "status", + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), remoteId: "remote_id", - showEnumOrigins: "status" + ticketId: "ticket_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.comments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteId: "remote_id", + ticketId: "ticket_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -29731,7 +32226,7 @@ await client.accounting.items.list({
-**request:** `Merge.accounting.ItemsListRequest` +**request:** `Merge.ticketing.CommentsListRequest`
@@ -29739,7 +32234,7 @@ await client.accounting.items.list({
-**requestOptions:** `ItemsClient.RequestOptions` +**requestOptions:** `CommentsClient.RequestOptions`
@@ -29751,7 +32246,7 @@ await client.accounting.items.list({
-
client.accounting.items.create({ ...params }) -> Merge.ItemResponse +
client.ticketing.comments.create({ ...params }) -> Merge.CommentResponse
@@ -29763,7 +32258,7 @@ await client.accounting.items.list({
-Creates an `Item` object with the given values. +Creates a `Comment` object with the given values.
@@ -29778,7 +32273,7 @@ Creates an `Item` object with the given values.
```typescript -await client.accounting.items.create({ +await client.ticketing.comments.create({ isDebugMode: true, runAsync: true, model: {} @@ -29798,7 +32293,7 @@ await client.accounting.items.create({
-**request:** `Merge.accounting.ItemEndpointRequest` +**request:** `Merge.ticketing.CommentEndpointRequest`
@@ -29806,7 +32301,7 @@ await client.accounting.items.create({
-**requestOptions:** `ItemsClient.RequestOptions` +**requestOptions:** `CommentsClient.RequestOptions`
@@ -29818,7 +32313,7 @@ await client.accounting.items.create({
-
client.accounting.items.retrieve(id, { ...params }) -> Merge.Item +
client.ticketing.comments.retrieve(id, { ...params }) -> Merge.Comment
@@ -29830,7 +32325,7 @@ await client.accounting.items.create({
-Returns an `Item` object with the given `id`. +Returns a `Comment` object with the given `id`.
@@ -29845,12 +32340,9 @@ Returns an `Item` object with the given `id`.
```typescript -await client.accounting.items.retrieve("id", { - expand: "company", +await client.ticketing.comments.retrieve("id", { includeRemoteData: true, - includeShellData: true, - remoteFields: "status", - showEnumOrigins: "status" + includeShellData: true }); ``` @@ -29875,7 +32367,7 @@ await client.accounting.items.retrieve("id", {
-**request:** `Merge.accounting.ItemsRetrieveRequest` +**request:** `Merge.ticketing.CommentsRetrieveRequest`
@@ -29883,7 +32375,7 @@ await client.accounting.items.retrieve("id", {
-**requestOptions:** `ItemsClient.RequestOptions` +**requestOptions:** `CommentsClient.RequestOptions`
@@ -29895,7 +32387,7 @@ await client.accounting.items.retrieve("id", {
-
client.accounting.items.partialUpdate(id, { ...params }) -> Merge.ItemResponse +
client.ticketing.comments.metaPostRetrieve() -> Merge.MetaResponse
@@ -29907,7 +32399,7 @@ await client.accounting.items.retrieve("id", {
-Updates an `Item` object with the given `id`. +Returns metadata for `Comment` POSTs.
@@ -29922,11 +32414,7 @@ Updates an `Item` object with the given `id`.
```typescript -await client.accounting.items.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.ticketing.comments.metaPostRetrieve(); ```
@@ -29942,23 +32430,7 @@ await client.accounting.items.partialUpdate("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PatchedItemEndpointRequest` - -
-
- -
-
- -**requestOptions:** `ItemsClient.RequestOptions` +**requestOptions:** `CommentsClient.RequestOptions`
@@ -29970,7 +32442,8 @@ await client.accounting.items.partialUpdate("id", {
-
client.accounting.items.metaPatchRetrieve(id) -> Merge.MetaResponse +## Ticketing Contacts +
client.ticketing.contacts.list({ ...params }) -> core.Page
@@ -29982,7 +32455,7 @@ await client.accounting.items.partialUpdate("id", {
-Returns metadata for `Item` PATCHs. +Returns a list of `Contact` objects.
@@ -29997,7 +32470,43 @@ Returns metadata for `Item` PATCHs.
```typescript -await client.accounting.items.metaPatchRetrieve("id"); +const pageableResponse = await client.ticketing.contacts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.contacts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -30013,7 +32522,7 @@ await client.accounting.items.metaPatchRetrieve("id");
-**id:** `string` +**request:** `Merge.ticketing.ContactsListRequest`
@@ -30021,7 +32530,7 @@ await client.accounting.items.metaPatchRetrieve("id");
-**requestOptions:** `ItemsClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -30033,7 +32542,7 @@ await client.accounting.items.metaPatchRetrieve("id");
-
client.accounting.items.metaPostRetrieve() -> Merge.MetaResponse +
client.ticketing.contacts.create({ ...params }) -> Merge.TicketingContactResponse
@@ -30045,7 +32554,7 @@ await client.accounting.items.metaPatchRetrieve("id");
-Returns metadata for `Item` POSTs. +Creates a `Contact` object with the given values.
@@ -30060,7 +32569,11 @@ Returns metadata for `Item` POSTs.
```typescript -await client.accounting.items.metaPostRetrieve(); +await client.ticketing.contacts.create({ + isDebugMode: true, + runAsync: true, + model: {} +}); ```
@@ -30076,7 +32589,15 @@ await client.accounting.items.metaPostRetrieve();
-**requestOptions:** `ItemsClient.RequestOptions` +**request:** `Merge.ticketing.TicketingContactEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `ContactsClient.RequestOptions`
@@ -30088,8 +32609,7 @@ await client.accounting.items.metaPostRetrieve();
-## Accounting JournalEntries -
client.accounting.journalEntries.list({ ...params }) -> Merge.PaginatedJournalEntryList +
client.ticketing.contacts.retrieve(id, { ...params }) -> Merge.Contact
@@ -30101,7 +32621,7 @@ await client.accounting.items.metaPostRetrieve();
-Returns a list of `JournalEntry` objects. +Returns a `Contact` object with the given `id`.
@@ -30116,22 +32636,9 @@ Returns a list of `JournalEntry` objects.
```typescript -await client.accounting.journalEntries.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, +await client.ticketing.contacts.retrieve("id", { includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") + includeShellData: true }); ``` @@ -30148,7 +32655,7 @@ await client.accounting.journalEntries.list({
-**request:** `Merge.accounting.JournalEntriesListRequest` +**id:** `string`
@@ -30156,7 +32663,15 @@ await client.accounting.journalEntries.list({
-**requestOptions:** `JournalEntriesClient.RequestOptions` +**request:** `Merge.ticketing.ContactsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `ContactsClient.RequestOptions`
@@ -30168,7 +32683,7 @@ await client.accounting.journalEntries.list({
-
client.accounting.journalEntries.create({ ...params }) -> Merge.JournalEntryResponse +
client.ticketing.contacts.metaPostRetrieve() -> Merge.MetaResponse
@@ -30180,7 +32695,7 @@ await client.accounting.journalEntries.list({
-Creates a `JournalEntry` object with the given values. +Returns metadata for `TicketingContact` POSTs.
@@ -30195,11 +32710,7 @@ Creates a `JournalEntry` object with the given values.
```typescript -await client.accounting.journalEntries.create({ - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.ticketing.contacts.metaPostRetrieve(); ```
@@ -30215,15 +32726,7 @@ await client.accounting.journalEntries.create({
-**request:** `Merge.accounting.JournalEntryEndpointRequest` - -
-
- -
-
- -**requestOptions:** `JournalEntriesClient.RequestOptions` +**requestOptions:** `ContactsClient.RequestOptions`
@@ -30235,7 +32738,8 @@ await client.accounting.journalEntries.create({
-
client.accounting.journalEntries.retrieve(id, { ...params }) -> Merge.JournalEntry +## Ticketing Scopes +
client.ticketing.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -30247,7 +32751,7 @@ await client.accounting.journalEntries.create({
-Returns a `JournalEntry` object with the given `id`. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -30262,12 +32766,7 @@ Returns a `JournalEntry` object with the given `id`.
```typescript -await client.accounting.journalEntries.retrieve("id", { - expand: "accounting_period", - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true -}); +await client.ticketing.scopes.defaultScopesRetrieve(); ```
@@ -30283,23 +32782,7 @@ await client.accounting.journalEntries.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.JournalEntriesRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `JournalEntriesClient.RequestOptions` +**requestOptions:** `ScopesClient.RequestOptions`
@@ -30311,7 +32794,7 @@ await client.accounting.journalEntries.retrieve("id", {
-
client.accounting.journalEntries.linesRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.ticketing.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
@@ -30323,7 +32806,7 @@ await client.accounting.journalEntries.retrieve("id", {
-Returns a list of `RemoteFieldClass` objects. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -30338,15 +32821,7 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.journalEntries.linesRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 -}); +await client.ticketing.scopes.linkedAccountScopesRetrieve(); ```
@@ -30362,15 +32837,7 @@ await client.accounting.journalEntries.linesRemoteFieldClassesList({
-**request:** `Merge.accounting.JournalEntriesLinesRemoteFieldClassesListRequest` - -
-
- -
-
- -**requestOptions:** `JournalEntriesClient.RequestOptions` +**requestOptions:** `ScopesClient.RequestOptions`
@@ -30382,7 +32849,7 @@ await client.accounting.journalEntries.linesRemoteFieldClassesList({
-
client.accounting.journalEntries.metaPostRetrieve() -> Merge.MetaResponse +
client.ticketing.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
@@ -30394,7 +32861,7 @@ await client.accounting.journalEntries.linesRemoteFieldClassesList({
-Returns metadata for `JournalEntry` POSTs. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -30409,7 +32876,30 @@ Returns metadata for `JournalEntry` POSTs.
```typescript -await client.accounting.journalEntries.metaPostRetrieve(); +await client.ticketing.scopes.linkedAccountScopesCreate({ + commonModels: [{ + modelName: "Employee", + modelPermissions: { + "READ": { + isEnabled: true + }, + "WRITE": { + isEnabled: false + } + }, + fieldPermissions: { + enabledFields: ["avatar", "home_location"], + disabledFields: ["work_location"] + } + }, { + modelName: "Benefit", + modelPermissions: { + "WRITE": { + isEnabled: false + } + } + }] +}); ```
@@ -30425,7 +32915,15 @@ await client.accounting.journalEntries.metaPostRetrieve();
-**requestOptions:** `JournalEntriesClient.RequestOptions` +**request:** `Merge.ticketing.LinkedAccountCommonModelScopeDeserializerRequest` + +
+
+ +
+
+ +**requestOptions:** `ScopesClient.RequestOptions`
@@ -30437,7 +32935,8 @@ await client.accounting.journalEntries.metaPostRetrieve();
-
client.accounting.journalEntries.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Ticketing DeleteAccount +
client.ticketing.deleteAccount.delete() -> void
@@ -30449,7 +32948,7 @@ await client.accounting.journalEntries.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Delete a linked account.
@@ -30464,15 +32963,7 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.journalEntries.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 -}); +await client.ticketing.deleteAccount.delete(); ```
@@ -30488,15 +32979,7 @@ await client.accounting.journalEntries.remoteFieldClassesList({
-**request:** `Merge.accounting.JournalEntriesRemoteFieldClassesListRequest` - -
-
- -
-
- -**requestOptions:** `JournalEntriesClient.RequestOptions` +**requestOptions:** `DeleteAccountClient.RequestOptions`
@@ -30508,8 +32991,8 @@ await client.accounting.journalEntries.remoteFieldClassesList({
-## Accounting LinkToken -
client.accounting.linkToken.create({ ...params }) -> Merge.LinkToken +## Ticketing FieldMapping +
client.ticketing.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
@@ -30521,7 +33004,7 @@ await client.accounting.journalEntries.remoteFieldClassesList({
-Creates a link token to be used when linking a new end user. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -30536,11 +33019,8 @@ Creates a link token to be used when linking a new end user.
```typescript -await client.accounting.linkToken.create({ - endUserEmailAddress: "example@gmail.com", - endUserOrganizationName: "Test Organization", - endUserOriginId: "12345", - categories: ["hris", "ats"] +await client.ticketing.fieldMapping.fieldMappingsRetrieve({ + excludeRemoteFieldMetadata: true }); ``` @@ -30557,7 +33037,7 @@ await client.accounting.linkToken.create({
-**request:** `Merge.accounting.EndUserDetailsRequest` +**request:** `Merge.ticketing.FieldMappingsRetrieveRequest`
@@ -30565,7 +33045,7 @@ await client.accounting.linkToken.create({
-**requestOptions:** `LinkTokenClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -30577,8 +33057,7 @@ await client.accounting.linkToken.create({
-## Accounting LinkedAccounts -
client.accounting.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList +
client.ticketing.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
@@ -30590,7 +33069,7 @@ await client.accounting.linkToken.create({
-List linked accounts for your organization. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -30605,20 +33084,14 @@ List linked accounts for your organization.
```typescript -await client.accounting.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status" +await client.ticketing.fieldMapping.fieldMappingsCreate({ + excludeRemoteFieldMetadata: true, + targetFieldName: "example_target_field_name", + targetFieldDescription: "this is a example description of the target field", + remoteFieldTraversalPath: ["example_remote_field"], + remoteMethod: "GET", + remoteUrlPath: "/example-url-path", + commonModelName: "ExampleCommonModel" }); ``` @@ -30635,7 +33108,7 @@ await client.accounting.linkedAccounts.list({
-**request:** `Merge.accounting.LinkedAccountsListRequest` +**request:** `Merge.ticketing.CreateFieldMappingRequest`
@@ -30643,7 +33116,7 @@ await client.accounting.linkedAccounts.list({
-**requestOptions:** `LinkedAccountsClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -30655,8 +33128,7 @@ await client.accounting.linkedAccounts.list({
-## Accounting Passthrough -
client.accounting.passthrough.create({ ...params }) -> Merge.RemoteResponse +
client.ticketing.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
@@ -30668,7 +33140,7 @@ await client.accounting.linkedAccounts.list({
-Pull data from an endpoint not currently supported by Merge. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -30683,10 +33155,7 @@ Pull data from an endpoint not currently supported by Merge.
```typescript -await client.accounting.passthrough.create({ - method: "GET", - path: "/scooters" -}); +await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id"); ```
@@ -30702,7 +33171,7 @@ await client.accounting.passthrough.create({
-**request:** `Merge.DataPassthroughRequest` +**field_mapping_id:** `string`
@@ -30710,7 +33179,7 @@ await client.accounting.passthrough.create({
-**requestOptions:** `PassthroughClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -30722,8 +33191,7 @@ await client.accounting.passthrough.create({
-## Accounting PaymentMethods -
client.accounting.paymentMethods.list({ ...params }) -> Merge.PaginatedPaymentMethodList +
client.ticketing.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
@@ -30735,7 +33203,7 @@ await client.accounting.passthrough.create({
-Returns a list of `PaymentMethod` objects. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -30750,13 +33218,7 @@ Returns a list of `PaymentMethod` objects.
```typescript -await client.accounting.paymentMethods.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1 -}); +await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); ```
@@ -30772,7 +33234,7 @@ await client.accounting.paymentMethods.list({
-**request:** `Merge.accounting.PaymentMethodsListRequest` +**field_mapping_id:** `string`
@@ -30780,7 +33242,15 @@ await client.accounting.paymentMethods.list({
-**requestOptions:** `PaymentMethodsClient.RequestOptions` +**request:** `Merge.ticketing.PatchedEditFieldMappingRequest` + +
+
+ +
+
+ +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -30792,7 +33262,7 @@ await client.accounting.paymentMethods.list({
-
client.accounting.paymentMethods.retrieve(id, { ...params }) -> Merge.PaymentMethod +
client.ticketing.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
@@ -30804,7 +33274,7 @@ await client.accounting.paymentMethods.list({
-Returns a `PaymentMethod` object with the given `id`. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -30819,9 +33289,9 @@ Returns a `PaymentMethod` object with the given `id`.
```typescript -await client.accounting.paymentMethods.retrieve("id", { - includeRemoteData: true, - includeShellData: true +await client.ticketing.fieldMapping.remoteFieldsRetrieve({ + commonModels: "common_models", + includeExampleValues: "include_example_values" }); ``` @@ -30838,15 +33308,7 @@ await client.accounting.paymentMethods.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PaymentMethodsRetrieveRequest` +**request:** `Merge.ticketing.RemoteFieldsRetrieveRequest`
@@ -30854,7 +33316,7 @@ await client.accounting.paymentMethods.retrieve("id", {
-**requestOptions:** `PaymentMethodsClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -30866,8 +33328,7 @@ await client.accounting.paymentMethods.retrieve("id", {
-## Accounting PaymentTerms -
client.accounting.paymentTerms.list({ ...params }) -> Merge.PaginatedPaymentTermList +
client.ticketing.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
@@ -30879,7 +33340,7 @@ await client.accounting.paymentMethods.retrieve("id", {
-Returns a list of `PaymentTerm` objects. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -30894,14 +33355,7 @@ Returns a list of `PaymentTerm` objects.
```typescript -await client.accounting.paymentTerms.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1 -}); +await client.ticketing.fieldMapping.targetFieldsRetrieve(); ```
@@ -30917,15 +33371,7 @@ await client.accounting.paymentTerms.list({
-**request:** `Merge.accounting.PaymentTermsListRequest` - -
-
- -
-
- -**requestOptions:** `PaymentTermsClient.RequestOptions` +**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -30937,7 +33383,8 @@ await client.accounting.paymentTerms.list({
-
client.accounting.paymentTerms.retrieve(id, { ...params }) -> Merge.PaymentTerm +## Ticketing GenerateKey +
client.ticketing.generateKey.create({ ...params }) -> Merge.RemoteKey
@@ -30949,7 +33396,7 @@ await client.accounting.paymentTerms.list({
-Returns a `PaymentTerm` object with the given `id`. +Create a remote key.
@@ -30964,10 +33411,8 @@ Returns a `PaymentTerm` object with the given `id`.
```typescript -await client.accounting.paymentTerms.retrieve("id", { - expand: "company", - includeRemoteData: true, - includeShellData: true +await client.ticketing.generateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -30984,15 +33429,7 @@ await client.accounting.paymentTerms.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PaymentTermsRetrieveRequest` +**request:** `Merge.ticketing.GenerateRemoteKeyRequest`
@@ -31000,7 +33437,7 @@ await client.accounting.paymentTerms.retrieve("id", {
-**requestOptions:** `PaymentTermsClient.RequestOptions` +**requestOptions:** `GenerateKeyClient.RequestOptions`
@@ -31012,8 +33449,8 @@ await client.accounting.paymentTerms.retrieve("id", {
-## Accounting Payments -
client.accounting.payments.list({ ...params }) -> Merge.PaginatedPaymentList +## Ticketing Issues +
client.ticketing.issues.list({ ...params }) -> core.Page
@@ -31025,7 +33462,7 @@ await client.accounting.paymentTerms.retrieve("id", {
-Returns a list of `Payment` objects. +Gets all issues for Organization.
@@ -31040,25 +33477,49 @@ Returns a list of `Payment` objects.
```typescript -await client.accounting.payments.list({ - accountId: "account_id", - companyId: "company_id", - contactId: "contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.ticketing.issues.list({ + accountToken: "account_token", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") + startDate: "start_date", + status: "ONGOING" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -31074,7 +33535,7 @@ await client.accounting.payments.list({
-**request:** `Merge.accounting.PaymentsListRequest` +**request:** `Merge.ticketing.IssuesListRequest`
@@ -31082,7 +33543,7 @@ await client.accounting.payments.list({
-**requestOptions:** `PaymentsClient.RequestOptions` +**requestOptions:** `IssuesClient.RequestOptions`
@@ -31094,7 +33555,7 @@ await client.accounting.payments.list({
-
client.accounting.payments.create({ ...params }) -> Merge.PaymentResponse +
client.ticketing.issues.retrieve(id) -> Merge.Issue
@@ -31106,7 +33567,7 @@ await client.accounting.payments.list({
-Creates a `Payment` object with the given values. +Get a specific issue.
@@ -31121,11 +33582,7 @@ Creates a `Payment` object with the given values.
```typescript -await client.accounting.payments.create({ - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.ticketing.issues.retrieve("id"); ```
@@ -31141,7 +33598,7 @@ await client.accounting.payments.create({
-**request:** `Merge.accounting.PaymentEndpointRequest` +**id:** `string`
@@ -31149,7 +33606,7 @@ await client.accounting.payments.create({
-**requestOptions:** `PaymentsClient.RequestOptions` +**requestOptions:** `IssuesClient.RequestOptions`
@@ -31161,7 +33618,8 @@ await client.accounting.payments.create({
-
client.accounting.payments.retrieve(id, { ...params }) -> Merge.Payment +## Ticketing LinkToken +
client.ticketing.linkToken.create({ ...params }) -> Merge.LinkToken
@@ -31173,7 +33631,7 @@ await client.accounting.payments.create({
-Returns a `Payment` object with the given `id`. +Creates a link token to be used when linking a new end user.
@@ -31188,11 +33646,11 @@ Returns a `Payment` object with the given `id`.
```typescript -await client.accounting.payments.retrieve("id", { - expand: "account", - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true +await client.ticketing.linkToken.create({ + endUserEmailAddress: "example@gmail.com", + endUserOrganizationName: "Test Organization", + endUserOriginId: "12345", + categories: ["hris", "ats"] }); ``` @@ -31209,15 +33667,7 @@ await client.accounting.payments.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PaymentsRetrieveRequest` +**request:** `Merge.ticketing.EndUserDetailsRequest`
@@ -31225,7 +33675,7 @@ await client.accounting.payments.retrieve("id", {
-**requestOptions:** `PaymentsClient.RequestOptions` +**requestOptions:** `LinkTokenClient.RequestOptions`
@@ -31237,7 +33687,8 @@ await client.accounting.payments.retrieve("id", {
-
client.accounting.payments.partialUpdate(id, { ...params }) -> Merge.PaymentResponse +## Ticketing LinkedAccounts +
client.ticketing.linkedAccounts.list({ ...params }) -> core.Page
@@ -31249,7 +33700,7 @@ await client.accounting.payments.retrieve("id", {
-Updates a `Payment` object with the given `id`. +List linked accounts for your organization.
@@ -31264,11 +33715,47 @@ Updates a `Payment` object with the given `id`.
```typescript -await client.accounting.payments.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.ticketing.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -31284,15 +33771,7 @@ await client.accounting.payments.partialUpdate("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PatchedPaymentEndpointRequest` +**request:** `Merge.ticketing.LinkedAccountsListRequest`
@@ -31300,7 +33779,7 @@ await client.accounting.payments.partialUpdate("id", {
-**requestOptions:** `PaymentsClient.RequestOptions` +**requestOptions:** `LinkedAccountsClient.RequestOptions`
@@ -31312,7 +33791,8 @@ await client.accounting.payments.partialUpdate("id", {
-
client.accounting.payments.lineItemsRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Ticketing Passthrough +
client.ticketing.passthrough.create({ ...params }) -> Merge.RemoteResponse
@@ -31324,7 +33804,7 @@ await client.accounting.payments.partialUpdate("id", {
-Returns a list of `RemoteFieldClass` objects. +Pull data from an endpoint not currently supported by Merge.
@@ -31339,14 +33819,9 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.payments.lineItemsRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 +await client.ticketing.passthrough.create({ + method: "GET", + path: "/scooters" }); ``` @@ -31363,7 +33838,7 @@ await client.accounting.payments.lineItemsRemoteFieldClassesList({
-**request:** `Merge.accounting.PaymentsLineItemsRemoteFieldClassesListRequest` +**request:** `Merge.DataPassthroughRequest`
@@ -31371,7 +33846,7 @@ await client.accounting.payments.lineItemsRemoteFieldClassesList({
-**requestOptions:** `PaymentsClient.RequestOptions` +**requestOptions:** `PassthroughClient.RequestOptions`
@@ -31383,7 +33858,8 @@ await client.accounting.payments.lineItemsRemoteFieldClassesList({
-
client.accounting.payments.metaPatchRetrieve(id) -> Merge.MetaResponse +## Ticketing Projects +
client.ticketing.projects.list({ ...params }) -> core.Page
@@ -31395,7 +33871,7 @@ await client.accounting.payments.lineItemsRemoteFieldClassesList({
-Returns metadata for `Payment` PATCHs. +Returns a list of `Project` objects.
@@ -31410,7 +33886,41 @@ Returns metadata for `Payment` PATCHs.
```typescript -await client.accounting.payments.metaPatchRetrieve("id"); +const pageableResponse = await client.ticketing.projects.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.projects.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -31426,7 +33936,7 @@ await client.accounting.payments.metaPatchRetrieve("id");
-**id:** `string` +**request:** `Merge.ticketing.ProjectsListRequest`
@@ -31434,7 +33944,7 @@ await client.accounting.payments.metaPatchRetrieve("id");
-**requestOptions:** `PaymentsClient.RequestOptions` +**requestOptions:** `ProjectsClient.RequestOptions`
@@ -31446,7 +33956,7 @@ await client.accounting.payments.metaPatchRetrieve("id");
-
client.accounting.payments.metaPostRetrieve() -> Merge.MetaResponse +
client.ticketing.projects.retrieve(id, { ...params }) -> Merge.Project
@@ -31458,7 +33968,7 @@ await client.accounting.payments.metaPatchRetrieve("id");
-Returns metadata for `Payment` POSTs. +Returns a `Project` object with the given `id`.
@@ -31473,7 +33983,10 @@ Returns metadata for `Payment` POSTs.
```typescript -await client.accounting.payments.metaPostRetrieve(); +await client.ticketing.projects.retrieve("id", { + includeRemoteData: true, + includeShellData: true +}); ```
@@ -31489,7 +34002,23 @@ await client.accounting.payments.metaPostRetrieve();
-**requestOptions:** `PaymentsClient.RequestOptions` +**id:** `string` + +
+
+ +
+
+ +**request:** `Merge.ticketing.ProjectsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `ProjectsClient.RequestOptions`
@@ -31501,7 +34030,7 @@ await client.accounting.payments.metaPostRetrieve();
-
client.accounting.payments.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.ticketing.projects.usersList(parent_id, { ...params }) -> core.Page
@@ -31513,7 +34042,7 @@ await client.accounting.payments.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `User` objects.
@@ -31528,15 +34057,31 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.payments.remoteFieldClassesList({ +const pageableResponse = await client.ticketing.projects.usersList("parent_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.projects.usersList("parent_id", { cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -31552,7 +34097,7 @@ await client.accounting.payments.remoteFieldClassesList({
-**request:** `Merge.accounting.PaymentsRemoteFieldClassesListRequest` +**parent_id:** `string`
@@ -31560,7 +34105,15 @@ await client.accounting.payments.remoteFieldClassesList({
-**requestOptions:** `PaymentsClient.RequestOptions` +**request:** `Merge.ticketing.ProjectsUsersListRequest` + +
+
+ +
+
+ +**requestOptions:** `ProjectsClient.RequestOptions`
@@ -31572,8 +34125,8 @@ await client.accounting.payments.remoteFieldClassesList({
-## Accounting PhoneNumbers -
client.accounting.phoneNumbers.retrieve(id, { ...params }) -> Merge.AccountingPhoneNumber +## Ticketing RegenerateKey +
client.ticketing.regenerateKey.create({ ...params }) -> Merge.RemoteKey
@@ -31585,7 +34138,7 @@ await client.accounting.payments.remoteFieldClassesList({
-Returns an `AccountingPhoneNumber` object with the given `id`. +Exchange remote keys.
@@ -31600,9 +34153,8 @@ Returns an `AccountingPhoneNumber` object with the given `id`.
```typescript -await client.accounting.phoneNumbers.retrieve("id", { - includeRemoteData: true, - includeShellData: true +await client.ticketing.regenerateKey.create({ + name: "Remote Deployment Key 1" }); ``` @@ -31619,15 +34171,7 @@ await client.accounting.phoneNumbers.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PhoneNumbersRetrieveRequest` +**request:** `Merge.ticketing.RemoteKeyForRegenerationRequest`
@@ -31635,7 +34179,7 @@ await client.accounting.phoneNumbers.retrieve("id", {
-**requestOptions:** `PhoneNumbersClient.RequestOptions` +**requestOptions:** `RegenerateKeyClient.RequestOptions`
@@ -31647,8 +34191,8 @@ await client.accounting.phoneNumbers.retrieve("id", {
-## Accounting Projects -
client.accounting.projects.list({ ...params }) -> Merge.PaginatedProjectList +## Ticketing Roles +
client.ticketing.roles.list({ ...params }) -> core.Page
@@ -31660,7 +34204,7 @@ await client.accounting.phoneNumbers.retrieve("id", {
-Returns a list of `Project` objects. +Returns a list of `Role` objects.
@@ -31675,12 +34219,27 @@ Returns a list of `Project` objects.
```typescript -await client.accounting.projects.list({ - companyId: "company_id", +const pageableResponse = await client.ticketing.roles.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.roles.list({ createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -31689,6 +34248,12 @@ await client.accounting.projects.list({ pageSize: 1, remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -31704,7 +34269,7 @@ await client.accounting.projects.list({
-**request:** `Merge.accounting.ProjectsListRequest` +**request:** `Merge.ticketing.RolesListRequest`
@@ -31712,7 +34277,7 @@ await client.accounting.projects.list({
-**requestOptions:** `ProjectsClient.RequestOptions` +**requestOptions:** `RolesClient.RequestOptions`
@@ -31724,7 +34289,7 @@ await client.accounting.projects.list({
-
client.accounting.projects.retrieve(id, { ...params }) -> Merge.Project +
client.ticketing.roles.retrieve(id, { ...params }) -> Merge.Role
@@ -31736,7 +34301,7 @@ await client.accounting.projects.list({
-Returns a `Project` object with the given `id`. +Returns a `Role` object with the given `id`.
@@ -31751,8 +34316,7 @@ Returns a `Project` object with the given `id`.
```typescript -await client.accounting.projects.retrieve("id", { - expand: "company", +await client.ticketing.roles.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -31779,7 +34343,7 @@ await client.accounting.projects.retrieve("id", {
-**request:** `Merge.accounting.ProjectsRetrieveRequest` +**request:** `Merge.ticketing.RolesRetrieveRequest`
@@ -31787,7 +34351,7 @@ await client.accounting.projects.retrieve("id", {
-**requestOptions:** `ProjectsClient.RequestOptions` +**requestOptions:** `RolesClient.RequestOptions`
@@ -31799,8 +34363,8 @@ await client.accounting.projects.retrieve("id", {
-## Accounting PurchaseOrders -
client.accounting.purchaseOrders.list({ ...params }) -> Merge.PaginatedPurchaseOrderList +## Ticketing SyncStatus +
client.ticketing.syncStatus.list({ ...params }) -> core.Page
@@ -31812,7 +34376,7 @@ await client.accounting.projects.retrieve("id", {
-Returns a list of `PurchaseOrder` objects. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -31827,25 +34391,25 @@ Returns a list of `PurchaseOrder` objects.
```typescript -await client.accounting.purchaseOrders.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.ticketing.syncStatus.list({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), - issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status" + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -31861,7 +34425,7 @@ await client.accounting.purchaseOrders.list({
-**request:** `Merge.accounting.PurchaseOrdersListRequest` +**request:** `Merge.ticketing.SyncStatusListRequest`
@@ -31869,7 +34433,7 @@ await client.accounting.purchaseOrders.list({
-**requestOptions:** `PurchaseOrdersClient.RequestOptions` +**requestOptions:** `SyncStatusClient.RequestOptions`
@@ -31881,7 +34445,8 @@ await client.accounting.purchaseOrders.list({
-
client.accounting.purchaseOrders.create({ ...params }) -> Merge.PurchaseOrderResponse +## Ticketing ForceResync +
client.ticketing.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
@@ -31893,7 +34458,7 @@ await client.accounting.purchaseOrders.list({
-Creates a `PurchaseOrder` object with the given values. +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -31908,11 +34473,7 @@ Creates a `PurchaseOrder` object with the given values.
```typescript -await client.accounting.purchaseOrders.create({ - isDebugMode: true, - runAsync: true, - model: {} -}); +await client.ticketing.forceResync.syncStatusResyncCreate(); ```
@@ -31928,15 +34489,7 @@ await client.accounting.purchaseOrders.create({
-**request:** `Merge.accounting.PurchaseOrderEndpointRequest` - -
-
- -
-
- -**requestOptions:** `PurchaseOrdersClient.RequestOptions` +**requestOptions:** `ForceResyncClient.RequestOptions`
@@ -31948,7 +34501,8 @@ await client.accounting.purchaseOrders.create({
-
client.accounting.purchaseOrders.retrieve(id, { ...params }) -> Merge.PurchaseOrder +## Ticketing Tags +
client.ticketing.tags.list({ ...params }) -> core.Page
@@ -31960,7 +34514,7 @@ await client.accounting.purchaseOrders.create({
-Returns a `PurchaseOrder` object with the given `id`. +Returns a list of `Tag` objects.
@@ -31975,14 +34529,41 @@ Returns a `PurchaseOrder` object with the given `id`.
```typescript -await client.accounting.purchaseOrders.retrieve("id", { - expand: "accounting_period", +const pageableResponse = await client.ticketing.tags.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, - includeRemoteFields: true, includeShellData: true, - remoteFields: "status", - showEnumOrigins: "status" + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.tags.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -31998,15 +34579,7 @@ await client.accounting.purchaseOrders.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.PurchaseOrdersRetrieveRequest` +**request:** `Merge.ticketing.TagsListRequest`
@@ -32014,7 +34587,7 @@ await client.accounting.purchaseOrders.retrieve("id", {
-**requestOptions:** `PurchaseOrdersClient.RequestOptions` +**requestOptions:** `TagsClient.RequestOptions`
@@ -32026,7 +34599,7 @@ await client.accounting.purchaseOrders.retrieve("id", {
-
client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +
client.ticketing.tags.retrieve(id, { ...params }) -> Merge.Tag
@@ -32038,7 +34611,7 @@ await client.accounting.purchaseOrders.retrieve("id", {
-Returns a list of `RemoteFieldClass` objects. +Returns a `Tag` object with the given `id`.
@@ -32053,14 +34626,9 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, +await client.ticketing.tags.retrieve("id", { includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + includeShellData: true }); ``` @@ -32077,7 +34645,7 @@ await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({
-**request:** `Merge.accounting.PurchaseOrdersLineItemsRemoteFieldClassesListRequest` +**id:** `string`
@@ -32085,62 +34653,15 @@ await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({
-**requestOptions:** `PurchaseOrdersClient.RequestOptions` +**request:** `Merge.ticketing.TagsRetrieveRequest`
-
-
- - - - -
- -
client.accounting.purchaseOrders.metaPostRetrieve() -> Merge.MetaResponse -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `PurchaseOrder` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.purchaseOrders.metaPostRetrieve(); - -``` -
-
-
-
- -#### ⚙️ Parameters
-
-
- -**requestOptions:** `PurchaseOrdersClient.RequestOptions` +**requestOptions:** `TagsClient.RequestOptions`
@@ -32152,7 +34673,8 @@ await client.accounting.purchaseOrders.metaPostRetrieve();
-
client.accounting.purchaseOrders.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList +## Ticketing Teams +
client.ticketing.teams.list({ ...params }) -> core.Page
@@ -32164,7 +34686,7 @@ await client.accounting.purchaseOrders.metaPostRetrieve();
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Team` objects.
@@ -32179,15 +34701,41 @@ Returns a list of `RemoteFieldClass` objects.
```typescript -await client.accounting.purchaseOrders.remoteFieldClassesList({ +const pageableResponse = await client.ticketing.teams.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1 + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.teams.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -32203,7 +34751,7 @@ await client.accounting.purchaseOrders.remoteFieldClassesList({
-**request:** `Merge.accounting.PurchaseOrdersRemoteFieldClassesListRequest` +**request:** `Merge.ticketing.TeamsListRequest`
@@ -32211,7 +34759,7 @@ await client.accounting.purchaseOrders.remoteFieldClassesList({
-**requestOptions:** `PurchaseOrdersClient.RequestOptions` +**requestOptions:** `TeamsClient.RequestOptions`
@@ -32223,8 +34771,7 @@ await client.accounting.purchaseOrders.remoteFieldClassesList({
-## Accounting RegenerateKey -
client.accounting.regenerateKey.create({ ...params }) -> Merge.RemoteKey +
client.ticketing.teams.retrieve(id, { ...params }) -> Merge.Team
@@ -32236,7 +34783,7 @@ await client.accounting.purchaseOrders.remoteFieldClassesList({
-Exchange remote keys. +Returns a `Team` object with the given `id`.
@@ -32251,8 +34798,9 @@ Exchange remote keys.
```typescript -await client.accounting.regenerateKey.create({ - name: "Remote Deployment Key 1" +await client.ticketing.teams.retrieve("id", { + includeRemoteData: true, + includeShellData: true }); ``` @@ -32269,7 +34817,7 @@ await client.accounting.regenerateKey.create({
-**request:** `Merge.accounting.RemoteKeyForRegenerationRequest` +**id:** `string`
@@ -32277,7 +34825,15 @@ await client.accounting.regenerateKey.create({
-**requestOptions:** `RegenerateKeyClient.RequestOptions` +**request:** `Merge.ticketing.TeamsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `TeamsClient.RequestOptions`
@@ -32289,8 +34845,8 @@ await client.accounting.regenerateKey.create({
-## Accounting SyncStatus -
client.accounting.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList +## Ticketing Tickets +
client.ticketing.tickets.list({ ...params }) -> core.Page
@@ -32302,7 +34858,7 @@ await client.accounting.regenerateKey.create({
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns a list of `Ticket` objects.
@@ -32317,10 +34873,89 @@ Get sync status for the current sync and the most recently finished sync. `last_
```typescript -await client.accounting.syncStatus.list({ +const pageableResponse = await client.ticketing.tickets.list({ + accountId: "account_id", + assigneeIds: "assignee_ids", + collectionIds: "collection_ids", + completedAfter: new Date("2024-01-15T09:30:00.000Z"), + completedBefore: new Date("2024-01-15T09:30:00.000Z"), + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + creatorId: "creator_id", + creatorIds: "creator_ids", cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1 + dueAfter: new Date("2024-01-15T09:30:00.000Z"), + dueBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentTicketId: "parent_ticket_id", + priority: "HIGH", + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), + remoteFields: "priority", + remoteId: "remote_id", + remoteUpdatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteUpdatedBefore: new Date("2024-01-15T09:30:00.000Z"), + showEnumOrigins: "priority", + status: "", + tags: "tags", + ticketType: "ticket_type", + ticketUrl: "ticket_url" }); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.tickets.list({ + accountId: "account_id", + assigneeIds: "assignee_ids", + collectionIds: "collection_ids", + completedAfter: new Date("2024-01-15T09:30:00.000Z"), + completedBefore: new Date("2024-01-15T09:30:00.000Z"), + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + creatorId: "creator_id", + creatorIds: "creator_ids", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + dueAfter: new Date("2024-01-15T09:30:00.000Z"), + dueBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentTicketId: "parent_ticket_id", + priority: "HIGH", + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), + remoteFields: "priority", + remoteId: "remote_id", + remoteUpdatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteUpdatedBefore: new Date("2024-01-15T09:30:00.000Z"), + showEnumOrigins: "priority", + status: "", + tags: "tags", + ticketType: "ticket_type", + ticketUrl: "ticket_url" +}); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -32336,7 +34971,7 @@ await client.accounting.syncStatus.list({
-**request:** `Merge.accounting.SyncStatusListRequest` +**request:** `Merge.ticketing.TicketsListRequest`
@@ -32344,7 +34979,7 @@ await client.accounting.syncStatus.list({
-**requestOptions:** `SyncStatusClient.RequestOptions` +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32356,8 +34991,7 @@ await client.accounting.syncStatus.list({
-## Accounting ForceResync -
client.accounting.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[] +
client.ticketing.tickets.create({ ...params }) -> Merge.TicketResponse
@@ -32369,7 +35003,7 @@ await client.accounting.syncStatus.list({
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Creates a `Ticket` object with the given values.
@@ -32384,7 +35018,11 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
```typescript -await client.accounting.forceResync.syncStatusResyncCreate(); +await client.ticketing.tickets.create({ + isDebugMode: true, + runAsync: true, + model: {} +}); ```
@@ -32400,7 +35038,15 @@ await client.accounting.forceResync.syncStatusResyncCreate();
-**requestOptions:** `ForceResyncClient.RequestOptions` +**request:** `Merge.ticketing.TicketEndpointRequest` + +
+
+ +
+
+ +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32412,8 +35058,7 @@ await client.accounting.forceResync.syncStatusResyncCreate();
-## Accounting TaxRates -
client.accounting.taxRates.list({ ...params }) -> Merge.PaginatedTaxRateList +
client.ticketing.tickets.retrieve(id, { ...params }) -> Merge.Ticket
@@ -32425,7 +35070,7 @@ await client.accounting.forceResync.syncStatusResyncCreate();
-Returns a list of `TaxRate` objects. +Returns a `Ticket` object with the given `id`.
@@ -32440,20 +35085,12 @@ Returns a list of `TaxRate` objects.
```typescript -await client.accounting.taxRates.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, +await client.ticketing.tickets.retrieve("id", { includeRemoteData: true, + includeRemoteFields: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteId: "remote_id" + remoteFields: "priority", + showEnumOrigins: "priority" }); ``` @@ -32470,7 +35107,7 @@ await client.accounting.taxRates.list({
-**request:** `Merge.accounting.TaxRatesListRequest` +**id:** `string`
@@ -32478,7 +35115,15 @@ await client.accounting.taxRates.list({
-**requestOptions:** `TaxRatesClient.RequestOptions` +**request:** `Merge.ticketing.TicketsRetrieveRequest` + +
+
+ +
+
+ +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32490,7 +35135,7 @@ await client.accounting.taxRates.list({
-
client.accounting.taxRates.retrieve(id, { ...params }) -> Merge.TaxRate +
client.ticketing.tickets.partialUpdate(id, { ...params }) -> Merge.TicketResponse
@@ -32502,7 +35147,7 @@ await client.accounting.taxRates.list({
-Returns a `TaxRate` object with the given `id`. +Updates a `Ticket` object with the given `id`.
@@ -32517,10 +35162,10 @@ Returns a `TaxRate` object with the given `id`.
```typescript -await client.accounting.taxRates.retrieve("id", { - expand: "company", - includeRemoteData: true, - includeShellData: true +await client.ticketing.tickets.partialUpdate("id", { + isDebugMode: true, + runAsync: true, + model: {} }); ``` @@ -32545,7 +35190,7 @@ await client.accounting.taxRates.retrieve("id", {
-**request:** `Merge.accounting.TaxRatesRetrieveRequest` +**request:** `Merge.ticketing.PatchedTicketEndpointRequest`
@@ -32553,7 +35198,7 @@ await client.accounting.taxRates.retrieve("id", {
-**requestOptions:** `TaxRatesClient.RequestOptions` +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32565,8 +35210,7 @@ await client.accounting.taxRates.retrieve("id", {
-## Accounting TrackingCategories -
client.accounting.trackingCategories.list({ ...params }) -> Merge.PaginatedTrackingCategoryList +
client.ticketing.tickets.viewersList(ticket_id, { ...params }) -> core.Page
@@ -32578,7 +35222,7 @@ await client.accounting.taxRates.retrieve("id", {
-Returns a list of `TrackingCategory` objects. +Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls)
@@ -32593,94 +35237,31 @@ Returns a list of `TrackingCategory` objects.
```typescript -await client.accounting.trackingCategories.list({ - categoryType: "", - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.ticketing.tickets.viewersList("ticket_id", { cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - status: "" + pageSize: 1 }); +for await (const item of pageableResponse) { + console.log(item); +} -``` -
-
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `Merge.accounting.TrackingCategoriesListRequest` - -
-
- -
-
- -**requestOptions:** `TrackingCategoriesClient.RequestOptions` - -
-
-
-
- - - - -
- -
client.accounting.trackingCategories.retrieve(id, { ...params }) -> Merge.TrackingCategory -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `TrackingCategory` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.trackingCategories.retrieve("id", { - expand: "company", +// Or you can manually iterate page-by-page +let page = await client.ticketing.tickets.viewersList("ticket_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, includeRemoteData: true, includeShellData: true, - remoteFields: "status", - showEnumOrigins: "status" + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -32696,7 +35277,7 @@ await client.accounting.trackingCategories.retrieve("id", {
-**id:** `string` +**ticket_id:** `string`
@@ -32704,7 +35285,7 @@ await client.accounting.trackingCategories.retrieve("id", {
-**request:** `Merge.accounting.TrackingCategoriesRetrieveRequest` +**request:** `Merge.ticketing.TicketsViewersListRequest`
@@ -32712,7 +35293,7 @@ await client.accounting.trackingCategories.retrieve("id", {
-**requestOptions:** `TrackingCategoriesClient.RequestOptions` +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32724,8 +35305,7 @@ await client.accounting.trackingCategories.retrieve("id", {
-## Accounting Transactions -
client.accounting.transactions.list({ ...params }) -> Merge.PaginatedTransactionList +
client.ticketing.tickets.metaPatchRetrieve(id) -> Merge.MetaResponse
@@ -32737,7 +35317,7 @@ await client.accounting.trackingCategories.retrieve("id", {
-Returns a list of `Transaction` objects. +Returns metadata for `Ticket` PATCHs.
@@ -32752,22 +35332,7 @@ Returns a list of `Transaction` objects.
```typescript -await client.accounting.transactions.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") -}); +await client.ticketing.tickets.metaPatchRetrieve("id"); ```
@@ -32783,7 +35348,7 @@ await client.accounting.transactions.list({
-**request:** `Merge.accounting.TransactionsListRequest` +**id:** `string`
@@ -32791,7 +35356,7 @@ await client.accounting.transactions.list({
-**requestOptions:** `TransactionsClient.RequestOptions` +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32803,7 +35368,7 @@ await client.accounting.transactions.list({
-
client.accounting.transactions.retrieve(id, { ...params }) -> Merge.Transaction +
client.ticketing.tickets.metaPostRetrieve({ ...params }) -> Merge.MetaResponse
@@ -32815,7 +35380,7 @@ await client.accounting.transactions.list({
-Returns a `Transaction` object with the given `id`. +Returns metadata for `Ticket` POSTs.
@@ -32830,10 +35395,9 @@ Returns a `Transaction` object with the given `id`.
```typescript -await client.accounting.transactions.retrieve("id", { - expand: "account", - includeRemoteData: true, - includeShellData: true +await client.ticketing.tickets.metaPostRetrieve({ + collectionId: "collection_id", + ticketType: "ticket_type" }); ``` @@ -32850,15 +35414,7 @@ await client.accounting.transactions.retrieve("id", {
-**id:** `string` - -
-
- -
-
- -**request:** `Merge.accounting.TransactionsRetrieveRequest` +**request:** `Merge.ticketing.TicketsMetaPostRetrieveRequest`
@@ -32866,7 +35422,7 @@ await client.accounting.transactions.retrieve("id", {
-**requestOptions:** `TransactionsClient.RequestOptions` +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32878,8 +35434,7 @@ await client.accounting.transactions.retrieve("id", {
-## Accounting VendorCredits -
client.accounting.vendorCredits.list({ ...params }) -> Merge.PaginatedVendorCreditList +
client.ticketing.tickets.remoteFieldClassesList({ ...params }) -> core.Page
@@ -32891,7 +35446,7 @@ await client.accounting.transactions.retrieve("id", {
-Returns a list of `VendorCredit` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -32906,22 +35461,37 @@ Returns a list of `VendorCredit` objects.
```typescript -await client.accounting.vendorCredits.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), +const pageableResponse = await client.ticketing.tickets.remoteFieldClassesList({ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", + ids: "ids", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") + isCommonModelField: true, + isCustom: true, + pageSize: 1 +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.tickets.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ids: "ids", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1 }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -32937,7 +35507,7 @@ await client.accounting.vendorCredits.list({
-**request:** `Merge.accounting.VendorCreditsListRequest` +**request:** `Merge.ticketing.TicketsRemoteFieldClassesListRequest`
@@ -32945,7 +35515,7 @@ await client.accounting.vendorCredits.list({
-**requestOptions:** `VendorCreditsClient.RequestOptions` +**requestOptions:** `TicketsClient.RequestOptions`
@@ -32957,7 +35527,8 @@ await client.accounting.vendorCredits.list({
-
client.accounting.vendorCredits.create({ ...params }) -> Merge.VendorCreditResponse +## Ticketing Users +
client.ticketing.users.list({ ...params }) -> core.Page
@@ -32969,7 +35540,7 @@ await client.accounting.vendorCredits.list({
-Creates a `VendorCredit` object with the given values. +Returns a list of `User` objects.
@@ -32984,11 +35555,45 @@ Creates a `VendorCredit` object with the given values.
```typescript -await client.accounting.vendorCredits.create({ - isDebugMode: true, - runAsync: true, - model: {} +const pageableResponse = await client.ticketing.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + team: "team" +}); +for await (const item of pageableResponse) { + console.log(item); +} + +// Or you can manually iterate page-by-page +let page = await client.ticketing.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + team: "team" }); +while (page.hasNextPage()) { + page = page.getNextPage(); +} + +// You can also access the underlying response +const response = page.response; ```
@@ -33004,7 +35609,7 @@ await client.accounting.vendorCredits.create({
-**request:** `Merge.accounting.VendorCreditEndpointRequest` +**request:** `Merge.ticketing.UsersListRequest`
@@ -33012,7 +35617,7 @@ await client.accounting.vendorCredits.create({
-**requestOptions:** `VendorCreditsClient.RequestOptions` +**requestOptions:** `UsersClient.RequestOptions`
@@ -33024,7 +35629,7 @@ await client.accounting.vendorCredits.create({
-
client.accounting.vendorCredits.retrieve(id, { ...params }) -> Merge.VendorCredit +
client.ticketing.users.retrieve(id, { ...params }) -> Merge.User
@@ -33036,7 +35641,7 @@ await client.accounting.vendorCredits.create({
-Returns a `VendorCredit` object with the given `id`. +Returns a `User` object with the given `id`.
@@ -33051,8 +35656,7 @@ Returns a `VendorCredit` object with the given `id`.
```typescript -await client.accounting.vendorCredits.retrieve("id", { - expand: "accounting_period", +await client.ticketing.users.retrieve("id", { includeRemoteData: true, includeShellData: true }); @@ -33079,70 +35683,15 @@ await client.accounting.vendorCredits.retrieve("id", {
-**request:** `Merge.accounting.VendorCreditsRetrieveRequest` - -
-
- -
-
- -**requestOptions:** `VendorCreditsClient.RequestOptions` +**request:** `Merge.ticketing.UsersRetrieveRequest`
-
-
- - - - -
- -
client.accounting.vendorCredits.metaPostRetrieve() -> Merge.MetaResponse -
-
- -#### 📝 Description
-
-
- -Returns metadata for `VendorCredit` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.accounting.vendorCredits.metaPostRetrieve(); - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `VendorCreditsClient.RequestOptions` +**requestOptions:** `UsersClient.RequestOptions`
@@ -33154,8 +35703,8 @@ await client.accounting.vendorCredits.metaPostRetrieve();
-## Accounting WebhookReceivers -
client.accounting.webhookReceivers.list() -> Merge.WebhookReceiver[] +## Ticketing WebhookReceivers +
client.ticketing.webhookReceivers.list() -> Merge.WebhookReceiver[]
@@ -33182,7 +35731,7 @@ Returns a list of `WebhookReceiver` objects.
```typescript -await client.accounting.webhookReceivers.list(); +await client.ticketing.webhookReceivers.list(); ```
@@ -33210,7 +35759,7 @@ await client.accounting.webhookReceivers.list();
-
client.accounting.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver +
client.ticketing.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
@@ -33237,7 +35786,7 @@ Creates a `WebhookReceiver` object with the given values.
```typescript -await client.accounting.webhookReceivers.create({ +await client.ticketing.webhookReceivers.create({ event: "event", isActive: true }); @@ -33256,7 +35805,7 @@ await client.accounting.webhookReceivers.create({
-**request:** `Merge.accounting.WebhookReceiverRequest` +**request:** `Merge.ticketing.WebhookReceiverRequest`
diff --git a/src/BaseClient.ts b/src/BaseClient.ts index 5e0f09611..1e9135e2e 100644 --- a/src/BaseClient.ts +++ b/src/BaseClient.ts @@ -56,8 +56,8 @@ export function normalizeClientOptions; protected _ats: AtsClient | undefined; + protected _accounting: AccountingClient | undefined; protected _crm: CrmClient | undefined; - protected _filestorage: FilestorageClient | undefined; + protected _fileStorage: FileStorageClient | undefined; protected _hris: HrisClient | undefined; protected _ticketing: TicketingClient | undefined; - protected _accounting: AccountingClient | undefined; constructor(options: MergeClient.Options) { this._options = normalizeClientOptionsWithAuth(options); @@ -32,12 +32,16 @@ export class MergeClient { return (this._ats ??= new AtsClient(this._options)); } + public get accounting(): AccountingClient { + return (this._accounting ??= new AccountingClient(this._options)); + } + public get crm(): CrmClient { return (this._crm ??= new CrmClient(this._options)); } - public get filestorage(): FilestorageClient { - return (this._filestorage ??= new FilestorageClient(this._options)); + public get fileStorage(): FileStorageClient { + return (this._fileStorage ??= new FileStorageClient(this._options)); } public get hris(): HrisClient { @@ -47,8 +51,4 @@ export class MergeClient { public get ticketing(): TicketingClient { return (this._ticketing ??= new TicketingClient(this._options)); } - - public get accounting(): AccountingClient { - return (this._accounting ??= new AccountingClient(this._options)); - } } diff --git a/src/api/resources/accounting/client/Client.ts b/src/api/resources/accounting/client/Client.ts index db165bc34..0cd600ec9 100644 --- a/src/api/resources/accounting/client/Client.ts +++ b/src/api/resources/accounting/client/Client.ts @@ -21,7 +21,6 @@ import { ContactsClient } from "../resources/contacts/client/Client"; import { CreditNotesClient } from "../resources/creditNotes/client/Client"; import { DeleteAccountClient } from "../resources/deleteAccount/client/Client"; import { EmployeesClient } from "../resources/employees/client/Client"; -import { ExpenseReportsClient } from "../resources/expenseReports/client/Client"; import { ExpensesClient } from "../resources/expenses/client/Client"; import { FieldMappingClient } from "../resources/fieldMapping/client/Client"; import { ForceResyncClient } from "../resources/forceResync/client/Client"; @@ -76,7 +75,6 @@ export class AccountingClient { protected _scopes: ScopesClient | undefined; protected _deleteAccount: DeleteAccountClient | undefined; protected _employees: EmployeesClient | undefined; - protected _expenseReports: ExpenseReportsClient | undefined; protected _expenses: ExpensesClient | undefined; protected _fieldMapping: FieldMappingClient | undefined; protected _generalLedgerTransactions: GeneralLedgerTransactionsClient | undefined; @@ -188,10 +186,6 @@ export class AccountingClient { return (this._employees ??= new EmployeesClient(this._options)); } - public get expenseReports(): ExpenseReportsClient { - return (this._expenseReports ??= new ExpenseReportsClient(this._options)); - } - public get expenses(): ExpensesClient { return (this._expenses ??= new ExpensesClient(this._options)); } diff --git a/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts b/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts index 20bae4385..b0f55ae2c 100644 --- a/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts +++ b/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts @@ -38,75 +38,85 @@ export class AccountingPeriodsClient { * pageSize: 1 * }) */ - public list( + public async list( request: Merge.accounting.AccountingPeriodsListRequest = {}, requestOptions?: AccountingPeriodsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.AccountingPeriodsListRequest = {}, - requestOptions?: AccountingPeriodsClient.RequestOptions, - ): Promise> { - const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.AccountingPeriodsListRequest, + ): Promise> => { + const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/accounting-periods", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedAccountingPeriodList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/accounting-periods", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/accounting-periods", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedAccountingPeriodList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/accounting-periods", - ); } /** diff --git a/src/api/resources/accounting/resources/accounts/client/Client.ts b/src/api/resources/accounting/resources/accounts/client/Client.ts index 30804642d..a01b01edc 100644 --- a/src/api/resources/accounting/resources/accounts/client/Client.ts +++ b/src/api/resources/accounting/resources/accounts/client/Client.ts @@ -37,7 +37,6 @@ export class AccountsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -51,122 +50,137 @@ export class AccountsClient { * status: "" * }) */ - public list( + public async list( request: Merge.accounting.AccountsListRequest = {}, requestOptions?: AccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.AccountsListRequest = {}, - requestOptions?: AccountsClient.RequestOptions, - ): Promise> { - const { - accountType, - classification, - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - status, - } = request; - const _queryParams: Record = { - account_type: accountType, - classification: - classification != null - ? serializers.accounting.AccountsListRequestClassification.jsonOrThrow(classification, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.accounting.AccountsListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - show_enum_origins: - showEnumOrigins != null - ? serializers.accounting.AccountsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - status: - status != null - ? serializers.accounting.AccountsListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.AccountsListRequest, + ): Promise> => { + const { + accountType, + classification, + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + status, + } = request; + const _queryParams: Record = { + account_type: accountType, + classification: + classification != null + ? serializers.accounting.AccountsListRequestClassification.jsonOrThrow(classification, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.accounting.AccountsListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + show_enum_origins: + showEnumOrigins != null + ? serializers.accounting.AccountsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + status: + status != null + ? serializers.accounting.AccountsListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedAccountList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedAccountList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/accounts"); } /** @@ -257,7 +271,6 @@ export class AccountsClient { * * @example * await client.accounting.accounts.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true, * remoteFields: "classification", @@ -279,7 +292,7 @@ export class AccountsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: diff --git a/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts b/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts index 56602c1b4..0b861c474 100644 --- a/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts @@ -11,7 +11,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -39,7 +38,7 @@ export interface AccountsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts b/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts index c7d64f6b4..bf7cdb43a 100644 --- a/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true, * remoteFields: "classification", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface AccountsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/attachments/client/Client.ts b/src/api/resources/accounting/resources/attachments/client/Client.ts index 7e527d8e8..a6915c2f1 100644 --- a/src/api/resources/accounting/resources/attachments/client/Client.ts +++ b/src/api/resources/accounting/resources/attachments/client/Client.ts @@ -44,88 +44,105 @@ export class AttachmentsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.AttachmentsListRequest = {}, requestOptions?: AttachmentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.AttachmentsListRequest = {}, - requestOptions?: AttachmentsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.AttachmentsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/attachments", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedAccountingAttachmentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/attachments", + ); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page( + { + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/attachments", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedAccountingAttachmentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/attachments"); } /** diff --git a/src/api/resources/accounting/resources/auditTrail/client/Client.ts b/src/api/resources/accounting/resources/auditTrail/client/Client.ts index f71839bfa..0f12c41fd 100644 --- a/src/api/resources/accounting/resources/auditTrail/client/Client.ts +++ b/src/api/resources/accounting/resources/auditTrail/client/Client.ts @@ -39,70 +39,85 @@ export class AuditTrailClient { * userEmail: "user_email" * }) */ - public list( + public async list( request: Merge.accounting.AuditTrailListRequest = {}, requestOptions?: AuditTrailClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.AuditTrailListRequest = {}, - requestOptions?: AuditTrailClient.RequestOptions, - ): Promise> { - const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams: Record = { - cursor, - end_date: endDate, - event_type: eventType, - page_size: pageSize, - start_date: startDate, - user_email: userEmail, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.AuditTrailListRequest, + ): Promise> => { + const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; + const _queryParams: Record = { + cursor, + end_date: endDate, + event_type: eventType, + page_size: pageSize, + start_date: startDate, + user_email: userEmail, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/audit-trail", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedAuditLogEventList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/audit-trail", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/audit-trail", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedAuditLogEventList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/audit-trail"); } } diff --git a/src/api/resources/accounting/resources/balanceSheets/client/Client.ts b/src/api/resources/accounting/resources/balanceSheets/client/Client.ts index 889501585..98268e15b 100644 --- a/src/api/resources/accounting/resources/balanceSheets/client/Client.ts +++ b/src/api/resources/accounting/resources/balanceSheets/client/Client.ts @@ -35,7 +35,6 @@ export class BalanceSheetsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,90 +44,105 @@ export class BalanceSheetsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.BalanceSheetsListRequest = {}, requestOptions?: BalanceSheetsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.BalanceSheetsListRequest = {}, - requestOptions?: BalanceSheetsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.BalanceSheetsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/balance-sheets", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedBalanceSheetList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/balance-sheets", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/balance-sheets", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedBalanceSheetList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/balance-sheets"); } /** @@ -140,7 +154,6 @@ export class BalanceSheetsClient { * * @example * await client.accounting.balanceSheets.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true * }) @@ -160,7 +173,7 @@ export class BalanceSheetsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts index 3bfad6d23..8fa53974b 100644 --- a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts +++ b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts @@ -7,7 +7,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -27,7 +26,7 @@ export interface BalanceSheetsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts index 5d04e464f..d57f8b601 100644 --- a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true * } */ export interface BalanceSheetsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/bankFeedAccounts/client/Client.ts b/src/api/resources/accounting/resources/bankFeedAccounts/client/Client.ts index e307789f3..8a483e798 100644 --- a/src/api/resources/accounting/resources/bankFeedAccounts/client/Client.ts +++ b/src/api/resources/accounting/resources/bankFeedAccounts/client/Client.ts @@ -38,75 +38,85 @@ export class BankFeedAccountsClient { * pageSize: 1 * }) */ - public list( + public async list( request: Merge.accounting.BankFeedAccountsListRequest = {}, requestOptions?: BankFeedAccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.BankFeedAccountsListRequest = {}, - requestOptions?: BankFeedAccountsClient.RequestOptions, - ): Promise> { - const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.BankFeedAccountsListRequest, + ): Promise> => { + const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/bank-feed-accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedBankFeedAccountList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/bank-feed-accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/bank-feed-accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedBankFeedAccountList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/bank-feed-accounts", - ); } /** diff --git a/src/api/resources/accounting/resources/bankFeedTransactions/client/Client.ts b/src/api/resources/accounting/resources/bankFeedTransactions/client/Client.ts index 3ceb0de41..aeaac3bff 100644 --- a/src/api/resources/accounting/resources/bankFeedTransactions/client/Client.ts +++ b/src/api/resources/accounting/resources/bankFeedTransactions/client/Client.ts @@ -34,7 +34,6 @@ export class BankFeedTransactionsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "bank_feed_account", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,95 +44,105 @@ export class BankFeedTransactionsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.BankFeedTransactionsListRequest = {}, requestOptions?: BankFeedTransactionsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.BankFeedTransactionsListRequest = {}, - requestOptions?: BankFeedTransactionsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - isProcessed, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_processed: isProcessed, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.BankFeedTransactionsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + isProcessed, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_processed: isProcessed, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/bank-feed-transactions", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedBankFeedTransactionList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/bank-feed-transactions", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/bank-feed-transactions", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedBankFeedTransactionList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/bank-feed-transactions", - ); } /** @@ -231,7 +240,6 @@ export class BankFeedTransactionsClient { * * @example * await client.accounting.bankFeedTransactions.retrieve("id", { - * expand: "bank_feed_account", * includeRemoteData: true, * includeShellData: true * }) @@ -251,7 +259,7 @@ export class BankFeedTransactionsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.ts b/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.ts index 707d1e2ef..e2c8cc510 100644 --- a/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.ts +++ b/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "bank_feed_account", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -25,7 +24,7 @@ export interface BankFeedTransactionsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "bank_feed_account"; + expand?: "bank_feed_account" | "bank_feed_account"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.ts b/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.ts index e62d97162..b427010dc 100644 --- a/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "bank_feed_account", * includeRemoteData: true, * includeShellData: true * } */ export interface BankFeedTransactionsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "bank_feed_account"; + expand?: "bank_feed_account" | "bank_feed_account"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts b/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts index adfb4163c..ea7b6ed58 100644 --- a/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts +++ b/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts @@ -35,7 +35,6 @@ export class CashFlowStatementsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,95 +44,105 @@ export class CashFlowStatementsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.CashFlowStatementsListRequest = {}, requestOptions?: CashFlowStatementsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.CashFlowStatementsListRequest = {}, - requestOptions?: CashFlowStatementsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.CashFlowStatementsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/cash-flow-statements", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedCashFlowStatementList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/cash-flow-statements", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/cash-flow-statements", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedCashFlowStatementList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/cash-flow-statements", - ); } /** @@ -145,7 +154,6 @@ export class CashFlowStatementsClient { * * @example * await client.accounting.cashFlowStatements.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true * }) @@ -165,7 +173,7 @@ export class CashFlowStatementsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts index 105782d1f..19f07981d 100644 --- a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts +++ b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts @@ -7,7 +7,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -27,7 +26,7 @@ export interface CashFlowStatementsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts index b8c9fea3d..21b44f55c 100644 --- a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true * } */ export interface CashFlowStatementsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/companyInfo/client/Client.ts b/src/api/resources/accounting/resources/companyInfo/client/Client.ts index 78648d8ed..4068c87e3 100644 --- a/src/api/resources/accounting/resources/companyInfo/client/Client.ts +++ b/src/api/resources/accounting/resources/companyInfo/client/Client.ts @@ -34,7 +34,6 @@ export class CompanyInfoClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "addresses", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -44,93 +43,113 @@ export class CompanyInfoClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.CompanyInfoListRequest = {}, requestOptions?: CompanyInfoClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.CompanyInfoListRequest = {}, - requestOptions?: CompanyInfoClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.CompanyInfoListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.CompanyInfoListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.CompanyInfoListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.CompanyInfoListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/company-info", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedCompanyInfoList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/company-info", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/company-info", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedCompanyInfoList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/company-info"); } /** @@ -142,7 +161,6 @@ export class CompanyInfoClient { * * @example * await client.accounting.companyInfo.retrieve("id", { - * expand: "addresses", * includeRemoteData: true, * includeShellData: true * }) @@ -162,12 +180,17 @@ export class CompanyInfoClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.CompanyInfoRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.CompanyInfoRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.CompanyInfoRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts index 3f8a20ccc..47317a539 100644 --- a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts +++ b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts @@ -8,7 +8,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "addresses", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -26,7 +25,7 @@ export interface CompanyInfoListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.CompanyInfoListRequestExpand; + expand?: Merge.accounting.CompanyInfoListRequestExpandItem | Merge.accounting.CompanyInfoListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts index 81ce63415..038f06dbb 100644 --- a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts @@ -5,14 +5,15 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "addresses", * includeRemoteData: true, * includeShellData: true * } */ export interface CompanyInfoRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.CompanyInfoRetrieveRequestExpand; + expand?: + | Merge.accounting.CompanyInfoRetrieveRequestExpandItem + | Merge.accounting.CompanyInfoRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts deleted file mode 100644 index 795edaf16..000000000 --- a/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CompanyInfoListRequestExpand = { - Addresses: "addresses", - AddressesPhoneNumbers: "addresses,phone_numbers", - PhoneNumbers: "phone_numbers", -} as const; -export type CompanyInfoListRequestExpand = - (typeof CompanyInfoListRequestExpand)[keyof typeof CompanyInfoListRequestExpand]; diff --git a/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts new file mode 100644 index 000000000..73f1ba570 --- /dev/null +++ b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CompanyInfoListRequestExpandItem = { + Addresses: "addresses", + PhoneNumbers: "phone_numbers", +} as const; +export type CompanyInfoListRequestExpandItem = + (typeof CompanyInfoListRequestExpandItem)[keyof typeof CompanyInfoListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts deleted file mode 100644 index e7a24826e..000000000 --- a/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CompanyInfoRetrieveRequestExpand = { - Addresses: "addresses", - AddressesPhoneNumbers: "addresses,phone_numbers", - PhoneNumbers: "phone_numbers", -} as const; -export type CompanyInfoRetrieveRequestExpand = - (typeof CompanyInfoRetrieveRequestExpand)[keyof typeof CompanyInfoRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..3c06e4524 --- /dev/null +++ b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CompanyInfoRetrieveRequestExpandItem = { + Addresses: "addresses", + PhoneNumbers: "phone_numbers", +} as const; +export type CompanyInfoRetrieveRequestExpandItem = + (typeof CompanyInfoRetrieveRequestExpandItem)[keyof typeof CompanyInfoRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/companyInfo/types/index.ts b/src/api/resources/accounting/resources/companyInfo/types/index.ts index 8f0d30c91..68b77b77d 100644 --- a/src/api/resources/accounting/resources/companyInfo/types/index.ts +++ b/src/api/resources/accounting/resources/companyInfo/types/index.ts @@ -1,2 +1,2 @@ -export * from "./CompanyInfoListRequestExpand"; -export * from "./CompanyInfoRetrieveRequestExpand"; +export * from "./CompanyInfoListRequestExpandItem"; +export * from "./CompanyInfoRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/contacts/client/Client.ts b/src/api/resources/accounting/resources/contacts/client/Client.ts index d1a4ab0c2..13ad31156 100644 --- a/src/api/resources/accounting/resources/contacts/client/Client.ts +++ b/src/api/resources/accounting/resources/contacts/client/Client.ts @@ -36,7 +36,6 @@ export class ContactsClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddress: "email_address", - * expand: "addresses", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -53,116 +52,136 @@ export class ContactsClient { * status: "" * }) */ - public list( + public async list( request: Merge.accounting.ContactsListRequest = {}, requestOptions?: ContactsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.ContactsListRequest = {}, - requestOptions?: ContactsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - emailAddress, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCustomer, - isSupplier, - modifiedAfter, - modifiedBefore, - name, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - status, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email_address: emailAddress, - expand: - expand != null - ? serializers.accounting.ContactsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_customer: isCustomer, - is_supplier: isSupplier, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - status: - status != null - ? serializers.accounting.ContactsListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.ContactsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + emailAddress, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCustomer, + isSupplier, + modifiedAfter, + modifiedBefore, + name, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + status, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email_address: emailAddress, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ContactsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.ContactsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_customer: isCustomer, + is_supplier: isSupplier, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + status: + status != null + ? serializers.accounting.ContactsListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/contacts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedContactList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/contacts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/contacts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedContactList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/contacts"); } /** @@ -253,7 +272,6 @@ export class ContactsClient { * * @example * await client.accounting.contacts.retrieve("id", { - * expand: "addresses", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -277,12 +295,17 @@ export class ContactsClient { const { expand, includeRemoteData, includeRemoteFields, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.ContactsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ContactsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.ContactsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -336,167 +359,6 @@ export class ContactsClient { return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/contacts/{id}"); } - /** - * Updates a `Contact` object with the given `id`. - * - * @param {string} id - * @param {Merge.accounting.PatchedContactEndpointRequest} request - * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.contacts.partialUpdate("id", { - * isDebugMode: true, - * runAsync: true, - * model: {} - * }) - */ - public partialUpdate( - id: string, - request: Merge.accounting.PatchedContactEndpointRequest, - requestOptions?: ContactsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__partialUpdate(id, request, requestOptions)); - } - - private async __partialUpdate( - id: string, - request: Merge.accounting.PatchedContactEndpointRequest, - requestOptions?: ContactsClient.RequestOptions, - ): Promise> { - const { isDebugMode, runAsync, ..._body } = request; - const _queryParams: Record = { - is_debug_mode: isDebugMode, - run_async: runAsync, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `accounting/v1/contacts/${core.url.encodePathParam(id)}`, - ), - method: "PATCH", - headers: _headers, - contentType: "application/json", - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - requestType: "json", - body: serializers.accounting.PatchedContactEndpointRequest.jsonOrThrow(_body, { - unrecognizedObjectKeys: "strip", - }), - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.ContactResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "PATCH", - "/accounting/v1/contacts/{id}", - ); - } - - /** - * Returns metadata for `Contact` PATCHs. - * - * @param {string} id - * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.contacts.metaPatchRetrieve("id") - */ - public metaPatchRetrieve( - id: string, - requestOptions?: ContactsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__metaPatchRetrieve(id, requestOptions)); - } - - private async __metaPatchRetrieve( - id: string, - requestOptions?: ContactsClient.RequestOptions, - ): Promise> { - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `accounting/v1/contacts/meta/patch/${core.url.encodePathParam(id)}`, - ), - method: "GET", - headers: _headers, - queryParameters: requestOptions?.queryParams, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.MetaResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/contacts/meta/patch/{id}", - ); - } - /** * Returns metadata for `Contact` POSTs. * @@ -583,84 +445,94 @@ export class ContactsClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.accounting.ContactsRemoteFieldClassesListRequest = {}, requestOptions?: ContactsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.accounting.ContactsRemoteFieldClassesListRequest = {}, - requestOptions?: ContactsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.ContactsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/contacts/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/contacts/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/contacts/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/contacts/remote-field-classes", - ); } } diff --git a/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts b/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts index 585914e5d..7cd94f107 100644 --- a/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts @@ -10,7 +10,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddress: "email_address", - * expand: "addresses", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -39,7 +38,7 @@ export interface ContactsListRequest { /** If provided, will only return Contacts that match this email. */ emailAddress?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ContactsListRequestExpand; + expand?: Merge.accounting.ContactsListRequestExpandItem | Merge.accounting.ContactsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts b/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts index 3a48f7835..5ca6630d4 100644 --- a/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "addresses", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -15,7 +14,7 @@ import type * as Merge from "../../../../../../index"; */ export interface ContactsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ContactsRetrieveRequestExpand; + expand?: Merge.accounting.ContactsRetrieveRequestExpandItem | Merge.accounting.ContactsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts b/src/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts deleted file mode 100644 index 4e5b8f168..000000000 --- a/src/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts +++ /dev/null @@ -1,19 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../index"; - -/** - * @example - * { - * isDebugMode: true, - * runAsync: true, - * model: {} - * } - */ -export interface PatchedContactEndpointRequest { - /** Whether to include debug fields (such as log file links) in the response. */ - isDebugMode?: boolean; - /** Whether or not third-party updates should be run asynchronously. */ - runAsync?: boolean; - model: Merge.accounting.PatchedContactRequest; -} diff --git a/src/api/resources/accounting/resources/contacts/client/requests/index.ts b/src/api/resources/accounting/resources/contacts/client/requests/index.ts index cd7bbf5ba..b65d7a4bc 100644 --- a/src/api/resources/accounting/resources/contacts/client/requests/index.ts +++ b/src/api/resources/accounting/resources/contacts/client/requests/index.ts @@ -2,4 +2,3 @@ export type { ContactEndpointRequest } from "./ContactEndpointRequest"; export type { ContactsListRequest } from "./ContactsListRequest"; export type { ContactsRemoteFieldClassesListRequest } from "./ContactsRemoteFieldClassesListRequest"; export type { ContactsRetrieveRequest } from "./ContactsRetrieveRequest"; -export type { PatchedContactEndpointRequest } from "./PatchedContactEndpointRequest"; diff --git a/src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts b/src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts deleted file mode 100644 index 716e620c1..000000000 --- a/src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ContactsListRequestExpand = { - Addresses: "addresses", - AddressesCompany: "addresses,company", - AddressesPhoneNumbers: "addresses,phone_numbers", - AddressesPhoneNumbersCompany: "addresses,phone_numbers,company", - Company: "company", - PhoneNumbers: "phone_numbers", - PhoneNumbersCompany: "phone_numbers,company", -} as const; -export type ContactsListRequestExpand = (typeof ContactsListRequestExpand)[keyof typeof ContactsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts b/src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts new file mode 100644 index 000000000..ff4f2967d --- /dev/null +++ b/src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ContactsListRequestExpandItem = { + Addresses: "addresses", + Company: "company", + PhoneNumbers: "phone_numbers", +} as const; +export type ContactsListRequestExpandItem = + (typeof ContactsListRequestExpandItem)[keyof typeof ContactsListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts deleted file mode 100644 index 7ac79c924..000000000 --- a/src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ContactsRetrieveRequestExpand = { - Addresses: "addresses", - AddressesCompany: "addresses,company", - AddressesPhoneNumbers: "addresses,phone_numbers", - AddressesPhoneNumbersCompany: "addresses,phone_numbers,company", - Company: "company", - PhoneNumbers: "phone_numbers", - PhoneNumbersCompany: "phone_numbers,company", -} as const; -export type ContactsRetrieveRequestExpand = - (typeof ContactsRetrieveRequestExpand)[keyof typeof ContactsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..6c9140b31 --- /dev/null +++ b/src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ContactsRetrieveRequestExpandItem = { + Addresses: "addresses", + Company: "company", + PhoneNumbers: "phone_numbers", +} as const; +export type ContactsRetrieveRequestExpandItem = + (typeof ContactsRetrieveRequestExpandItem)[keyof typeof ContactsRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/contacts/types/index.ts b/src/api/resources/accounting/resources/contacts/types/index.ts index 97a5d68db..01ebd1a06 100644 --- a/src/api/resources/accounting/resources/contacts/types/index.ts +++ b/src/api/resources/accounting/resources/contacts/types/index.ts @@ -1,3 +1,3 @@ -export * from "./ContactsListRequestExpand"; +export * from "./ContactsListRequestExpandItem"; export * from "./ContactsListRequestStatus"; -export * from "./ContactsRetrieveRequestExpand"; +export * from "./ContactsRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/creditNotes/client/Client.ts b/src/api/resources/accounting/resources/creditNotes/client/Client.ts index 520f8003d..f1a02243d 100644 --- a/src/api/resources/accounting/resources/creditNotes/client/Client.ts +++ b/src/api/resources/accounting/resources/creditNotes/client/Client.ts @@ -35,7 +35,6 @@ export class CreditNotesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -49,113 +48,134 @@ export class CreditNotesClient { * transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.accounting.CreditNotesListRequest = {}, requestOptions?: CreditNotesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.CreditNotesListRequest = {}, - requestOptions?: CreditNotesClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - transactionDateAfter, - transactionDateBefore, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.CreditNotesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.accounting.CreditNotesListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - show_enum_origins: - showEnumOrigins != null - ? serializers.accounting.CreditNotesListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - transaction_date_after: transactionDateAfter?.toISOString(), - transaction_date_before: transactionDateBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.CreditNotesListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + transactionDateAfter, + transactionDateBefore, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.CreditNotesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.CreditNotesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.accounting.CreditNotesListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + show_enum_origins: + showEnumOrigins != null + ? serializers.accounting.CreditNotesListRequestShowEnumOrigins.jsonOrThrow( + showEnumOrigins, + { unrecognizedObjectKeys: "strip" }, + ) + : undefined, + transaction_date_after: transactionDateAfter?.toISOString(), + transaction_date_before: transactionDateBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/credit-notes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedCreditNoteList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/credit-notes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/credit-notes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedCreditNoteList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/credit-notes"); } /** @@ -248,7 +268,6 @@ export class CreditNotesClient { * * @example * await client.accounting.creditNotes.retrieve("id", { - * expand: "accounting_period", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -270,12 +289,17 @@ export class CreditNotesClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.CreditNotesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.CreditNotesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.CreditNotesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: diff --git a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts index 70e082fc5..4239f38d8 100644 --- a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts +++ b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -33,7 +32,7 @@ export interface CreditNotesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.CreditNotesListRequestExpand; + expand?: Merge.accounting.CreditNotesListRequestExpandItem | Merge.accounting.CreditNotesListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts index 6fe2a7acd..77ff0a562 100644 --- a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "accounting_period", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -14,7 +13,9 @@ import type * as Merge from "../../../../../../index"; */ export interface CreditNotesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.CreditNotesRetrieveRequestExpand; + expand?: + | Merge.accounting.CreditNotesRetrieveRequestExpandItem + | Merge.accounting.CreditNotesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts deleted file mode 100644 index 17309eb55..000000000 --- a/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts +++ /dev/null @@ -1,163 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CreditNotesListRequestExpand = { - AccountingPeriod: "accounting_period", - AppliedPayments: "applied_payments", - AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period", - AppliedPaymentsCompany: "applied_payments,company", - AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period", - AppliedPaymentsContact: "applied_payments,contact", - AppliedPaymentsContactAccountingPeriod: "applied_payments,contact,accounting_period", - AppliedPaymentsContactCompany: "applied_payments,contact,company", - AppliedPaymentsContactCompanyAccountingPeriod: "applied_payments,contact,company,accounting_period", - AppliedPaymentsLineItems: "applied_payments,line_items", - AppliedPaymentsLineItemsAccountingPeriod: "applied_payments,line_items,accounting_period", - AppliedPaymentsLineItemsCompany: "applied_payments,line_items,company", - AppliedPaymentsLineItemsCompanyAccountingPeriod: "applied_payments,line_items,company,accounting_period", - AppliedPaymentsLineItemsContact: "applied_payments,line_items,contact", - AppliedPaymentsLineItemsContactAccountingPeriod: "applied_payments,line_items,contact,accounting_period", - AppliedPaymentsLineItemsContactCompany: "applied_payments,line_items,contact,company", - AppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "applied_payments,line_items,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategories: "applied_payments,line_items,tracking_categories", - AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "applied_payments,line_items,tracking_categories,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesCompany: "applied_payments,line_items,tracking_categories,company", - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContact: "applied_payments,line_items,tracking_categories,contact", - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "applied_payments,line_items,tracking_categories,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories", - AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period", - AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,tracking_categories,company,accounting_period", - AppliedPaymentsTrackingCategoriesContact: "applied_payments,tracking_categories,contact", - AppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "applied_payments,tracking_categories,contact,accounting_period", - AppliedPaymentsTrackingCategoriesContactCompany: "applied_payments,tracking_categories,contact,company", - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,contact,company,accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Contact: "contact", - ContactAccountingPeriod: "contact,accounting_period", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - LineItems: "line_items", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsContact: "line_items,contact", - LineItemsContactAccountingPeriod: "line_items,contact,accounting_period", - LineItemsContactCompany: "line_items,contact,company", - LineItemsContactCompanyAccountingPeriod: "line_items,contact,company,accounting_period", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesContact: "line_items,tracking_categories,contact", - LineItemsTrackingCategoriesContactAccountingPeriod: "line_items,tracking_categories,contact,accounting_period", - LineItemsTrackingCategoriesContactCompany: "line_items,tracking_categories,contact,company", - LineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "line_items,tracking_categories,contact,company,accounting_period", - Payments: "payments", - PaymentsAccountingPeriod: "payments,accounting_period", - PaymentsAppliedPayments: "payments,applied_payments", - PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period", - PaymentsAppliedPaymentsCompany: "payments,applied_payments,company", - PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period", - PaymentsAppliedPaymentsContact: "payments,applied_payments,contact", - PaymentsAppliedPaymentsContactAccountingPeriod: "payments,applied_payments,contact,accounting_period", - PaymentsAppliedPaymentsContactCompany: "payments,applied_payments,contact,company", - PaymentsAppliedPaymentsContactCompanyAccountingPeriod: - "payments,applied_payments,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItems: "payments,applied_payments,line_items", - PaymentsAppliedPaymentsLineItemsAccountingPeriod: "payments,applied_payments,line_items,accounting_period", - PaymentsAppliedPaymentsLineItemsCompany: "payments,applied_payments,line_items,company", - PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod: - "payments,applied_payments,line_items,company,accounting_period", - PaymentsAppliedPaymentsLineItemsContact: "payments,applied_payments,line_items,contact", - PaymentsAppliedPaymentsLineItemsContactAccountingPeriod: - "payments,applied_payments,line_items,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsContactCompany: "payments,applied_payments,line_items,contact,company", - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategories: "payments,applied_payments,line_items,tracking_categories", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany: - "payments,applied_payments,line_items,tracking_categories,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact: - "payments,applied_payments,line_items,tracking_categories,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "payments,applied_payments,line_items,tracking_categories,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,tracking_categories,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContact: "payments,applied_payments,tracking_categories,contact", - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactCompany: - "payments,applied_payments,tracking_categories,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - PaymentsCompany: "payments,company", - PaymentsCompanyAccountingPeriod: "payments,company,accounting_period", - PaymentsContact: "payments,contact", - PaymentsContactAccountingPeriod: "payments,contact,accounting_period", - PaymentsContactCompany: "payments,contact,company", - PaymentsContactCompanyAccountingPeriod: "payments,contact,company,accounting_period", - PaymentsLineItems: "payments,line_items", - PaymentsLineItemsAccountingPeriod: "payments,line_items,accounting_period", - PaymentsLineItemsCompany: "payments,line_items,company", - PaymentsLineItemsCompanyAccountingPeriod: "payments,line_items,company,accounting_period", - PaymentsLineItemsContact: "payments,line_items,contact", - PaymentsLineItemsContactAccountingPeriod: "payments,line_items,contact,accounting_period", - PaymentsLineItemsContactCompany: "payments,line_items,contact,company", - PaymentsLineItemsContactCompanyAccountingPeriod: "payments,line_items,contact,company,accounting_period", - PaymentsLineItemsTrackingCategories: "payments,line_items,tracking_categories", - PaymentsLineItemsTrackingCategoriesAccountingPeriod: "payments,line_items,tracking_categories,accounting_period", - PaymentsLineItemsTrackingCategoriesCompany: "payments,line_items,tracking_categories,company", - PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,company,accounting_period", - PaymentsLineItemsTrackingCategoriesContact: "payments,line_items,tracking_categories,contact", - PaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,line_items,tracking_categories,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesContactCompany: "payments,line_items,tracking_categories,contact,company", - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsTrackingCategories: "payments,tracking_categories", - PaymentsTrackingCategoriesAccountingPeriod: "payments,tracking_categories,accounting_period", - PaymentsTrackingCategoriesCompany: "payments,tracking_categories,company", - PaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,tracking_categories,company,accounting_period", - PaymentsTrackingCategoriesContact: "payments,tracking_categories,contact", - PaymentsTrackingCategoriesContactAccountingPeriod: "payments,tracking_categories,contact,accounting_period", - PaymentsTrackingCategoriesContactCompany: "payments,tracking_categories,contact,company", - PaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,tracking_categories,contact,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", -} as const; -export type CreditNotesListRequestExpand = - (typeof CreditNotesListRequestExpand)[keyof typeof CreditNotesListRequestExpand]; diff --git a/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts new file mode 100644 index 000000000..637c6e777 --- /dev/null +++ b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CreditNotesListRequestExpandItem = { + AccountingPeriod: "accounting_period", + AppliedPayments: "applied_payments", + Company: "company", + Contact: "contact", + LineItems: "line_items", + Payments: "payments", + TrackingCategories: "tracking_categories", +} as const; +export type CreditNotesListRequestExpandItem = + (typeof CreditNotesListRequestExpandItem)[keyof typeof CreditNotesListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts deleted file mode 100644 index 42b0ff67d..000000000 --- a/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts +++ /dev/null @@ -1,163 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CreditNotesRetrieveRequestExpand = { - AccountingPeriod: "accounting_period", - AppliedPayments: "applied_payments", - AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period", - AppliedPaymentsCompany: "applied_payments,company", - AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period", - AppliedPaymentsContact: "applied_payments,contact", - AppliedPaymentsContactAccountingPeriod: "applied_payments,contact,accounting_period", - AppliedPaymentsContactCompany: "applied_payments,contact,company", - AppliedPaymentsContactCompanyAccountingPeriod: "applied_payments,contact,company,accounting_period", - AppliedPaymentsLineItems: "applied_payments,line_items", - AppliedPaymentsLineItemsAccountingPeriod: "applied_payments,line_items,accounting_period", - AppliedPaymentsLineItemsCompany: "applied_payments,line_items,company", - AppliedPaymentsLineItemsCompanyAccountingPeriod: "applied_payments,line_items,company,accounting_period", - AppliedPaymentsLineItemsContact: "applied_payments,line_items,contact", - AppliedPaymentsLineItemsContactAccountingPeriod: "applied_payments,line_items,contact,accounting_period", - AppliedPaymentsLineItemsContactCompany: "applied_payments,line_items,contact,company", - AppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "applied_payments,line_items,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategories: "applied_payments,line_items,tracking_categories", - AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "applied_payments,line_items,tracking_categories,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesCompany: "applied_payments,line_items,tracking_categories,company", - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContact: "applied_payments,line_items,tracking_categories,contact", - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "applied_payments,line_items,tracking_categories,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories", - AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period", - AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,tracking_categories,company,accounting_period", - AppliedPaymentsTrackingCategoriesContact: "applied_payments,tracking_categories,contact", - AppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "applied_payments,tracking_categories,contact,accounting_period", - AppliedPaymentsTrackingCategoriesContactCompany: "applied_payments,tracking_categories,contact,company", - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,contact,company,accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Contact: "contact", - ContactAccountingPeriod: "contact,accounting_period", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - LineItems: "line_items", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsContact: "line_items,contact", - LineItemsContactAccountingPeriod: "line_items,contact,accounting_period", - LineItemsContactCompany: "line_items,contact,company", - LineItemsContactCompanyAccountingPeriod: "line_items,contact,company,accounting_period", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesContact: "line_items,tracking_categories,contact", - LineItemsTrackingCategoriesContactAccountingPeriod: "line_items,tracking_categories,contact,accounting_period", - LineItemsTrackingCategoriesContactCompany: "line_items,tracking_categories,contact,company", - LineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "line_items,tracking_categories,contact,company,accounting_period", - Payments: "payments", - PaymentsAccountingPeriod: "payments,accounting_period", - PaymentsAppliedPayments: "payments,applied_payments", - PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period", - PaymentsAppliedPaymentsCompany: "payments,applied_payments,company", - PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period", - PaymentsAppliedPaymentsContact: "payments,applied_payments,contact", - PaymentsAppliedPaymentsContactAccountingPeriod: "payments,applied_payments,contact,accounting_period", - PaymentsAppliedPaymentsContactCompany: "payments,applied_payments,contact,company", - PaymentsAppliedPaymentsContactCompanyAccountingPeriod: - "payments,applied_payments,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItems: "payments,applied_payments,line_items", - PaymentsAppliedPaymentsLineItemsAccountingPeriod: "payments,applied_payments,line_items,accounting_period", - PaymentsAppliedPaymentsLineItemsCompany: "payments,applied_payments,line_items,company", - PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod: - "payments,applied_payments,line_items,company,accounting_period", - PaymentsAppliedPaymentsLineItemsContact: "payments,applied_payments,line_items,contact", - PaymentsAppliedPaymentsLineItemsContactAccountingPeriod: - "payments,applied_payments,line_items,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsContactCompany: "payments,applied_payments,line_items,contact,company", - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategories: "payments,applied_payments,line_items,tracking_categories", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany: - "payments,applied_payments,line_items,tracking_categories,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact: - "payments,applied_payments,line_items,tracking_categories,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "payments,applied_payments,line_items,tracking_categories,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,tracking_categories,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContact: "payments,applied_payments,tracking_categories,contact", - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactCompany: - "payments,applied_payments,tracking_categories,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - PaymentsCompany: "payments,company", - PaymentsCompanyAccountingPeriod: "payments,company,accounting_period", - PaymentsContact: "payments,contact", - PaymentsContactAccountingPeriod: "payments,contact,accounting_period", - PaymentsContactCompany: "payments,contact,company", - PaymentsContactCompanyAccountingPeriod: "payments,contact,company,accounting_period", - PaymentsLineItems: "payments,line_items", - PaymentsLineItemsAccountingPeriod: "payments,line_items,accounting_period", - PaymentsLineItemsCompany: "payments,line_items,company", - PaymentsLineItemsCompanyAccountingPeriod: "payments,line_items,company,accounting_period", - PaymentsLineItemsContact: "payments,line_items,contact", - PaymentsLineItemsContactAccountingPeriod: "payments,line_items,contact,accounting_period", - PaymentsLineItemsContactCompany: "payments,line_items,contact,company", - PaymentsLineItemsContactCompanyAccountingPeriod: "payments,line_items,contact,company,accounting_period", - PaymentsLineItemsTrackingCategories: "payments,line_items,tracking_categories", - PaymentsLineItemsTrackingCategoriesAccountingPeriod: "payments,line_items,tracking_categories,accounting_period", - PaymentsLineItemsTrackingCategoriesCompany: "payments,line_items,tracking_categories,company", - PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,company,accounting_period", - PaymentsLineItemsTrackingCategoriesContact: "payments,line_items,tracking_categories,contact", - PaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,line_items,tracking_categories,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesContactCompany: "payments,line_items,tracking_categories,contact,company", - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsTrackingCategories: "payments,tracking_categories", - PaymentsTrackingCategoriesAccountingPeriod: "payments,tracking_categories,accounting_period", - PaymentsTrackingCategoriesCompany: "payments,tracking_categories,company", - PaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,tracking_categories,company,accounting_period", - PaymentsTrackingCategoriesContact: "payments,tracking_categories,contact", - PaymentsTrackingCategoriesContactAccountingPeriod: "payments,tracking_categories,contact,accounting_period", - PaymentsTrackingCategoriesContactCompany: "payments,tracking_categories,contact,company", - PaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,tracking_categories,contact,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", -} as const; -export type CreditNotesRetrieveRequestExpand = - (typeof CreditNotesRetrieveRequestExpand)[keyof typeof CreditNotesRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..1964c7dff --- /dev/null +++ b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CreditNotesRetrieveRequestExpandItem = { + AccountingPeriod: "accounting_period", + AppliedPayments: "applied_payments", + Company: "company", + Contact: "contact", + LineItems: "line_items", + Payments: "payments", + TrackingCategories: "tracking_categories", +} as const; +export type CreditNotesRetrieveRequestExpandItem = + (typeof CreditNotesRetrieveRequestExpandItem)[keyof typeof CreditNotesRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/creditNotes/types/index.ts b/src/api/resources/accounting/resources/creditNotes/types/index.ts index 87be1efa5..a826d7419 100644 --- a/src/api/resources/accounting/resources/creditNotes/types/index.ts +++ b/src/api/resources/accounting/resources/creditNotes/types/index.ts @@ -1,6 +1,6 @@ -export * from "./CreditNotesListRequestExpand"; +export * from "./CreditNotesListRequestExpandItem"; export * from "./CreditNotesListRequestRemoteFields"; export * from "./CreditNotesListRequestShowEnumOrigins"; -export * from "./CreditNotesRetrieveRequestExpand"; +export * from "./CreditNotesRetrieveRequestExpandItem"; export * from "./CreditNotesRetrieveRequestRemoteFields"; export * from "./CreditNotesRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/accounting/resources/employees/client/Client.ts b/src/api/resources/accounting/resources/employees/client/Client.ts index 2d26f382d..70468e1f0 100644 --- a/src/api/resources/accounting/resources/employees/client/Client.ts +++ b/src/api/resources/accounting/resources/employees/client/Client.ts @@ -31,104 +31,93 @@ export class EmployeesClient { * * @example * await client.accounting.employees.list({ - * companyId: "company_id", - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" + * pageSize: 1 * }) */ - public list( + public async list( request: Merge.accounting.EmployeesListRequest = {}, requestOptions?: EmployeesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.EmployeesListRequest = {}, - requestOptions?: EmployeesClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.EmployeesListRequest, + ): Promise> => { + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/employees", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedEmployeeList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/employees", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/employees", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedEmployeeList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/employees"); } /** @@ -140,7 +129,6 @@ export class EmployeesClient { * * @example * await client.accounting.employees.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true * }) @@ -160,7 +148,7 @@ export class EmployeesClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.ts b/src/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.ts index a0953801c..86046ecaa 100644 --- a/src/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.ts +++ b/src/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.ts @@ -3,43 +3,24 @@ /** * @example * { - * companyId: "company_id", - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" + * pageSize: 1 * } */ export interface EmployeesListRequest { - /** If provided, will only return employees for this company. */ - companyId?: string; - /** If provided, will only return objects created after this datetime. */ - createdAfter?: Date; - /** If provided, will only return objects created before this datetime. */ - createdBefore?: Date; /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ includeShellData?: boolean; - /** If provided, only objects synced by Merge after this date time will be returned. */ - modifiedAfter?: Date; - /** If provided, only objects synced by Merge before this date time will be returned. */ - modifiedBefore?: Date; /** Number of results to return per page. */ pageSize?: number; - /** The API provider's ID for the given object. */ - remoteId?: string; } diff --git a/src/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.ts b/src/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.ts index 244030e1e..55d0fb261 100644 --- a/src/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true * } */ export interface EmployeesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/expenseReports/client/Client.ts b/src/api/resources/accounting/resources/expenseReports/client/Client.ts deleted file mode 100644 index cd0cab743..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/Client.ts +++ /dev/null @@ -1,697 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace ExpenseReportsClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class ExpenseReportsClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: ExpenseReportsClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * Returns a list of `ExpenseReport` objects. - * - * @param {Merge.accounting.ExpenseReportsListRequest} request - * @param {ExpenseReportsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.expenseReports.list({ - * companyId: "company_id", - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", - * includeDeletedData: true, - * includeRemoteData: true, - * includeRemoteFields: true, - * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" - * }) - */ - public list( - request: Merge.accounting.ExpenseReportsListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.ExpenseReportsListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.ExpenseReportsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expense-reports", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedExpenseReportList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expense-reports", - ); - } - - /** - * Creates an `ExpenseReport` object with the given values. - * - * @param {Merge.accounting.ExpenseReportEndpointRequest} request - * @param {ExpenseReportsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.expenseReports.create({ - * isDebugMode: true, - * runAsync: true, - * model: { - * trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"] - * } - * }) - */ - public create( - request: Merge.accounting.ExpenseReportEndpointRequest, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); - } - - private async __create( - request: Merge.accounting.ExpenseReportEndpointRequest, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): Promise> { - const { isDebugMode, runAsync, ..._body } = request; - const _queryParams: Record = { - is_debug_mode: isDebugMode, - run_async: runAsync, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expense-reports", - ), - method: "POST", - headers: _headers, - contentType: "application/json", - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - requestType: "json", - body: serializers.accounting.ExpenseReportEndpointRequest.jsonOrThrow(_body, { - unrecognizedObjectKeys: "strip", - }), - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.ExpenseReportResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "POST", - "/accounting/v1/expense-reports", - ); - } - - /** - * Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. - * - * @param {string} expense_report_id - * @param {Merge.accounting.ExpenseReportsLinesListRequest} request - * @param {ExpenseReportsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.expenseReports.linesList("expense_report_id", { - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", - * includeDeletedData: true, - * includeRemoteData: true, - * includeRemoteFields: true, - * includeShellData: true, - * pageSize: 1 - * }) - */ - public linesList( - expense_report_id: string, - request: Merge.accounting.ExpenseReportsLinesListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__linesList(expense_report_id, request, requestOptions)); - } - - private async __linesList( - expense_report_id: string, - request: Merge.accounting.ExpenseReportsLinesListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): Promise> { - const { - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - expand: - expand != null - ? serializers.accounting.ExpenseReportsLinesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `accounting/v1/expense-reports/${core.url.encodePathParam(expense_report_id)}/lines`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedExpenseReportLineList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expense-reports/{expense_report_id}/lines", - ); - } - - /** - * Returns an `ExpenseReport` object with the given `id`. - * - * @param {string} id - * @param {Merge.accounting.ExpenseReportsRetrieveRequest} request - * @param {ExpenseReportsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.expenseReports.retrieve("id", { - * expand: "accounting_period", - * includeRemoteData: true, - * includeRemoteFields: true, - * includeShellData: true - * }) - */ - public retrieve( - id: string, - request: Merge.accounting.ExpenseReportsRetrieveRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); - } - - private async __retrieve( - id: string, - request: Merge.accounting.ExpenseReportsRetrieveRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): Promise> { - const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; - const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.ExpenseReportsRetrieveRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `accounting/v1/expense-reports/${core.url.encodePathParam(id)}`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.ExpenseReport.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expense-reports/{id}", - ); - } - - /** - * Returns a list of `RemoteFieldClass` objects. - * - * @param {Merge.accounting.ExpenseReportsLinesRemoteFieldClassesListRequest} request - * @param {ExpenseReportsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.expenseReports.linesRemoteFieldClassesList({ - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * includeDeletedData: true, - * includeRemoteData: true, - * includeShellData: true, - * isCommonModelField: true, - * isCustom: true, - * pageSize: 1 - * }) - */ - public linesRemoteFieldClassesList( - request: Merge.accounting.ExpenseReportsLinesRemoteFieldClassesListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__linesRemoteFieldClassesList(request, requestOptions)); - } - - private async __linesRemoteFieldClassesList( - request: Merge.accounting.ExpenseReportsLinesRemoteFieldClassesListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expense-reports/lines/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expense-reports/lines/remote-field-classes", - ); - } - - /** - * Returns metadata for `ExpenseReport` POSTs. - * - * @param {ExpenseReportsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.expenseReports.metaPostRetrieve() - */ - public metaPostRetrieve( - requestOptions?: ExpenseReportsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__metaPostRetrieve(requestOptions)); - } - - private async __metaPostRetrieve( - requestOptions?: ExpenseReportsClient.RequestOptions, - ): Promise> { - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expense-reports/meta/post", - ), - method: "GET", - headers: _headers, - queryParameters: requestOptions?.queryParams, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.MetaResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expense-reports/meta/post", - ); - } - - /** - * Returns a list of `RemoteFieldClass` objects. - * - * @param {Merge.accounting.ExpenseReportsRemoteFieldClassesListRequest} request - * @param {ExpenseReportsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.accounting.expenseReports.remoteFieldClassesList({ - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * includeDeletedData: true, - * includeRemoteData: true, - * includeShellData: true, - * isCommonModelField: true, - * isCustom: true, - * pageSize: 1 - * }) - */ - public remoteFieldClassesList( - request: Merge.accounting.ExpenseReportsRemoteFieldClassesListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.accounting.ExpenseReportsRemoteFieldClassesListRequest = {}, - requestOptions?: ExpenseReportsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expense-reports/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expense-reports/remote-field-classes", - ); - } -} diff --git a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts b/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts deleted file mode 100644 index 8b8b732a4..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts +++ /dev/null @@ -1,21 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../index"; - -/** - * @example - * { - * isDebugMode: true, - * runAsync: true, - * model: { - * trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"] - * } - * } - */ -export interface ExpenseReportEndpointRequest { - /** Whether to include debug fields (such as log file links) in the response. */ - isDebugMode?: boolean; - /** Whether or not third-party updates should be run asynchronously. */ - runAsync?: boolean; - model: Merge.accounting.ExpenseReportRequest; -} diff --git a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.ts b/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.ts deleted file mode 100644 index 8167f0407..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.ts +++ /dev/null @@ -1,32 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../index"; - -/** - * @example - * { - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", - * includeDeletedData: true, - * includeRemoteData: true, - * includeRemoteFields: true, - * includeShellData: true, - * pageSize: 1 - * } - */ -export interface ExpenseReportsLinesListRequest { - /** The pagination cursor value. */ - cursor?: string; - /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ExpenseReportsLinesListRequestExpand; - /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ - includeDeletedData?: boolean; - /** Whether to include the original data Merge fetched from the third-party to produce these models. */ - includeRemoteData?: boolean; - /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ - includeRemoteFields?: boolean; - /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ - includeShellData?: boolean; - /** Number of results to return per page. */ - pageSize?: number; -} diff --git a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.ts b/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.ts deleted file mode 100644 index 3020486b5..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.ts +++ /dev/null @@ -1,30 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -/** - * @example - * { - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * includeDeletedData: true, - * includeRemoteData: true, - * includeShellData: true, - * isCommonModelField: true, - * isCustom: true, - * pageSize: 1 - * } - */ -export interface ExpenseReportsLinesRemoteFieldClassesListRequest { - /** The pagination cursor value. */ - cursor?: string; - /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ - includeDeletedData?: boolean; - /** Whether to include the original data Merge fetched from the third-party to produce these models. */ - includeRemoteData?: boolean; - /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ - includeShellData?: boolean; - /** If provided, will only return remote field classes with this is_common_model_field value */ - isCommonModelField?: boolean; - /** If provided, will only return remote fields classes with this is_custom value */ - isCustom?: boolean; - /** Number of results to return per page. */ - pageSize?: number; -} diff --git a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.ts b/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.ts deleted file mode 100644 index 4059ea572..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.ts +++ /dev/null @@ -1,50 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../index"; - -/** - * @example - * { - * companyId: "company_id", - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", - * includeDeletedData: true, - * includeRemoteData: true, - * includeRemoteFields: true, - * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" - * } - */ -export interface ExpenseReportsListRequest { - /** If provided, will only return expense reports for this company. */ - companyId?: string; - /** If provided, will only return objects created after this datetime. */ - createdAfter?: Date; - /** If provided, will only return objects created before this datetime. */ - createdBefore?: Date; - /** The pagination cursor value. */ - cursor?: string; - /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ExpenseReportsListRequestExpand; - /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ - includeDeletedData?: boolean; - /** Whether to include the original data Merge fetched from the third-party to produce these models. */ - includeRemoteData?: boolean; - /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ - includeRemoteFields?: boolean; - /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ - includeShellData?: boolean; - /** If provided, only objects synced by Merge after this date time will be returned. */ - modifiedAfter?: Date; - /** If provided, only objects synced by Merge before this date time will be returned. */ - modifiedBefore?: Date; - /** Number of results to return per page. */ - pageSize?: number; - /** The API provider's ID for the given object. */ - remoteId?: string; -} diff --git a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.ts b/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.ts deleted file mode 100644 index 351af2ffc..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.ts +++ /dev/null @@ -1,30 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -/** - * @example - * { - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * includeDeletedData: true, - * includeRemoteData: true, - * includeShellData: true, - * isCommonModelField: true, - * isCustom: true, - * pageSize: 1 - * } - */ -export interface ExpenseReportsRemoteFieldClassesListRequest { - /** The pagination cursor value. */ - cursor?: string; - /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ - includeDeletedData?: boolean; - /** Whether to include the original data Merge fetched from the third-party to produce these models. */ - includeRemoteData?: boolean; - /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ - includeShellData?: boolean; - /** If provided, will only return remote field classes with this is_common_model_field value */ - isCommonModelField?: boolean; - /** If provided, will only return remote fields classes with this is_custom value */ - isCustom?: boolean; - /** Number of results to return per page. */ - pageSize?: number; -} diff --git a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.ts b/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.ts deleted file mode 100644 index 57b230f8e..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.ts +++ /dev/null @@ -1,23 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../index"; - -/** - * @example - * { - * expand: "accounting_period", - * includeRemoteData: true, - * includeRemoteFields: true, - * includeShellData: true - * } - */ -export interface ExpenseReportsRetrieveRequest { - /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ExpenseReportsRetrieveRequestExpand; - /** Whether to include the original data Merge fetched from the third-party to produce these models. */ - includeRemoteData?: boolean; - /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ - includeRemoteFields?: boolean; - /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ - includeShellData?: boolean; -} diff --git a/src/api/resources/accounting/resources/expenseReports/client/requests/index.ts b/src/api/resources/accounting/resources/expenseReports/client/requests/index.ts deleted file mode 100644 index 34e983061..000000000 --- a/src/api/resources/accounting/resources/expenseReports/client/requests/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export type { ExpenseReportEndpointRequest } from "./ExpenseReportEndpointRequest"; -export type { ExpenseReportsLinesListRequest } from "./ExpenseReportsLinesListRequest"; -export type { ExpenseReportsLinesRemoteFieldClassesListRequest } from "./ExpenseReportsLinesRemoteFieldClassesListRequest"; -export type { ExpenseReportsListRequest } from "./ExpenseReportsListRequest"; -export type { ExpenseReportsRemoteFieldClassesListRequest } from "./ExpenseReportsRemoteFieldClassesListRequest"; -export type { ExpenseReportsRetrieveRequest } from "./ExpenseReportsRetrieveRequest"; diff --git a/src/api/resources/accounting/resources/expenseReports/exports.ts b/src/api/resources/accounting/resources/expenseReports/exports.ts deleted file mode 100644 index 86083814a..000000000 --- a/src/api/resources/accounting/resources/expenseReports/exports.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export { ExpenseReportsClient } from "./client/Client"; -export * from "./client/index"; diff --git a/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts b/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts deleted file mode 100644 index 1014f0867..000000000 --- a/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts +++ /dev/null @@ -1,69 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ExpenseReportsLinesListRequestExpand = { - Account: "account", - AccountCompany: "account,company", - AccountCompanyContact: "account,company,contact", - AccountCompanyContactTaxRate: "account,company,contact,tax_rate", - AccountCompanyTaxRate: "account,company,tax_rate", - AccountContact: "account,contact", - AccountContactTaxRate: "account,contact,tax_rate", - AccountEmployee: "account,employee", - AccountEmployeeCompany: "account,employee,company", - AccountEmployeeCompanyContact: "account,employee,company,contact", - AccountEmployeeCompanyContactTaxRate: "account,employee,company,contact,tax_rate", - AccountEmployeeCompanyTaxRate: "account,employee,company,tax_rate", - AccountEmployeeContact: "account,employee,contact", - AccountEmployeeContactTaxRate: "account,employee,contact,tax_rate", - AccountEmployeeProject: "account,employee,project", - AccountEmployeeProjectCompany: "account,employee,project,company", - AccountEmployeeProjectCompanyContact: "account,employee,project,company,contact", - AccountEmployeeProjectCompanyContactTaxRate: "account,employee,project,company,contact,tax_rate", - AccountEmployeeProjectCompanyTaxRate: "account,employee,project,company,tax_rate", - AccountEmployeeProjectContact: "account,employee,project,contact", - AccountEmployeeProjectContactTaxRate: "account,employee,project,contact,tax_rate", - AccountEmployeeProjectTaxRate: "account,employee,project,tax_rate", - AccountEmployeeTaxRate: "account,employee,tax_rate", - AccountProject: "account,project", - AccountProjectCompany: "account,project,company", - AccountProjectCompanyContact: "account,project,company,contact", - AccountProjectCompanyContactTaxRate: "account,project,company,contact,tax_rate", - AccountProjectCompanyTaxRate: "account,project,company,tax_rate", - AccountProjectContact: "account,project,contact", - AccountProjectContactTaxRate: "account,project,contact,tax_rate", - AccountProjectTaxRate: "account,project,tax_rate", - AccountTaxRate: "account,tax_rate", - Company: "company", - CompanyContact: "company,contact", - CompanyContactTaxRate: "company,contact,tax_rate", - CompanyTaxRate: "company,tax_rate", - Contact: "contact", - ContactTaxRate: "contact,tax_rate", - Employee: "employee", - EmployeeCompany: "employee,company", - EmployeeCompanyContact: "employee,company,contact", - EmployeeCompanyContactTaxRate: "employee,company,contact,tax_rate", - EmployeeCompanyTaxRate: "employee,company,tax_rate", - EmployeeContact: "employee,contact", - EmployeeContactTaxRate: "employee,contact,tax_rate", - EmployeeProject: "employee,project", - EmployeeProjectCompany: "employee,project,company", - EmployeeProjectCompanyContact: "employee,project,company,contact", - EmployeeProjectCompanyContactTaxRate: "employee,project,company,contact,tax_rate", - EmployeeProjectCompanyTaxRate: "employee,project,company,tax_rate", - EmployeeProjectContact: "employee,project,contact", - EmployeeProjectContactTaxRate: "employee,project,contact,tax_rate", - EmployeeProjectTaxRate: "employee,project,tax_rate", - EmployeeTaxRate: "employee,tax_rate", - Project: "project", - ProjectCompany: "project,company", - ProjectCompanyContact: "project,company,contact", - ProjectCompanyContactTaxRate: "project,company,contact,tax_rate", - ProjectCompanyTaxRate: "project,company,tax_rate", - ProjectContact: "project,contact", - ProjectContactTaxRate: "project,contact,tax_rate", - ProjectTaxRate: "project,tax_rate", - TaxRate: "tax_rate", -} as const; -export type ExpenseReportsLinesListRequestExpand = - (typeof ExpenseReportsLinesListRequestExpand)[keyof typeof ExpenseReportsLinesListRequestExpand]; diff --git a/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts b/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts deleted file mode 100644 index 6a3830422..000000000 --- a/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts +++ /dev/null @@ -1,21 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ExpenseReportsListRequestExpand = { - AccountingPeriod: "accounting_period", - AccountingPeriodCompany: "accounting_period,company", - Company: "company", - Employee: "employee", - EmployeeAccountingPeriod: "employee,accounting_period", - EmployeeAccountingPeriodCompany: "employee,accounting_period,company", - EmployeeCompany: "employee,company", - Lines: "lines", - LinesAccountingPeriod: "lines,accounting_period", - LinesAccountingPeriodCompany: "lines,accounting_period,company", - LinesCompany: "lines,company", - LinesEmployee: "lines,employee", - LinesEmployeeAccountingPeriod: "lines,employee,accounting_period", - LinesEmployeeAccountingPeriodCompany: "lines,employee,accounting_period,company", - LinesEmployeeCompany: "lines,employee,company", -} as const; -export type ExpenseReportsListRequestExpand = - (typeof ExpenseReportsListRequestExpand)[keyof typeof ExpenseReportsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts deleted file mode 100644 index c014f3315..000000000 --- a/src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts +++ /dev/null @@ -1,21 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ExpenseReportsRetrieveRequestExpand = { - AccountingPeriod: "accounting_period", - AccountingPeriodCompany: "accounting_period,company", - Company: "company", - Employee: "employee", - EmployeeAccountingPeriod: "employee,accounting_period", - EmployeeAccountingPeriodCompany: "employee,accounting_period,company", - EmployeeCompany: "employee,company", - Lines: "lines", - LinesAccountingPeriod: "lines,accounting_period", - LinesAccountingPeriodCompany: "lines,accounting_period,company", - LinesCompany: "lines,company", - LinesEmployee: "lines,employee", - LinesEmployeeAccountingPeriod: "lines,employee,accounting_period", - LinesEmployeeAccountingPeriodCompany: "lines,employee,accounting_period,company", - LinesEmployeeCompany: "lines,employee,company", -} as const; -export type ExpenseReportsRetrieveRequestExpand = - (typeof ExpenseReportsRetrieveRequestExpand)[keyof typeof ExpenseReportsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/expenseReports/types/index.ts b/src/api/resources/accounting/resources/expenseReports/types/index.ts deleted file mode 100644 index 9dd83d9ba..000000000 --- a/src/api/resources/accounting/resources/expenseReports/types/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./ExpenseReportsLinesListRequestExpand"; -export * from "./ExpenseReportsListRequestExpand"; -export * from "./ExpenseReportsRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/expenses/client/Client.ts b/src/api/resources/accounting/resources/expenses/client/Client.ts index be90d9323..86c8ec264 100644 --- a/src/api/resources/accounting/resources/expenses/client/Client.ts +++ b/src/api/resources/accounting/resources/expenses/client/Client.ts @@ -35,7 +35,6 @@ export class ExpensesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -48,101 +47,121 @@ export class ExpensesClient { * transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.accounting.ExpensesListRequest = {}, requestOptions?: ExpensesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.ExpensesListRequest = {}, - requestOptions?: ExpensesClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - transactionDateAfter, - transactionDateBefore, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.ExpensesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - transaction_date_after: transactionDateAfter?.toISOString(), - transaction_date_before: transactionDateBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.ExpensesListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + transactionDateAfter, + transactionDateBefore, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ExpensesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.ExpensesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + transaction_date_after: transactionDateAfter?.toISOString(), + transaction_date_before: transactionDateBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/expenses", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedExpenseList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/expenses", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expenses", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedExpenseList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/expenses"); } /** @@ -233,7 +252,6 @@ export class ExpensesClient { * * @example * await client.accounting.expenses.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -254,12 +272,17 @@ export class ExpensesClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.ExpensesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ExpensesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.ExpensesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -328,85 +351,95 @@ export class ExpensesClient { * pageSize: 1 * }) */ - public linesRemoteFieldClassesList( - request: Merge.accounting.ExpensesLinesRemoteFieldClassesListRequest = {}, - requestOptions?: ExpensesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__linesRemoteFieldClassesList(request, requestOptions)); - } - - private async __linesRemoteFieldClassesList( + public async linesRemoteFieldClassesList( request: Merge.accounting.ExpensesLinesRemoteFieldClassesListRequest = {}, requestOptions?: ExpensesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.ExpensesLinesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/expenses/lines/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/expenses/lines/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expenses/lines/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expenses/lines/remote-field-classes", - ); } /** @@ -495,84 +528,94 @@ export class ExpensesClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.accounting.ExpensesRemoteFieldClassesListRequest = {}, requestOptions?: ExpensesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.accounting.ExpensesRemoteFieldClassesListRequest = {}, - requestOptions?: ExpensesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.ExpensesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/expenses/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/expenses/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/expenses/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/expenses/remote-field-classes", - ); } } diff --git a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts index c5af2dd41..0c632ce74 100644 --- a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts +++ b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -32,7 +31,7 @@ export interface ExpensesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ExpensesListRequestExpand; + expand?: Merge.accounting.ExpensesListRequestExpandItem | Merge.accounting.ExpensesListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts index 02b7d25be..93f519c27 100644 --- a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,7 @@ import type * as Merge from "../../../../../../index"; */ export interface ExpensesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ExpensesRetrieveRequestExpand; + expand?: Merge.accounting.ExpensesRetrieveRequestExpandItem | Merge.accounting.ExpensesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts b/src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts deleted file mode 100644 index 199a965a6..000000000 --- a/src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts +++ /dev/null @@ -1,73 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ExpensesListRequestExpand = { - Account: "account", - AccountAccountingPeriod: "account,accounting_period", - AccountCompany: "account,company", - AccountCompanyAccountingPeriod: "account,company,accounting_period", - AccountCompanyEmployee: "account,company,employee", - AccountCompanyEmployeeAccountingPeriod: "account,company,employee,accounting_period", - AccountContact: "account,contact", - AccountContactAccountingPeriod: "account,contact,accounting_period", - AccountContactCompany: "account,contact,company", - AccountContactCompanyAccountingPeriod: "account,contact,company,accounting_period", - AccountContactCompanyEmployee: "account,contact,company,employee", - AccountContactCompanyEmployeeAccountingPeriod: "account,contact,company,employee,accounting_period", - AccountContactEmployee: "account,contact,employee", - AccountContactEmployeeAccountingPeriod: "account,contact,employee,accounting_period", - AccountEmployee: "account,employee", - AccountEmployeeAccountingPeriod: "account,employee,accounting_period", - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyEmployee: "company,employee", - CompanyEmployeeAccountingPeriod: "company,employee,accounting_period", - Contact: "contact", - ContactAccountingPeriod: "contact,accounting_period", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - ContactCompanyEmployee: "contact,company,employee", - ContactCompanyEmployeeAccountingPeriod: "contact,company,employee,accounting_period", - ContactEmployee: "contact,employee", - ContactEmployeeAccountingPeriod: "contact,employee,accounting_period", - Employee: "employee", - EmployeeAccountingPeriod: "employee,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccount: "tracking_categories,account", - TrackingCategoriesAccountAccountingPeriod: "tracking_categories,account,accounting_period", - TrackingCategoriesAccountCompany: "tracking_categories,account,company", - TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period", - TrackingCategoriesAccountCompanyEmployee: "tracking_categories,account,company,employee", - TrackingCategoriesAccountCompanyEmployeeAccountingPeriod: - "tracking_categories,account,company,employee,accounting_period", - TrackingCategoriesAccountContact: "tracking_categories,account,contact", - TrackingCategoriesAccountContactAccountingPeriod: "tracking_categories,account,contact,accounting_period", - TrackingCategoriesAccountContactCompany: "tracking_categories,account,contact,company", - TrackingCategoriesAccountContactCompanyAccountingPeriod: - "tracking_categories,account,contact,company,accounting_period", - TrackingCategoriesAccountContactCompanyEmployee: "tracking_categories,account,contact,company,employee", - TrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod: - "tracking_categories,account,contact,company,employee,accounting_period", - TrackingCategoriesAccountContactEmployee: "tracking_categories,account,contact,employee", - TrackingCategoriesAccountContactEmployeeAccountingPeriod: - "tracking_categories,account,contact,employee,accounting_period", - TrackingCategoriesAccountEmployee: "tracking_categories,account,employee", - TrackingCategoriesAccountEmployeeAccountingPeriod: "tracking_categories,account,employee,accounting_period", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyEmployee: "tracking_categories,company,employee", - TrackingCategoriesCompanyEmployeeAccountingPeriod: "tracking_categories,company,employee,accounting_period", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", - TrackingCategoriesContactCompanyEmployee: "tracking_categories,contact,company,employee", - TrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,contact,company,employee,accounting_period", - TrackingCategoriesContactEmployee: "tracking_categories,contact,employee", - TrackingCategoriesContactEmployeeAccountingPeriod: "tracking_categories,contact,employee,accounting_period", - TrackingCategoriesEmployee: "tracking_categories,employee", - TrackingCategoriesEmployeeAccountingPeriod: "tracking_categories,employee,accounting_period", -} as const; -export type ExpensesListRequestExpand = (typeof ExpensesListRequestExpand)[keyof typeof ExpensesListRequestExpand]; diff --git a/src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts b/src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts new file mode 100644 index 000000000..2ffd19aa2 --- /dev/null +++ b/src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts @@ -0,0 +1,12 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ExpensesListRequestExpandItem = { + Account: "account", + AccountingPeriod: "accounting_period", + Company: "company", + Contact: "contact", + Employee: "employee", + TrackingCategories: "tracking_categories", +} as const; +export type ExpensesListRequestExpandItem = + (typeof ExpensesListRequestExpandItem)[keyof typeof ExpensesListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts deleted file mode 100644 index 6d942a9f8..000000000 --- a/src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts +++ /dev/null @@ -1,74 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ExpensesRetrieveRequestExpand = { - Account: "account", - AccountAccountingPeriod: "account,accounting_period", - AccountCompany: "account,company", - AccountCompanyAccountingPeriod: "account,company,accounting_period", - AccountCompanyEmployee: "account,company,employee", - AccountCompanyEmployeeAccountingPeriod: "account,company,employee,accounting_period", - AccountContact: "account,contact", - AccountContactAccountingPeriod: "account,contact,accounting_period", - AccountContactCompany: "account,contact,company", - AccountContactCompanyAccountingPeriod: "account,contact,company,accounting_period", - AccountContactCompanyEmployee: "account,contact,company,employee", - AccountContactCompanyEmployeeAccountingPeriod: "account,contact,company,employee,accounting_period", - AccountContactEmployee: "account,contact,employee", - AccountContactEmployeeAccountingPeriod: "account,contact,employee,accounting_period", - AccountEmployee: "account,employee", - AccountEmployeeAccountingPeriod: "account,employee,accounting_period", - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyEmployee: "company,employee", - CompanyEmployeeAccountingPeriod: "company,employee,accounting_period", - Contact: "contact", - ContactAccountingPeriod: "contact,accounting_period", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - ContactCompanyEmployee: "contact,company,employee", - ContactCompanyEmployeeAccountingPeriod: "contact,company,employee,accounting_period", - ContactEmployee: "contact,employee", - ContactEmployeeAccountingPeriod: "contact,employee,accounting_period", - Employee: "employee", - EmployeeAccountingPeriod: "employee,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccount: "tracking_categories,account", - TrackingCategoriesAccountAccountingPeriod: "tracking_categories,account,accounting_period", - TrackingCategoriesAccountCompany: "tracking_categories,account,company", - TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period", - TrackingCategoriesAccountCompanyEmployee: "tracking_categories,account,company,employee", - TrackingCategoriesAccountCompanyEmployeeAccountingPeriod: - "tracking_categories,account,company,employee,accounting_period", - TrackingCategoriesAccountContact: "tracking_categories,account,contact", - TrackingCategoriesAccountContactAccountingPeriod: "tracking_categories,account,contact,accounting_period", - TrackingCategoriesAccountContactCompany: "tracking_categories,account,contact,company", - TrackingCategoriesAccountContactCompanyAccountingPeriod: - "tracking_categories,account,contact,company,accounting_period", - TrackingCategoriesAccountContactCompanyEmployee: "tracking_categories,account,contact,company,employee", - TrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod: - "tracking_categories,account,contact,company,employee,accounting_period", - TrackingCategoriesAccountContactEmployee: "tracking_categories,account,contact,employee", - TrackingCategoriesAccountContactEmployeeAccountingPeriod: - "tracking_categories,account,contact,employee,accounting_period", - TrackingCategoriesAccountEmployee: "tracking_categories,account,employee", - TrackingCategoriesAccountEmployeeAccountingPeriod: "tracking_categories,account,employee,accounting_period", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyEmployee: "tracking_categories,company,employee", - TrackingCategoriesCompanyEmployeeAccountingPeriod: "tracking_categories,company,employee,accounting_period", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", - TrackingCategoriesContactCompanyEmployee: "tracking_categories,contact,company,employee", - TrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,contact,company,employee,accounting_period", - TrackingCategoriesContactEmployee: "tracking_categories,contact,employee", - TrackingCategoriesContactEmployeeAccountingPeriod: "tracking_categories,contact,employee,accounting_period", - TrackingCategoriesEmployee: "tracking_categories,employee", - TrackingCategoriesEmployeeAccountingPeriod: "tracking_categories,employee,accounting_period", -} as const; -export type ExpensesRetrieveRequestExpand = - (typeof ExpensesRetrieveRequestExpand)[keyof typeof ExpensesRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..480546c44 --- /dev/null +++ b/src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts @@ -0,0 +1,12 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ExpensesRetrieveRequestExpandItem = { + Account: "account", + AccountingPeriod: "accounting_period", + Company: "company", + Contact: "contact", + Employee: "employee", + TrackingCategories: "tracking_categories", +} as const; +export type ExpensesRetrieveRequestExpandItem = + (typeof ExpensesRetrieveRequestExpandItem)[keyof typeof ExpensesRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/expenses/types/index.ts b/src/api/resources/accounting/resources/expenses/types/index.ts index 2a53835eb..d63e24e45 100644 --- a/src/api/resources/accounting/resources/expenses/types/index.ts +++ b/src/api/resources/accounting/resources/expenses/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ExpensesListRequestExpand"; -export * from "./ExpensesRetrieveRequestExpand"; +export * from "./ExpensesListRequestExpandItem"; +export * from "./ExpensesRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/client/Client.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/client/Client.ts index 7a475e586..10dfb3d7d 100644 --- a/src/api/resources/accounting/resources/generalLedgerTransactions/client/Client.ts +++ b/src/api/resources/accounting/resources/generalLedgerTransactions/client/Client.ts @@ -35,7 +35,6 @@ export class GeneralLedgerTransactionsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,104 +46,127 @@ export class GeneralLedgerTransactionsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.GeneralLedgerTransactionsListRequest = {}, requestOptions?: GeneralLedgerTransactionsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.GeneralLedgerTransactionsListRequest = {}, - requestOptions?: GeneralLedgerTransactionsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - postedDateAfter, - postedDateBefore, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.GeneralLedgerTransactionsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - posted_date_after: postedDateAfter?.toISOString(), - posted_date_before: postedDateBefore?.toISOString(), - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise< + core.Page + > { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.GeneralLedgerTransactionsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + postedDateAfter, + postedDateBefore, + remoteId, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.GeneralLedgerTransactionsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.GeneralLedgerTransactionsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + posted_date_after: postedDateAfter?.toISOString(), + posted_date_before: postedDateBefore?.toISOString(), + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/general-ledger-transactions", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedGeneralLedgerTransactionList.parseOrThrow( + _response.body, + { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }, + ), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/general-ledger-transactions", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/general-ledger-transactions", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page< + Merge.accounting.GeneralLedgerTransaction, + Merge.accounting.PaginatedGeneralLedgerTransactionList + >({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedGeneralLedgerTransactionList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/general-ledger-transactions", - ); } /** @@ -156,7 +178,6 @@ export class GeneralLedgerTransactionsClient { * * @example * await client.accounting.generalLedgerTransactions.retrieve("id", { - * expand: "accounting_period", * includeRemoteData: true, * includeShellData: true * }) @@ -176,12 +197,17 @@ export class GeneralLedgerTransactionsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.GeneralLedgerTransactionsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.GeneralLedgerTransactionsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.GeneralLedgerTransactionsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.ts index cc65774fd..2c1fbeeaa 100644 --- a/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.ts +++ b/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -31,7 +30,9 @@ export interface GeneralLedgerTransactionsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.GeneralLedgerTransactionsListRequestExpand; + expand?: + | Merge.accounting.GeneralLedgerTransactionsListRequestExpandItem + | Merge.accounting.GeneralLedgerTransactionsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.ts index 8107472a3..dfac8fcc3 100644 --- a/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.ts @@ -5,14 +5,15 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "accounting_period", * includeRemoteData: true, * includeShellData: true * } */ export interface GeneralLedgerTransactionsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.GeneralLedgerTransactionsRetrieveRequestExpand; + expand?: + | Merge.accounting.GeneralLedgerTransactionsRetrieveRequestExpandItem + | Merge.accounting.GeneralLedgerTransactionsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts deleted file mode 100644 index 5502ad348..000000000 --- a/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts +++ /dev/null @@ -1,24 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const GeneralLedgerTransactionsListRequestExpand = { - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - GeneralLedgerTransactionLines: "general_ledger_transaction_lines", - GeneralLedgerTransactionLinesAccountingPeriod: "general_ledger_transaction_lines,accounting_period", - GeneralLedgerTransactionLinesCompany: "general_ledger_transaction_lines,company", - GeneralLedgerTransactionLinesCompanyAccountingPeriod: "general_ledger_transaction_lines,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesGeneralLedgerTransactionLines: "tracking_categories,general_ledger_transaction_lines", - TrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod: - "tracking_categories,general_ledger_transaction_lines,accounting_period", - TrackingCategoriesGeneralLedgerTransactionLinesCompany: - "tracking_categories,general_ledger_transaction_lines,company", - TrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod: - "tracking_categories,general_ledger_transaction_lines,company,accounting_period", -} as const; -export type GeneralLedgerTransactionsListRequestExpand = - (typeof GeneralLedgerTransactionsListRequestExpand)[keyof typeof GeneralLedgerTransactionsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts new file mode 100644 index 000000000..c9028be5c --- /dev/null +++ b/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const GeneralLedgerTransactionsListRequestExpandItem = { + AccountingPeriod: "accounting_period", + Company: "company", + GeneralLedgerTransactionLines: "general_ledger_transaction_lines", + TrackingCategories: "tracking_categories", +} as const; +export type GeneralLedgerTransactionsListRequestExpandItem = + (typeof GeneralLedgerTransactionsListRequestExpandItem)[keyof typeof GeneralLedgerTransactionsListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts deleted file mode 100644 index 3f4d5eb74..000000000 --- a/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts +++ /dev/null @@ -1,24 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const GeneralLedgerTransactionsRetrieveRequestExpand = { - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - GeneralLedgerTransactionLines: "general_ledger_transaction_lines", - GeneralLedgerTransactionLinesAccountingPeriod: "general_ledger_transaction_lines,accounting_period", - GeneralLedgerTransactionLinesCompany: "general_ledger_transaction_lines,company", - GeneralLedgerTransactionLinesCompanyAccountingPeriod: "general_ledger_transaction_lines,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesGeneralLedgerTransactionLines: "tracking_categories,general_ledger_transaction_lines", - TrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod: - "tracking_categories,general_ledger_transaction_lines,accounting_period", - TrackingCategoriesGeneralLedgerTransactionLinesCompany: - "tracking_categories,general_ledger_transaction_lines,company", - TrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod: - "tracking_categories,general_ledger_transaction_lines,company,accounting_period", -} as const; -export type GeneralLedgerTransactionsRetrieveRequestExpand = - (typeof GeneralLedgerTransactionsRetrieveRequestExpand)[keyof typeof GeneralLedgerTransactionsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..a0d3aa214 --- /dev/null +++ b/src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const GeneralLedgerTransactionsRetrieveRequestExpandItem = { + AccountingPeriod: "accounting_period", + Company: "company", + GeneralLedgerTransactionLines: "general_ledger_transaction_lines", + TrackingCategories: "tracking_categories", +} as const; +export type GeneralLedgerTransactionsRetrieveRequestExpandItem = + (typeof GeneralLedgerTransactionsRetrieveRequestExpandItem)[keyof typeof GeneralLedgerTransactionsRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/generalLedgerTransactions/types/index.ts b/src/api/resources/accounting/resources/generalLedgerTransactions/types/index.ts index e77fb4471..8acfde7ac 100644 --- a/src/api/resources/accounting/resources/generalLedgerTransactions/types/index.ts +++ b/src/api/resources/accounting/resources/generalLedgerTransactions/types/index.ts @@ -1,2 +1,2 @@ -export * from "./GeneralLedgerTransactionsListRequestExpand"; -export * from "./GeneralLedgerTransactionsRetrieveRequestExpand"; +export * from "./GeneralLedgerTransactionsListRequestExpandItem"; +export * from "./GeneralLedgerTransactionsRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/incomeStatements/client/Client.ts b/src/api/resources/accounting/resources/incomeStatements/client/Client.ts index 9f72f7a11..5927a0761 100644 --- a/src/api/resources/accounting/resources/incomeStatements/client/Client.ts +++ b/src/api/resources/accounting/resources/incomeStatements/client/Client.ts @@ -35,7 +35,6 @@ export class IncomeStatementsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,95 +44,105 @@ export class IncomeStatementsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.IncomeStatementsListRequest = {}, requestOptions?: IncomeStatementsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.IncomeStatementsListRequest = {}, - requestOptions?: IncomeStatementsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.IncomeStatementsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/income-statements", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedIncomeStatementList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/income-statements", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/income-statements", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedIncomeStatementList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/income-statements", - ); } /** @@ -145,7 +154,6 @@ export class IncomeStatementsClient { * * @example * await client.accounting.incomeStatements.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true * }) @@ -165,7 +173,7 @@ export class IncomeStatementsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts index 6d8bda5d6..1f7025a4b 100644 --- a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts +++ b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts @@ -7,7 +7,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -27,7 +26,7 @@ export interface IncomeStatementsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts index 8b193e228..fbc9dc185 100644 --- a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true * } */ export interface IncomeStatementsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/index.ts b/src/api/resources/accounting/resources/index.ts index 94fd04b76..a6f974324 100644 --- a/src/api/resources/accounting/resources/index.ts +++ b/src/api/resources/accounting/resources/index.ts @@ -35,9 +35,6 @@ export * from "./creditNotes/types"; export * as deleteAccount from "./deleteAccount"; export * as employees from "./employees"; export * from "./employees/client/requests"; -export * as expenseReports from "./expenseReports"; -export * from "./expenseReports/client/requests"; -export * from "./expenseReports/types"; export * as expenses from "./expenses"; export * from "./expenses/client/requests"; export * from "./expenses/types"; diff --git a/src/api/resources/accounting/resources/invoices/client/Client.ts b/src/api/resources/accounting/resources/invoices/client/Client.ts index 0986d0bff..da79bdf5c 100644 --- a/src/api/resources/accounting/resources/invoices/client/Client.ts +++ b/src/api/resources/accounting/resources/invoices/client/Client.ts @@ -36,7 +36,6 @@ export class InvoicesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -54,123 +53,143 @@ export class InvoicesClient { * type: "ACCOUNTS_PAYABLE" * }) */ - public list( + public async list( request: Merge.accounting.InvoicesListRequest = {}, requestOptions?: InvoicesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.InvoicesListRequest = {}, - requestOptions?: InvoicesClient.RequestOptions, - ): Promise> { - const { - companyId, - contactId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - issueDateAfter, - issueDateBefore, - modifiedAfter, - modifiedBefore, - number: number_, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - status, - type: type_, - } = request; - const _queryParams: Record = { - company_id: companyId, - contact_id: contactId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.InvoicesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - issue_date_after: issueDateAfter?.toISOString(), - issue_date_before: issueDateBefore?.toISOString(), - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - number: number_, - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - status: - status != null - ? serializers.accounting.InvoicesListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - type: - type_ != null - ? serializers.accounting.InvoicesListRequestType.jsonOrThrow(type_, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.InvoicesListRequest, + ): Promise> => { + const { + companyId, + contactId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + issueDateAfter, + issueDateBefore, + modifiedAfter, + modifiedBefore, + number: number_, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + status, + type: type_, + } = request; + const _queryParams: Record = { + company_id: companyId, + contact_id: contactId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.InvoicesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.InvoicesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + issue_date_after: issueDateAfter?.toISOString(), + issue_date_before: issueDateBefore?.toISOString(), + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + number: number_, + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + status: + status != null + ? serializers.accounting.InvoicesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + type: + type_ != null + ? serializers.accounting.InvoicesListRequestType.jsonOrThrow(type_, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/invoices", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedInvoiceList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/invoices", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/invoices", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedInvoiceList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/invoices"); } /** @@ -263,7 +282,6 @@ export class InvoicesClient { * * @example * await client.accounting.invoices.retrieve("id", { - * expand: "accounting_period", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -287,12 +305,17 @@ export class InvoicesClient { const { expand, includeRemoteData, includeRemoteFields, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.InvoicesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.InvoicesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.InvoicesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -452,85 +475,95 @@ export class InvoicesClient { * pageSize: 1 * }) */ - public lineItemsRemoteFieldClassesList( - request: Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest = {}, - requestOptions?: InvoicesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__lineItemsRemoteFieldClassesList(request, requestOptions)); - } - - private async __lineItemsRemoteFieldClassesList( + public async lineItemsRemoteFieldClassesList( request: Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest = {}, requestOptions?: InvoicesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/invoices/line-items/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/invoices/line-items/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/invoices/line-items/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/invoices/line-items/remote-field-classes", - ); } /** @@ -691,84 +724,94 @@ export class InvoicesClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( - request: Merge.accounting.InvoicesRemoteFieldClassesListRequest = {}, - requestOptions?: InvoicesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.accounting.InvoicesRemoteFieldClassesListRequest = {}, requestOptions?: InvoicesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.InvoicesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/invoices/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/invoices/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/invoices/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/invoices/remote-field-classes", - ); } } diff --git a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts index 3d6b57134..97d9e5ef2 100644 --- a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts +++ b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts @@ -10,7 +10,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -40,7 +39,7 @@ export interface InvoicesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.InvoicesListRequestExpand; + expand?: Merge.accounting.InvoicesListRequestExpandItem | Merge.accounting.InvoicesListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts index 229dde4b6..e0c307cdc 100644 --- a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "accounting_period", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -15,7 +14,7 @@ import type * as Merge from "../../../../../../index"; */ export interface InvoicesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.InvoicesRetrieveRequestExpand; + expand?: Merge.accounting.InvoicesRetrieveRequestExpandItem | Merge.accounting.InvoicesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts b/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts deleted file mode 100644 index 3f28b8e44..000000000 --- a/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts +++ /dev/null @@ -1,7516 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const InvoicesListRequestExpand = { - AccountingPeriod: "accounting_period", - AccountingPeriodPaymentTerm: "accounting_period,payment_term", - AppliedCreditNotes: "applied_credit_notes", - AppliedCreditNotesAccountingPeriod: "applied_credit_notes,accounting_period", - AppliedCreditNotesAccountingPeriodPaymentTerm: "applied_credit_notes,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCredits: "applied_credit_notes,applied_vendor_credits", - AppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompany: "applied_credit_notes,applied_vendor_credits,company", - AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_credit_notes,applied_vendor_credits,company,employee", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedCreditNotesAppliedVendorCreditsContact: "applied_credit_notes,applied_vendor_credits,contact", - AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompany: "applied_credit_notes,applied_vendor_credits,contact,company", - AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedCreditNotesAppliedVendorCreditsEmployee: "applied_credit_notes,applied_vendor_credits,employee", - AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsPaymentTerm: "applied_credit_notes,applied_vendor_credits,payment_term", - AppliedCreditNotesCompany: "applied_credit_notes,company", - AppliedCreditNotesCompanyAccountingPeriod: "applied_credit_notes,company,accounting_period", - AppliedCreditNotesCompanyAccountingPeriodPaymentTerm: "applied_credit_notes,company,accounting_period,payment_term", - AppliedCreditNotesCompanyEmployee: "applied_credit_notes,company,employee", - AppliedCreditNotesCompanyEmployeeAccountingPeriod: "applied_credit_notes,company,employee,accounting_period", - AppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedCreditNotesCompanyEmployeePaymentTerm: "applied_credit_notes,company,employee,payment_term", - AppliedCreditNotesCompanyPaymentTerm: "applied_credit_notes,company,payment_term", - AppliedCreditNotesContact: "applied_credit_notes,contact", - AppliedCreditNotesContactAccountingPeriod: "applied_credit_notes,contact,accounting_period", - AppliedCreditNotesContactAccountingPeriodPaymentTerm: "applied_credit_notes,contact,accounting_period,payment_term", - AppliedCreditNotesContactCompany: "applied_credit_notes,contact,company", - AppliedCreditNotesContactCompanyAccountingPeriod: "applied_credit_notes,contact,company,accounting_period", - AppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedCreditNotesContactCompanyEmployee: "applied_credit_notes,contact,company,employee", - AppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_credit_notes,contact,company,employee,accounting_period", - AppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedCreditNotesContactCompanyEmployeePaymentTerm: "applied_credit_notes,contact,company,employee,payment_term", - AppliedCreditNotesContactCompanyPaymentTerm: "applied_credit_notes,contact,company,payment_term", - AppliedCreditNotesContactEmployee: "applied_credit_notes,contact,employee", - AppliedCreditNotesContactEmployeeAccountingPeriod: "applied_credit_notes,contact,employee,accounting_period", - AppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedCreditNotesContactEmployeePaymentTerm: "applied_credit_notes,contact,employee,payment_term", - AppliedCreditNotesContactPaymentTerm: "applied_credit_notes,contact,payment_term", - AppliedCreditNotesEmployee: "applied_credit_notes,employee", - AppliedCreditNotesEmployeeAccountingPeriod: "applied_credit_notes,employee,accounting_period", - AppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,employee,accounting_period,payment_term", - AppliedCreditNotesEmployeePaymentTerm: "applied_credit_notes,employee,payment_term", - AppliedCreditNotesPaymentTerm: "applied_credit_notes,payment_term", - AppliedPayments: "applied_payments", - AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period", - AppliedPaymentsAccountingPeriodPaymentTerm: "applied_payments,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotes: "applied_payments,applied_credit_notes", - AppliedPaymentsAppliedCreditNotesAccountingPeriod: "applied_payments,applied_credit_notes,accounting_period", - AppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCredits: - "applied_payments,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsAppliedCreditNotesCompany: "applied_payments,applied_credit_notes,company", - AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,company,accounting_period", - AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesCompanyEmployee: "applied_payments,applied_credit_notes,company,employee", - AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesCompanyPaymentTerm: "applied_payments,applied_credit_notes,company,payment_term", - AppliedPaymentsAppliedCreditNotesContact: "applied_payments,applied_credit_notes,contact", - AppliedPaymentsAppliedCreditNotesContactAccountingPeriod: - "applied_payments,applied_credit_notes,contact,accounting_period", - AppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompany: "applied_payments,applied_credit_notes,contact,company", - AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployee: - "applied_payments,applied_credit_notes,contact,company,employee", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsAppliedCreditNotesContactEmployee: "applied_payments,applied_credit_notes,contact,employee", - AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsAppliedCreditNotesContactPaymentTerm: "applied_payments,applied_credit_notes,contact,payment_term", - AppliedPaymentsAppliedCreditNotesEmployee: "applied_payments,applied_credit_notes,employee", - AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesEmployeePaymentTerm: "applied_payments,applied_credit_notes,employee,payment_term", - AppliedPaymentsAppliedCreditNotesPaymentTerm: "applied_payments,applied_credit_notes,payment_term", - AppliedPaymentsAppliedVendorCredits: "applied_payments,applied_vendor_credits", - AppliedPaymentsAppliedVendorCreditsAccountingPeriod: "applied_payments,applied_vendor_credits,accounting_period", - AppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsCompany: "applied_payments,applied_vendor_credits,company", - AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,applied_vendor_credits,company,accounting_period", - AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsCompanyEmployee: "applied_payments,applied_vendor_credits,company,employee", - AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,applied_vendor_credits,company,payment_term", - AppliedPaymentsAppliedVendorCreditsContact: "applied_payments,applied_vendor_credits,contact", - AppliedPaymentsAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompany: "applied_payments,applied_vendor_credits,contact,company", - AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,applied_vendor_credits,contact,company,employee", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsAppliedVendorCreditsContactEmployee: "applied_payments,applied_vendor_credits,contact,employee", - AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsContactPaymentTerm: - "applied_payments,applied_vendor_credits,contact,payment_term", - AppliedPaymentsAppliedVendorCreditsEmployee: "applied_payments,applied_vendor_credits,employee", - AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsPaymentTerm: "applied_payments,applied_vendor_credits,payment_term", - AppliedPaymentsCompany: "applied_payments,company", - AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period", - AppliedPaymentsCompanyAccountingPeriodPaymentTerm: "applied_payments,company,accounting_period,payment_term", - AppliedPaymentsCompanyEmployee: "applied_payments,company,employee", - AppliedPaymentsCompanyEmployeeAccountingPeriod: "applied_payments,company,employee,accounting_period", - AppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,company,employee,accounting_period,payment_term", - AppliedPaymentsCompanyEmployeePaymentTerm: "applied_payments,company,employee,payment_term", - AppliedPaymentsCompanyPaymentTerm: "applied_payments,company,payment_term", - AppliedPaymentsContact: "applied_payments,contact", - AppliedPaymentsContactAccountingPeriod: "applied_payments,contact,accounting_period", - AppliedPaymentsContactAccountingPeriodPaymentTerm: "applied_payments,contact,accounting_period,payment_term", - AppliedPaymentsContactCompany: "applied_payments,contact,company", - AppliedPaymentsContactCompanyAccountingPeriod: "applied_payments,contact,company,accounting_period", - AppliedPaymentsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,contact,company,accounting_period,payment_term", - AppliedPaymentsContactCompanyEmployee: "applied_payments,contact,company,employee", - AppliedPaymentsContactCompanyEmployeeAccountingPeriod: - "applied_payments,contact,company,employee,accounting_period", - AppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsContactCompanyEmployeePaymentTerm: "applied_payments,contact,company,employee,payment_term", - AppliedPaymentsContactCompanyPaymentTerm: "applied_payments,contact,company,payment_term", - AppliedPaymentsContactEmployee: "applied_payments,contact,employee", - AppliedPaymentsContactEmployeeAccountingPeriod: "applied_payments,contact,employee,accounting_period", - AppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,contact,employee,accounting_period,payment_term", - AppliedPaymentsContactEmployeePaymentTerm: "applied_payments,contact,employee,payment_term", - AppliedPaymentsContactPaymentTerm: "applied_payments,contact,payment_term", - AppliedPaymentsEmployee: "applied_payments,employee", - AppliedPaymentsEmployeeAccountingPeriod: "applied_payments,employee,accounting_period", - AppliedPaymentsEmployeeAccountingPeriodPaymentTerm: "applied_payments,employee,accounting_period,payment_term", - AppliedPaymentsEmployeePaymentTerm: "applied_payments,employee,payment_term", - AppliedPaymentsLineItems: "applied_payments,line_items", - AppliedPaymentsLineItemsAccountingPeriod: "applied_payments,line_items,accounting_period", - AppliedPaymentsLineItemsAccountingPeriodPaymentTerm: "applied_payments,line_items,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotes: "applied_payments,line_items,applied_credit_notes", - AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompany: "applied_payments,line_items,applied_credit_notes,company", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContact: "applied_payments,line_items,applied_credit_notes,contact", - AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompany: - "applied_payments,line_items,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployee: - "applied_payments,line_items,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesEmployee: "applied_payments,line_items,applied_credit_notes,employee", - AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsAppliedVendorCredits: "applied_payments,line_items,applied_vendor_credits", - AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompany: "applied_payments,line_items,applied_vendor_credits,company", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContact: "applied_payments,line_items,applied_vendor_credits,contact", - AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompany: - "applied_payments,line_items,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployee: "applied_payments,line_items,applied_vendor_credits,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsCompany: "applied_payments,line_items,company", - AppliedPaymentsLineItemsCompanyAccountingPeriod: "applied_payments,line_items,company,accounting_period", - AppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,company,accounting_period,payment_term", - AppliedPaymentsLineItemsCompanyEmployee: "applied_payments,line_items,company,employee", - AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,company,employee,accounting_period", - AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsCompanyEmployeePaymentTerm: "applied_payments,line_items,company,employee,payment_term", - AppliedPaymentsLineItemsCompanyPaymentTerm: "applied_payments,line_items,company,payment_term", - AppliedPaymentsLineItemsContact: "applied_payments,line_items,contact", - AppliedPaymentsLineItemsContactAccountingPeriod: "applied_payments,line_items,contact,accounting_period", - AppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsContactCompany: "applied_payments,line_items,contact,company", - AppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "applied_payments,line_items,contact,company,accounting_period", - AppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsContactCompanyEmployee: "applied_payments,line_items,contact,company,employee", - AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,contact,company,employee,payment_term", - AppliedPaymentsLineItemsContactCompanyPaymentTerm: "applied_payments,line_items,contact,company,payment_term", - AppliedPaymentsLineItemsContactEmployee: "applied_payments,line_items,contact,employee", - AppliedPaymentsLineItemsContactEmployeeAccountingPeriod: - "applied_payments,line_items,contact,employee,accounting_period", - AppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsContactEmployeePaymentTerm: "applied_payments,line_items,contact,employee,payment_term", - AppliedPaymentsLineItemsContactPaymentTerm: "applied_payments,line_items,contact,payment_term", - AppliedPaymentsLineItemsEmployee: "applied_payments,line_items,employee", - AppliedPaymentsLineItemsEmployeeAccountingPeriod: "applied_payments,line_items,employee,accounting_period", - AppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsEmployeePaymentTerm: "applied_payments,line_items,employee,payment_term", - AppliedPaymentsLineItemsPaymentTerm: "applied_payments,line_items,payment_term", - AppliedPaymentsLineItemsPurchaseOrders: "applied_payments,line_items,purchase_orders", - AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod: - "applied_payments,line_items,purchase_orders,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes: - "applied_payments,line_items,purchase_orders,applied_credit_notes", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits: - "applied_payments,line_items,purchase_orders,applied_vendor_credits", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompany: "applied_payments,line_items,purchase_orders,company", - AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee: - "applied_payments,line_items,purchase_orders,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContact: "applied_payments,line_items,purchase_orders,contact", - AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompany: "applied_payments,line_items,purchase_orders,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployee: - "applied_payments,line_items,purchase_orders,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersEmployee: "applied_payments,line_items,purchase_orders,employee", - AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersPaymentTerm: "applied_payments,line_items,purchase_orders,payment_term", - AppliedPaymentsLineItemsTrackingCategories: "applied_payments,line_items,tracking_categories", - AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "applied_payments,line_items,tracking_categories,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes: - "applied_payments,line_items,tracking_categories,applied_credit_notes", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompany: "applied_payments,line_items,tracking_categories,company", - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee: - "applied_payments,line_items,tracking_categories,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContact: "applied_payments,line_items,tracking_categories,contact", - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "applied_payments,line_items,tracking_categories,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployee: - "applied_payments,line_items,tracking_categories,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesEmployee: "applied_payments,line_items,tracking_categories,employee", - AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPaymentTerm: - "applied_payments,line_items,tracking_categories,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders: - "applied_payments,line_items,tracking_categories,purchase_orders", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact: - "applied_payments,line_items,tracking_categories,purchase_orders,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - AppliedPaymentsPaymentTerm: "applied_payments,payment_term", - AppliedPaymentsPurchaseOrders: "applied_payments,purchase_orders", - AppliedPaymentsPurchaseOrdersAccountingPeriod: "applied_payments,purchase_orders,accounting_period", - AppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotes: "applied_payments,purchase_orders,applied_credit_notes", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,purchase_orders,applied_credit_notes,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCredits: "applied_payments,purchase_orders,applied_vendor_credits", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsPurchaseOrdersCompany: "applied_payments,purchase_orders,company", - AppliedPaymentsPurchaseOrdersCompanyAccountingPeriod: "applied_payments,purchase_orders,company,accounting_period", - AppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersCompanyEmployee: "applied_payments,purchase_orders,company,employee", - AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersCompanyPaymentTerm: "applied_payments,purchase_orders,company,payment_term", - AppliedPaymentsPurchaseOrdersContact: "applied_payments,purchase_orders,contact", - AppliedPaymentsPurchaseOrdersContactAccountingPeriod: "applied_payments,purchase_orders,contact,accounting_period", - AppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactCompany: "applied_payments,purchase_orders,contact,company", - AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactCompanyEmployee: "applied_payments,purchase_orders,contact,company,employee", - AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,purchase_orders,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersContactEmployee: "applied_payments,purchase_orders,contact,employee", - AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,purchase_orders,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersContactPaymentTerm: "applied_payments,purchase_orders,contact,payment_term", - AppliedPaymentsPurchaseOrdersEmployee: "applied_payments,purchase_orders,employee", - AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,purchase_orders,employee,accounting_period", - AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersEmployeePaymentTerm: "applied_payments,purchase_orders,employee,payment_term", - AppliedPaymentsPurchaseOrdersPaymentTerm: "applied_payments,purchase_orders,payment_term", - AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories", - AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period", - AppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotes: "applied_payments,tracking_categories,applied_credit_notes", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany: - "applied_payments,tracking_categories,applied_credit_notes,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContact: - "applied_payments,tracking_categories,applied_credit_notes,contact", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany: - "applied_payments,tracking_categories,applied_credit_notes,contact,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee: - "applied_payments,tracking_categories,applied_credit_notes,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCredits: - "applied_payments,tracking_categories,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact: - "applied_payments,tracking_categories,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,tracking_categories,company,accounting_period", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesCompanyEmployee: "applied_payments,tracking_categories,company,employee", - AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesCompanyPaymentTerm: "applied_payments,tracking_categories,company,payment_term", - AppliedPaymentsTrackingCategoriesContact: "applied_payments,tracking_categories,contact", - AppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "applied_payments,tracking_categories,contact,accounting_period", - AppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactCompany: "applied_payments,tracking_categories,contact,company", - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactCompanyEmployee: - "applied_payments,tracking_categories,contact,company,employee", - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm: - "applied_payments,tracking_categories,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesContactEmployee: "applied_payments,tracking_categories,contact,employee", - AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm: - "applied_payments,tracking_categories,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesContactPaymentTerm: "applied_payments,tracking_categories,contact,payment_term", - AppliedPaymentsTrackingCategoriesEmployee: "applied_payments,tracking_categories,employee", - AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod: - "applied_payments,tracking_categories,employee,accounting_period", - AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesEmployeePaymentTerm: "applied_payments,tracking_categories,employee,payment_term", - AppliedPaymentsTrackingCategoriesPaymentTerm: "applied_payments,tracking_categories,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrders: "applied_payments,tracking_categories,purchase_orders", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompany: - "applied_payments,tracking_categories,purchase_orders,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContact: - "applied_payments,tracking_categories,purchase_orders,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany: - "applied_payments,tracking_categories,purchase_orders,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee: - "applied_payments,tracking_categories,purchase_orders,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee: - "applied_payments,tracking_categories,purchase_orders,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,payment_term", - AppliedVendorCredits: "applied_vendor_credits", - AppliedVendorCreditsAccountingPeriod: "applied_vendor_credits,accounting_period", - AppliedVendorCreditsAccountingPeriodPaymentTerm: "applied_vendor_credits,accounting_period,payment_term", - AppliedVendorCreditsCompany: "applied_vendor_credits,company", - AppliedVendorCreditsCompanyAccountingPeriod: "applied_vendor_credits,company,accounting_period", - AppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_vendor_credits,company,accounting_period,payment_term", - AppliedVendorCreditsCompanyEmployee: "applied_vendor_credits,company,employee", - AppliedVendorCreditsCompanyEmployeeAccountingPeriod: "applied_vendor_credits,company,employee,accounting_period", - AppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedVendorCreditsCompanyEmployeePaymentTerm: "applied_vendor_credits,company,employee,payment_term", - AppliedVendorCreditsCompanyPaymentTerm: "applied_vendor_credits,company,payment_term", - AppliedVendorCreditsContact: "applied_vendor_credits,contact", - AppliedVendorCreditsContactAccountingPeriod: "applied_vendor_credits,contact,accounting_period", - AppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,accounting_period,payment_term", - AppliedVendorCreditsContactCompany: "applied_vendor_credits,contact,company", - AppliedVendorCreditsContactCompanyAccountingPeriod: "applied_vendor_credits,contact,company,accounting_period", - AppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedVendorCreditsContactCompanyEmployee: "applied_vendor_credits,contact,company,employee", - AppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_vendor_credits,contact,company,employee,accounting_period", - AppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_vendor_credits,contact,company,employee,payment_term", - AppliedVendorCreditsContactCompanyPaymentTerm: "applied_vendor_credits,contact,company,payment_term", - AppliedVendorCreditsContactEmployee: "applied_vendor_credits,contact,employee", - AppliedVendorCreditsContactEmployeeAccountingPeriod: "applied_vendor_credits,contact,employee,accounting_period", - AppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedVendorCreditsContactEmployeePaymentTerm: "applied_vendor_credits,contact,employee,payment_term", - AppliedVendorCreditsContactPaymentTerm: "applied_vendor_credits,contact,payment_term", - AppliedVendorCreditsEmployee: "applied_vendor_credits,employee", - AppliedVendorCreditsEmployeeAccountingPeriod: "applied_vendor_credits,employee,accounting_period", - AppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,employee,accounting_period,payment_term", - AppliedVendorCreditsEmployeePaymentTerm: "applied_vendor_credits,employee,payment_term", - AppliedVendorCreditsPaymentTerm: "applied_vendor_credits,payment_term", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyAccountingPeriodPaymentTerm: "company,accounting_period,payment_term", - CompanyEmployee: "company,employee", - CompanyEmployeeAccountingPeriod: "company,employee,accounting_period", - CompanyEmployeeAccountingPeriodPaymentTerm: "company,employee,accounting_period,payment_term", - CompanyEmployeePaymentTerm: "company,employee,payment_term", - CompanyPaymentTerm: "company,payment_term", - Contact: "contact", - ContactAccountingPeriod: "contact,accounting_period", - ContactAccountingPeriodPaymentTerm: "contact,accounting_period,payment_term", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - ContactCompanyAccountingPeriodPaymentTerm: "contact,company,accounting_period,payment_term", - ContactCompanyEmployee: "contact,company,employee", - ContactCompanyEmployeeAccountingPeriod: "contact,company,employee,accounting_period", - ContactCompanyEmployeeAccountingPeriodPaymentTerm: "contact,company,employee,accounting_period,payment_term", - ContactCompanyEmployeePaymentTerm: "contact,company,employee,payment_term", - ContactCompanyPaymentTerm: "contact,company,payment_term", - ContactEmployee: "contact,employee", - ContactEmployeeAccountingPeriod: "contact,employee,accounting_period", - ContactEmployeeAccountingPeriodPaymentTerm: "contact,employee,accounting_period,payment_term", - ContactEmployeePaymentTerm: "contact,employee,payment_term", - ContactPaymentTerm: "contact,payment_term", - Employee: "employee", - EmployeeAccountingPeriod: "employee,accounting_period", - EmployeeAccountingPeriodPaymentTerm: "employee,accounting_period,payment_term", - EmployeePaymentTerm: "employee,payment_term", - LineItems: "line_items", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsAccountingPeriodPaymentTerm: "line_items,accounting_period,payment_term", - LineItemsAppliedCreditNotes: "line_items,applied_credit_notes", - LineItemsAppliedCreditNotesAccountingPeriod: "line_items,applied_credit_notes,accounting_period", - LineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCredits: "line_items,applied_credit_notes,applied_vendor_credits", - LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,applied_credit_notes,applied_vendor_credits,company", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,applied_credit_notes,applied_vendor_credits,contact", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsAppliedCreditNotesCompany: "line_items,applied_credit_notes,company", - LineItemsAppliedCreditNotesCompanyAccountingPeriod: "line_items,applied_credit_notes,company,accounting_period", - LineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesCompanyEmployee: "line_items,applied_credit_notes,company,employee", - LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,company,employee,accounting_period", - LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,company,employee,payment_term", - LineItemsAppliedCreditNotesCompanyPaymentTerm: "line_items,applied_credit_notes,company,payment_term", - LineItemsAppliedCreditNotesContact: "line_items,applied_credit_notes,contact", - LineItemsAppliedCreditNotesContactAccountingPeriod: "line_items,applied_credit_notes,contact,accounting_period", - LineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactCompany: "line_items,applied_credit_notes,contact,company", - LineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,applied_credit_notes,contact,company,accounting_period", - LineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactCompanyEmployee: "line_items,applied_credit_notes,contact,company,employee", - LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,contact,company,employee,payment_term", - LineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,applied_credit_notes,contact,company,payment_term", - LineItemsAppliedCreditNotesContactEmployee: "line_items,applied_credit_notes,contact,employee", - LineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,applied_credit_notes,contact,employee,accounting_period", - LineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,applied_credit_notes,contact,employee,payment_term", - LineItemsAppliedCreditNotesContactPaymentTerm: "line_items,applied_credit_notes,contact,payment_term", - LineItemsAppliedCreditNotesEmployee: "line_items,applied_credit_notes,employee", - LineItemsAppliedCreditNotesEmployeeAccountingPeriod: "line_items,applied_credit_notes,employee,accounting_period", - LineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesEmployeePaymentTerm: "line_items,applied_credit_notes,employee,payment_term", - LineItemsAppliedCreditNotesPaymentTerm: "line_items,applied_credit_notes,payment_term", - LineItemsAppliedVendorCredits: "line_items,applied_vendor_credits", - LineItemsAppliedVendorCreditsAccountingPeriod: "line_items,applied_vendor_credits,accounting_period", - LineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,accounting_period,payment_term", - LineItemsAppliedVendorCreditsCompany: "line_items,applied_vendor_credits,company", - LineItemsAppliedVendorCreditsCompanyAccountingPeriod: "line_items,applied_vendor_credits,company,accounting_period", - LineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsAppliedVendorCreditsCompanyEmployee: "line_items,applied_vendor_credits,company,employee", - LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,company,employee,accounting_period", - LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,applied_vendor_credits,company,employee,payment_term", - LineItemsAppliedVendorCreditsCompanyPaymentTerm: "line_items,applied_vendor_credits,company,payment_term", - LineItemsAppliedVendorCreditsContact: "line_items,applied_vendor_credits,contact", - LineItemsAppliedVendorCreditsContactAccountingPeriod: "line_items,applied_vendor_credits,contact,accounting_period", - LineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactCompany: "line_items,applied_vendor_credits,contact,company", - LineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,applied_vendor_credits,contact,company,accounting_period", - LineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactCompanyEmployee: "line_items,applied_vendor_credits,contact,company,employee", - LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,applied_vendor_credits,contact,company,payment_term", - LineItemsAppliedVendorCreditsContactEmployee: "line_items,applied_vendor_credits,contact,employee", - LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,contact,employee,accounting_period", - LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,applied_vendor_credits,contact,employee,payment_term", - LineItemsAppliedVendorCreditsContactPaymentTerm: "line_items,applied_vendor_credits,contact,payment_term", - LineItemsAppliedVendorCreditsEmployee: "line_items,applied_vendor_credits,employee", - LineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,employee,accounting_period", - LineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsEmployeePaymentTerm: "line_items,applied_vendor_credits,employee,payment_term", - LineItemsAppliedVendorCreditsPaymentTerm: "line_items,applied_vendor_credits,payment_term", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsCompanyAccountingPeriodPaymentTerm: "line_items,company,accounting_period,payment_term", - LineItemsCompanyEmployee: "line_items,company,employee", - LineItemsCompanyEmployeeAccountingPeriod: "line_items,company,employee,accounting_period", - LineItemsCompanyEmployeeAccountingPeriodPaymentTerm: "line_items,company,employee,accounting_period,payment_term", - LineItemsCompanyEmployeePaymentTerm: "line_items,company,employee,payment_term", - LineItemsCompanyPaymentTerm: "line_items,company,payment_term", - LineItemsContact: "line_items,contact", - LineItemsContactAccountingPeriod: "line_items,contact,accounting_period", - LineItemsContactAccountingPeriodPaymentTerm: "line_items,contact,accounting_period,payment_term", - LineItemsContactCompany: "line_items,contact,company", - LineItemsContactCompanyAccountingPeriod: "line_items,contact,company,accounting_period", - LineItemsContactCompanyAccountingPeriodPaymentTerm: "line_items,contact,company,accounting_period,payment_term", - LineItemsContactCompanyEmployee: "line_items,contact,company,employee", - LineItemsContactCompanyEmployeeAccountingPeriod: "line_items,contact,company,employee,accounting_period", - LineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,contact,company,employee,accounting_period,payment_term", - LineItemsContactCompanyEmployeePaymentTerm: "line_items,contact,company,employee,payment_term", - LineItemsContactCompanyPaymentTerm: "line_items,contact,company,payment_term", - LineItemsContactEmployee: "line_items,contact,employee", - LineItemsContactEmployeeAccountingPeriod: "line_items,contact,employee,accounting_period", - LineItemsContactEmployeeAccountingPeriodPaymentTerm: "line_items,contact,employee,accounting_period,payment_term", - LineItemsContactEmployeePaymentTerm: "line_items,contact,employee,payment_term", - LineItemsContactPaymentTerm: "line_items,contact,payment_term", - LineItemsEmployee: "line_items,employee", - LineItemsEmployeeAccountingPeriod: "line_items,employee,accounting_period", - LineItemsEmployeeAccountingPeriodPaymentTerm: "line_items,employee,accounting_period,payment_term", - LineItemsEmployeePaymentTerm: "line_items,employee,payment_term", - LineItemsPaymentTerm: "line_items,payment_term", - LineItemsPurchaseOrders: "line_items,purchase_orders", - LineItemsPurchaseOrdersAccountingPeriod: "line_items,purchase_orders,accounting_period", - LineItemsPurchaseOrdersAccountingPeriodPaymentTerm: "line_items,purchase_orders,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotes: "line_items,purchase_orders,applied_credit_notes", - LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompany: "line_items,purchase_orders,applied_credit_notes,company", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContact: "line_items,purchase_orders,applied_credit_notes,contact", - LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "line_items,purchase_orders,applied_credit_notes,contact,company", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "line_items,purchase_orders,applied_credit_notes,contact,employee", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesEmployee: "line_items,purchase_orders,applied_credit_notes,employee", - LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,payment_term", - LineItemsPurchaseOrdersAppliedVendorCredits: "line_items,purchase_orders,applied_vendor_credits", - LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompany: "line_items,purchase_orders,applied_vendor_credits,company", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "line_items,purchase_orders,applied_vendor_credits,company,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContact: "line_items,purchase_orders,applied_vendor_credits,contact", - LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "line_items,purchase_orders,applied_vendor_credits,contact,company", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "line_items,purchase_orders,applied_vendor_credits,contact,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployee: "line_items,purchase_orders,applied_vendor_credits,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,payment_term", - LineItemsPurchaseOrdersCompany: "line_items,purchase_orders,company", - LineItemsPurchaseOrdersCompanyAccountingPeriod: "line_items,purchase_orders,company,accounting_period", - LineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,company,accounting_period,payment_term", - LineItemsPurchaseOrdersCompanyEmployee: "line_items,purchase_orders,company,employee", - LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,company,employee,accounting_period", - LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersCompanyEmployeePaymentTerm: "line_items,purchase_orders,company,employee,payment_term", - LineItemsPurchaseOrdersCompanyPaymentTerm: "line_items,purchase_orders,company,payment_term", - LineItemsPurchaseOrdersContact: "line_items,purchase_orders,contact", - LineItemsPurchaseOrdersContactAccountingPeriod: "line_items,purchase_orders,contact,accounting_period", - LineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersContactCompany: "line_items,purchase_orders,contact,company", - LineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "line_items,purchase_orders,contact,company,accounting_period", - LineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersContactCompanyEmployee: "line_items,purchase_orders,contact,company,employee", - LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,contact,company,employee,payment_term", - LineItemsPurchaseOrdersContactCompanyPaymentTerm: "line_items,purchase_orders,contact,company,payment_term", - LineItemsPurchaseOrdersContactEmployee: "line_items,purchase_orders,contact,employee", - LineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "line_items,purchase_orders,contact,employee,accounting_period", - LineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersContactEmployeePaymentTerm: "line_items,purchase_orders,contact,employee,payment_term", - LineItemsPurchaseOrdersContactPaymentTerm: "line_items,purchase_orders,contact,payment_term", - LineItemsPurchaseOrdersEmployee: "line_items,purchase_orders,employee", - LineItemsPurchaseOrdersEmployeeAccountingPeriod: "line_items,purchase_orders,employee,accounting_period", - LineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersEmployeePaymentTerm: "line_items,purchase_orders,employee,payment_term", - LineItemsPurchaseOrdersPaymentTerm: "line_items,purchase_orders,payment_term", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotes: "line_items,tracking_categories,applied_credit_notes", - LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompany: "line_items,tracking_categories,applied_credit_notes,company", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContact: "line_items,tracking_categories,applied_credit_notes,contact", - LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "line_items,tracking_categories,applied_credit_notes,contact,company", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "line_items,tracking_categories,applied_credit_notes,contact,employee", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "line_items,tracking_categories,applied_credit_notes,employee", - LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,payment_term", - LineItemsTrackingCategoriesAppliedVendorCredits: "line_items,tracking_categories,applied_vendor_credits", - LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "line_items,tracking_categories,applied_vendor_credits,company", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContact: - "line_items,tracking_categories,applied_vendor_credits,contact", - LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "line_items,tracking_categories,applied_vendor_credits,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,company,accounting_period,payment_term", - LineItemsTrackingCategoriesCompanyEmployee: "line_items,tracking_categories,company,employee", - LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,company,employee,accounting_period", - LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "line_items,tracking_categories,company,employee,payment_term", - LineItemsTrackingCategoriesCompanyPaymentTerm: "line_items,tracking_categories,company,payment_term", - LineItemsTrackingCategoriesContact: "line_items,tracking_categories,contact", - LineItemsTrackingCategoriesContactAccountingPeriod: "line_items,tracking_categories,contact,accounting_period", - LineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesContactCompany: "line_items,tracking_categories,contact,company", - LineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "line_items,tracking_categories,contact,company,accounting_period", - LineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesContactCompanyEmployee: "line_items,tracking_categories,contact,company,employee", - LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,contact,company,employee,payment_term", - LineItemsTrackingCategoriesContactCompanyPaymentTerm: "line_items,tracking_categories,contact,company,payment_term", - LineItemsTrackingCategoriesContactEmployee: "line_items,tracking_categories,contact,employee", - LineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "line_items,tracking_categories,contact,employee,accounting_period", - LineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesContactEmployeePaymentTerm: - "line_items,tracking_categories,contact,employee,payment_term", - LineItemsTrackingCategoriesContactPaymentTerm: "line_items,tracking_categories,contact,payment_term", - LineItemsTrackingCategoriesEmployee: "line_items,tracking_categories,employee", - LineItemsTrackingCategoriesEmployeeAccountingPeriod: "line_items,tracking_categories,employee,accounting_period", - LineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesEmployeePaymentTerm: "line_items,tracking_categories,employee,payment_term", - LineItemsTrackingCategoriesPaymentTerm: "line_items,tracking_categories,payment_term", - LineItemsTrackingCategoriesPurchaseOrders: "line_items,tracking_categories,purchase_orders", - LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "line_items,tracking_categories,purchase_orders,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "line_items,tracking_categories,purchase_orders,applied_credit_notes", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompany: "line_items,tracking_categories,purchase_orders,company", - LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "line_items,tracking_categories,purchase_orders,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContact: "line_items,tracking_categories,purchase_orders,contact", - LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "line_items,tracking_categories,purchase_orders,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "line_items,tracking_categories,purchase_orders,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersEmployee: "line_items,tracking_categories,purchase_orders,employee", - LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: "line_items,tracking_categories,purchase_orders,payment_term", - PaymentTerm: "payment_term", - Payments: "payments", - PaymentsAccountingPeriod: "payments,accounting_period", - PaymentsAccountingPeriodPaymentTerm: "payments,accounting_period,payment_term", - PaymentsAppliedCreditNotes: "payments,applied_credit_notes", - PaymentsAppliedCreditNotesAccountingPeriod: "payments,applied_credit_notes,accounting_period", - PaymentsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCredits: "payments,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedCreditNotesCompany: "payments,applied_credit_notes,company", - PaymentsAppliedCreditNotesCompanyAccountingPeriod: "payments,applied_credit_notes,company,accounting_period", - PaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesCompanyEmployee: "payments,applied_credit_notes,company,employee", - PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesCompanyEmployeePaymentTerm: "payments,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedCreditNotesCompanyPaymentTerm: "payments,applied_credit_notes,company,payment_term", - PaymentsAppliedCreditNotesContact: "payments,applied_credit_notes,contact", - PaymentsAppliedCreditNotesContactAccountingPeriod: "payments,applied_credit_notes,contact,accounting_period", - PaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactCompany: "payments,applied_credit_notes,contact,company", - PaymentsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactCompanyEmployee: "payments,applied_credit_notes,contact,company,employee", - PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedCreditNotesContactCompanyPaymentTerm: "payments,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedCreditNotesContactEmployee: "payments,applied_credit_notes,contact,employee", - PaymentsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactEmployeePaymentTerm: "payments,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedCreditNotesContactPaymentTerm: "payments,applied_credit_notes,contact,payment_term", - PaymentsAppliedCreditNotesEmployee: "payments,applied_credit_notes,employee", - PaymentsAppliedCreditNotesEmployeeAccountingPeriod: "payments,applied_credit_notes,employee,accounting_period", - PaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesEmployeePaymentTerm: "payments,applied_credit_notes,employee,payment_term", - PaymentsAppliedCreditNotesPaymentTerm: "payments,applied_credit_notes,payment_term", - PaymentsAppliedPayments: "payments,applied_payments", - PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period", - PaymentsAppliedPaymentsAccountingPeriodPaymentTerm: "payments,applied_payments,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotes: "payments,applied_payments,applied_credit_notes", - PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompany: "payments,applied_payments,applied_credit_notes,company", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContact: "payments,applied_payments,applied_credit_notes,contact", - PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompany: - "payments,applied_payments,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployee: - "payments,applied_payments,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesEmployee: "payments,applied_payments,applied_credit_notes,employee", - PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesPaymentTerm: "payments,applied_payments,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsAppliedVendorCredits: "payments,applied_payments,applied_vendor_credits", - PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompany: "payments,applied_payments,applied_vendor_credits,company", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContact: "payments,applied_payments,applied_vendor_credits,contact", - PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompany: - "payments,applied_payments,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee: - "payments,applied_payments,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployee: "payments,applied_payments,applied_vendor_credits,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsCompany: "payments,applied_payments,company", - PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period", - PaymentsAppliedPaymentsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,company,accounting_period,payment_term", - PaymentsAppliedPaymentsCompanyEmployee: "payments,applied_payments,company,employee", - PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,company,employee,accounting_period", - PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsCompanyEmployeePaymentTerm: "payments,applied_payments,company,employee,payment_term", - PaymentsAppliedPaymentsCompanyPaymentTerm: "payments,applied_payments,company,payment_term", - PaymentsAppliedPaymentsContact: "payments,applied_payments,contact", - PaymentsAppliedPaymentsContactAccountingPeriod: "payments,applied_payments,contact,accounting_period", - PaymentsAppliedPaymentsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsContactCompany: "payments,applied_payments,contact,company", - PaymentsAppliedPaymentsContactCompanyAccountingPeriod: - "payments,applied_payments,contact,company,accounting_period", - PaymentsAppliedPaymentsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsContactCompanyEmployee: "payments,applied_payments,contact,company,employee", - PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,contact,company,employee,payment_term", - PaymentsAppliedPaymentsContactCompanyPaymentTerm: "payments,applied_payments,contact,company,payment_term", - PaymentsAppliedPaymentsContactEmployee: "payments,applied_payments,contact,employee", - PaymentsAppliedPaymentsContactEmployeeAccountingPeriod: - "payments,applied_payments,contact,employee,accounting_period", - PaymentsAppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsContactEmployeePaymentTerm: "payments,applied_payments,contact,employee,payment_term", - PaymentsAppliedPaymentsContactPaymentTerm: "payments,applied_payments,contact,payment_term", - PaymentsAppliedPaymentsEmployee: "payments,applied_payments,employee", - PaymentsAppliedPaymentsEmployeeAccountingPeriod: "payments,applied_payments,employee,accounting_period", - PaymentsAppliedPaymentsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsEmployeePaymentTerm: "payments,applied_payments,employee,payment_term", - PaymentsAppliedPaymentsLineItems: "payments,applied_payments,line_items", - PaymentsAppliedPaymentsLineItemsAccountingPeriod: "payments,applied_payments,line_items,accounting_period", - PaymentsAppliedPaymentsLineItemsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotes: "payments,applied_payments,line_items,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany: - "payments,applied_payments,line_items,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact: - "payments,applied_payments,line_items,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCredits: "payments,applied_payments,line_items,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact: - "payments,applied_payments,line_items,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsCompany: "payments,applied_payments,line_items,company", - PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod: - "payments,applied_payments,line_items,company,accounting_period", - PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsCompanyEmployee: "payments,applied_payments,line_items,company,employee", - PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsCompanyPaymentTerm: "payments,applied_payments,line_items,company,payment_term", - PaymentsAppliedPaymentsLineItemsContact: "payments,applied_payments,line_items,contact", - PaymentsAppliedPaymentsLineItemsContactAccountingPeriod: - "payments,applied_payments,line_items,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompany: "payments,applied_payments,line_items,contact,company", - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployee: - "payments,applied_payments,line_items,contact,company,employee", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsContactEmployee: "payments,applied_payments,line_items,contact,employee", - PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsContactPaymentTerm: "payments,applied_payments,line_items,contact,payment_term", - PaymentsAppliedPaymentsLineItemsEmployee: "payments,applied_payments,line_items,employee", - PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsEmployeePaymentTerm: "payments,applied_payments,line_items,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPaymentTerm: "payments,applied_payments,line_items,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrders: "payments,applied_payments,line_items,purchase_orders", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany: - "payments,applied_payments,line_items,purchase_orders,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContact: - "payments,applied_payments,line_items,purchase_orders,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany: - "payments,applied_payments,line_items,purchase_orders,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee: - "payments,applied_payments,line_items,purchase_orders,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee: - "payments,applied_payments,line_items,purchase_orders,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategories: "payments,applied_payments,line_items,tracking_categories", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany: - "payments,applied_payments,line_items,tracking_categories,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact: - "payments,applied_payments,line_items,tracking_categories,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "payments,applied_payments,line_items,tracking_categories,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee: - "payments,applied_payments,line_items,tracking_categories,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee: - "payments,applied_payments,line_items,tracking_categories,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders: - "payments,applied_payments,line_items,tracking_categories,purchase_orders", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - PaymentsAppliedPaymentsPaymentTerm: "payments,applied_payments,payment_term", - PaymentsAppliedPaymentsPurchaseOrders: "payments,applied_payments,purchase_orders", - PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod: - "payments,applied_payments,purchase_orders,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompany: "payments,applied_payments,purchase_orders,company", - PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee: "payments,applied_payments,purchase_orders,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContact: "payments,applied_payments,purchase_orders,contact", - PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompany: "payments,applied_payments,purchase_orders,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployee: "payments,applied_payments,purchase_orders,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersEmployee: "payments,applied_payments,purchase_orders,employee", - PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersPaymentTerm: "payments,applied_payments,purchase_orders,payment_term", - PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,tracking_categories,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes: - "payments,applied_payments,tracking_categories,applied_credit_notes", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits: - "payments,applied_payments,tracking_categories,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee: - "payments,applied_payments,tracking_categories,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContact: "payments,applied_payments,tracking_categories,contact", - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompany: - "payments,applied_payments,tracking_categories,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee: - "payments,applied_payments,tracking_categories,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployee: - "payments,applied_payments,tracking_categories,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactPaymentTerm: - "payments,applied_payments,tracking_categories,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesEmployee: "payments,applied_payments,tracking_categories,employee", - PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPaymentTerm: "payments,applied_payments,tracking_categories,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders: - "payments,applied_payments,tracking_categories,purchase_orders", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany: - "payments,applied_payments,tracking_categories,purchase_orders,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact: - "payments,applied_payments,tracking_categories,purchase_orders,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,payment_term", - PaymentsAppliedVendorCredits: "payments,applied_vendor_credits", - PaymentsAppliedVendorCreditsAccountingPeriod: "payments,applied_vendor_credits,accounting_period", - PaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedVendorCreditsCompany: "payments,applied_vendor_credits,company", - PaymentsAppliedVendorCreditsCompanyAccountingPeriod: "payments,applied_vendor_credits,company,accounting_period", - PaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedVendorCreditsCompanyEmployee: "payments,applied_vendor_credits,company,employee", - PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedVendorCreditsCompanyPaymentTerm: "payments,applied_vendor_credits,company,payment_term", - PaymentsAppliedVendorCreditsContact: "payments,applied_vendor_credits,contact", - PaymentsAppliedVendorCreditsContactAccountingPeriod: "payments,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactCompany: "payments,applied_vendor_credits,contact,company", - PaymentsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactCompanyEmployee: "payments,applied_vendor_credits,contact,company,employee", - PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedVendorCreditsContactEmployee: "payments,applied_vendor_credits,contact,employee", - PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedVendorCreditsContactPaymentTerm: "payments,applied_vendor_credits,contact,payment_term", - PaymentsAppliedVendorCreditsEmployee: "payments,applied_vendor_credits,employee", - PaymentsAppliedVendorCreditsEmployeeAccountingPeriod: "payments,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsEmployeePaymentTerm: "payments,applied_vendor_credits,employee,payment_term", - PaymentsAppliedVendorCreditsPaymentTerm: "payments,applied_vendor_credits,payment_term", - PaymentsCompany: "payments,company", - PaymentsCompanyAccountingPeriod: "payments,company,accounting_period", - PaymentsCompanyAccountingPeriodPaymentTerm: "payments,company,accounting_period,payment_term", - PaymentsCompanyEmployee: "payments,company,employee", - PaymentsCompanyEmployeeAccountingPeriod: "payments,company,employee,accounting_period", - PaymentsCompanyEmployeeAccountingPeriodPaymentTerm: "payments,company,employee,accounting_period,payment_term", - PaymentsCompanyEmployeePaymentTerm: "payments,company,employee,payment_term", - PaymentsCompanyPaymentTerm: "payments,company,payment_term", - PaymentsContact: "payments,contact", - PaymentsContactAccountingPeriod: "payments,contact,accounting_period", - PaymentsContactAccountingPeriodPaymentTerm: "payments,contact,accounting_period,payment_term", - PaymentsContactCompany: "payments,contact,company", - PaymentsContactCompanyAccountingPeriod: "payments,contact,company,accounting_period", - PaymentsContactCompanyAccountingPeriodPaymentTerm: "payments,contact,company,accounting_period,payment_term", - PaymentsContactCompanyEmployee: "payments,contact,company,employee", - PaymentsContactCompanyEmployeeAccountingPeriod: "payments,contact,company,employee,accounting_period", - PaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,contact,company,employee,accounting_period,payment_term", - PaymentsContactCompanyEmployeePaymentTerm: "payments,contact,company,employee,payment_term", - PaymentsContactCompanyPaymentTerm: "payments,contact,company,payment_term", - PaymentsContactEmployee: "payments,contact,employee", - PaymentsContactEmployeeAccountingPeriod: "payments,contact,employee,accounting_period", - PaymentsContactEmployeeAccountingPeriodPaymentTerm: "payments,contact,employee,accounting_period,payment_term", - PaymentsContactEmployeePaymentTerm: "payments,contact,employee,payment_term", - PaymentsContactPaymentTerm: "payments,contact,payment_term", - PaymentsEmployee: "payments,employee", - PaymentsEmployeeAccountingPeriod: "payments,employee,accounting_period", - PaymentsEmployeeAccountingPeriodPaymentTerm: "payments,employee,accounting_period,payment_term", - PaymentsEmployeePaymentTerm: "payments,employee,payment_term", - PaymentsLineItems: "payments,line_items", - PaymentsLineItemsAccountingPeriod: "payments,line_items,accounting_period", - PaymentsLineItemsAccountingPeriodPaymentTerm: "payments,line_items,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotes: "payments,line_items,applied_credit_notes", - PaymentsLineItemsAppliedCreditNotesAccountingPeriod: "payments,line_items,applied_credit_notes,accounting_period", - PaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsAppliedCreditNotesCompany: "payments,line_items,applied_credit_notes,company", - PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesCompanyEmployee: "payments,line_items,applied_credit_notes,company,employee", - PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,company,payment_term", - PaymentsLineItemsAppliedCreditNotesContact: "payments,line_items,applied_credit_notes,contact", - PaymentsLineItemsAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompany: "payments,line_items,applied_credit_notes,contact,company", - PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,applied_credit_notes,contact,company,employee", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsAppliedCreditNotesContactEmployee: "payments,line_items,applied_credit_notes,contact,employee", - PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesContactPaymentTerm: - "payments,line_items,applied_credit_notes,contact,payment_term", - PaymentsLineItemsAppliedCreditNotesEmployee: "payments,line_items,applied_credit_notes,employee", - PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesPaymentTerm: "payments,line_items,applied_credit_notes,payment_term", - PaymentsLineItemsAppliedVendorCredits: "payments,line_items,applied_vendor_credits", - PaymentsLineItemsAppliedVendorCreditsAccountingPeriod: - "payments,line_items,applied_vendor_credits,accounting_period", - PaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompany: "payments,line_items,applied_vendor_credits,company", - PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployee: "payments,line_items,applied_vendor_credits,company,employee", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,applied_vendor_credits,company,payment_term", - PaymentsLineItemsAppliedVendorCreditsContact: "payments,line_items,applied_vendor_credits,contact", - PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompany: "payments,line_items,applied_vendor_credits,contact,company", - PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactEmployee: "payments,line_items,applied_vendor_credits,contact,employee", - PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsAppliedVendorCreditsEmployee: "payments,line_items,applied_vendor_credits,employee", - PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsPaymentTerm: "payments,line_items,applied_vendor_credits,payment_term", - PaymentsLineItemsCompany: "payments,line_items,company", - PaymentsLineItemsCompanyAccountingPeriod: "payments,line_items,company,accounting_period", - PaymentsLineItemsCompanyAccountingPeriodPaymentTerm: "payments,line_items,company,accounting_period,payment_term", - PaymentsLineItemsCompanyEmployee: "payments,line_items,company,employee", - PaymentsLineItemsCompanyEmployeeAccountingPeriod: "payments,line_items,company,employee,accounting_period", - PaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,company,employee,accounting_period,payment_term", - PaymentsLineItemsCompanyEmployeePaymentTerm: "payments,line_items,company,employee,payment_term", - PaymentsLineItemsCompanyPaymentTerm: "payments,line_items,company,payment_term", - PaymentsLineItemsContact: "payments,line_items,contact", - PaymentsLineItemsContactAccountingPeriod: "payments,line_items,contact,accounting_period", - PaymentsLineItemsContactAccountingPeriodPaymentTerm: "payments,line_items,contact,accounting_period,payment_term", - PaymentsLineItemsContactCompany: "payments,line_items,contact,company", - PaymentsLineItemsContactCompanyAccountingPeriod: "payments,line_items,contact,company,accounting_period", - PaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,contact,company,accounting_period,payment_term", - PaymentsLineItemsContactCompanyEmployee: "payments,line_items,contact,company,employee", - PaymentsLineItemsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,contact,company,employee,accounting_period", - PaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsContactCompanyEmployeePaymentTerm: "payments,line_items,contact,company,employee,payment_term", - PaymentsLineItemsContactCompanyPaymentTerm: "payments,line_items,contact,company,payment_term", - PaymentsLineItemsContactEmployee: "payments,line_items,contact,employee", - PaymentsLineItemsContactEmployeeAccountingPeriod: "payments,line_items,contact,employee,accounting_period", - PaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,contact,employee,accounting_period,payment_term", - PaymentsLineItemsContactEmployeePaymentTerm: "payments,line_items,contact,employee,payment_term", - PaymentsLineItemsContactPaymentTerm: "payments,line_items,contact,payment_term", - PaymentsLineItemsEmployee: "payments,line_items,employee", - PaymentsLineItemsEmployeeAccountingPeriod: "payments,line_items,employee,accounting_period", - PaymentsLineItemsEmployeeAccountingPeriodPaymentTerm: "payments,line_items,employee,accounting_period,payment_term", - PaymentsLineItemsEmployeePaymentTerm: "payments,line_items,employee,payment_term", - PaymentsLineItemsPaymentTerm: "payments,line_items,payment_term", - PaymentsLineItemsPurchaseOrders: "payments,line_items,purchase_orders", - PaymentsLineItemsPurchaseOrdersAccountingPeriod: "payments,line_items,purchase_orders,accounting_period", - PaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotes: "payments,line_items,purchase_orders,applied_credit_notes", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany: - "payments,line_items,purchase_orders,applied_credit_notes,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact: - "payments,line_items,purchase_orders,applied_credit_notes,contact", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCredits: "payments,line_items,purchase_orders,applied_vendor_credits", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany: - "payments,line_items,purchase_orders,applied_vendor_credits,company", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact: - "payments,line_items,purchase_orders,applied_vendor_credits,contact", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - PaymentsLineItemsPurchaseOrdersCompany: "payments,line_items,purchase_orders,company", - PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod: - "payments,line_items,purchase_orders,company,accounting_period", - PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersCompanyEmployee: "payments,line_items,purchase_orders,company,employee", - PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersCompanyPaymentTerm: "payments,line_items,purchase_orders,company,payment_term", - PaymentsLineItemsPurchaseOrdersContact: "payments,line_items,purchase_orders,contact", - PaymentsLineItemsPurchaseOrdersContactAccountingPeriod: - "payments,line_items,purchase_orders,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompany: "payments,line_items,purchase_orders,contact,company", - PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployee: - "payments,line_items,purchase_orders,contact,company,employee", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersContactEmployee: "payments,line_items,purchase_orders,contact,employee", - PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersContactPaymentTerm: "payments,line_items,purchase_orders,contact,payment_term", - PaymentsLineItemsPurchaseOrdersEmployee: "payments,line_items,purchase_orders,employee", - PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersEmployeePaymentTerm: "payments,line_items,purchase_orders,employee,payment_term", - PaymentsLineItemsPurchaseOrdersPaymentTerm: "payments,line_items,purchase_orders,payment_term", - PaymentsLineItemsTrackingCategories: "payments,line_items,tracking_categories", - PaymentsLineItemsTrackingCategoriesAccountingPeriod: "payments,line_items,tracking_categories,accounting_period", - PaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotes: - "payments,line_items,tracking_categories,applied_credit_notes", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany: - "payments,line_items,tracking_categories,applied_credit_notes,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact: - "payments,line_items,tracking_categories,applied_credit_notes,contact", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCredits: - "payments,line_items,tracking_categories,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesCompany: "payments,line_items,tracking_categories,company", - PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,company,accounting_period", - PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesCompanyEmployee: "payments,line_items,tracking_categories,company,employee", - PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesCompanyPaymentTerm: - "payments,line_items,tracking_categories,company,payment_term", - PaymentsLineItemsTrackingCategoriesContact: "payments,line_items,tracking_categories,contact", - PaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,line_items,tracking_categories,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompany: "payments,line_items,tracking_categories,contact,company", - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployee: - "payments,line_items,tracking_categories,contact,company,employee", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesContactEmployee: "payments,line_items,tracking_categories,contact,employee", - PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesContactPaymentTerm: - "payments,line_items,tracking_categories,contact,payment_term", - PaymentsLineItemsTrackingCategoriesEmployee: "payments,line_items,tracking_categories,employee", - PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesEmployeePaymentTerm: - "payments,line_items,tracking_categories,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPaymentTerm: "payments,line_items,tracking_categories,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrders: "payments,line_items,tracking_categories,purchase_orders", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany: - "payments,line_items,tracking_categories,purchase_orders,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContact: - "payments,line_items,tracking_categories,purchase_orders,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,line_items,tracking_categories,purchase_orders,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee: - "payments,line_items,tracking_categories,purchase_orders,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,payment_term", - PaymentsPaymentTerm: "payments,payment_term", - PaymentsPurchaseOrders: "payments,purchase_orders", - PaymentsPurchaseOrdersAccountingPeriod: "payments,purchase_orders,accounting_period", - PaymentsPurchaseOrdersAccountingPeriodPaymentTerm: "payments,purchase_orders,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotes: "payments,purchase_orders,applied_credit_notes", - PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompany: "payments,purchase_orders,applied_credit_notes,company", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContact: "payments,purchase_orders,applied_credit_notes,contact", - PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,purchase_orders,applied_credit_notes,contact,company", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,purchase_orders,applied_credit_notes,contact,employee", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesEmployee: "payments,purchase_orders,applied_credit_notes,employee", - PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm: "payments,purchase_orders,applied_credit_notes,payment_term", - PaymentsPurchaseOrdersAppliedVendorCredits: "payments,purchase_orders,applied_vendor_credits", - PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompany: "payments,purchase_orders,applied_vendor_credits,company", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,purchase_orders,applied_vendor_credits,company,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContact: "payments,purchase_orders,applied_vendor_credits,contact", - PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,purchase_orders,applied_vendor_credits,contact,company", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployee: "payments,purchase_orders,applied_vendor_credits,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,payment_term", - PaymentsPurchaseOrdersCompany: "payments,purchase_orders,company", - PaymentsPurchaseOrdersCompanyAccountingPeriod: "payments,purchase_orders,company,accounting_period", - PaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,company,accounting_period,payment_term", - PaymentsPurchaseOrdersCompanyEmployee: "payments,purchase_orders,company,employee", - PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,company,employee,accounting_period", - PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersCompanyEmployeePaymentTerm: "payments,purchase_orders,company,employee,payment_term", - PaymentsPurchaseOrdersCompanyPaymentTerm: "payments,purchase_orders,company,payment_term", - PaymentsPurchaseOrdersContact: "payments,purchase_orders,contact", - PaymentsPurchaseOrdersContactAccountingPeriod: "payments,purchase_orders,contact,accounting_period", - PaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersContactCompany: "payments,purchase_orders,contact,company", - PaymentsPurchaseOrdersContactCompanyAccountingPeriod: "payments,purchase_orders,contact,company,accounting_period", - PaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersContactCompanyEmployee: "payments,purchase_orders,contact,company,employee", - PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,contact,company,employee,payment_term", - PaymentsPurchaseOrdersContactCompanyPaymentTerm: "payments,purchase_orders,contact,company,payment_term", - PaymentsPurchaseOrdersContactEmployee: "payments,purchase_orders,contact,employee", - PaymentsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,purchase_orders,contact,employee,accounting_period", - PaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersContactEmployeePaymentTerm: "payments,purchase_orders,contact,employee,payment_term", - PaymentsPurchaseOrdersContactPaymentTerm: "payments,purchase_orders,contact,payment_term", - PaymentsPurchaseOrdersEmployee: "payments,purchase_orders,employee", - PaymentsPurchaseOrdersEmployeeAccountingPeriod: "payments,purchase_orders,employee,accounting_period", - PaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersEmployeePaymentTerm: "payments,purchase_orders,employee,payment_term", - PaymentsPurchaseOrdersPaymentTerm: "payments,purchase_orders,payment_term", - PaymentsTrackingCategories: "payments,tracking_categories", - PaymentsTrackingCategoriesAccountingPeriod: "payments,tracking_categories,accounting_period", - PaymentsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,tracking_categories,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotes: "payments,tracking_categories,applied_credit_notes", - PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompany: "payments,tracking_categories,applied_credit_notes,company", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContact: "payments,tracking_categories,applied_credit_notes,contact", - PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,tracking_categories,applied_credit_notes,contact,company", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,tracking_categories,applied_credit_notes,contact,employee", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesEmployee: "payments,tracking_categories,applied_credit_notes,employee", - PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,tracking_categories,applied_credit_notes,payment_term", - PaymentsTrackingCategoriesAppliedVendorCredits: "payments,tracking_categories,applied_vendor_credits", - PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,tracking_categories,applied_vendor_credits,company", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContact: - "payments,tracking_categories,applied_vendor_credits,contact", - PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,tracking_categories,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,tracking_categories,applied_vendor_credits,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesCompany: "payments,tracking_categories,company", - PaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,tracking_categories,company,accounting_period", - PaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,company,accounting_period,payment_term", - PaymentsTrackingCategoriesCompanyEmployee: "payments,tracking_categories,company,employee", - PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,company,employee,accounting_period", - PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesCompanyEmployeePaymentTerm: "payments,tracking_categories,company,employee,payment_term", - PaymentsTrackingCategoriesCompanyPaymentTerm: "payments,tracking_categories,company,payment_term", - PaymentsTrackingCategoriesContact: "payments,tracking_categories,contact", - PaymentsTrackingCategoriesContactAccountingPeriod: "payments,tracking_categories,contact,accounting_period", - PaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesContactCompany: "payments,tracking_categories,contact,company", - PaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,tracking_categories,contact,company,accounting_period", - PaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesContactCompanyEmployee: "payments,tracking_categories,contact,company,employee", - PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,contact,company,employee,payment_term", - PaymentsTrackingCategoriesContactCompanyPaymentTerm: "payments,tracking_categories,contact,company,payment_term", - PaymentsTrackingCategoriesContactEmployee: "payments,tracking_categories,contact,employee", - PaymentsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,tracking_categories,contact,employee,accounting_period", - PaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesContactEmployeePaymentTerm: "payments,tracking_categories,contact,employee,payment_term", - PaymentsTrackingCategoriesContactPaymentTerm: "payments,tracking_categories,contact,payment_term", - PaymentsTrackingCategoriesEmployee: "payments,tracking_categories,employee", - PaymentsTrackingCategoriesEmployeeAccountingPeriod: "payments,tracking_categories,employee,accounting_period", - PaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesEmployeePaymentTerm: "payments,tracking_categories,employee,payment_term", - PaymentsTrackingCategoriesPaymentTerm: "payments,tracking_categories,payment_term", - PaymentsTrackingCategoriesPurchaseOrders: "payments,tracking_categories,purchase_orders", - PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,tracking_categories,purchase_orders,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompany: "payments,tracking_categories,purchase_orders,company", - PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,tracking_categories,purchase_orders,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContact: "payments,tracking_categories,purchase_orders,contact", - PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,tracking_categories,purchase_orders,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,tracking_categories,purchase_orders,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersEmployee: "payments,tracking_categories,purchase_orders,employee", - PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersPaymentTerm: "payments,tracking_categories,purchase_orders,payment_term", - PurchaseOrders: "purchase_orders", - PurchaseOrdersAccountingPeriod: "purchase_orders,accounting_period", - PurchaseOrdersAccountingPeriodPaymentTerm: "purchase_orders,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotes: "purchase_orders,applied_credit_notes", - PurchaseOrdersAppliedCreditNotesAccountingPeriod: "purchase_orders,applied_credit_notes,accounting_period", - PurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCredits: "purchase_orders,applied_credit_notes,applied_vendor_credits", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PurchaseOrdersAppliedCreditNotesCompany: "purchase_orders,applied_credit_notes,company", - PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,company,accounting_period", - PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesCompanyEmployee: "purchase_orders,applied_credit_notes,company,employee", - PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: "purchase_orders,applied_credit_notes,company,payment_term", - PurchaseOrdersAppliedCreditNotesContact: "purchase_orders,applied_credit_notes,contact", - PurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,accounting_period", - PurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompany: "purchase_orders,applied_credit_notes,contact,company", - PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,company,accounting_period", - PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "purchase_orders,applied_credit_notes,contact,company,employee", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,payment_term", - PurchaseOrdersAppliedCreditNotesContactEmployee: "purchase_orders,applied_credit_notes,contact,employee", - PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,contact,employee,payment_term", - PurchaseOrdersAppliedCreditNotesContactPaymentTerm: "purchase_orders,applied_credit_notes,contact,payment_term", - PurchaseOrdersAppliedCreditNotesEmployee: "purchase_orders,applied_credit_notes,employee", - PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: "purchase_orders,applied_credit_notes,employee,payment_term", - PurchaseOrdersAppliedCreditNotesPaymentTerm: "purchase_orders,applied_credit_notes,payment_term", - PurchaseOrdersAppliedVendorCredits: "purchase_orders,applied_vendor_credits", - PurchaseOrdersAppliedVendorCreditsAccountingPeriod: "purchase_orders,applied_vendor_credits,accounting_period", - PurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsCompany: "purchase_orders,applied_vendor_credits,company", - PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "purchase_orders,applied_vendor_credits,company,accounting_period", - PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsCompanyEmployee: "purchase_orders,applied_vendor_credits,company,employee", - PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,company,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: "purchase_orders,applied_vendor_credits,company,payment_term", - PurchaseOrdersAppliedVendorCreditsContact: "purchase_orders,applied_vendor_credits,contact", - PurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompany: "purchase_orders,applied_vendor_credits,contact,company", - PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "purchase_orders,applied_vendor_credits,contact,company,employee", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,payment_term", - PurchaseOrdersAppliedVendorCreditsContactEmployee: "purchase_orders,applied_vendor_credits,contact,employee", - PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsContactPaymentTerm: "purchase_orders,applied_vendor_credits,contact,payment_term", - PurchaseOrdersAppliedVendorCreditsEmployee: "purchase_orders,applied_vendor_credits,employee", - PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsPaymentTerm: "purchase_orders,applied_vendor_credits,payment_term", - PurchaseOrdersCompany: "purchase_orders,company", - PurchaseOrdersCompanyAccountingPeriod: "purchase_orders,company,accounting_period", - PurchaseOrdersCompanyAccountingPeriodPaymentTerm: "purchase_orders,company,accounting_period,payment_term", - PurchaseOrdersCompanyEmployee: "purchase_orders,company,employee", - PurchaseOrdersCompanyEmployeeAccountingPeriod: "purchase_orders,company,employee,accounting_period", - PurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,company,employee,accounting_period,payment_term", - PurchaseOrdersCompanyEmployeePaymentTerm: "purchase_orders,company,employee,payment_term", - PurchaseOrdersCompanyPaymentTerm: "purchase_orders,company,payment_term", - PurchaseOrdersContact: "purchase_orders,contact", - PurchaseOrdersContactAccountingPeriod: "purchase_orders,contact,accounting_period", - PurchaseOrdersContactAccountingPeriodPaymentTerm: "purchase_orders,contact,accounting_period,payment_term", - PurchaseOrdersContactCompany: "purchase_orders,contact,company", - PurchaseOrdersContactCompanyAccountingPeriod: "purchase_orders,contact,company,accounting_period", - PurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,contact,company,accounting_period,payment_term", - PurchaseOrdersContactCompanyEmployee: "purchase_orders,contact,company,employee", - PurchaseOrdersContactCompanyEmployeeAccountingPeriod: "purchase_orders,contact,company,employee,accounting_period", - PurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersContactCompanyEmployeePaymentTerm: "purchase_orders,contact,company,employee,payment_term", - PurchaseOrdersContactCompanyPaymentTerm: "purchase_orders,contact,company,payment_term", - PurchaseOrdersContactEmployee: "purchase_orders,contact,employee", - PurchaseOrdersContactEmployeeAccountingPeriod: "purchase_orders,contact,employee,accounting_period", - PurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,contact,employee,accounting_period,payment_term", - PurchaseOrdersContactEmployeePaymentTerm: "purchase_orders,contact,employee,payment_term", - PurchaseOrdersContactPaymentTerm: "purchase_orders,contact,payment_term", - PurchaseOrdersEmployee: "purchase_orders,employee", - PurchaseOrdersEmployeeAccountingPeriod: "purchase_orders,employee,accounting_period", - PurchaseOrdersEmployeeAccountingPeriodPaymentTerm: "purchase_orders,employee,accounting_period,payment_term", - PurchaseOrdersEmployeePaymentTerm: "purchase_orders,employee,payment_term", - PurchaseOrdersPaymentTerm: "purchase_orders,payment_term", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesAccountingPeriodPaymentTerm: "tracking_categories,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotes: "tracking_categories,applied_credit_notes", - TrackingCategoriesAppliedCreditNotesAccountingPeriod: "tracking_categories,applied_credit_notes,accounting_period", - TrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "tracking_categories,applied_credit_notes,applied_vendor_credits", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - TrackingCategoriesAppliedCreditNotesCompany: "tracking_categories,applied_credit_notes,company", - TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,company,accounting_period", - TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesCompanyEmployee: "tracking_categories,applied_credit_notes,company,employee", - TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,company,payment_term", - TrackingCategoriesAppliedCreditNotesContact: "tracking_categories,applied_credit_notes,contact", - TrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,accounting_period", - TrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompany: "tracking_categories,applied_credit_notes,contact,company", - TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,company,accounting_period", - TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "tracking_categories,applied_credit_notes,contact,company,employee", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,payment_term", - TrackingCategoriesAppliedCreditNotesContactEmployee: "tracking_categories,applied_credit_notes,contact,employee", - TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,contact,employee,payment_term", - TrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "tracking_categories,applied_credit_notes,contact,payment_term", - TrackingCategoriesAppliedCreditNotesEmployee: "tracking_categories,applied_credit_notes,employee", - TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,employee,payment_term", - TrackingCategoriesAppliedCreditNotesPaymentTerm: "tracking_categories,applied_credit_notes,payment_term", - TrackingCategoriesAppliedVendorCredits: "tracking_categories,applied_vendor_credits", - TrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "tracking_categories,applied_vendor_credits,accounting_period", - TrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsCompany: "tracking_categories,applied_vendor_credits,company", - TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,applied_vendor_credits,company,accounting_period", - TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "tracking_categories,applied_vendor_credits,company,employee", - TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,applied_vendor_credits,company,payment_term", - TrackingCategoriesAppliedVendorCreditsContact: "tracking_categories,applied_vendor_credits,contact", - TrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompany: "tracking_categories,applied_vendor_credits,contact,company", - TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,applied_vendor_credits,contact,company,employee", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesAppliedVendorCreditsContactEmployee: - "tracking_categories,applied_vendor_credits,contact,employee", - TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,payment_term", - TrackingCategoriesAppliedVendorCreditsEmployee: "tracking_categories,applied_vendor_credits,employee", - TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsPaymentTerm: "tracking_categories,applied_vendor_credits,payment_term", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyAccountingPeriodPaymentTerm: "tracking_categories,company,accounting_period,payment_term", - TrackingCategoriesCompanyEmployee: "tracking_categories,company,employee", - TrackingCategoriesCompanyEmployeeAccountingPeriod: "tracking_categories,company,employee,accounting_period", - TrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,company,employee,accounting_period,payment_term", - TrackingCategoriesCompanyEmployeePaymentTerm: "tracking_categories,company,employee,payment_term", - TrackingCategoriesCompanyPaymentTerm: "tracking_categories,company,payment_term", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactAccountingPeriodPaymentTerm: "tracking_categories,contact,accounting_period,payment_term", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", - TrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,contact,company,accounting_period,payment_term", - TrackingCategoriesContactCompanyEmployee: "tracking_categories,contact,company,employee", - TrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,contact,company,employee,accounting_period", - TrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesContactCompanyEmployeePaymentTerm: "tracking_categories,contact,company,employee,payment_term", - TrackingCategoriesContactCompanyPaymentTerm: "tracking_categories,contact,company,payment_term", - TrackingCategoriesContactEmployee: "tracking_categories,contact,employee", - TrackingCategoriesContactEmployeeAccountingPeriod: "tracking_categories,contact,employee,accounting_period", - TrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,contact,employee,accounting_period,payment_term", - TrackingCategoriesContactEmployeePaymentTerm: "tracking_categories,contact,employee,payment_term", - TrackingCategoriesContactPaymentTerm: "tracking_categories,contact,payment_term", - TrackingCategoriesEmployee: "tracking_categories,employee", - TrackingCategoriesEmployeeAccountingPeriod: "tracking_categories,employee,accounting_period", - TrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,employee,accounting_period,payment_term", - TrackingCategoriesEmployeePaymentTerm: "tracking_categories,employee,payment_term", - TrackingCategoriesPaymentTerm: "tracking_categories,payment_term", - TrackingCategoriesPurchaseOrders: "tracking_categories,purchase_orders", - TrackingCategoriesPurchaseOrdersAccountingPeriod: "tracking_categories,purchase_orders,accounting_period", - TrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotes: "tracking_categories,purchase_orders,applied_credit_notes", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "tracking_categories,purchase_orders,applied_credit_notes,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "tracking_categories,purchase_orders,applied_credit_notes,contact", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCredits: "tracking_categories,purchase_orders,applied_vendor_credits", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "tracking_categories,purchase_orders,applied_vendor_credits,company", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "tracking_categories,purchase_orders,applied_vendor_credits,contact", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - TrackingCategoriesPurchaseOrdersCompany: "tracking_categories,purchase_orders,company", - TrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "tracking_categories,purchase_orders,company,accounting_period", - TrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersCompanyEmployee: "tracking_categories,purchase_orders,company,employee", - TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersCompanyPaymentTerm: "tracking_categories,purchase_orders,company,payment_term", - TrackingCategoriesPurchaseOrdersContact: "tracking_categories,purchase_orders,contact", - TrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "tracking_categories,purchase_orders,contact,accounting_period", - TrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactCompany: "tracking_categories,purchase_orders,contact,company", - TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "tracking_categories,purchase_orders,contact,company,employee", - TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersContactEmployee: "tracking_categories,purchase_orders,contact,employee", - TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersContactPaymentTerm: "tracking_categories,purchase_orders,contact,payment_term", - TrackingCategoriesPurchaseOrdersEmployee: "tracking_categories,purchase_orders,employee", - TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,employee,accounting_period", - TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersEmployeePaymentTerm: "tracking_categories,purchase_orders,employee,payment_term", - TrackingCategoriesPurchaseOrdersPaymentTerm: "tracking_categories,purchase_orders,payment_term", -} as const; -export type InvoicesListRequestExpand = (typeof InvoicesListRequestExpand)[keyof typeof InvoicesListRequestExpand]; diff --git a/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts b/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts new file mode 100644 index 000000000..b6bc867e6 --- /dev/null +++ b/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts @@ -0,0 +1,18 @@ +// This file was auto-generated by Fern from our API Definition. + +export const InvoicesListRequestExpandItem = { + AccountingPeriod: "accounting_period", + AppliedCreditNotes: "applied_credit_notes", + AppliedPayments: "applied_payments", + AppliedVendorCredits: "applied_vendor_credits", + Company: "company", + Contact: "contact", + Employee: "employee", + LineItems: "line_items", + PaymentTerm: "payment_term", + Payments: "payments", + PurchaseOrders: "purchase_orders", + TrackingCategories: "tracking_categories", +} as const; +export type InvoicesListRequestExpandItem = + (typeof InvoicesListRequestExpandItem)[keyof typeof InvoicesListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts deleted file mode 100644 index 508627ee7..000000000 --- a/src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts +++ /dev/null @@ -1,7517 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const InvoicesRetrieveRequestExpand = { - AccountingPeriod: "accounting_period", - AccountingPeriodPaymentTerm: "accounting_period,payment_term", - AppliedCreditNotes: "applied_credit_notes", - AppliedCreditNotesAccountingPeriod: "applied_credit_notes,accounting_period", - AppliedCreditNotesAccountingPeriodPaymentTerm: "applied_credit_notes,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCredits: "applied_credit_notes,applied_vendor_credits", - AppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompany: "applied_credit_notes,applied_vendor_credits,company", - AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_credit_notes,applied_vendor_credits,company,employee", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedCreditNotesAppliedVendorCreditsContact: "applied_credit_notes,applied_vendor_credits,contact", - AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompany: "applied_credit_notes,applied_vendor_credits,contact,company", - AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedCreditNotesAppliedVendorCreditsEmployee: "applied_credit_notes,applied_vendor_credits,employee", - AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedCreditNotesAppliedVendorCreditsPaymentTerm: "applied_credit_notes,applied_vendor_credits,payment_term", - AppliedCreditNotesCompany: "applied_credit_notes,company", - AppliedCreditNotesCompanyAccountingPeriod: "applied_credit_notes,company,accounting_period", - AppliedCreditNotesCompanyAccountingPeriodPaymentTerm: "applied_credit_notes,company,accounting_period,payment_term", - AppliedCreditNotesCompanyEmployee: "applied_credit_notes,company,employee", - AppliedCreditNotesCompanyEmployeeAccountingPeriod: "applied_credit_notes,company,employee,accounting_period", - AppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedCreditNotesCompanyEmployeePaymentTerm: "applied_credit_notes,company,employee,payment_term", - AppliedCreditNotesCompanyPaymentTerm: "applied_credit_notes,company,payment_term", - AppliedCreditNotesContact: "applied_credit_notes,contact", - AppliedCreditNotesContactAccountingPeriod: "applied_credit_notes,contact,accounting_period", - AppliedCreditNotesContactAccountingPeriodPaymentTerm: "applied_credit_notes,contact,accounting_period,payment_term", - AppliedCreditNotesContactCompany: "applied_credit_notes,contact,company", - AppliedCreditNotesContactCompanyAccountingPeriod: "applied_credit_notes,contact,company,accounting_period", - AppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedCreditNotesContactCompanyEmployee: "applied_credit_notes,contact,company,employee", - AppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_credit_notes,contact,company,employee,accounting_period", - AppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedCreditNotesContactCompanyEmployeePaymentTerm: "applied_credit_notes,contact,company,employee,payment_term", - AppliedCreditNotesContactCompanyPaymentTerm: "applied_credit_notes,contact,company,payment_term", - AppliedCreditNotesContactEmployee: "applied_credit_notes,contact,employee", - AppliedCreditNotesContactEmployeeAccountingPeriod: "applied_credit_notes,contact,employee,accounting_period", - AppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedCreditNotesContactEmployeePaymentTerm: "applied_credit_notes,contact,employee,payment_term", - AppliedCreditNotesContactPaymentTerm: "applied_credit_notes,contact,payment_term", - AppliedCreditNotesEmployee: "applied_credit_notes,employee", - AppliedCreditNotesEmployeeAccountingPeriod: "applied_credit_notes,employee,accounting_period", - AppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_credit_notes,employee,accounting_period,payment_term", - AppliedCreditNotesEmployeePaymentTerm: "applied_credit_notes,employee,payment_term", - AppliedCreditNotesPaymentTerm: "applied_credit_notes,payment_term", - AppliedPayments: "applied_payments", - AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period", - AppliedPaymentsAccountingPeriodPaymentTerm: "applied_payments,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotes: "applied_payments,applied_credit_notes", - AppliedPaymentsAppliedCreditNotesAccountingPeriod: "applied_payments,applied_credit_notes,accounting_period", - AppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCredits: - "applied_payments,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsAppliedCreditNotesCompany: "applied_payments,applied_credit_notes,company", - AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,company,accounting_period", - AppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesCompanyEmployee: "applied_payments,applied_credit_notes,company,employee", - AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesCompanyPaymentTerm: "applied_payments,applied_credit_notes,company,payment_term", - AppliedPaymentsAppliedCreditNotesContact: "applied_payments,applied_credit_notes,contact", - AppliedPaymentsAppliedCreditNotesContactAccountingPeriod: - "applied_payments,applied_credit_notes,contact,accounting_period", - AppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompany: "applied_payments,applied_credit_notes,contact,company", - AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployee: - "applied_payments,applied_credit_notes,contact,company,employee", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsAppliedCreditNotesContactEmployee: "applied_payments,applied_credit_notes,contact,employee", - AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsAppliedCreditNotesContactPaymentTerm: "applied_payments,applied_credit_notes,contact,payment_term", - AppliedPaymentsAppliedCreditNotesEmployee: "applied_payments,applied_credit_notes,employee", - AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,applied_credit_notes,employee,accounting_period", - AppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsAppliedCreditNotesEmployeePaymentTerm: "applied_payments,applied_credit_notes,employee,payment_term", - AppliedPaymentsAppliedCreditNotesPaymentTerm: "applied_payments,applied_credit_notes,payment_term", - AppliedPaymentsAppliedVendorCredits: "applied_payments,applied_vendor_credits", - AppliedPaymentsAppliedVendorCreditsAccountingPeriod: "applied_payments,applied_vendor_credits,accounting_period", - AppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsCompany: "applied_payments,applied_vendor_credits,company", - AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,applied_vendor_credits,company,accounting_period", - AppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsCompanyEmployee: "applied_payments,applied_vendor_credits,company,employee", - AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,applied_vendor_credits,company,payment_term", - AppliedPaymentsAppliedVendorCreditsContact: "applied_payments,applied_vendor_credits,contact", - AppliedPaymentsAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompany: "applied_payments,applied_vendor_credits,contact,company", - AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,applied_vendor_credits,contact,company,employee", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsAppliedVendorCreditsContactEmployee: "applied_payments,applied_vendor_credits,contact,employee", - AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsContactPaymentTerm: - "applied_payments,applied_vendor_credits,contact,payment_term", - AppliedPaymentsAppliedVendorCreditsEmployee: "applied_payments,applied_vendor_credits,employee", - AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,applied_vendor_credits,employee,payment_term", - AppliedPaymentsAppliedVendorCreditsPaymentTerm: "applied_payments,applied_vendor_credits,payment_term", - AppliedPaymentsCompany: "applied_payments,company", - AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period", - AppliedPaymentsCompanyAccountingPeriodPaymentTerm: "applied_payments,company,accounting_period,payment_term", - AppliedPaymentsCompanyEmployee: "applied_payments,company,employee", - AppliedPaymentsCompanyEmployeeAccountingPeriod: "applied_payments,company,employee,accounting_period", - AppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,company,employee,accounting_period,payment_term", - AppliedPaymentsCompanyEmployeePaymentTerm: "applied_payments,company,employee,payment_term", - AppliedPaymentsCompanyPaymentTerm: "applied_payments,company,payment_term", - AppliedPaymentsContact: "applied_payments,contact", - AppliedPaymentsContactAccountingPeriod: "applied_payments,contact,accounting_period", - AppliedPaymentsContactAccountingPeriodPaymentTerm: "applied_payments,contact,accounting_period,payment_term", - AppliedPaymentsContactCompany: "applied_payments,contact,company", - AppliedPaymentsContactCompanyAccountingPeriod: "applied_payments,contact,company,accounting_period", - AppliedPaymentsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,contact,company,accounting_period,payment_term", - AppliedPaymentsContactCompanyEmployee: "applied_payments,contact,company,employee", - AppliedPaymentsContactCompanyEmployeeAccountingPeriod: - "applied_payments,contact,company,employee,accounting_period", - AppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsContactCompanyEmployeePaymentTerm: "applied_payments,contact,company,employee,payment_term", - AppliedPaymentsContactCompanyPaymentTerm: "applied_payments,contact,company,payment_term", - AppliedPaymentsContactEmployee: "applied_payments,contact,employee", - AppliedPaymentsContactEmployeeAccountingPeriod: "applied_payments,contact,employee,accounting_period", - AppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,contact,employee,accounting_period,payment_term", - AppliedPaymentsContactEmployeePaymentTerm: "applied_payments,contact,employee,payment_term", - AppliedPaymentsContactPaymentTerm: "applied_payments,contact,payment_term", - AppliedPaymentsEmployee: "applied_payments,employee", - AppliedPaymentsEmployeeAccountingPeriod: "applied_payments,employee,accounting_period", - AppliedPaymentsEmployeeAccountingPeriodPaymentTerm: "applied_payments,employee,accounting_period,payment_term", - AppliedPaymentsEmployeePaymentTerm: "applied_payments,employee,payment_term", - AppliedPaymentsLineItems: "applied_payments,line_items", - AppliedPaymentsLineItemsAccountingPeriod: "applied_payments,line_items,accounting_period", - AppliedPaymentsLineItemsAccountingPeriodPaymentTerm: "applied_payments,line_items,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotes: "applied_payments,line_items,applied_credit_notes", - AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompany: "applied_payments,line_items,applied_credit_notes,company", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContact: "applied_payments,line_items,applied_credit_notes,contact", - AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompany: - "applied_payments,line_items,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployee: - "applied_payments,line_items,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesEmployee: "applied_payments,line_items,applied_credit_notes,employee", - AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsAppliedVendorCredits: "applied_payments,line_items,applied_vendor_credits", - AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompany: "applied_payments,line_items,applied_vendor_credits,company", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContact: "applied_payments,line_items,applied_vendor_credits,contact", - AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompany: - "applied_payments,line_items,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployee: "applied_payments,line_items,applied_vendor_credits,employee", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsCompany: "applied_payments,line_items,company", - AppliedPaymentsLineItemsCompanyAccountingPeriod: "applied_payments,line_items,company,accounting_period", - AppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,company,accounting_period,payment_term", - AppliedPaymentsLineItemsCompanyEmployee: "applied_payments,line_items,company,employee", - AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,company,employee,accounting_period", - AppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsCompanyEmployeePaymentTerm: "applied_payments,line_items,company,employee,payment_term", - AppliedPaymentsLineItemsCompanyPaymentTerm: "applied_payments,line_items,company,payment_term", - AppliedPaymentsLineItemsContact: "applied_payments,line_items,contact", - AppliedPaymentsLineItemsContactAccountingPeriod: "applied_payments,line_items,contact,accounting_period", - AppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsContactCompany: "applied_payments,line_items,contact,company", - AppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "applied_payments,line_items,contact,company,accounting_period", - AppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsContactCompanyEmployee: "applied_payments,line_items,contact,company,employee", - AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,contact,company,employee,payment_term", - AppliedPaymentsLineItemsContactCompanyPaymentTerm: "applied_payments,line_items,contact,company,payment_term", - AppliedPaymentsLineItemsContactEmployee: "applied_payments,line_items,contact,employee", - AppliedPaymentsLineItemsContactEmployeeAccountingPeriod: - "applied_payments,line_items,contact,employee,accounting_period", - AppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsContactEmployeePaymentTerm: "applied_payments,line_items,contact,employee,payment_term", - AppliedPaymentsLineItemsContactPaymentTerm: "applied_payments,line_items,contact,payment_term", - AppliedPaymentsLineItemsEmployee: "applied_payments,line_items,employee", - AppliedPaymentsLineItemsEmployeeAccountingPeriod: "applied_payments,line_items,employee,accounting_period", - AppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsEmployeePaymentTerm: "applied_payments,line_items,employee,payment_term", - AppliedPaymentsLineItemsPaymentTerm: "applied_payments,line_items,payment_term", - AppliedPaymentsLineItemsPurchaseOrders: "applied_payments,line_items,purchase_orders", - AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod: - "applied_payments,line_items,purchase_orders,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes: - "applied_payments,line_items,purchase_orders,applied_credit_notes", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits: - "applied_payments,line_items,purchase_orders,applied_vendor_credits", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompany: "applied_payments,line_items,purchase_orders,company", - AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee: - "applied_payments,line_items,purchase_orders,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContact: "applied_payments,line_items,purchase_orders,contact", - AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompany: "applied_payments,line_items,purchase_orders,contact,company", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,company,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee: - "applied_payments,line_items,purchase_orders,contact,company,employee", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,company,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployee: - "applied_payments,line_items,purchase_orders,contact,employee", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,contact,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm: - "applied_payments,line_items,purchase_orders,contact,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersEmployee: "applied_payments,line_items,purchase_orders,employee", - AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,line_items,purchase_orders,employee,accounting_period", - AppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm: - "applied_payments,line_items,purchase_orders,employee,payment_term", - AppliedPaymentsLineItemsPurchaseOrdersPaymentTerm: "applied_payments,line_items,purchase_orders,payment_term", - AppliedPaymentsLineItemsTrackingCategories: "applied_payments,line_items,tracking_categories", - AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "applied_payments,line_items,tracking_categories,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes: - "applied_payments,line_items,tracking_categories,applied_credit_notes", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompany: "applied_payments,line_items,tracking_categories,company", - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee: - "applied_payments,line_items,tracking_categories,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContact: "applied_payments,line_items,tracking_categories,contact", - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "applied_payments,line_items,tracking_categories,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployee: - "applied_payments,line_items,tracking_categories,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm: - "applied_payments,line_items,tracking_categories,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesEmployee: "applied_payments,line_items,tracking_categories,employee", - AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPaymentTerm: - "applied_payments,line_items,tracking_categories,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders: - "applied_payments,line_items,tracking_categories,purchase_orders", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact: - "applied_payments,line_items,tracking_categories,purchase_orders,contact", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee: - "applied_payments,line_items,tracking_categories,purchase_orders,employee", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - AppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - AppliedPaymentsPaymentTerm: "applied_payments,payment_term", - AppliedPaymentsPurchaseOrders: "applied_payments,purchase_orders", - AppliedPaymentsPurchaseOrdersAccountingPeriod: "applied_payments,purchase_orders,accounting_period", - AppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotes: "applied_payments,purchase_orders,applied_credit_notes", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,purchase_orders,applied_credit_notes,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCredits: "applied_payments,purchase_orders,applied_vendor_credits", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsPurchaseOrdersCompany: "applied_payments,purchase_orders,company", - AppliedPaymentsPurchaseOrdersCompanyAccountingPeriod: "applied_payments,purchase_orders,company,accounting_period", - AppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersCompanyEmployee: "applied_payments,purchase_orders,company,employee", - AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersCompanyPaymentTerm: "applied_payments,purchase_orders,company,payment_term", - AppliedPaymentsPurchaseOrdersContact: "applied_payments,purchase_orders,contact", - AppliedPaymentsPurchaseOrdersContactAccountingPeriod: "applied_payments,purchase_orders,contact,accounting_period", - AppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactCompany: "applied_payments,purchase_orders,contact,company", - AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,purchase_orders,contact,company,accounting_period", - AppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactCompanyEmployee: "applied_payments,purchase_orders,contact,company,employee", - AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,purchase_orders,contact,company,payment_term", - AppliedPaymentsPurchaseOrdersContactEmployee: "applied_payments,purchase_orders,contact,employee", - AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,purchase_orders,contact,employee,payment_term", - AppliedPaymentsPurchaseOrdersContactPaymentTerm: "applied_payments,purchase_orders,contact,payment_term", - AppliedPaymentsPurchaseOrdersEmployee: "applied_payments,purchase_orders,employee", - AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,purchase_orders,employee,accounting_period", - AppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsPurchaseOrdersEmployeePaymentTerm: "applied_payments,purchase_orders,employee,payment_term", - AppliedPaymentsPurchaseOrdersPaymentTerm: "applied_payments,purchase_orders,payment_term", - AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories", - AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period", - AppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotes: "applied_payments,tracking_categories,applied_credit_notes", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany: - "applied_payments,tracking_categories,applied_credit_notes,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContact: - "applied_payments,tracking_categories,applied_credit_notes,contact", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany: - "applied_payments,tracking_categories,applied_credit_notes,contact,company", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee: - "applied_payments,tracking_categories,applied_credit_notes,employee", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "applied_payments,tracking_categories,applied_credit_notes,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCredits: - "applied_payments,tracking_categories,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact: - "applied_payments,tracking_categories,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,tracking_categories,company,accounting_period", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesCompanyEmployee: "applied_payments,tracking_categories,company,employee", - AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesCompanyPaymentTerm: "applied_payments,tracking_categories,company,payment_term", - AppliedPaymentsTrackingCategoriesContact: "applied_payments,tracking_categories,contact", - AppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "applied_payments,tracking_categories,contact,accounting_period", - AppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactCompany: "applied_payments,tracking_categories,contact,company", - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactCompanyEmployee: - "applied_payments,tracking_categories,contact,company,employee", - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm: - "applied_payments,tracking_categories,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesContactEmployee: "applied_payments,tracking_categories,contact,employee", - AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm: - "applied_payments,tracking_categories,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesContactPaymentTerm: "applied_payments,tracking_categories,contact,payment_term", - AppliedPaymentsTrackingCategoriesEmployee: "applied_payments,tracking_categories,employee", - AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod: - "applied_payments,tracking_categories,employee,accounting_period", - AppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesEmployeePaymentTerm: "applied_payments,tracking_categories,employee,payment_term", - AppliedPaymentsTrackingCategoriesPaymentTerm: "applied_payments,tracking_categories,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrders: "applied_payments,tracking_categories,purchase_orders", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompany: - "applied_payments,tracking_categories,purchase_orders,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContact: - "applied_payments,tracking_categories,purchase_orders,contact", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany: - "applied_payments,tracking_categories,purchase_orders,contact,company", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee: - "applied_payments,tracking_categories,purchase_orders,contact,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,contact,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee: - "applied_payments,tracking_categories,purchase_orders,employee", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "applied_payments,tracking_categories,purchase_orders,employee,payment_term", - AppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm: - "applied_payments,tracking_categories,purchase_orders,payment_term", - AppliedVendorCredits: "applied_vendor_credits", - AppliedVendorCreditsAccountingPeriod: "applied_vendor_credits,accounting_period", - AppliedVendorCreditsAccountingPeriodPaymentTerm: "applied_vendor_credits,accounting_period,payment_term", - AppliedVendorCreditsCompany: "applied_vendor_credits,company", - AppliedVendorCreditsCompanyAccountingPeriod: "applied_vendor_credits,company,accounting_period", - AppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "applied_vendor_credits,company,accounting_period,payment_term", - AppliedVendorCreditsCompanyEmployee: "applied_vendor_credits,company,employee", - AppliedVendorCreditsCompanyEmployeeAccountingPeriod: "applied_vendor_credits,company,employee,accounting_period", - AppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,company,employee,accounting_period,payment_term", - AppliedVendorCreditsCompanyEmployeePaymentTerm: "applied_vendor_credits,company,employee,payment_term", - AppliedVendorCreditsCompanyPaymentTerm: "applied_vendor_credits,company,payment_term", - AppliedVendorCreditsContact: "applied_vendor_credits,contact", - AppliedVendorCreditsContactAccountingPeriod: "applied_vendor_credits,contact,accounting_period", - AppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,accounting_period,payment_term", - AppliedVendorCreditsContactCompany: "applied_vendor_credits,contact,company", - AppliedVendorCreditsContactCompanyAccountingPeriod: "applied_vendor_credits,contact,company,accounting_period", - AppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,company,accounting_period,payment_term", - AppliedVendorCreditsContactCompanyEmployee: "applied_vendor_credits,contact,company,employee", - AppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "applied_vendor_credits,contact,company,employee,accounting_period", - AppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - AppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "applied_vendor_credits,contact,company,employee,payment_term", - AppliedVendorCreditsContactCompanyPaymentTerm: "applied_vendor_credits,contact,company,payment_term", - AppliedVendorCreditsContactEmployee: "applied_vendor_credits,contact,employee", - AppliedVendorCreditsContactEmployeeAccountingPeriod: "applied_vendor_credits,contact,employee,accounting_period", - AppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,contact,employee,accounting_period,payment_term", - AppliedVendorCreditsContactEmployeePaymentTerm: "applied_vendor_credits,contact,employee,payment_term", - AppliedVendorCreditsContactPaymentTerm: "applied_vendor_credits,contact,payment_term", - AppliedVendorCreditsEmployee: "applied_vendor_credits,employee", - AppliedVendorCreditsEmployeeAccountingPeriod: "applied_vendor_credits,employee,accounting_period", - AppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "applied_vendor_credits,employee,accounting_period,payment_term", - AppliedVendorCreditsEmployeePaymentTerm: "applied_vendor_credits,employee,payment_term", - AppliedVendorCreditsPaymentTerm: "applied_vendor_credits,payment_term", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyAccountingPeriodPaymentTerm: "company,accounting_period,payment_term", - CompanyEmployee: "company,employee", - CompanyEmployeeAccountingPeriod: "company,employee,accounting_period", - CompanyEmployeeAccountingPeriodPaymentTerm: "company,employee,accounting_period,payment_term", - CompanyEmployeePaymentTerm: "company,employee,payment_term", - CompanyPaymentTerm: "company,payment_term", - Contact: "contact", - ContactAccountingPeriod: "contact,accounting_period", - ContactAccountingPeriodPaymentTerm: "contact,accounting_period,payment_term", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - ContactCompanyAccountingPeriodPaymentTerm: "contact,company,accounting_period,payment_term", - ContactCompanyEmployee: "contact,company,employee", - ContactCompanyEmployeeAccountingPeriod: "contact,company,employee,accounting_period", - ContactCompanyEmployeeAccountingPeriodPaymentTerm: "contact,company,employee,accounting_period,payment_term", - ContactCompanyEmployeePaymentTerm: "contact,company,employee,payment_term", - ContactCompanyPaymentTerm: "contact,company,payment_term", - ContactEmployee: "contact,employee", - ContactEmployeeAccountingPeriod: "contact,employee,accounting_period", - ContactEmployeeAccountingPeriodPaymentTerm: "contact,employee,accounting_period,payment_term", - ContactEmployeePaymentTerm: "contact,employee,payment_term", - ContactPaymentTerm: "contact,payment_term", - Employee: "employee", - EmployeeAccountingPeriod: "employee,accounting_period", - EmployeeAccountingPeriodPaymentTerm: "employee,accounting_period,payment_term", - EmployeePaymentTerm: "employee,payment_term", - LineItems: "line_items", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsAccountingPeriodPaymentTerm: "line_items,accounting_period,payment_term", - LineItemsAppliedCreditNotes: "line_items,applied_credit_notes", - LineItemsAppliedCreditNotesAccountingPeriod: "line_items,applied_credit_notes,accounting_period", - LineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCredits: "line_items,applied_credit_notes,applied_vendor_credits", - LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,applied_credit_notes,applied_vendor_credits,company", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,applied_credit_notes,applied_vendor_credits,contact", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,applied_credit_notes,applied_vendor_credits,employee", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsAppliedCreditNotesCompany: "line_items,applied_credit_notes,company", - LineItemsAppliedCreditNotesCompanyAccountingPeriod: "line_items,applied_credit_notes,company,accounting_period", - LineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesCompanyEmployee: "line_items,applied_credit_notes,company,employee", - LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,company,employee,accounting_period", - LineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,company,employee,payment_term", - LineItemsAppliedCreditNotesCompanyPaymentTerm: "line_items,applied_credit_notes,company,payment_term", - LineItemsAppliedCreditNotesContact: "line_items,applied_credit_notes,contact", - LineItemsAppliedCreditNotesContactAccountingPeriod: "line_items,applied_credit_notes,contact,accounting_period", - LineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactCompany: "line_items,applied_credit_notes,contact,company", - LineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,applied_credit_notes,contact,company,accounting_period", - LineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactCompanyEmployee: "line_items,applied_credit_notes,contact,company,employee", - LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,applied_credit_notes,contact,company,employee,payment_term", - LineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,applied_credit_notes,contact,company,payment_term", - LineItemsAppliedCreditNotesContactEmployee: "line_items,applied_credit_notes,contact,employee", - LineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,applied_credit_notes,contact,employee,accounting_period", - LineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,applied_credit_notes,contact,employee,payment_term", - LineItemsAppliedCreditNotesContactPaymentTerm: "line_items,applied_credit_notes,contact,payment_term", - LineItemsAppliedCreditNotesEmployee: "line_items,applied_credit_notes,employee", - LineItemsAppliedCreditNotesEmployeeAccountingPeriod: "line_items,applied_credit_notes,employee,accounting_period", - LineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsAppliedCreditNotesEmployeePaymentTerm: "line_items,applied_credit_notes,employee,payment_term", - LineItemsAppliedCreditNotesPaymentTerm: "line_items,applied_credit_notes,payment_term", - LineItemsAppliedVendorCredits: "line_items,applied_vendor_credits", - LineItemsAppliedVendorCreditsAccountingPeriod: "line_items,applied_vendor_credits,accounting_period", - LineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,accounting_period,payment_term", - LineItemsAppliedVendorCreditsCompany: "line_items,applied_vendor_credits,company", - LineItemsAppliedVendorCreditsCompanyAccountingPeriod: "line_items,applied_vendor_credits,company,accounting_period", - LineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsAppliedVendorCreditsCompanyEmployee: "line_items,applied_vendor_credits,company,employee", - LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,company,employee,accounting_period", - LineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,applied_vendor_credits,company,employee,payment_term", - LineItemsAppliedVendorCreditsCompanyPaymentTerm: "line_items,applied_vendor_credits,company,payment_term", - LineItemsAppliedVendorCreditsContact: "line_items,applied_vendor_credits,contact", - LineItemsAppliedVendorCreditsContactAccountingPeriod: "line_items,applied_vendor_credits,contact,accounting_period", - LineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactCompany: "line_items,applied_vendor_credits,contact,company", - LineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,applied_vendor_credits,contact,company,accounting_period", - LineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactCompanyEmployee: "line_items,applied_vendor_credits,contact,company,employee", - LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,applied_vendor_credits,contact,company,payment_term", - LineItemsAppliedVendorCreditsContactEmployee: "line_items,applied_vendor_credits,contact,employee", - LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,contact,employee,accounting_period", - LineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,applied_vendor_credits,contact,employee,payment_term", - LineItemsAppliedVendorCreditsContactPaymentTerm: "line_items,applied_vendor_credits,contact,payment_term", - LineItemsAppliedVendorCreditsEmployee: "line_items,applied_vendor_credits,employee", - LineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,applied_vendor_credits,employee,accounting_period", - LineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsAppliedVendorCreditsEmployeePaymentTerm: "line_items,applied_vendor_credits,employee,payment_term", - LineItemsAppliedVendorCreditsPaymentTerm: "line_items,applied_vendor_credits,payment_term", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsCompanyAccountingPeriodPaymentTerm: "line_items,company,accounting_period,payment_term", - LineItemsCompanyEmployee: "line_items,company,employee", - LineItemsCompanyEmployeeAccountingPeriod: "line_items,company,employee,accounting_period", - LineItemsCompanyEmployeeAccountingPeriodPaymentTerm: "line_items,company,employee,accounting_period,payment_term", - LineItemsCompanyEmployeePaymentTerm: "line_items,company,employee,payment_term", - LineItemsCompanyPaymentTerm: "line_items,company,payment_term", - LineItemsContact: "line_items,contact", - LineItemsContactAccountingPeriod: "line_items,contact,accounting_period", - LineItemsContactAccountingPeriodPaymentTerm: "line_items,contact,accounting_period,payment_term", - LineItemsContactCompany: "line_items,contact,company", - LineItemsContactCompanyAccountingPeriod: "line_items,contact,company,accounting_period", - LineItemsContactCompanyAccountingPeriodPaymentTerm: "line_items,contact,company,accounting_period,payment_term", - LineItemsContactCompanyEmployee: "line_items,contact,company,employee", - LineItemsContactCompanyEmployeeAccountingPeriod: "line_items,contact,company,employee,accounting_period", - LineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,contact,company,employee,accounting_period,payment_term", - LineItemsContactCompanyEmployeePaymentTerm: "line_items,contact,company,employee,payment_term", - LineItemsContactCompanyPaymentTerm: "line_items,contact,company,payment_term", - LineItemsContactEmployee: "line_items,contact,employee", - LineItemsContactEmployeeAccountingPeriod: "line_items,contact,employee,accounting_period", - LineItemsContactEmployeeAccountingPeriodPaymentTerm: "line_items,contact,employee,accounting_period,payment_term", - LineItemsContactEmployeePaymentTerm: "line_items,contact,employee,payment_term", - LineItemsContactPaymentTerm: "line_items,contact,payment_term", - LineItemsEmployee: "line_items,employee", - LineItemsEmployeeAccountingPeriod: "line_items,employee,accounting_period", - LineItemsEmployeeAccountingPeriodPaymentTerm: "line_items,employee,accounting_period,payment_term", - LineItemsEmployeePaymentTerm: "line_items,employee,payment_term", - LineItemsPaymentTerm: "line_items,payment_term", - LineItemsPurchaseOrders: "line_items,purchase_orders", - LineItemsPurchaseOrdersAccountingPeriod: "line_items,purchase_orders,accounting_period", - LineItemsPurchaseOrdersAccountingPeriodPaymentTerm: "line_items,purchase_orders,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotes: "line_items,purchase_orders,applied_credit_notes", - LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompany: "line_items,purchase_orders,applied_credit_notes,company", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContact: "line_items,purchase_orders,applied_credit_notes,contact", - LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "line_items,purchase_orders,applied_credit_notes,contact,company", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "line_items,purchase_orders,applied_credit_notes,contact,employee", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,contact,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesEmployee: "line_items,purchase_orders,applied_credit_notes,employee", - LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - LineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "line_items,purchase_orders,applied_credit_notes,employee,payment_term", - LineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "line_items,purchase_orders,applied_credit_notes,payment_term", - LineItemsPurchaseOrdersAppliedVendorCredits: "line_items,purchase_orders,applied_vendor_credits", - LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompany: "line_items,purchase_orders,applied_vendor_credits,company", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "line_items,purchase_orders,applied_vendor_credits,company,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,company,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContact: "line_items,purchase_orders,applied_vendor_credits,contact", - LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "line_items,purchase_orders,applied_vendor_credits,contact,company", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "line_items,purchase_orders,applied_vendor_credits,contact,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployee: "line_items,purchase_orders,applied_vendor_credits,employee", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - LineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "line_items,purchase_orders,applied_vendor_credits,payment_term", - LineItemsPurchaseOrdersCompany: "line_items,purchase_orders,company", - LineItemsPurchaseOrdersCompanyAccountingPeriod: "line_items,purchase_orders,company,accounting_period", - LineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,company,accounting_period,payment_term", - LineItemsPurchaseOrdersCompanyEmployee: "line_items,purchase_orders,company,employee", - LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,company,employee,accounting_period", - LineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersCompanyEmployeePaymentTerm: "line_items,purchase_orders,company,employee,payment_term", - LineItemsPurchaseOrdersCompanyPaymentTerm: "line_items,purchase_orders,company,payment_term", - LineItemsPurchaseOrdersContact: "line_items,purchase_orders,contact", - LineItemsPurchaseOrdersContactAccountingPeriod: "line_items,purchase_orders,contact,accounting_period", - LineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,accounting_period,payment_term", - LineItemsPurchaseOrdersContactCompany: "line_items,purchase_orders,contact,company", - LineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "line_items,purchase_orders,contact,company,accounting_period", - LineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,company,accounting_period,payment_term", - LineItemsPurchaseOrdersContactCompanyEmployee: "line_items,purchase_orders,contact,company,employee", - LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "line_items,purchase_orders,contact,company,employee,accounting_period", - LineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "line_items,purchase_orders,contact,company,employee,payment_term", - LineItemsPurchaseOrdersContactCompanyPaymentTerm: "line_items,purchase_orders,contact,company,payment_term", - LineItemsPurchaseOrdersContactEmployee: "line_items,purchase_orders,contact,employee", - LineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "line_items,purchase_orders,contact,employee,accounting_period", - LineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,contact,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersContactEmployeePaymentTerm: "line_items,purchase_orders,contact,employee,payment_term", - LineItemsPurchaseOrdersContactPaymentTerm: "line_items,purchase_orders,contact,payment_term", - LineItemsPurchaseOrdersEmployee: "line_items,purchase_orders,employee", - LineItemsPurchaseOrdersEmployeeAccountingPeriod: "line_items,purchase_orders,employee,accounting_period", - LineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "line_items,purchase_orders,employee,accounting_period,payment_term", - LineItemsPurchaseOrdersEmployeePaymentTerm: "line_items,purchase_orders,employee,payment_term", - LineItemsPurchaseOrdersPaymentTerm: "line_items,purchase_orders,payment_term", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotes: "line_items,tracking_categories,applied_credit_notes", - LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompany: "line_items,tracking_categories,applied_credit_notes,company", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContact: "line_items,tracking_categories,applied_credit_notes,contact", - LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "line_items,tracking_categories,applied_credit_notes,contact,company", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "line_items,tracking_categories,applied_credit_notes,contact,employee", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,contact,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "line_items,tracking_categories,applied_credit_notes,employee", - LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - LineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "line_items,tracking_categories,applied_credit_notes,employee,payment_term", - LineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "line_items,tracking_categories,applied_credit_notes,payment_term", - LineItemsTrackingCategoriesAppliedVendorCredits: "line_items,tracking_categories,applied_vendor_credits", - LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "line_items,tracking_categories,applied_vendor_credits,company", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContact: - "line_items,tracking_categories,applied_vendor_credits,contact", - LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "line_items,tracking_categories,applied_vendor_credits,employee", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,company,accounting_period,payment_term", - LineItemsTrackingCategoriesCompanyEmployee: "line_items,tracking_categories,company,employee", - LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,company,employee,accounting_period", - LineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "line_items,tracking_categories,company,employee,payment_term", - LineItemsTrackingCategoriesCompanyPaymentTerm: "line_items,tracking_categories,company,payment_term", - LineItemsTrackingCategoriesContact: "line_items,tracking_categories,contact", - LineItemsTrackingCategoriesContactAccountingPeriod: "line_items,tracking_categories,contact,accounting_period", - LineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesContactCompany: "line_items,tracking_categories,contact,company", - LineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "line_items,tracking_categories,contact,company,accounting_period", - LineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesContactCompanyEmployee: "line_items,tracking_categories,contact,company,employee", - LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,contact,company,employee,payment_term", - LineItemsTrackingCategoriesContactCompanyPaymentTerm: "line_items,tracking_categories,contact,company,payment_term", - LineItemsTrackingCategoriesContactEmployee: "line_items,tracking_categories,contact,employee", - LineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "line_items,tracking_categories,contact,employee,accounting_period", - LineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesContactEmployeePaymentTerm: - "line_items,tracking_categories,contact,employee,payment_term", - LineItemsTrackingCategoriesContactPaymentTerm: "line_items,tracking_categories,contact,payment_term", - LineItemsTrackingCategoriesEmployee: "line_items,tracking_categories,employee", - LineItemsTrackingCategoriesEmployeeAccountingPeriod: "line_items,tracking_categories,employee,accounting_period", - LineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesEmployeePaymentTerm: "line_items,tracking_categories,employee,payment_term", - LineItemsTrackingCategoriesPaymentTerm: "line_items,tracking_categories,payment_term", - LineItemsTrackingCategoriesPurchaseOrders: "line_items,tracking_categories,purchase_orders", - LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "line_items,tracking_categories,purchase_orders,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "line_items,tracking_categories,purchase_orders,applied_credit_notes", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompany: "line_items,tracking_categories,purchase_orders,company", - LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "line_items,tracking_categories,purchase_orders,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContact: "line_items,tracking_categories,purchase_orders,contact", - LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "line_items,tracking_categories,purchase_orders,contact,company", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "line_items,tracking_categories,purchase_orders,contact,company,employee", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,company,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "line_items,tracking_categories,purchase_orders,contact,employee", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "line_items,tracking_categories,purchase_orders,contact,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersEmployee: "line_items,tracking_categories,purchase_orders,employee", - LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "line_items,tracking_categories,purchase_orders,employee,accounting_period", - LineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "line_items,tracking_categories,purchase_orders,employee,payment_term", - LineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: "line_items,tracking_categories,purchase_orders,payment_term", - PaymentTerm: "payment_term", - Payments: "payments", - PaymentsAccountingPeriod: "payments,accounting_period", - PaymentsAccountingPeriodPaymentTerm: "payments,accounting_period,payment_term", - PaymentsAppliedCreditNotes: "payments,applied_credit_notes", - PaymentsAppliedCreditNotesAccountingPeriod: "payments,applied_credit_notes,accounting_period", - PaymentsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCredits: "payments,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedCreditNotesCompany: "payments,applied_credit_notes,company", - PaymentsAppliedCreditNotesCompanyAccountingPeriod: "payments,applied_credit_notes,company,accounting_period", - PaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesCompanyEmployee: "payments,applied_credit_notes,company,employee", - PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesCompanyEmployeePaymentTerm: "payments,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedCreditNotesCompanyPaymentTerm: "payments,applied_credit_notes,company,payment_term", - PaymentsAppliedCreditNotesContact: "payments,applied_credit_notes,contact", - PaymentsAppliedCreditNotesContactAccountingPeriod: "payments,applied_credit_notes,contact,accounting_period", - PaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactCompany: "payments,applied_credit_notes,contact,company", - PaymentsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactCompanyEmployee: "payments,applied_credit_notes,contact,company,employee", - PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedCreditNotesContactCompanyPaymentTerm: "payments,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedCreditNotesContactEmployee: "payments,applied_credit_notes,contact,employee", - PaymentsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesContactEmployeePaymentTerm: "payments,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedCreditNotesContactPaymentTerm: "payments,applied_credit_notes,contact,payment_term", - PaymentsAppliedCreditNotesEmployee: "payments,applied_credit_notes,employee", - PaymentsAppliedCreditNotesEmployeeAccountingPeriod: "payments,applied_credit_notes,employee,accounting_period", - PaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedCreditNotesEmployeePaymentTerm: "payments,applied_credit_notes,employee,payment_term", - PaymentsAppliedCreditNotesPaymentTerm: "payments,applied_credit_notes,payment_term", - PaymentsAppliedPayments: "payments,applied_payments", - PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period", - PaymentsAppliedPaymentsAccountingPeriodPaymentTerm: "payments,applied_payments,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotes: "payments,applied_payments,applied_credit_notes", - PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompany: "payments,applied_payments,applied_credit_notes,company", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContact: "payments,applied_payments,applied_credit_notes,contact", - PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompany: - "payments,applied_payments,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployee: - "payments,applied_payments,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesEmployee: "payments,applied_payments,applied_credit_notes,employee", - PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsAppliedCreditNotesPaymentTerm: "payments,applied_payments,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsAppliedVendorCredits: "payments,applied_payments,applied_vendor_credits", - PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompany: "payments,applied_payments,applied_vendor_credits,company", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContact: "payments,applied_payments,applied_vendor_credits,contact", - PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompany: - "payments,applied_payments,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee: - "payments,applied_payments,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployee: "payments,applied_payments,applied_vendor_credits,employee", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsCompany: "payments,applied_payments,company", - PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period", - PaymentsAppliedPaymentsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,company,accounting_period,payment_term", - PaymentsAppliedPaymentsCompanyEmployee: "payments,applied_payments,company,employee", - PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,company,employee,accounting_period", - PaymentsAppliedPaymentsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsCompanyEmployeePaymentTerm: "payments,applied_payments,company,employee,payment_term", - PaymentsAppliedPaymentsCompanyPaymentTerm: "payments,applied_payments,company,payment_term", - PaymentsAppliedPaymentsContact: "payments,applied_payments,contact", - PaymentsAppliedPaymentsContactAccountingPeriod: "payments,applied_payments,contact,accounting_period", - PaymentsAppliedPaymentsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsContactCompany: "payments,applied_payments,contact,company", - PaymentsAppliedPaymentsContactCompanyAccountingPeriod: - "payments,applied_payments,contact,company,accounting_period", - PaymentsAppliedPaymentsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsContactCompanyEmployee: "payments,applied_payments,contact,company,employee", - PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,contact,company,employee,payment_term", - PaymentsAppliedPaymentsContactCompanyPaymentTerm: "payments,applied_payments,contact,company,payment_term", - PaymentsAppliedPaymentsContactEmployee: "payments,applied_payments,contact,employee", - PaymentsAppliedPaymentsContactEmployeeAccountingPeriod: - "payments,applied_payments,contact,employee,accounting_period", - PaymentsAppliedPaymentsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsContactEmployeePaymentTerm: "payments,applied_payments,contact,employee,payment_term", - PaymentsAppliedPaymentsContactPaymentTerm: "payments,applied_payments,contact,payment_term", - PaymentsAppliedPaymentsEmployee: "payments,applied_payments,employee", - PaymentsAppliedPaymentsEmployeeAccountingPeriod: "payments,applied_payments,employee,accounting_period", - PaymentsAppliedPaymentsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsEmployeePaymentTerm: "payments,applied_payments,employee,payment_term", - PaymentsAppliedPaymentsLineItems: "payments,applied_payments,line_items", - PaymentsAppliedPaymentsLineItemsAccountingPeriod: "payments,applied_payments,line_items,accounting_period", - PaymentsAppliedPaymentsLineItemsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotes: "payments,applied_payments,line_items,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany: - "payments,applied_payments,line_items,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact: - "payments,applied_payments,line_items,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCredits: "payments,applied_payments,line_items,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact: - "payments,applied_payments,line_items,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsCompany: "payments,applied_payments,line_items,company", - PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod: - "payments,applied_payments,line_items,company,accounting_period", - PaymentsAppliedPaymentsLineItemsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsCompanyEmployee: "payments,applied_payments,line_items,company,employee", - PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsCompanyPaymentTerm: "payments,applied_payments,line_items,company,payment_term", - PaymentsAppliedPaymentsLineItemsContact: "payments,applied_payments,line_items,contact", - PaymentsAppliedPaymentsLineItemsContactAccountingPeriod: - "payments,applied_payments,line_items,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompany: "payments,applied_payments,line_items,contact,company", - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployee: - "payments,applied_payments,line_items,contact,company,employee", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsContactEmployee: "payments,applied_payments,line_items,contact,employee", - PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsContactPaymentTerm: "payments,applied_payments,line_items,contact,payment_term", - PaymentsAppliedPaymentsLineItemsEmployee: "payments,applied_payments,line_items,employee", - PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsEmployeePaymentTerm: "payments,applied_payments,line_items,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPaymentTerm: "payments,applied_payments,line_items,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrders: "payments,applied_payments,line_items,purchase_orders", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany: - "payments,applied_payments,line_items,purchase_orders,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContact: - "payments,applied_payments,line_items,purchase_orders,contact", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany: - "payments,applied_payments,line_items,purchase_orders,contact,company", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee: - "payments,applied_payments,line_items,purchase_orders,contact,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee: - "payments,applied_payments,line_items,purchase_orders,employee", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,line_items,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsLineItemsPurchaseOrdersPaymentTerm: - "payments,applied_payments,line_items,purchase_orders,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategories: "payments,applied_payments,line_items,tracking_categories", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany: - "payments,applied_payments,line_items,tracking_categories,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContact: - "payments,applied_payments,line_items,tracking_categories,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany: - "payments,applied_payments,line_items,tracking_categories,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee: - "payments,applied_payments,line_items,tracking_categories,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee: - "payments,applied_payments,line_items,tracking_categories,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders: - "payments,applied_payments,line_items,tracking_categories,purchase_orders", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - PaymentsAppliedPaymentsPaymentTerm: "payments,applied_payments,payment_term", - PaymentsAppliedPaymentsPurchaseOrders: "payments,applied_payments,purchase_orders", - PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod: - "payments,applied_payments,purchase_orders,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompany: "payments,applied_payments,purchase_orders,company", - PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee: "payments,applied_payments,purchase_orders,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContact: "payments,applied_payments,purchase_orders,contact", - PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompany: "payments,applied_payments,purchase_orders,contact,company", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployee: "payments,applied_payments,purchase_orders,contact,employee", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersEmployee: "payments,applied_payments,purchase_orders,employee", - PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsPurchaseOrdersPaymentTerm: "payments,applied_payments,purchase_orders,payment_term", - PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,tracking_categories,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes: - "payments,applied_payments,tracking_categories,applied_credit_notes", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits: - "payments,applied_payments,tracking_categories,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee: - "payments,applied_payments,tracking_categories,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContact: "payments,applied_payments,tracking_categories,contact", - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompany: - "payments,applied_payments,tracking_categories,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee: - "payments,applied_payments,tracking_categories,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployee: - "payments,applied_payments,tracking_categories,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesContactPaymentTerm: - "payments,applied_payments,tracking_categories,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesEmployee: "payments,applied_payments,tracking_categories,employee", - PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPaymentTerm: "payments,applied_payments,tracking_categories,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders: - "payments,applied_payments,tracking_categories,purchase_orders", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany: - "payments,applied_payments,tracking_categories,purchase_orders,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact: - "payments,applied_payments,tracking_categories,purchase_orders,contact", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee: - "payments,applied_payments,tracking_categories,purchase_orders,employee", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term", - PaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersPaymentTerm: - "payments,applied_payments,tracking_categories,purchase_orders,payment_term", - PaymentsAppliedVendorCredits: "payments,applied_vendor_credits", - PaymentsAppliedVendorCreditsAccountingPeriod: "payments,applied_vendor_credits,accounting_period", - PaymentsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,accounting_period,payment_term", - PaymentsAppliedVendorCreditsCompany: "payments,applied_vendor_credits,company", - PaymentsAppliedVendorCreditsCompanyAccountingPeriod: "payments,applied_vendor_credits,company,accounting_period", - PaymentsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsAppliedVendorCreditsCompanyEmployee: "payments,applied_vendor_credits,company,employee", - PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,applied_vendor_credits,company,employee,accounting_period", - PaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,applied_vendor_credits,company,employee,payment_term", - PaymentsAppliedVendorCreditsCompanyPaymentTerm: "payments,applied_vendor_credits,company,payment_term", - PaymentsAppliedVendorCreditsContact: "payments,applied_vendor_credits,contact", - PaymentsAppliedVendorCreditsContactAccountingPeriod: "payments,applied_vendor_credits,contact,accounting_period", - PaymentsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactCompany: "payments,applied_vendor_credits,contact,company", - PaymentsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,applied_vendor_credits,contact,company,accounting_period", - PaymentsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactCompanyEmployee: "payments,applied_vendor_credits,contact,company,employee", - PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,applied_vendor_credits,contact,company,payment_term", - PaymentsAppliedVendorCreditsContactEmployee: "payments,applied_vendor_credits,contact,employee", - PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,applied_vendor_credits,contact,employee,accounting_period", - PaymentsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,applied_vendor_credits,contact,employee,payment_term", - PaymentsAppliedVendorCreditsContactPaymentTerm: "payments,applied_vendor_credits,contact,payment_term", - PaymentsAppliedVendorCreditsEmployee: "payments,applied_vendor_credits,employee", - PaymentsAppliedVendorCreditsEmployeeAccountingPeriod: "payments,applied_vendor_credits,employee,accounting_period", - PaymentsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsAppliedVendorCreditsEmployeePaymentTerm: "payments,applied_vendor_credits,employee,payment_term", - PaymentsAppliedVendorCreditsPaymentTerm: "payments,applied_vendor_credits,payment_term", - PaymentsCompany: "payments,company", - PaymentsCompanyAccountingPeriod: "payments,company,accounting_period", - PaymentsCompanyAccountingPeriodPaymentTerm: "payments,company,accounting_period,payment_term", - PaymentsCompanyEmployee: "payments,company,employee", - PaymentsCompanyEmployeeAccountingPeriod: "payments,company,employee,accounting_period", - PaymentsCompanyEmployeeAccountingPeriodPaymentTerm: "payments,company,employee,accounting_period,payment_term", - PaymentsCompanyEmployeePaymentTerm: "payments,company,employee,payment_term", - PaymentsCompanyPaymentTerm: "payments,company,payment_term", - PaymentsContact: "payments,contact", - PaymentsContactAccountingPeriod: "payments,contact,accounting_period", - PaymentsContactAccountingPeriodPaymentTerm: "payments,contact,accounting_period,payment_term", - PaymentsContactCompany: "payments,contact,company", - PaymentsContactCompanyAccountingPeriod: "payments,contact,company,accounting_period", - PaymentsContactCompanyAccountingPeriodPaymentTerm: "payments,contact,company,accounting_period,payment_term", - PaymentsContactCompanyEmployee: "payments,contact,company,employee", - PaymentsContactCompanyEmployeeAccountingPeriod: "payments,contact,company,employee,accounting_period", - PaymentsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,contact,company,employee,accounting_period,payment_term", - PaymentsContactCompanyEmployeePaymentTerm: "payments,contact,company,employee,payment_term", - PaymentsContactCompanyPaymentTerm: "payments,contact,company,payment_term", - PaymentsContactEmployee: "payments,contact,employee", - PaymentsContactEmployeeAccountingPeriod: "payments,contact,employee,accounting_period", - PaymentsContactEmployeeAccountingPeriodPaymentTerm: "payments,contact,employee,accounting_period,payment_term", - PaymentsContactEmployeePaymentTerm: "payments,contact,employee,payment_term", - PaymentsContactPaymentTerm: "payments,contact,payment_term", - PaymentsEmployee: "payments,employee", - PaymentsEmployeeAccountingPeriod: "payments,employee,accounting_period", - PaymentsEmployeeAccountingPeriodPaymentTerm: "payments,employee,accounting_period,payment_term", - PaymentsEmployeePaymentTerm: "payments,employee,payment_term", - PaymentsLineItems: "payments,line_items", - PaymentsLineItemsAccountingPeriod: "payments,line_items,accounting_period", - PaymentsLineItemsAccountingPeriodPaymentTerm: "payments,line_items,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotes: "payments,line_items,applied_credit_notes", - PaymentsLineItemsAppliedCreditNotesAccountingPeriod: "payments,line_items,applied_credit_notes,accounting_period", - PaymentsLineItemsAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsAppliedCreditNotesCompany: "payments,line_items,applied_credit_notes,company", - PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesCompanyEmployee: "payments,line_items,applied_credit_notes,company,employee", - PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,company,payment_term", - PaymentsLineItemsAppliedCreditNotesContact: "payments,line_items,applied_credit_notes,contact", - PaymentsLineItemsAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompany: "payments,line_items,applied_credit_notes,contact,company", - PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,applied_credit_notes,contact,company,employee", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsAppliedCreditNotesContactEmployee: "payments,line_items,applied_credit_notes,contact,employee", - PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesContactPaymentTerm: - "payments,line_items,applied_credit_notes,contact,payment_term", - PaymentsLineItemsAppliedCreditNotesEmployee: "payments,line_items,applied_credit_notes,employee", - PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,applied_credit_notes,employee,payment_term", - PaymentsLineItemsAppliedCreditNotesPaymentTerm: "payments,line_items,applied_credit_notes,payment_term", - PaymentsLineItemsAppliedVendorCredits: "payments,line_items,applied_vendor_credits", - PaymentsLineItemsAppliedVendorCreditsAccountingPeriod: - "payments,line_items,applied_vendor_credits,accounting_period", - PaymentsLineItemsAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompany: "payments,line_items,applied_vendor_credits,company", - PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployee: "payments,line_items,applied_vendor_credits,company,employee", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,applied_vendor_credits,company,payment_term", - PaymentsLineItemsAppliedVendorCreditsContact: "payments,line_items,applied_vendor_credits,contact", - PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompany: "payments,line_items,applied_vendor_credits,contact,company", - PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactEmployee: "payments,line_items,applied_vendor_credits,contact,employee", - PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsAppliedVendorCreditsEmployee: "payments,line_items,applied_vendor_credits,employee", - PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsAppliedVendorCreditsPaymentTerm: "payments,line_items,applied_vendor_credits,payment_term", - PaymentsLineItemsCompany: "payments,line_items,company", - PaymentsLineItemsCompanyAccountingPeriod: "payments,line_items,company,accounting_period", - PaymentsLineItemsCompanyAccountingPeriodPaymentTerm: "payments,line_items,company,accounting_period,payment_term", - PaymentsLineItemsCompanyEmployee: "payments,line_items,company,employee", - PaymentsLineItemsCompanyEmployeeAccountingPeriod: "payments,line_items,company,employee,accounting_period", - PaymentsLineItemsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,company,employee,accounting_period,payment_term", - PaymentsLineItemsCompanyEmployeePaymentTerm: "payments,line_items,company,employee,payment_term", - PaymentsLineItemsCompanyPaymentTerm: "payments,line_items,company,payment_term", - PaymentsLineItemsContact: "payments,line_items,contact", - PaymentsLineItemsContactAccountingPeriod: "payments,line_items,contact,accounting_period", - PaymentsLineItemsContactAccountingPeriodPaymentTerm: "payments,line_items,contact,accounting_period,payment_term", - PaymentsLineItemsContactCompany: "payments,line_items,contact,company", - PaymentsLineItemsContactCompanyAccountingPeriod: "payments,line_items,contact,company,accounting_period", - PaymentsLineItemsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,contact,company,accounting_period,payment_term", - PaymentsLineItemsContactCompanyEmployee: "payments,line_items,contact,company,employee", - PaymentsLineItemsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,contact,company,employee,accounting_period", - PaymentsLineItemsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsContactCompanyEmployeePaymentTerm: "payments,line_items,contact,company,employee,payment_term", - PaymentsLineItemsContactCompanyPaymentTerm: "payments,line_items,contact,company,payment_term", - PaymentsLineItemsContactEmployee: "payments,line_items,contact,employee", - PaymentsLineItemsContactEmployeeAccountingPeriod: "payments,line_items,contact,employee,accounting_period", - PaymentsLineItemsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,contact,employee,accounting_period,payment_term", - PaymentsLineItemsContactEmployeePaymentTerm: "payments,line_items,contact,employee,payment_term", - PaymentsLineItemsContactPaymentTerm: "payments,line_items,contact,payment_term", - PaymentsLineItemsEmployee: "payments,line_items,employee", - PaymentsLineItemsEmployeeAccountingPeriod: "payments,line_items,employee,accounting_period", - PaymentsLineItemsEmployeeAccountingPeriodPaymentTerm: "payments,line_items,employee,accounting_period,payment_term", - PaymentsLineItemsEmployeePaymentTerm: "payments,line_items,employee,payment_term", - PaymentsLineItemsPaymentTerm: "payments,line_items,payment_term", - PaymentsLineItemsPurchaseOrders: "payments,line_items,purchase_orders", - PaymentsLineItemsPurchaseOrdersAccountingPeriod: "payments,line_items,purchase_orders,accounting_period", - PaymentsLineItemsPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotes: "payments,line_items,purchase_orders,applied_credit_notes", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany: - "payments,line_items,purchase_orders,applied_credit_notes,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact: - "payments,line_items,purchase_orders,applied_credit_notes,contact", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee: - "payments,line_items,purchase_orders,applied_credit_notes,employee", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,line_items,purchase_orders,applied_credit_notes,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCredits: "payments,line_items,purchase_orders,applied_vendor_credits", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany: - "payments,line_items,purchase_orders,applied_vendor_credits,company", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact: - "payments,line_items,purchase_orders,applied_vendor_credits,contact", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,line_items,purchase_orders,applied_vendor_credits,employee", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - PaymentsLineItemsPurchaseOrdersCompany: "payments,line_items,purchase_orders,company", - PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod: - "payments,line_items,purchase_orders,company,accounting_period", - PaymentsLineItemsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersCompanyEmployee: "payments,line_items,purchase_orders,company,employee", - PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersCompanyPaymentTerm: "payments,line_items,purchase_orders,company,payment_term", - PaymentsLineItemsPurchaseOrdersContact: "payments,line_items,purchase_orders,contact", - PaymentsLineItemsPurchaseOrdersContactAccountingPeriod: - "payments,line_items,purchase_orders,contact,accounting_period", - PaymentsLineItemsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompany: "payments,line_items,purchase_orders,contact,company", - PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod: - "payments,line_items,purchase_orders,contact,company,accounting_period", - PaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployee: - "payments,line_items,purchase_orders,contact,company,employee", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,contact,company,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,line_items,purchase_orders,contact,company,employee,payment_term", - PaymentsLineItemsPurchaseOrdersContactCompanyPaymentTerm: - "payments,line_items,purchase_orders,contact,company,payment_term", - PaymentsLineItemsPurchaseOrdersContactEmployee: "payments,line_items,purchase_orders,contact,employee", - PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,contact,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersContactEmployeePaymentTerm: - "payments,line_items,purchase_orders,contact,employee,payment_term", - PaymentsLineItemsPurchaseOrdersContactPaymentTerm: "payments,line_items,purchase_orders,contact,payment_term", - PaymentsLineItemsPurchaseOrdersEmployee: "payments,line_items,purchase_orders,employee", - PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod: - "payments,line_items,purchase_orders,employee,accounting_period", - PaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,purchase_orders,employee,accounting_period,payment_term", - PaymentsLineItemsPurchaseOrdersEmployeePaymentTerm: "payments,line_items,purchase_orders,employee,payment_term", - PaymentsLineItemsPurchaseOrdersPaymentTerm: "payments,line_items,purchase_orders,payment_term", - PaymentsLineItemsTrackingCategories: "payments,line_items,tracking_categories", - PaymentsLineItemsTrackingCategoriesAccountingPeriod: "payments,line_items,tracking_categories,accounting_period", - PaymentsLineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotes: - "payments,line_items,tracking_categories,applied_credit_notes", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany: - "payments,line_items,tracking_categories,applied_credit_notes,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact: - "payments,line_items,tracking_categories,applied_credit_notes,contact", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee: - "payments,line_items,tracking_categories,applied_credit_notes,employee", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,line_items,tracking_categories,applied_credit_notes,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCredits: - "payments,line_items,tracking_categories,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesCompany: "payments,line_items,tracking_categories,company", - PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,company,accounting_period", - PaymentsLineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesCompanyEmployee: "payments,line_items,tracking_categories,company,employee", - PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesCompanyPaymentTerm: - "payments,line_items,tracking_categories,company,payment_term", - PaymentsLineItemsTrackingCategoriesContact: "payments,line_items,tracking_categories,contact", - PaymentsLineItemsTrackingCategoriesContactAccountingPeriod: - "payments,line_items,tracking_categories,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompany: "payments,line_items,tracking_categories,contact,company", - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployee: - "payments,line_items,tracking_categories,contact,company,employee", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesContactEmployee: "payments,line_items,tracking_categories,contact,employee", - PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesContactPaymentTerm: - "payments,line_items,tracking_categories,contact,payment_term", - PaymentsLineItemsTrackingCategoriesEmployee: "payments,line_items,tracking_categories,employee", - PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesEmployeePaymentTerm: - "payments,line_items,tracking_categories,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPaymentTerm: "payments,line_items,tracking_categories,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrders: "payments,line_items,tracking_categories,purchase_orders", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany: - "payments,line_items,tracking_categories,purchase_orders,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContact: - "payments,line_items,tracking_categories,purchase_orders,contact", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,line_items,tracking_categories,purchase_orders,contact,company", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,line_items,tracking_categories,purchase_orders,contact,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee: - "payments,line_items,tracking_categories,purchase_orders,employee", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - PaymentsLineItemsTrackingCategoriesPurchaseOrdersPaymentTerm: - "payments,line_items,tracking_categories,purchase_orders,payment_term", - PaymentsPaymentTerm: "payments,payment_term", - PaymentsPurchaseOrders: "payments,purchase_orders", - PaymentsPurchaseOrdersAccountingPeriod: "payments,purchase_orders,accounting_period", - PaymentsPurchaseOrdersAccountingPeriodPaymentTerm: "payments,purchase_orders,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotes: "payments,purchase_orders,applied_credit_notes", - PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompany: "payments,purchase_orders,applied_credit_notes,company", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContact: "payments,purchase_orders,applied_credit_notes,contact", - PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,purchase_orders,applied_credit_notes,contact,company", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,purchase_orders,applied_credit_notes,contact,employee", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesEmployee: "payments,purchase_orders,applied_credit_notes,employee", - PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsPurchaseOrdersAppliedCreditNotesPaymentTerm: "payments,purchase_orders,applied_credit_notes,payment_term", - PaymentsPurchaseOrdersAppliedVendorCredits: "payments,purchase_orders,applied_vendor_credits", - PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompany: "payments,purchase_orders,applied_vendor_credits,company", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,purchase_orders,applied_vendor_credits,company,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContact: "payments,purchase_orders,applied_vendor_credits,contact", - PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,purchase_orders,applied_vendor_credits,contact,company", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployee: "payments,purchase_orders,applied_vendor_credits,employee", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,purchase_orders,applied_vendor_credits,payment_term", - PaymentsPurchaseOrdersCompany: "payments,purchase_orders,company", - PaymentsPurchaseOrdersCompanyAccountingPeriod: "payments,purchase_orders,company,accounting_period", - PaymentsPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,company,accounting_period,payment_term", - PaymentsPurchaseOrdersCompanyEmployee: "payments,purchase_orders,company,employee", - PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,company,employee,accounting_period", - PaymentsPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersCompanyEmployeePaymentTerm: "payments,purchase_orders,company,employee,payment_term", - PaymentsPurchaseOrdersCompanyPaymentTerm: "payments,purchase_orders,company,payment_term", - PaymentsPurchaseOrdersContact: "payments,purchase_orders,contact", - PaymentsPurchaseOrdersContactAccountingPeriod: "payments,purchase_orders,contact,accounting_period", - PaymentsPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,accounting_period,payment_term", - PaymentsPurchaseOrdersContactCompany: "payments,purchase_orders,contact,company", - PaymentsPurchaseOrdersContactCompanyAccountingPeriod: "payments,purchase_orders,contact,company,accounting_period", - PaymentsPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsPurchaseOrdersContactCompanyEmployee: "payments,purchase_orders,contact,company,employee", - PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,purchase_orders,contact,company,employee,accounting_period", - PaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,purchase_orders,contact,company,employee,payment_term", - PaymentsPurchaseOrdersContactCompanyPaymentTerm: "payments,purchase_orders,contact,company,payment_term", - PaymentsPurchaseOrdersContactEmployee: "payments,purchase_orders,contact,employee", - PaymentsPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,purchase_orders,contact,employee,accounting_period", - PaymentsPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersContactEmployeePaymentTerm: "payments,purchase_orders,contact,employee,payment_term", - PaymentsPurchaseOrdersContactPaymentTerm: "payments,purchase_orders,contact,payment_term", - PaymentsPurchaseOrdersEmployee: "payments,purchase_orders,employee", - PaymentsPurchaseOrdersEmployeeAccountingPeriod: "payments,purchase_orders,employee,accounting_period", - PaymentsPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,purchase_orders,employee,accounting_period,payment_term", - PaymentsPurchaseOrdersEmployeePaymentTerm: "payments,purchase_orders,employee,payment_term", - PaymentsPurchaseOrdersPaymentTerm: "payments,purchase_orders,payment_term", - PaymentsTrackingCategories: "payments,tracking_categories", - PaymentsTrackingCategoriesAccountingPeriod: "payments,tracking_categories,accounting_period", - PaymentsTrackingCategoriesAccountingPeriodPaymentTerm: - "payments,tracking_categories,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotes: "payments,tracking_categories,applied_credit_notes", - PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompany: "payments,tracking_categories,applied_credit_notes,company", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContact: "payments,tracking_categories,applied_credit_notes,contact", - PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompany: - "payments,tracking_categories,applied_credit_notes,contact,company", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "payments,tracking_categories,applied_credit_notes,contact,company,employee", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployee: - "payments,tracking_categories,applied_credit_notes,contact,employee", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "payments,tracking_categories,applied_credit_notes,contact,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesEmployee: "payments,tracking_categories,applied_credit_notes,employee", - PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "payments,tracking_categories,applied_credit_notes,employee,accounting_period", - PaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "payments,tracking_categories,applied_credit_notes,employee,payment_term", - PaymentsTrackingCategoriesAppliedCreditNotesPaymentTerm: - "payments,tracking_categories,applied_credit_notes,payment_term", - PaymentsTrackingCategoriesAppliedVendorCredits: "payments,tracking_categories,applied_vendor_credits", - PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompany: - "payments,tracking_categories,applied_vendor_credits,company", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContact: - "payments,tracking_categories,applied_vendor_credits,contact", - PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompany: - "payments,tracking_categories,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployee: - "payments,tracking_categories,applied_vendor_credits,employee", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesCompany: "payments,tracking_categories,company", - PaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,tracking_categories,company,accounting_period", - PaymentsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,company,accounting_period,payment_term", - PaymentsTrackingCategoriesCompanyEmployee: "payments,tracking_categories,company,employee", - PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,company,employee,accounting_period", - PaymentsTrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesCompanyEmployeePaymentTerm: "payments,tracking_categories,company,employee,payment_term", - PaymentsTrackingCategoriesCompanyPaymentTerm: "payments,tracking_categories,company,payment_term", - PaymentsTrackingCategoriesContact: "payments,tracking_categories,contact", - PaymentsTrackingCategoriesContactAccountingPeriod: "payments,tracking_categories,contact,accounting_period", - PaymentsTrackingCategoriesContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesContactCompany: "payments,tracking_categories,contact,company", - PaymentsTrackingCategoriesContactCompanyAccountingPeriod: - "payments,tracking_categories,contact,company,accounting_period", - PaymentsTrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesContactCompanyEmployee: "payments,tracking_categories,contact,company,employee", - PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,contact,company,employee,payment_term", - PaymentsTrackingCategoriesContactCompanyPaymentTerm: "payments,tracking_categories,contact,company,payment_term", - PaymentsTrackingCategoriesContactEmployee: "payments,tracking_categories,contact,employee", - PaymentsTrackingCategoriesContactEmployeeAccountingPeriod: - "payments,tracking_categories,contact,employee,accounting_period", - PaymentsTrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesContactEmployeePaymentTerm: "payments,tracking_categories,contact,employee,payment_term", - PaymentsTrackingCategoriesContactPaymentTerm: "payments,tracking_categories,contact,payment_term", - PaymentsTrackingCategoriesEmployee: "payments,tracking_categories,employee", - PaymentsTrackingCategoriesEmployeeAccountingPeriod: "payments,tracking_categories,employee,accounting_period", - PaymentsTrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesEmployeePaymentTerm: "payments,tracking_categories,employee,payment_term", - PaymentsTrackingCategoriesPaymentTerm: "payments,tracking_categories,payment_term", - PaymentsTrackingCategoriesPurchaseOrders: "payments,tracking_categories,purchase_orders", - PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod: - "payments,tracking_categories,purchase_orders,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes: - "payments,tracking_categories,purchase_orders,applied_credit_notes", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits: - "payments,tracking_categories,purchase_orders,applied_vendor_credits", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompany: "payments,tracking_categories,purchase_orders,company", - PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee: - "payments,tracking_categories,purchase_orders,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContact: "payments,tracking_categories,purchase_orders,contact", - PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompany: - "payments,tracking_categories,purchase_orders,contact,company", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,company,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "payments,tracking_categories,purchase_orders,contact,company,employee", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,company,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployee: - "payments,tracking_categories,purchase_orders,contact,employee", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,contact,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersContactPaymentTerm: - "payments,tracking_categories,purchase_orders,contact,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersEmployee: "payments,tracking_categories,purchase_orders,employee", - PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "payments,tracking_categories,purchase_orders,employee,accounting_period", - PaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersEmployeePaymentTerm: - "payments,tracking_categories,purchase_orders,employee,payment_term", - PaymentsTrackingCategoriesPurchaseOrdersPaymentTerm: "payments,tracking_categories,purchase_orders,payment_term", - PurchaseOrders: "purchase_orders", - PurchaseOrdersAccountingPeriod: "purchase_orders,accounting_period", - PurchaseOrdersAccountingPeriodPaymentTerm: "purchase_orders,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotes: "purchase_orders,applied_credit_notes", - PurchaseOrdersAppliedCreditNotesAccountingPeriod: "purchase_orders,applied_credit_notes,accounting_period", - PurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCredits: "purchase_orders,applied_credit_notes,applied_vendor_credits", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - PurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - PurchaseOrdersAppliedCreditNotesCompany: "purchase_orders,applied_credit_notes,company", - PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,company,accounting_period", - PurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesCompanyEmployee: "purchase_orders,applied_credit_notes,company,employee", - PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: "purchase_orders,applied_credit_notes,company,payment_term", - PurchaseOrdersAppliedCreditNotesContact: "purchase_orders,applied_credit_notes,contact", - PurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,accounting_period", - PurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompany: "purchase_orders,applied_credit_notes,contact,company", - PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,company,accounting_period", - PurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "purchase_orders,applied_credit_notes,contact,company,employee", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - PurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "purchase_orders,applied_credit_notes,contact,company,payment_term", - PurchaseOrdersAppliedCreditNotesContactEmployee: "purchase_orders,applied_credit_notes,contact,employee", - PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,contact,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "purchase_orders,applied_credit_notes,contact,employee,payment_term", - PurchaseOrdersAppliedCreditNotesContactPaymentTerm: "purchase_orders,applied_credit_notes,contact,payment_term", - PurchaseOrdersAppliedCreditNotesEmployee: "purchase_orders,applied_credit_notes,employee", - PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "purchase_orders,applied_credit_notes,employee,accounting_period", - PurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - PurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: "purchase_orders,applied_credit_notes,employee,payment_term", - PurchaseOrdersAppliedCreditNotesPaymentTerm: "purchase_orders,applied_credit_notes,payment_term", - PurchaseOrdersAppliedVendorCredits: "purchase_orders,applied_vendor_credits", - PurchaseOrdersAppliedVendorCreditsAccountingPeriod: "purchase_orders,applied_vendor_credits,accounting_period", - PurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsCompany: "purchase_orders,applied_vendor_credits,company", - PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "purchase_orders,applied_vendor_credits,company,accounting_period", - PurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsCompanyEmployee: "purchase_orders,applied_vendor_credits,company,employee", - PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,company,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,company,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: "purchase_orders,applied_vendor_credits,company,payment_term", - PurchaseOrdersAppliedVendorCreditsContact: "purchase_orders,applied_vendor_credits,contact", - PurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompany: "purchase_orders,applied_vendor_credits,contact,company", - PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,company,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "purchase_orders,applied_vendor_credits,contact,company,employee", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,company,payment_term", - PurchaseOrdersAppliedVendorCreditsContactEmployee: "purchase_orders,applied_vendor_credits,contact,employee", - PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,contact,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsContactPaymentTerm: "purchase_orders,applied_vendor_credits,contact,payment_term", - PurchaseOrdersAppliedVendorCreditsEmployee: "purchase_orders,applied_vendor_credits,employee", - PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "purchase_orders,applied_vendor_credits,employee,accounting_period", - PurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - PurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "purchase_orders,applied_vendor_credits,employee,payment_term", - PurchaseOrdersAppliedVendorCreditsPaymentTerm: "purchase_orders,applied_vendor_credits,payment_term", - PurchaseOrdersCompany: "purchase_orders,company", - PurchaseOrdersCompanyAccountingPeriod: "purchase_orders,company,accounting_period", - PurchaseOrdersCompanyAccountingPeriodPaymentTerm: "purchase_orders,company,accounting_period,payment_term", - PurchaseOrdersCompanyEmployee: "purchase_orders,company,employee", - PurchaseOrdersCompanyEmployeeAccountingPeriod: "purchase_orders,company,employee,accounting_period", - PurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,company,employee,accounting_period,payment_term", - PurchaseOrdersCompanyEmployeePaymentTerm: "purchase_orders,company,employee,payment_term", - PurchaseOrdersCompanyPaymentTerm: "purchase_orders,company,payment_term", - PurchaseOrdersContact: "purchase_orders,contact", - PurchaseOrdersContactAccountingPeriod: "purchase_orders,contact,accounting_period", - PurchaseOrdersContactAccountingPeriodPaymentTerm: "purchase_orders,contact,accounting_period,payment_term", - PurchaseOrdersContactCompany: "purchase_orders,contact,company", - PurchaseOrdersContactCompanyAccountingPeriod: "purchase_orders,contact,company,accounting_period", - PurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "purchase_orders,contact,company,accounting_period,payment_term", - PurchaseOrdersContactCompanyEmployee: "purchase_orders,contact,company,employee", - PurchaseOrdersContactCompanyEmployeeAccountingPeriod: "purchase_orders,contact,company,employee,accounting_period", - PurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,contact,company,employee,accounting_period,payment_term", - PurchaseOrdersContactCompanyEmployeePaymentTerm: "purchase_orders,contact,company,employee,payment_term", - PurchaseOrdersContactCompanyPaymentTerm: "purchase_orders,contact,company,payment_term", - PurchaseOrdersContactEmployee: "purchase_orders,contact,employee", - PurchaseOrdersContactEmployeeAccountingPeriod: "purchase_orders,contact,employee,accounting_period", - PurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "purchase_orders,contact,employee,accounting_period,payment_term", - PurchaseOrdersContactEmployeePaymentTerm: "purchase_orders,contact,employee,payment_term", - PurchaseOrdersContactPaymentTerm: "purchase_orders,contact,payment_term", - PurchaseOrdersEmployee: "purchase_orders,employee", - PurchaseOrdersEmployeeAccountingPeriod: "purchase_orders,employee,accounting_period", - PurchaseOrdersEmployeeAccountingPeriodPaymentTerm: "purchase_orders,employee,accounting_period,payment_term", - PurchaseOrdersEmployeePaymentTerm: "purchase_orders,employee,payment_term", - PurchaseOrdersPaymentTerm: "purchase_orders,payment_term", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesAccountingPeriodPaymentTerm: "tracking_categories,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotes: "tracking_categories,applied_credit_notes", - TrackingCategoriesAppliedCreditNotesAccountingPeriod: "tracking_categories,applied_credit_notes,accounting_period", - TrackingCategoriesAppliedCreditNotesAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCredits: - "tracking_categories,applied_credit_notes,applied_vendor_credits", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - TrackingCategoriesAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - TrackingCategoriesAppliedCreditNotesCompany: "tracking_categories,applied_credit_notes,company", - TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,company,accounting_period", - TrackingCategoriesAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesCompanyEmployee: "tracking_categories,applied_credit_notes,company,employee", - TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,company,payment_term", - TrackingCategoriesAppliedCreditNotesContact: "tracking_categories,applied_credit_notes,contact", - TrackingCategoriesAppliedCreditNotesContactAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,accounting_period", - TrackingCategoriesAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompany: "tracking_categories,applied_credit_notes,contact,company", - TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,company,accounting_period", - TrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployee: - "tracking_categories,applied_credit_notes,contact,company,employee", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - TrackingCategoriesAppliedCreditNotesContactCompanyPaymentTerm: - "tracking_categories,applied_credit_notes,contact,company,payment_term", - TrackingCategoriesAppliedCreditNotesContactEmployee: "tracking_categories,applied_credit_notes,contact,employee", - TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,contact,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesContactEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,contact,employee,payment_term", - TrackingCategoriesAppliedCreditNotesContactPaymentTerm: - "tracking_categories,applied_credit_notes,contact,payment_term", - TrackingCategoriesAppliedCreditNotesEmployee: "tracking_categories,applied_credit_notes,employee", - TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod: - "tracking_categories,applied_credit_notes,employee,accounting_period", - TrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - TrackingCategoriesAppliedCreditNotesEmployeePaymentTerm: - "tracking_categories,applied_credit_notes,employee,payment_term", - TrackingCategoriesAppliedCreditNotesPaymentTerm: "tracking_categories,applied_credit_notes,payment_term", - TrackingCategoriesAppliedVendorCredits: "tracking_categories,applied_vendor_credits", - TrackingCategoriesAppliedVendorCreditsAccountingPeriod: - "tracking_categories,applied_vendor_credits,accounting_period", - TrackingCategoriesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsCompany: "tracking_categories,applied_vendor_credits,company", - TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,applied_vendor_credits,company,accounting_period", - TrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsCompanyEmployee: - "tracking_categories,applied_vendor_credits,company,employee", - TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,applied_vendor_credits,company,payment_term", - TrackingCategoriesAppliedVendorCreditsContact: "tracking_categories,applied_vendor_credits,contact", - TrackingCategoriesAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompany: "tracking_categories,applied_vendor_credits,contact,company", - TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,applied_vendor_credits,contact,company,employee", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesAppliedVendorCreditsContactEmployee: - "tracking_categories,applied_vendor_credits,contact,employee", - TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,applied_vendor_credits,contact,payment_term", - TrackingCategoriesAppliedVendorCreditsEmployee: "tracking_categories,applied_vendor_credits,employee", - TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,applied_vendor_credits,employee,payment_term", - TrackingCategoriesAppliedVendorCreditsPaymentTerm: "tracking_categories,applied_vendor_credits,payment_term", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyAccountingPeriodPaymentTerm: "tracking_categories,company,accounting_period,payment_term", - TrackingCategoriesCompanyEmployee: "tracking_categories,company,employee", - TrackingCategoriesCompanyEmployeeAccountingPeriod: "tracking_categories,company,employee,accounting_period", - TrackingCategoriesCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,company,employee,accounting_period,payment_term", - TrackingCategoriesCompanyEmployeePaymentTerm: "tracking_categories,company,employee,payment_term", - TrackingCategoriesCompanyPaymentTerm: "tracking_categories,company,payment_term", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactAccountingPeriodPaymentTerm: "tracking_categories,contact,accounting_period,payment_term", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", - TrackingCategoriesContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,contact,company,accounting_period,payment_term", - TrackingCategoriesContactCompanyEmployee: "tracking_categories,contact,company,employee", - TrackingCategoriesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,contact,company,employee,accounting_period", - TrackingCategoriesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesContactCompanyEmployeePaymentTerm: "tracking_categories,contact,company,employee,payment_term", - TrackingCategoriesContactCompanyPaymentTerm: "tracking_categories,contact,company,payment_term", - TrackingCategoriesContactEmployee: "tracking_categories,contact,employee", - TrackingCategoriesContactEmployeeAccountingPeriod: "tracking_categories,contact,employee,accounting_period", - TrackingCategoriesContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,contact,employee,accounting_period,payment_term", - TrackingCategoriesContactEmployeePaymentTerm: "tracking_categories,contact,employee,payment_term", - TrackingCategoriesContactPaymentTerm: "tracking_categories,contact,payment_term", - TrackingCategoriesEmployee: "tracking_categories,employee", - TrackingCategoriesEmployeeAccountingPeriod: "tracking_categories,employee,accounting_period", - TrackingCategoriesEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,employee,accounting_period,payment_term", - TrackingCategoriesEmployeePaymentTerm: "tracking_categories,employee,payment_term", - TrackingCategoriesPaymentTerm: "tracking_categories,payment_term", - TrackingCategoriesPurchaseOrders: "tracking_categories,purchase_orders", - TrackingCategoriesPurchaseOrdersAccountingPeriod: "tracking_categories,purchase_orders,accounting_period", - TrackingCategoriesPurchaseOrdersAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotes: "tracking_categories,purchase_orders,applied_credit_notes", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany: - "tracking_categories,purchase_orders,applied_credit_notes,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContact: - "tracking_categories,purchase_orders,applied_credit_notes,contact", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesContactPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee: - "tracking_categories,purchase_orders,applied_credit_notes,employee", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedCreditNotesPaymentTerm: - "tracking_categories,purchase_orders,applied_credit_notes,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCredits: "tracking_categories,purchase_orders,applied_vendor_credits", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany: - "tracking_categories,purchase_orders,applied_vendor_credits,company", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact: - "tracking_categories,purchase_orders,applied_vendor_credits,contact", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee: - "tracking_categories,purchase_orders,applied_vendor_credits,employee", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeePaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - TrackingCategoriesPurchaseOrdersAppliedVendorCreditsPaymentTerm: - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - TrackingCategoriesPurchaseOrdersCompany: "tracking_categories,purchase_orders,company", - TrackingCategoriesPurchaseOrdersCompanyAccountingPeriod: - "tracking_categories,purchase_orders,company,accounting_period", - TrackingCategoriesPurchaseOrdersCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersCompanyEmployee: "tracking_categories,purchase_orders,company,employee", - TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersCompanyPaymentTerm: "tracking_categories,purchase_orders,company,payment_term", - TrackingCategoriesPurchaseOrdersContact: "tracking_categories,purchase_orders,contact", - TrackingCategoriesPurchaseOrdersContactAccountingPeriod: - "tracking_categories,purchase_orders,contact,accounting_period", - TrackingCategoriesPurchaseOrdersContactAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactCompany: "tracking_categories,purchase_orders,contact,company", - TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod: - "tracking_categories,purchase_orders,contact,company,accounting_period", - TrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactCompanyEmployee: - "tracking_categories,purchase_orders,contact,company,employee", - TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,contact,company,employee,accounting_period", - TrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactCompanyEmployeePaymentTerm: - "tracking_categories,purchase_orders,contact,company,employee,payment_term", - TrackingCategoriesPurchaseOrdersContactCompanyPaymentTerm: - "tracking_categories,purchase_orders,contact,company,payment_term", - TrackingCategoriesPurchaseOrdersContactEmployee: "tracking_categories,purchase_orders,contact,employee", - TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,contact,employee,accounting_period", - TrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersContactEmployeePaymentTerm: - "tracking_categories,purchase_orders,contact,employee,payment_term", - TrackingCategoriesPurchaseOrdersContactPaymentTerm: "tracking_categories,purchase_orders,contact,payment_term", - TrackingCategoriesPurchaseOrdersEmployee: "tracking_categories,purchase_orders,employee", - TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod: - "tracking_categories,purchase_orders,employee,accounting_period", - TrackingCategoriesPurchaseOrdersEmployeeAccountingPeriodPaymentTerm: - "tracking_categories,purchase_orders,employee,accounting_period,payment_term", - TrackingCategoriesPurchaseOrdersEmployeePaymentTerm: "tracking_categories,purchase_orders,employee,payment_term", - TrackingCategoriesPurchaseOrdersPaymentTerm: "tracking_categories,purchase_orders,payment_term", -} as const; -export type InvoicesRetrieveRequestExpand = - (typeof InvoicesRetrieveRequestExpand)[keyof typeof InvoicesRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..791c9221f --- /dev/null +++ b/src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts @@ -0,0 +1,18 @@ +// This file was auto-generated by Fern from our API Definition. + +export const InvoicesRetrieveRequestExpandItem = { + AccountingPeriod: "accounting_period", + AppliedCreditNotes: "applied_credit_notes", + AppliedPayments: "applied_payments", + AppliedVendorCredits: "applied_vendor_credits", + Company: "company", + Contact: "contact", + Employee: "employee", + LineItems: "line_items", + PaymentTerm: "payment_term", + Payments: "payments", + PurchaseOrders: "purchase_orders", + TrackingCategories: "tracking_categories", +} as const; +export type InvoicesRetrieveRequestExpandItem = + (typeof InvoicesRetrieveRequestExpandItem)[keyof typeof InvoicesRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/invoices/types/index.ts b/src/api/resources/accounting/resources/invoices/types/index.ts index 6066a0bb6..35fff0ee5 100644 --- a/src/api/resources/accounting/resources/invoices/types/index.ts +++ b/src/api/resources/accounting/resources/invoices/types/index.ts @@ -1,4 +1,4 @@ -export * from "./InvoicesListRequestExpand"; +export * from "./InvoicesListRequestExpandItem"; export * from "./InvoicesListRequestStatus"; export * from "./InvoicesListRequestType"; -export * from "./InvoicesRetrieveRequestExpand"; +export * from "./InvoicesRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/issues/client/Client.ts b/src/api/resources/accounting/resources/issues/client/Client.ts index 5ff77e394..073e3a212 100644 --- a/src/api/resources/accounting/resources/issues/client/Client.ts +++ b/src/api/resources/accounting/resources/issues/client/Client.ts @@ -47,99 +47,109 @@ export class IssuesClient { * status: "ONGOING" * }) */ - public list( + public async list( request: Merge.accounting.IssuesListRequest = {}, requestOptions?: IssuesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.IssuesListRequest = {}, - requestOptions?: IssuesClient.RequestOptions, - ): Promise> { - const { - accountToken, - cursor, - endDate, - endUserOrganizationName, - firstIncidentTimeAfter, - firstIncidentTimeBefore, - includeMuted, - integrationName, - lastIncidentTimeAfter, - lastIncidentTimeBefore, - linkedAccountId, - pageSize, - startDate, - status, - } = request; - const _queryParams: Record = { - account_token: accountToken, - cursor, - end_date: endDate, - end_user_organization_name: endUserOrganizationName, - first_incident_time_after: firstIncidentTimeAfter?.toISOString(), - first_incident_time_before: firstIncidentTimeBefore?.toISOString(), - include_muted: includeMuted, - integration_name: integrationName, - last_incident_time_after: lastIncidentTimeAfter?.toISOString(), - last_incident_time_before: lastIncidentTimeBefore?.toISOString(), - linked_account_id: linkedAccountId, - page_size: pageSize, - start_date: startDate, - status: - status != null - ? serializers.accounting.IssuesListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.IssuesListRequest, + ): Promise> => { + const { + accountToken, + cursor, + endDate, + endUserOrganizationName, + firstIncidentTimeAfter, + firstIncidentTimeBefore, + includeMuted, + integrationName, + lastIncidentTimeAfter, + lastIncidentTimeBefore, + linkedAccountId, + pageSize, + startDate, + status, + } = request; + const _queryParams: Record = { + account_token: accountToken, + cursor, + end_date: endDate, + end_user_organization_name: endUserOrganizationName, + first_incident_time_after: firstIncidentTimeAfter?.toISOString(), + first_incident_time_before: firstIncidentTimeBefore?.toISOString(), + include_muted: includeMuted, + integration_name: integrationName, + last_incident_time_after: lastIncidentTimeAfter?.toISOString(), + last_incident_time_before: lastIncidentTimeBefore?.toISOString(), + linked_account_id: linkedAccountId, + page_size: pageSize, + start_date: startDate, + status: + status != null + ? serializers.accounting.IssuesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/issues", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedIssueList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/issues"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/issues", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedIssueList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/issues"); } /** diff --git a/src/api/resources/accounting/resources/items/client/Client.ts b/src/api/resources/accounting/resources/items/client/Client.ts index a19022648..42cf59e54 100644 --- a/src/api/resources/accounting/resources/items/client/Client.ts +++ b/src/api/resources/accounting/resources/items/client/Client.ts @@ -35,7 +35,6 @@ export class ItemsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,99 +46,114 @@ export class ItemsClient { * showEnumOrigins: "status" * }) */ - public list( + public async list( request: Merge.accounting.ItemsListRequest = {}, requestOptions?: ItemsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.ItemsListRequest = {}, - requestOptions?: ItemsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.ItemsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.ItemsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ItemsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.ItemsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/items", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedItemList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/items"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/items", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedItemList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/items"); } /** @@ -230,7 +244,6 @@ export class ItemsClient { * * @example * await client.accounting.items.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -252,12 +265,17 @@ export class ItemsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.ItemsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ItemsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.ItemsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts b/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts index d9e0451f7..7cd6cf186 100644 --- a/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts +++ b/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -31,7 +30,7 @@ export interface ItemsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ItemsListRequestExpand; + expand?: Merge.accounting.ItemsListRequestExpandItem | Merge.accounting.ItemsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts b/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts index a675f786f..046f22ccd 100644 --- a/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface ItemsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ItemsRetrieveRequestExpand; + expand?: Merge.accounting.ItemsRetrieveRequestExpandItem | Merge.accounting.ItemsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/items/types/ItemsListRequestExpand.ts b/src/api/resources/accounting/resources/items/types/ItemsListRequestExpand.ts deleted file mode 100644 index 1fe87cca8..000000000 --- a/src/api/resources/accounting/resources/items/types/ItemsListRequestExpand.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ItemsListRequestExpand = { - Company: "company", - CompanyPurchaseTaxRate: "company,purchase_tax_rate", - CompanySalesTaxRate: "company,sales_tax_rate", - CompanySalesTaxRatePurchaseTaxRate: "company,sales_tax_rate,purchase_tax_rate", - PurchaseAccount: "purchase_account", - PurchaseAccountCompany: "purchase_account,company", - PurchaseAccountCompanyPurchaseTaxRate: "purchase_account,company,purchase_tax_rate", - PurchaseAccountCompanySalesTaxRate: "purchase_account,company,sales_tax_rate", - PurchaseAccountCompanySalesTaxRatePurchaseTaxRate: "purchase_account,company,sales_tax_rate,purchase_tax_rate", - PurchaseAccountPurchaseTaxRate: "purchase_account,purchase_tax_rate", - PurchaseAccountSalesAccount: "purchase_account,sales_account", - PurchaseAccountSalesAccountCompany: "purchase_account,sales_account,company", - PurchaseAccountSalesAccountCompanyPurchaseTaxRate: "purchase_account,sales_account,company,purchase_tax_rate", - PurchaseAccountSalesAccountCompanySalesTaxRate: "purchase_account,sales_account,company,sales_tax_rate", - PurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate: - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate", - PurchaseAccountSalesAccountPurchaseTaxRate: "purchase_account,sales_account,purchase_tax_rate", - PurchaseAccountSalesAccountSalesTaxRate: "purchase_account,sales_account,sales_tax_rate", - PurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate: - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate", - PurchaseAccountSalesTaxRate: "purchase_account,sales_tax_rate", - PurchaseAccountSalesTaxRatePurchaseTaxRate: "purchase_account,sales_tax_rate,purchase_tax_rate", - PurchaseTaxRate: "purchase_tax_rate", - SalesAccount: "sales_account", - SalesAccountCompany: "sales_account,company", - SalesAccountCompanyPurchaseTaxRate: "sales_account,company,purchase_tax_rate", - SalesAccountCompanySalesTaxRate: "sales_account,company,sales_tax_rate", - SalesAccountCompanySalesTaxRatePurchaseTaxRate: "sales_account,company,sales_tax_rate,purchase_tax_rate", - SalesAccountPurchaseTaxRate: "sales_account,purchase_tax_rate", - SalesAccountSalesTaxRate: "sales_account,sales_tax_rate", - SalesAccountSalesTaxRatePurchaseTaxRate: "sales_account,sales_tax_rate,purchase_tax_rate", - SalesTaxRate: "sales_tax_rate", - SalesTaxRatePurchaseTaxRate: "sales_tax_rate,purchase_tax_rate", -} as const; -export type ItemsListRequestExpand = (typeof ItemsListRequestExpand)[keyof typeof ItemsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts b/src/api/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts new file mode 100644 index 000000000..a0f2fd6af --- /dev/null +++ b/src/api/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ItemsListRequestExpandItem = { + Company: "company", + PurchaseAccount: "purchase_account", + PurchaseTaxRate: "purchase_tax_rate", + SalesAccount: "sales_account", + SalesTaxRate: "sales_tax_rate", +} as const; +export type ItemsListRequestExpandItem = (typeof ItemsListRequestExpandItem)[keyof typeof ItemsListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts deleted file mode 100644 index 916602479..000000000 --- a/src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ItemsRetrieveRequestExpand = { - Company: "company", - CompanyPurchaseTaxRate: "company,purchase_tax_rate", - CompanySalesTaxRate: "company,sales_tax_rate", - CompanySalesTaxRatePurchaseTaxRate: "company,sales_tax_rate,purchase_tax_rate", - PurchaseAccount: "purchase_account", - PurchaseAccountCompany: "purchase_account,company", - PurchaseAccountCompanyPurchaseTaxRate: "purchase_account,company,purchase_tax_rate", - PurchaseAccountCompanySalesTaxRate: "purchase_account,company,sales_tax_rate", - PurchaseAccountCompanySalesTaxRatePurchaseTaxRate: "purchase_account,company,sales_tax_rate,purchase_tax_rate", - PurchaseAccountPurchaseTaxRate: "purchase_account,purchase_tax_rate", - PurchaseAccountSalesAccount: "purchase_account,sales_account", - PurchaseAccountSalesAccountCompany: "purchase_account,sales_account,company", - PurchaseAccountSalesAccountCompanyPurchaseTaxRate: "purchase_account,sales_account,company,purchase_tax_rate", - PurchaseAccountSalesAccountCompanySalesTaxRate: "purchase_account,sales_account,company,sales_tax_rate", - PurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate: - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate", - PurchaseAccountSalesAccountPurchaseTaxRate: "purchase_account,sales_account,purchase_tax_rate", - PurchaseAccountSalesAccountSalesTaxRate: "purchase_account,sales_account,sales_tax_rate", - PurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate: - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate", - PurchaseAccountSalesTaxRate: "purchase_account,sales_tax_rate", - PurchaseAccountSalesTaxRatePurchaseTaxRate: "purchase_account,sales_tax_rate,purchase_tax_rate", - PurchaseTaxRate: "purchase_tax_rate", - SalesAccount: "sales_account", - SalesAccountCompany: "sales_account,company", - SalesAccountCompanyPurchaseTaxRate: "sales_account,company,purchase_tax_rate", - SalesAccountCompanySalesTaxRate: "sales_account,company,sales_tax_rate", - SalesAccountCompanySalesTaxRatePurchaseTaxRate: "sales_account,company,sales_tax_rate,purchase_tax_rate", - SalesAccountPurchaseTaxRate: "sales_account,purchase_tax_rate", - SalesAccountSalesTaxRate: "sales_account,sales_tax_rate", - SalesAccountSalesTaxRatePurchaseTaxRate: "sales_account,sales_tax_rate,purchase_tax_rate", - SalesTaxRate: "sales_tax_rate", - SalesTaxRatePurchaseTaxRate: "sales_tax_rate,purchase_tax_rate", -} as const; -export type ItemsRetrieveRequestExpand = (typeof ItemsRetrieveRequestExpand)[keyof typeof ItemsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..2d85b7389 --- /dev/null +++ b/src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ItemsRetrieveRequestExpandItem = { + Company: "company", + PurchaseAccount: "purchase_account", + PurchaseTaxRate: "purchase_tax_rate", + SalesAccount: "sales_account", + SalesTaxRate: "sales_tax_rate", +} as const; +export type ItemsRetrieveRequestExpandItem = + (typeof ItemsRetrieveRequestExpandItem)[keyof typeof ItemsRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/items/types/index.ts b/src/api/resources/accounting/resources/items/types/index.ts index 2d4c475ae..0abd34ea4 100644 --- a/src/api/resources/accounting/resources/items/types/index.ts +++ b/src/api/resources/accounting/resources/items/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ItemsListRequestExpand"; -export * from "./ItemsRetrieveRequestExpand"; +export * from "./ItemsListRequestExpandItem"; +export * from "./ItemsRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/journalEntries/client/Client.ts b/src/api/resources/accounting/resources/journalEntries/client/Client.ts index abea0e10b..45d114bfb 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/Client.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/Client.ts @@ -35,7 +35,6 @@ export class JournalEntriesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -48,106 +47,121 @@ export class JournalEntriesClient { * transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.accounting.JournalEntriesListRequest = {}, requestOptions?: JournalEntriesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.JournalEntriesListRequest = {}, - requestOptions?: JournalEntriesClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - transactionDateAfter, - transactionDateBefore, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.JournalEntriesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - transaction_date_after: transactionDateAfter?.toISOString(), - transaction_date_before: transactionDateBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.JournalEntriesListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + transactionDateAfter, + transactionDateBefore, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.JournalEntriesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.JournalEntriesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + transaction_date_after: transactionDateAfter?.toISOString(), + transaction_date_before: transactionDateBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/journal-entries", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedJournalEntryList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/journal-entries", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/journal-entries", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedJournalEntryList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/journal-entries", - ); } /** @@ -245,7 +259,6 @@ export class JournalEntriesClient { * * @example * await client.accounting.journalEntries.retrieve("id", { - * expand: "accounting_period", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -266,12 +279,17 @@ export class JournalEntriesClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.JournalEntriesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.JournalEntriesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.JournalEntriesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -345,85 +363,95 @@ export class JournalEntriesClient { * pageSize: 1 * }) */ - public linesRemoteFieldClassesList( + public async linesRemoteFieldClassesList( request: Merge.accounting.JournalEntriesLinesRemoteFieldClassesListRequest = {}, requestOptions?: JournalEntriesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__linesRemoteFieldClassesList(request, requestOptions)); - } - - private async __linesRemoteFieldClassesList( - request: Merge.accounting.JournalEntriesLinesRemoteFieldClassesListRequest = {}, - requestOptions?: JournalEntriesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.JournalEntriesLinesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/journal-entries/lines/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/journal-entries/lines/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/journal-entries/lines/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/journal-entries/lines/remote-field-classes", - ); } /** @@ -512,84 +540,94 @@ export class JournalEntriesClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( - request: Merge.accounting.JournalEntriesRemoteFieldClassesListRequest = {}, - requestOptions?: JournalEntriesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.accounting.JournalEntriesRemoteFieldClassesListRequest = {}, requestOptions?: JournalEntriesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.JournalEntriesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/journal-entries/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/journal-entries/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/journal-entries/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/journal-entries/remote-field-classes", - ); } } diff --git a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts index 29d32ceca..45b76285f 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -32,7 +31,9 @@ export interface JournalEntriesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.JournalEntriesListRequestExpand; + expand?: + | Merge.accounting.JournalEntriesListRequestExpandItem + | Merge.accounting.JournalEntriesListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts index 72fd451b6..51c99a421 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "accounting_period", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,9 @@ import type * as Merge from "../../../../../../index"; */ export interface JournalEntriesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.JournalEntriesRetrieveRequestExpand; + expand?: + | Merge.accounting.JournalEntriesRetrieveRequestExpandItem + | Merge.accounting.JournalEntriesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts deleted file mode 100644 index ee9c04ad6..000000000 --- a/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts +++ /dev/null @@ -1,78 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const JournalEntriesListRequestExpand = { - AccountingPeriod: "accounting_period", - AppliedPayments: "applied_payments", - AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period", - AppliedPaymentsCompany: "applied_payments,company", - AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period", - AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories", - AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period", - AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,tracking_categories,company,accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Lines: "lines", - LinesAccountingPeriod: "lines,accounting_period", - LinesAppliedPayments: "lines,applied_payments", - LinesAppliedPaymentsAccountingPeriod: "lines,applied_payments,accounting_period", - LinesAppliedPaymentsCompany: "lines,applied_payments,company", - LinesAppliedPaymentsCompanyAccountingPeriod: "lines,applied_payments,company,accounting_period", - LinesAppliedPaymentsTrackingCategories: "lines,applied_payments,tracking_categories", - LinesAppliedPaymentsTrackingCategoriesAccountingPeriod: - "lines,applied_payments,tracking_categories,accounting_period", - LinesAppliedPaymentsTrackingCategoriesCompany: "lines,applied_payments,tracking_categories,company", - LinesAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "lines,applied_payments,tracking_categories,company,accounting_period", - LinesCompany: "lines,company", - LinesCompanyAccountingPeriod: "lines,company,accounting_period", - LinesPayments: "lines,payments", - LinesPaymentsAccountingPeriod: "lines,payments,accounting_period", - LinesPaymentsAppliedPayments: "lines,payments,applied_payments", - LinesPaymentsAppliedPaymentsAccountingPeriod: "lines,payments,applied_payments,accounting_period", - LinesPaymentsAppliedPaymentsCompany: "lines,payments,applied_payments,company", - LinesPaymentsAppliedPaymentsCompanyAccountingPeriod: "lines,payments,applied_payments,company,accounting_period", - LinesPaymentsAppliedPaymentsTrackingCategories: "lines,payments,applied_payments,tracking_categories", - LinesPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "lines,payments,applied_payments,tracking_categories,accounting_period", - LinesPaymentsAppliedPaymentsTrackingCategoriesCompany: - "lines,payments,applied_payments,tracking_categories,company", - LinesPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "lines,payments,applied_payments,tracking_categories,company,accounting_period", - LinesPaymentsCompany: "lines,payments,company", - LinesPaymentsCompanyAccountingPeriod: "lines,payments,company,accounting_period", - LinesPaymentsTrackingCategories: "lines,payments,tracking_categories", - LinesPaymentsTrackingCategoriesAccountingPeriod: "lines,payments,tracking_categories,accounting_period", - LinesPaymentsTrackingCategoriesCompany: "lines,payments,tracking_categories,company", - LinesPaymentsTrackingCategoriesCompanyAccountingPeriod: - "lines,payments,tracking_categories,company,accounting_period", - LinesTrackingCategories: "lines,tracking_categories", - LinesTrackingCategoriesAccountingPeriod: "lines,tracking_categories,accounting_period", - LinesTrackingCategoriesCompany: "lines,tracking_categories,company", - LinesTrackingCategoriesCompanyAccountingPeriod: "lines,tracking_categories,company,accounting_period", - Payments: "payments", - PaymentsAccountingPeriod: "payments,accounting_period", - PaymentsAppliedPayments: "payments,applied_payments", - PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period", - PaymentsAppliedPaymentsCompany: "payments,applied_payments,company", - PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,tracking_categories,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,company,accounting_period", - PaymentsCompany: "payments,company", - PaymentsCompanyAccountingPeriod: "payments,company,accounting_period", - PaymentsTrackingCategories: "payments,tracking_categories", - PaymentsTrackingCategoriesAccountingPeriod: "payments,tracking_categories,accounting_period", - PaymentsTrackingCategoriesCompany: "payments,tracking_categories,company", - PaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,tracking_categories,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", -} as const; -export type JournalEntriesListRequestExpand = - (typeof JournalEntriesListRequestExpand)[keyof typeof JournalEntriesListRequestExpand]; diff --git a/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts new file mode 100644 index 000000000..87f7cf35e --- /dev/null +++ b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts @@ -0,0 +1,12 @@ +// This file was auto-generated by Fern from our API Definition. + +export const JournalEntriesListRequestExpandItem = { + AccountingPeriod: "accounting_period", + AppliedPayments: "applied_payments", + Company: "company", + Lines: "lines", + Payments: "payments", + TrackingCategories: "tracking_categories", +} as const; +export type JournalEntriesListRequestExpandItem = + (typeof JournalEntriesListRequestExpandItem)[keyof typeof JournalEntriesListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts deleted file mode 100644 index fb3e356c5..000000000 --- a/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts +++ /dev/null @@ -1,78 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const JournalEntriesRetrieveRequestExpand = { - AccountingPeriod: "accounting_period", - AppliedPayments: "applied_payments", - AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period", - AppliedPaymentsCompany: "applied_payments,company", - AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period", - AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories", - AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period", - AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company", - AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "applied_payments,tracking_categories,company,accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Lines: "lines", - LinesAccountingPeriod: "lines,accounting_period", - LinesAppliedPayments: "lines,applied_payments", - LinesAppliedPaymentsAccountingPeriod: "lines,applied_payments,accounting_period", - LinesAppliedPaymentsCompany: "lines,applied_payments,company", - LinesAppliedPaymentsCompanyAccountingPeriod: "lines,applied_payments,company,accounting_period", - LinesAppliedPaymentsTrackingCategories: "lines,applied_payments,tracking_categories", - LinesAppliedPaymentsTrackingCategoriesAccountingPeriod: - "lines,applied_payments,tracking_categories,accounting_period", - LinesAppliedPaymentsTrackingCategoriesCompany: "lines,applied_payments,tracking_categories,company", - LinesAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "lines,applied_payments,tracking_categories,company,accounting_period", - LinesCompany: "lines,company", - LinesCompanyAccountingPeriod: "lines,company,accounting_period", - LinesPayments: "lines,payments", - LinesPaymentsAccountingPeriod: "lines,payments,accounting_period", - LinesPaymentsAppliedPayments: "lines,payments,applied_payments", - LinesPaymentsAppliedPaymentsAccountingPeriod: "lines,payments,applied_payments,accounting_period", - LinesPaymentsAppliedPaymentsCompany: "lines,payments,applied_payments,company", - LinesPaymentsAppliedPaymentsCompanyAccountingPeriod: "lines,payments,applied_payments,company,accounting_period", - LinesPaymentsAppliedPaymentsTrackingCategories: "lines,payments,applied_payments,tracking_categories", - LinesPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "lines,payments,applied_payments,tracking_categories,accounting_period", - LinesPaymentsAppliedPaymentsTrackingCategoriesCompany: - "lines,payments,applied_payments,tracking_categories,company", - LinesPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "lines,payments,applied_payments,tracking_categories,company,accounting_period", - LinesPaymentsCompany: "lines,payments,company", - LinesPaymentsCompanyAccountingPeriod: "lines,payments,company,accounting_period", - LinesPaymentsTrackingCategories: "lines,payments,tracking_categories", - LinesPaymentsTrackingCategoriesAccountingPeriod: "lines,payments,tracking_categories,accounting_period", - LinesPaymentsTrackingCategoriesCompany: "lines,payments,tracking_categories,company", - LinesPaymentsTrackingCategoriesCompanyAccountingPeriod: - "lines,payments,tracking_categories,company,accounting_period", - LinesTrackingCategories: "lines,tracking_categories", - LinesTrackingCategoriesAccountingPeriod: "lines,tracking_categories,accounting_period", - LinesTrackingCategoriesCompany: "lines,tracking_categories,company", - LinesTrackingCategoriesCompanyAccountingPeriod: "lines,tracking_categories,company,accounting_period", - Payments: "payments", - PaymentsAccountingPeriod: "payments,accounting_period", - PaymentsAppliedPayments: "payments,applied_payments", - PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period", - PaymentsAppliedPaymentsCompany: "payments,applied_payments,company", - PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period", - PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories", - PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: - "payments,applied_payments,tracking_categories,accounting_period", - PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company", - PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: - "payments,applied_payments,tracking_categories,company,accounting_period", - PaymentsCompany: "payments,company", - PaymentsCompanyAccountingPeriod: "payments,company,accounting_period", - PaymentsTrackingCategories: "payments,tracking_categories", - PaymentsTrackingCategoriesAccountingPeriod: "payments,tracking_categories,accounting_period", - PaymentsTrackingCategoriesCompany: "payments,tracking_categories,company", - PaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,tracking_categories,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", -} as const; -export type JournalEntriesRetrieveRequestExpand = - (typeof JournalEntriesRetrieveRequestExpand)[keyof typeof JournalEntriesRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..8447b2964 --- /dev/null +++ b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts @@ -0,0 +1,12 @@ +// This file was auto-generated by Fern from our API Definition. + +export const JournalEntriesRetrieveRequestExpandItem = { + AccountingPeriod: "accounting_period", + AppliedPayments: "applied_payments", + Company: "company", + Lines: "lines", + Payments: "payments", + TrackingCategories: "tracking_categories", +} as const; +export type JournalEntriesRetrieveRequestExpandItem = + (typeof JournalEntriesRetrieveRequestExpandItem)[keyof typeof JournalEntriesRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/journalEntries/types/index.ts b/src/api/resources/accounting/resources/journalEntries/types/index.ts index d0572d020..e01457a2a 100644 --- a/src/api/resources/accounting/resources/journalEntries/types/index.ts +++ b/src/api/resources/accounting/resources/journalEntries/types/index.ts @@ -1,2 +1,2 @@ -export * from "./JournalEntriesListRequestExpand"; -export * from "./JournalEntriesRetrieveRequestExpand"; +export * from "./JournalEntriesListRequestExpandItem"; +export * from "./JournalEntriesRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts b/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts index 8e681524d..389b3ebf5 100644 --- a/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts @@ -46,101 +46,119 @@ export class LinkedAccountsClient { * status: "status" * }) */ - public list( + public async list( request: Merge.accounting.LinkedAccountsListRequest = {}, requestOptions?: LinkedAccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.LinkedAccountsListRequest = {}, - requestOptions?: LinkedAccountsClient.RequestOptions, - ): Promise> { - const { - category, - cursor, - endUserEmailAddress, - endUserOrganizationName, - endUserOriginId, - endUserOriginIds, - id, - ids, - includeDuplicates, - integrationName, - isTestAccount, - pageSize, - status, - } = request; - const _queryParams: Record = { - category: - category != null - ? serializers.accounting.LinkedAccountsListRequestCategory.jsonOrThrow(category, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - cursor, - end_user_email_address: endUserEmailAddress, - end_user_organization_name: endUserOrganizationName, - end_user_origin_id: endUserOriginId, - end_user_origin_ids: endUserOriginIds, - id, - ids, - include_duplicates: includeDuplicates, - integration_name: integrationName, - is_test_account: isTestAccount, - page_size: pageSize, - status, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise< + core.Page + > { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.LinkedAccountsListRequest, + ): Promise> => { + const { + category, + cursor, + endUserEmailAddress, + endUserOrganizationName, + endUserOriginId, + endUserOriginIds, + id, + ids, + includeDuplicates, + integrationName, + isTestAccount, + pageSize, + status, + } = request; + const _queryParams: Record = { + category: + category != null + ? serializers.accounting.LinkedAccountsListRequestCategory.jsonOrThrow(category, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + cursor, + end_user_email_address: endUserEmailAddress, + end_user_organization_name: endUserOrganizationName, + end_user_origin_id: endUserOriginId, + end_user_origin_ids: endUserOriginIds, + id, + ids, + include_duplicates: includeDuplicates, + integration_name: integrationName, + is_test_account: isTestAccount, + page_size: pageSize, + status, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/linked-accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedAccountDetailsAndActionsList.parseOrThrow( + _response.body, + { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }, + ), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/linked-accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/linked-accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page< + Merge.accounting.AccountDetailsAndActions, + Merge.accounting.PaginatedAccountDetailsAndActionsList + >({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/linked-accounts", - ); } } diff --git a/src/api/resources/accounting/resources/paymentMethods/client/Client.ts b/src/api/resources/accounting/resources/paymentMethods/client/Client.ts index 718a2415c..880d9b19a 100644 --- a/src/api/resources/accounting/resources/paymentMethods/client/Client.ts +++ b/src/api/resources/accounting/resources/paymentMethods/client/Client.ts @@ -38,75 +38,85 @@ export class PaymentMethodsClient { * pageSize: 1 * }) */ - public list( + public async list( request: Merge.accounting.PaymentMethodsListRequest = {}, requestOptions?: PaymentMethodsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.PaymentMethodsListRequest = {}, - requestOptions?: PaymentMethodsClient.RequestOptions, - ): Promise> { - const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PaymentMethodsListRequest, + ): Promise> => { + const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/payment-methods", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedPaymentMethodList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/payment-methods", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/payment-methods", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedPaymentMethodList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/payment-methods", - ); } /** diff --git a/src/api/resources/accounting/resources/paymentTerms/client/Client.ts b/src/api/resources/accounting/resources/paymentTerms/client/Client.ts index 35bf5c61c..30eabd157 100644 --- a/src/api/resources/accounting/resources/paymentTerms/client/Client.ts +++ b/src/api/resources/accounting/resources/paymentTerms/client/Client.ts @@ -32,78 +32,92 @@ export class PaymentTermsClient { * @example * await client.accounting.paymentTerms.list({ * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, * pageSize: 1 * }) */ - public list( + public async list( request: Merge.accounting.PaymentTermsListRequest = {}, requestOptions?: PaymentTermsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.PaymentTermsListRequest = {}, - requestOptions?: PaymentTermsClient.RequestOptions, - ): Promise> { - const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PaymentTermsListRequest, + ): Promise> => { + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/payment-terms", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedPaymentTermList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/payment-terms", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/payment-terms", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedPaymentTermList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/payment-terms"); } /** @@ -115,7 +129,6 @@ export class PaymentTermsClient { * * @example * await client.accounting.paymentTerms.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true * }) @@ -135,7 +148,7 @@ export class PaymentTermsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.ts b/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.ts index b4968983b..71639d16a 100644 --- a/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.ts +++ b/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.ts @@ -4,7 +4,6 @@ * @example * { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -15,7 +14,7 @@ export interface PaymentTermsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.ts b/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.ts index a44bdfc42..67afabc28 100644 --- a/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true * } */ export interface PaymentTermsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/payments/client/Client.ts b/src/api/resources/accounting/resources/payments/client/Client.ts index ab923504e..9ac011aab 100644 --- a/src/api/resources/accounting/resources/payments/client/Client.ts +++ b/src/api/resources/accounting/resources/payments/client/Client.ts @@ -37,7 +37,6 @@ export class PaymentsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -50,105 +49,125 @@ export class PaymentsClient { * transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.accounting.PaymentsListRequest = {}, requestOptions?: PaymentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.PaymentsListRequest = {}, - requestOptions?: PaymentsClient.RequestOptions, - ): Promise> { - const { - accountId, - companyId, - contactId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - transactionDateAfter, - transactionDateBefore, - } = request; - const _queryParams: Record = { - account_id: accountId, - company_id: companyId, - contact_id: contactId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.PaymentsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - transaction_date_after: transactionDateAfter?.toISOString(), - transaction_date_before: transactionDateBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PaymentsListRequest, + ): Promise> => { + const { + accountId, + companyId, + contactId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + transactionDateAfter, + transactionDateBefore, + } = request; + const _queryParams: Record = { + account_id: accountId, + company_id: companyId, + contact_id: contactId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.PaymentsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.PaymentsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + transaction_date_after: transactionDateAfter?.toISOString(), + transaction_date_before: transactionDateBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/payments", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedPaymentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/payments", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/payments", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedPaymentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/payments"); } /** @@ -239,7 +258,6 @@ export class PaymentsClient { * * @example * await client.accounting.payments.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -260,12 +278,17 @@ export class PaymentsClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.PaymentsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.PaymentsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.PaymentsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -423,85 +446,95 @@ export class PaymentsClient { * pageSize: 1 * }) */ - public lineItemsRemoteFieldClassesList( - request: Merge.accounting.PaymentsLineItemsRemoteFieldClassesListRequest = {}, - requestOptions?: PaymentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__lineItemsRemoteFieldClassesList(request, requestOptions)); - } - - private async __lineItemsRemoteFieldClassesList( + public async lineItemsRemoteFieldClassesList( request: Merge.accounting.PaymentsLineItemsRemoteFieldClassesListRequest = {}, requestOptions?: PaymentsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PaymentsLineItemsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/payments/line-items/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/payments/line-items/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/payments/line-items/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/payments/line-items/remote-field-classes", - ); } /** @@ -662,84 +695,94 @@ export class PaymentsClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.accounting.PaymentsRemoteFieldClassesListRequest = {}, requestOptions?: PaymentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.accounting.PaymentsRemoteFieldClassesListRequest = {}, - requestOptions?: PaymentsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PaymentsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/payments/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/payments/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/payments/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/payments/remote-field-classes", - ); } } diff --git a/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts b/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts index fde75fdae..752fa7136 100644 --- a/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts +++ b/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts @@ -11,7 +11,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -38,7 +37,7 @@ export interface PaymentsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.PaymentsListRequestExpand; + expand?: Merge.accounting.PaymentsListRequestExpandItem | Merge.accounting.PaymentsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts b/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts index 871f2743b..c300c0309 100644 --- a/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,7 @@ import type * as Merge from "../../../../../../index"; */ export interface PaymentsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.PaymentsRetrieveRequestExpand; + expand?: Merge.accounting.PaymentsRetrieveRequestExpandItem | Merge.accounting.PaymentsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts b/src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts deleted file mode 100644 index 250d09c52..000000000 --- a/src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts +++ /dev/null @@ -1,164 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const PaymentsListRequestExpand = { - Account: "account", - AccountAccountingPeriod: "account,accounting_period", - AccountAccountingPeriodPaymentMethod: "account,accounting_period,payment_method", - AccountCompany: "account,company", - AccountCompanyAccountingPeriod: "account,company,accounting_period", - AccountCompanyAccountingPeriodPaymentMethod: "account,company,accounting_period,payment_method", - AccountCompanyPaymentMethod: "account,company,payment_method", - AccountPaymentMethod: "account,payment_method", - AccountingPeriod: "accounting_period", - AccountingPeriodPaymentMethod: "accounting_period,payment_method", - AppliedToLines: "applied_to_lines", - AppliedToLinesAccount: "applied_to_lines,account", - AppliedToLinesAccountAccountingPeriod: "applied_to_lines,account,accounting_period", - AppliedToLinesAccountAccountingPeriodPaymentMethod: "applied_to_lines,account,accounting_period,payment_method", - AppliedToLinesAccountCompany: "applied_to_lines,account,company", - AppliedToLinesAccountCompanyAccountingPeriod: "applied_to_lines,account,company,accounting_period", - AppliedToLinesAccountCompanyAccountingPeriodPaymentMethod: - "applied_to_lines,account,company,accounting_period,payment_method", - AppliedToLinesAccountCompanyPaymentMethod: "applied_to_lines,account,company,payment_method", - AppliedToLinesAccountPaymentMethod: "applied_to_lines,account,payment_method", - AppliedToLinesAccountingPeriod: "applied_to_lines,accounting_period", - AppliedToLinesAccountingPeriodPaymentMethod: "applied_to_lines,accounting_period,payment_method", - AppliedToLinesCompany: "applied_to_lines,company", - AppliedToLinesCompanyAccountingPeriod: "applied_to_lines,company,accounting_period", - AppliedToLinesCompanyAccountingPeriodPaymentMethod: "applied_to_lines,company,accounting_period,payment_method", - AppliedToLinesCompanyPaymentMethod: "applied_to_lines,company,payment_method", - AppliedToLinesContact: "applied_to_lines,contact", - AppliedToLinesContactAccount: "applied_to_lines,contact,account", - AppliedToLinesContactAccountAccountingPeriod: "applied_to_lines,contact,account,accounting_period", - AppliedToLinesContactAccountAccountingPeriodPaymentMethod: - "applied_to_lines,contact,account,accounting_period,payment_method", - AppliedToLinesContactAccountCompany: "applied_to_lines,contact,account,company", - AppliedToLinesContactAccountCompanyAccountingPeriod: "applied_to_lines,contact,account,company,accounting_period", - AppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod: - "applied_to_lines,contact,account,company,accounting_period,payment_method", - AppliedToLinesContactAccountCompanyPaymentMethod: "applied_to_lines,contact,account,company,payment_method", - AppliedToLinesContactAccountPaymentMethod: "applied_to_lines,contact,account,payment_method", - AppliedToLinesContactAccountingPeriod: "applied_to_lines,contact,accounting_period", - AppliedToLinesContactAccountingPeriodPaymentMethod: "applied_to_lines,contact,accounting_period,payment_method", - AppliedToLinesContactCompany: "applied_to_lines,contact,company", - AppliedToLinesContactCompanyAccountingPeriod: "applied_to_lines,contact,company,accounting_period", - AppliedToLinesContactCompanyAccountingPeriodPaymentMethod: - "applied_to_lines,contact,company,accounting_period,payment_method", - AppliedToLinesContactCompanyPaymentMethod: "applied_to_lines,contact,company,payment_method", - AppliedToLinesContactPaymentMethod: "applied_to_lines,contact,payment_method", - AppliedToLinesPaymentMethod: "applied_to_lines,payment_method", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyAccountingPeriodPaymentMethod: "company,accounting_period,payment_method", - CompanyPaymentMethod: "company,payment_method", - Contact: "contact", - ContactAccount: "contact,account", - ContactAccountAccountingPeriod: "contact,account,accounting_period", - ContactAccountAccountingPeriodPaymentMethod: "contact,account,accounting_period,payment_method", - ContactAccountCompany: "contact,account,company", - ContactAccountCompanyAccountingPeriod: "contact,account,company,accounting_period", - ContactAccountCompanyAccountingPeriodPaymentMethod: "contact,account,company,accounting_period,payment_method", - ContactAccountCompanyPaymentMethod: "contact,account,company,payment_method", - ContactAccountPaymentMethod: "contact,account,payment_method", - ContactAccountingPeriod: "contact,accounting_period", - ContactAccountingPeriodPaymentMethod: "contact,accounting_period,payment_method", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - ContactCompanyAccountingPeriodPaymentMethod: "contact,company,accounting_period,payment_method", - ContactCompanyPaymentMethod: "contact,company,payment_method", - ContactPaymentMethod: "contact,payment_method", - PaymentMethod: "payment_method", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccount: "tracking_categories,account", - TrackingCategoriesAccountAccountingPeriod: "tracking_categories,account,accounting_period", - TrackingCategoriesAccountAccountingPeriodPaymentMethod: - "tracking_categories,account,accounting_period,payment_method", - TrackingCategoriesAccountCompany: "tracking_categories,account,company", - TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period", - TrackingCategoriesAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,account,company,accounting_period,payment_method", - TrackingCategoriesAccountCompanyPaymentMethod: "tracking_categories,account,company,payment_method", - TrackingCategoriesAccountPaymentMethod: "tracking_categories,account,payment_method", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesAccountingPeriodPaymentMethod: "tracking_categories,accounting_period,payment_method", - TrackingCategoriesAppliedToLines: "tracking_categories,applied_to_lines", - TrackingCategoriesAppliedToLinesAccount: "tracking_categories,applied_to_lines,account", - TrackingCategoriesAppliedToLinesAccountAccountingPeriod: - "tracking_categories,applied_to_lines,account,accounting_period", - TrackingCategoriesAppliedToLinesAccountAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,account,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesAccountCompany: "tracking_categories,applied_to_lines,account,company", - TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,account,company,accounting_period", - TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesAccountCompanyPaymentMethod: - "tracking_categories,applied_to_lines,account,company,payment_method", - TrackingCategoriesAppliedToLinesAccountPaymentMethod: "tracking_categories,applied_to_lines,account,payment_method", - TrackingCategoriesAppliedToLinesAccountingPeriod: "tracking_categories,applied_to_lines,accounting_period", - TrackingCategoriesAppliedToLinesAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesCompany: "tracking_categories,applied_to_lines,company", - TrackingCategoriesAppliedToLinesCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,company,accounting_period", - TrackingCategoriesAppliedToLinesCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesCompanyPaymentMethod: "tracking_categories,applied_to_lines,company,payment_method", - TrackingCategoriesAppliedToLinesContact: "tracking_categories,applied_to_lines,contact", - TrackingCategoriesAppliedToLinesContactAccount: "tracking_categories,applied_to_lines,contact,account", - TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod: - "tracking_categories,applied_to_lines,contact,account,accounting_period", - TrackingCategoriesAppliedToLinesContactAccountAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactAccountCompany: - "tracking_categories,applied_to_lines,contact,account,company", - TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,contact,account,company,accounting_period", - TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactAccountCompanyPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,company,payment_method", - TrackingCategoriesAppliedToLinesContactAccountPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,payment_method", - TrackingCategoriesAppliedToLinesContactAccountingPeriod: - "tracking_categories,applied_to_lines,contact,accounting_period", - TrackingCategoriesAppliedToLinesContactAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactCompany: "tracking_categories,applied_to_lines,contact,company", - TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,contact,company,accounting_period", - TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactCompanyPaymentMethod: - "tracking_categories,applied_to_lines,contact,company,payment_method", - TrackingCategoriesAppliedToLinesContactPaymentMethod: "tracking_categories,applied_to_lines,contact,payment_method", - TrackingCategoriesAppliedToLinesPaymentMethod: "tracking_categories,applied_to_lines,payment_method", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyAccountingPeriodPaymentMethod: - "tracking_categories,company,accounting_period,payment_method", - TrackingCategoriesCompanyPaymentMethod: "tracking_categories,company,payment_method", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccount: "tracking_categories,contact,account", - TrackingCategoriesContactAccountAccountingPeriod: "tracking_categories,contact,account,accounting_period", - TrackingCategoriesContactAccountAccountingPeriodPaymentMethod: - "tracking_categories,contact,account,accounting_period,payment_method", - TrackingCategoriesContactAccountCompany: "tracking_categories,contact,account,company", - TrackingCategoriesContactAccountCompanyAccountingPeriod: - "tracking_categories,contact,account,company,accounting_period", - TrackingCategoriesContactAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,contact,account,company,accounting_period,payment_method", - TrackingCategoriesContactAccountCompanyPaymentMethod: "tracking_categories,contact,account,company,payment_method", - TrackingCategoriesContactAccountPaymentMethod: "tracking_categories,contact,account,payment_method", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactAccountingPeriodPaymentMethod: - "tracking_categories,contact,accounting_period,payment_method", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", - TrackingCategoriesContactCompanyAccountingPeriodPaymentMethod: - "tracking_categories,contact,company,accounting_period,payment_method", - TrackingCategoriesContactCompanyPaymentMethod: "tracking_categories,contact,company,payment_method", - TrackingCategoriesContactPaymentMethod: "tracking_categories,contact,payment_method", - TrackingCategoriesPaymentMethod: "tracking_categories,payment_method", -} as const; -export type PaymentsListRequestExpand = (typeof PaymentsListRequestExpand)[keyof typeof PaymentsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts b/src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts new file mode 100644 index 000000000..25211f181 --- /dev/null +++ b/src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +export const PaymentsListRequestExpandItem = { + Account: "account", + AccountingPeriod: "accounting_period", + AppliedToLines: "applied_to_lines", + Company: "company", + Contact: "contact", + PaymentMethod: "payment_method", + TrackingCategories: "tracking_categories", +} as const; +export type PaymentsListRequestExpandItem = + (typeof PaymentsListRequestExpandItem)[keyof typeof PaymentsListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts deleted file mode 100644 index ec58af34d..000000000 --- a/src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts +++ /dev/null @@ -1,165 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const PaymentsRetrieveRequestExpand = { - Account: "account", - AccountAccountingPeriod: "account,accounting_period", - AccountAccountingPeriodPaymentMethod: "account,accounting_period,payment_method", - AccountCompany: "account,company", - AccountCompanyAccountingPeriod: "account,company,accounting_period", - AccountCompanyAccountingPeriodPaymentMethod: "account,company,accounting_period,payment_method", - AccountCompanyPaymentMethod: "account,company,payment_method", - AccountPaymentMethod: "account,payment_method", - AccountingPeriod: "accounting_period", - AccountingPeriodPaymentMethod: "accounting_period,payment_method", - AppliedToLines: "applied_to_lines", - AppliedToLinesAccount: "applied_to_lines,account", - AppliedToLinesAccountAccountingPeriod: "applied_to_lines,account,accounting_period", - AppliedToLinesAccountAccountingPeriodPaymentMethod: "applied_to_lines,account,accounting_period,payment_method", - AppliedToLinesAccountCompany: "applied_to_lines,account,company", - AppliedToLinesAccountCompanyAccountingPeriod: "applied_to_lines,account,company,accounting_period", - AppliedToLinesAccountCompanyAccountingPeriodPaymentMethod: - "applied_to_lines,account,company,accounting_period,payment_method", - AppliedToLinesAccountCompanyPaymentMethod: "applied_to_lines,account,company,payment_method", - AppliedToLinesAccountPaymentMethod: "applied_to_lines,account,payment_method", - AppliedToLinesAccountingPeriod: "applied_to_lines,accounting_period", - AppliedToLinesAccountingPeriodPaymentMethod: "applied_to_lines,accounting_period,payment_method", - AppliedToLinesCompany: "applied_to_lines,company", - AppliedToLinesCompanyAccountingPeriod: "applied_to_lines,company,accounting_period", - AppliedToLinesCompanyAccountingPeriodPaymentMethod: "applied_to_lines,company,accounting_period,payment_method", - AppliedToLinesCompanyPaymentMethod: "applied_to_lines,company,payment_method", - AppliedToLinesContact: "applied_to_lines,contact", - AppliedToLinesContactAccount: "applied_to_lines,contact,account", - AppliedToLinesContactAccountAccountingPeriod: "applied_to_lines,contact,account,accounting_period", - AppliedToLinesContactAccountAccountingPeriodPaymentMethod: - "applied_to_lines,contact,account,accounting_period,payment_method", - AppliedToLinesContactAccountCompany: "applied_to_lines,contact,account,company", - AppliedToLinesContactAccountCompanyAccountingPeriod: "applied_to_lines,contact,account,company,accounting_period", - AppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod: - "applied_to_lines,contact,account,company,accounting_period,payment_method", - AppliedToLinesContactAccountCompanyPaymentMethod: "applied_to_lines,contact,account,company,payment_method", - AppliedToLinesContactAccountPaymentMethod: "applied_to_lines,contact,account,payment_method", - AppliedToLinesContactAccountingPeriod: "applied_to_lines,contact,accounting_period", - AppliedToLinesContactAccountingPeriodPaymentMethod: "applied_to_lines,contact,accounting_period,payment_method", - AppliedToLinesContactCompany: "applied_to_lines,contact,company", - AppliedToLinesContactCompanyAccountingPeriod: "applied_to_lines,contact,company,accounting_period", - AppliedToLinesContactCompanyAccountingPeriodPaymentMethod: - "applied_to_lines,contact,company,accounting_period,payment_method", - AppliedToLinesContactCompanyPaymentMethod: "applied_to_lines,contact,company,payment_method", - AppliedToLinesContactPaymentMethod: "applied_to_lines,contact,payment_method", - AppliedToLinesPaymentMethod: "applied_to_lines,payment_method", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyAccountingPeriodPaymentMethod: "company,accounting_period,payment_method", - CompanyPaymentMethod: "company,payment_method", - Contact: "contact", - ContactAccount: "contact,account", - ContactAccountAccountingPeriod: "contact,account,accounting_period", - ContactAccountAccountingPeriodPaymentMethod: "contact,account,accounting_period,payment_method", - ContactAccountCompany: "contact,account,company", - ContactAccountCompanyAccountingPeriod: "contact,account,company,accounting_period", - ContactAccountCompanyAccountingPeriodPaymentMethod: "contact,account,company,accounting_period,payment_method", - ContactAccountCompanyPaymentMethod: "contact,account,company,payment_method", - ContactAccountPaymentMethod: "contact,account,payment_method", - ContactAccountingPeriod: "contact,accounting_period", - ContactAccountingPeriodPaymentMethod: "contact,accounting_period,payment_method", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - ContactCompanyAccountingPeriodPaymentMethod: "contact,company,accounting_period,payment_method", - ContactCompanyPaymentMethod: "contact,company,payment_method", - ContactPaymentMethod: "contact,payment_method", - PaymentMethod: "payment_method", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccount: "tracking_categories,account", - TrackingCategoriesAccountAccountingPeriod: "tracking_categories,account,accounting_period", - TrackingCategoriesAccountAccountingPeriodPaymentMethod: - "tracking_categories,account,accounting_period,payment_method", - TrackingCategoriesAccountCompany: "tracking_categories,account,company", - TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period", - TrackingCategoriesAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,account,company,accounting_period,payment_method", - TrackingCategoriesAccountCompanyPaymentMethod: "tracking_categories,account,company,payment_method", - TrackingCategoriesAccountPaymentMethod: "tracking_categories,account,payment_method", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesAccountingPeriodPaymentMethod: "tracking_categories,accounting_period,payment_method", - TrackingCategoriesAppliedToLines: "tracking_categories,applied_to_lines", - TrackingCategoriesAppliedToLinesAccount: "tracking_categories,applied_to_lines,account", - TrackingCategoriesAppliedToLinesAccountAccountingPeriod: - "tracking_categories,applied_to_lines,account,accounting_period", - TrackingCategoriesAppliedToLinesAccountAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,account,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesAccountCompany: "tracking_categories,applied_to_lines,account,company", - TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,account,company,accounting_period", - TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesAccountCompanyPaymentMethod: - "tracking_categories,applied_to_lines,account,company,payment_method", - TrackingCategoriesAppliedToLinesAccountPaymentMethod: "tracking_categories,applied_to_lines,account,payment_method", - TrackingCategoriesAppliedToLinesAccountingPeriod: "tracking_categories,applied_to_lines,accounting_period", - TrackingCategoriesAppliedToLinesAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesCompany: "tracking_categories,applied_to_lines,company", - TrackingCategoriesAppliedToLinesCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,company,accounting_period", - TrackingCategoriesAppliedToLinesCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesCompanyPaymentMethod: "tracking_categories,applied_to_lines,company,payment_method", - TrackingCategoriesAppliedToLinesContact: "tracking_categories,applied_to_lines,contact", - TrackingCategoriesAppliedToLinesContactAccount: "tracking_categories,applied_to_lines,contact,account", - TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod: - "tracking_categories,applied_to_lines,contact,account,accounting_period", - TrackingCategoriesAppliedToLinesContactAccountAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactAccountCompany: - "tracking_categories,applied_to_lines,contact,account,company", - TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,contact,account,company,accounting_period", - TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactAccountCompanyPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,company,payment_method", - TrackingCategoriesAppliedToLinesContactAccountPaymentMethod: - "tracking_categories,applied_to_lines,contact,account,payment_method", - TrackingCategoriesAppliedToLinesContactAccountingPeriod: - "tracking_categories,applied_to_lines,contact,accounting_period", - TrackingCategoriesAppliedToLinesContactAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactCompany: "tracking_categories,applied_to_lines,contact,company", - TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod: - "tracking_categories,applied_to_lines,contact,company,accounting_period", - TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriodPaymentMethod: - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method", - TrackingCategoriesAppliedToLinesContactCompanyPaymentMethod: - "tracking_categories,applied_to_lines,contact,company,payment_method", - TrackingCategoriesAppliedToLinesContactPaymentMethod: "tracking_categories,applied_to_lines,contact,payment_method", - TrackingCategoriesAppliedToLinesPaymentMethod: "tracking_categories,applied_to_lines,payment_method", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyAccountingPeriodPaymentMethod: - "tracking_categories,company,accounting_period,payment_method", - TrackingCategoriesCompanyPaymentMethod: "tracking_categories,company,payment_method", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccount: "tracking_categories,contact,account", - TrackingCategoriesContactAccountAccountingPeriod: "tracking_categories,contact,account,accounting_period", - TrackingCategoriesContactAccountAccountingPeriodPaymentMethod: - "tracking_categories,contact,account,accounting_period,payment_method", - TrackingCategoriesContactAccountCompany: "tracking_categories,contact,account,company", - TrackingCategoriesContactAccountCompanyAccountingPeriod: - "tracking_categories,contact,account,company,accounting_period", - TrackingCategoriesContactAccountCompanyAccountingPeriodPaymentMethod: - "tracking_categories,contact,account,company,accounting_period,payment_method", - TrackingCategoriesContactAccountCompanyPaymentMethod: "tracking_categories,contact,account,company,payment_method", - TrackingCategoriesContactAccountPaymentMethod: "tracking_categories,contact,account,payment_method", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactAccountingPeriodPaymentMethod: - "tracking_categories,contact,accounting_period,payment_method", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", - TrackingCategoriesContactCompanyAccountingPeriodPaymentMethod: - "tracking_categories,contact,company,accounting_period,payment_method", - TrackingCategoriesContactCompanyPaymentMethod: "tracking_categories,contact,company,payment_method", - TrackingCategoriesContactPaymentMethod: "tracking_categories,contact,payment_method", - TrackingCategoriesPaymentMethod: "tracking_categories,payment_method", -} as const; -export type PaymentsRetrieveRequestExpand = - (typeof PaymentsRetrieveRequestExpand)[keyof typeof PaymentsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..8e35f2cf7 --- /dev/null +++ b/src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +export const PaymentsRetrieveRequestExpandItem = { + Account: "account", + AccountingPeriod: "accounting_period", + AppliedToLines: "applied_to_lines", + Company: "company", + Contact: "contact", + PaymentMethod: "payment_method", + TrackingCategories: "tracking_categories", +} as const; +export type PaymentsRetrieveRequestExpandItem = + (typeof PaymentsRetrieveRequestExpandItem)[keyof typeof PaymentsRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/payments/types/index.ts b/src/api/resources/accounting/resources/payments/types/index.ts index 56e4a3693..3db8a923d 100644 --- a/src/api/resources/accounting/resources/payments/types/index.ts +++ b/src/api/resources/accounting/resources/payments/types/index.ts @@ -1,2 +1,2 @@ -export * from "./PaymentsListRequestExpand"; -export * from "./PaymentsRetrieveRequestExpand"; +export * from "./PaymentsListRequestExpandItem"; +export * from "./PaymentsRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/projects/client/Client.ts b/src/api/resources/accounting/resources/projects/client/Client.ts index c7b1b6570..c21e887c3 100644 --- a/src/api/resources/accounting/resources/projects/client/Client.ts +++ b/src/api/resources/accounting/resources/projects/client/Client.ts @@ -31,18 +31,11 @@ export class ProjectsClient { * * @example * await client.accounting.projects.list({ - * companyId: "company_id", - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" + * pageSize: 1 * }) */ public list( @@ -56,38 +49,24 @@ export class ProjectsClient { request: Merge.accounting.ProjectsListRequest = {}, requestOptions?: ProjectsClient.RequestOptions, ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), cursor, - expand: - expand != null - ? serializers.accounting.ProjectsListRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ProjectsListRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.ProjectsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_deleted_data: includeDeletedData, include_remote_data: includeRemoteData, include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), page_size: pageSize, - remote_id: remoteId, }; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( @@ -145,7 +124,6 @@ export class ProjectsClient { * * @example * await client.accounting.projects.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true * }) @@ -165,12 +143,17 @@ export class ProjectsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.ProjectsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.ProjectsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.ProjectsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.ts b/src/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.ts index 99e09809a..972d76d6e 100644 --- a/src/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.ts +++ b/src/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.ts @@ -5,43 +5,24 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * companyId: "company_id", - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" + * pageSize: 1 * } */ export interface ProjectsListRequest { - /** If provided, will only return projects for this company. */ - companyId?: string; - /** If provided, will only return objects created after this datetime. */ - createdAfter?: Date; - /** If provided, will only return objects created before this datetime. */ - createdBefore?: Date; /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ProjectsListRequestExpand; + expand?: Merge.accounting.ProjectsListRequestExpandItem | Merge.accounting.ProjectsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ includeShellData?: boolean; - /** If provided, only objects synced by Merge after this date time will be returned. */ - modifiedAfter?: Date; - /** If provided, only objects synced by Merge before this date time will be returned. */ - modifiedBefore?: Date; /** Number of results to return per page. */ pageSize?: number; - /** The API provider's ID for the given object. */ - remoteId?: string; } diff --git a/src/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.ts b/src/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.ts index 642b36d46..622d7d098 100644 --- a/src/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.ts @@ -5,14 +5,13 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true * } */ export interface ProjectsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.ProjectsRetrieveRequestExpand; + expand?: Merge.accounting.ProjectsRetrieveRequestExpandItem | Merge.accounting.ProjectsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts b/src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts deleted file mode 100644 index bebaa2565..000000000 --- a/src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ProjectsListRequestExpand = { - Company: "company", - CompanyContact: "company,contact", - Contact: "contact", -} as const; -export type ProjectsListRequestExpand = (typeof ProjectsListRequestExpand)[keyof typeof ProjectsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts b/src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts new file mode 100644 index 000000000..46cc38b7e --- /dev/null +++ b/src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ProjectsListRequestExpandItem = { + Company: "company", + Contact: "contact", +} as const; +export type ProjectsListRequestExpandItem = + (typeof ProjectsListRequestExpandItem)[keyof typeof ProjectsListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts deleted file mode 100644 index c02cbb059..000000000 --- a/src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ProjectsRetrieveRequestExpand = { - Company: "company", - CompanyContact: "company,contact", - Contact: "contact", -} as const; -export type ProjectsRetrieveRequestExpand = - (typeof ProjectsRetrieveRequestExpand)[keyof typeof ProjectsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..243380b90 --- /dev/null +++ b/src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ProjectsRetrieveRequestExpandItem = { + Company: "company", + Contact: "contact", +} as const; +export type ProjectsRetrieveRequestExpandItem = + (typeof ProjectsRetrieveRequestExpandItem)[keyof typeof ProjectsRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/projects/types/index.ts b/src/api/resources/accounting/resources/projects/types/index.ts index 5ecd3d28e..ff6eb611a 100644 --- a/src/api/resources/accounting/resources/projects/types/index.ts +++ b/src/api/resources/accounting/resources/projects/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ProjectsListRequestExpand"; -export * from "./ProjectsRetrieveRequestExpand"; +export * from "./ProjectsListRequestExpandItem"; +export * from "./ProjectsRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts b/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts index 8d2c2e6d8..72ebd3000 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts @@ -35,7 +35,6 @@ export class PurchaseOrdersClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -50,110 +49,125 @@ export class PurchaseOrdersClient { * showEnumOrigins: "status" * }) */ - public list( + public async list( request: Merge.accounting.PurchaseOrdersListRequest = {}, requestOptions?: PurchaseOrdersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.PurchaseOrdersListRequest = {}, - requestOptions?: PurchaseOrdersClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - issueDateAfter, - issueDateBefore, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.PurchaseOrdersListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - issue_date_after: issueDateAfter?.toISOString(), - issue_date_before: issueDateBefore?.toISOString(), - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PurchaseOrdersListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + issueDateAfter, + issueDateBefore, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.PurchaseOrdersListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.PurchaseOrdersListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + issue_date_after: issueDateAfter?.toISOString(), + issue_date_before: issueDateBefore?.toISOString(), + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/purchase-orders", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedPurchaseOrderList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/purchase-orders", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/purchase-orders", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedPurchaseOrderList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/purchase-orders", - ); } /** @@ -251,7 +265,6 @@ export class PurchaseOrdersClient { * * @example * await client.accounting.purchaseOrders.retrieve("id", { - * expand: "accounting_period", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -275,12 +288,17 @@ export class PurchaseOrdersClient { const { expand, includeRemoteData, includeRemoteFields, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.PurchaseOrdersRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.PurchaseOrdersRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.PurchaseOrdersRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -356,85 +374,95 @@ export class PurchaseOrdersClient { * pageSize: 1 * }) */ - public lineItemsRemoteFieldClassesList( - request: Merge.accounting.PurchaseOrdersLineItemsRemoteFieldClassesListRequest = {}, - requestOptions?: PurchaseOrdersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__lineItemsRemoteFieldClassesList(request, requestOptions)); - } - - private async __lineItemsRemoteFieldClassesList( + public async lineItemsRemoteFieldClassesList( request: Merge.accounting.PurchaseOrdersLineItemsRemoteFieldClassesListRequest = {}, requestOptions?: PurchaseOrdersClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PurchaseOrdersLineItemsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/purchase-orders/line-items/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/purchase-orders/line-items/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/purchase-orders/line-items/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/purchase-orders/line-items/remote-field-classes", - ); } /** @@ -523,84 +551,94 @@ export class PurchaseOrdersClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( - request: Merge.accounting.PurchaseOrdersRemoteFieldClassesListRequest = {}, - requestOptions?: PurchaseOrdersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.accounting.PurchaseOrdersRemoteFieldClassesListRequest = {}, requestOptions?: PurchaseOrdersClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.PurchaseOrdersRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/purchase-orders/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/purchase-orders/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/purchase-orders/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/purchase-orders/remote-field-classes", - ); } } diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts index fe219c655..aa924bf9a 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -34,7 +33,9 @@ export interface PurchaseOrdersListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.PurchaseOrdersListRequestExpand; + expand?: + | Merge.accounting.PurchaseOrdersListRequestExpandItem + | Merge.accounting.PurchaseOrdersListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts index 8f6d92e51..99f4715e6 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "accounting_period", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -15,7 +14,9 @@ import type * as Merge from "../../../../../../index"; */ export interface PurchaseOrdersRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.PurchaseOrdersRetrieveRequestExpand; + expand?: + | Merge.accounting.PurchaseOrdersRetrieveRequestExpandItem + | Merge.accounting.PurchaseOrdersRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts deleted file mode 100644 index d5b6fadc5..000000000 --- a/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts +++ /dev/null @@ -1,165 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const PurchaseOrdersListRequestExpand = { - AccountingPeriod: "accounting_period", - AccountingPeriodPaymentTerm: "accounting_period,payment_term", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyAccountingPeriodPaymentTerm: "company,accounting_period,payment_term", - CompanyPaymentTerm: "company,payment_term", - DeliveryAddress: "delivery_address", - DeliveryAddressAccountingPeriod: "delivery_address,accounting_period", - DeliveryAddressAccountingPeriodPaymentTerm: "delivery_address,accounting_period,payment_term", - DeliveryAddressCompany: "delivery_address,company", - DeliveryAddressCompanyAccountingPeriod: "delivery_address,company,accounting_period", - DeliveryAddressCompanyAccountingPeriodPaymentTerm: "delivery_address,company,accounting_period,payment_term", - DeliveryAddressCompanyPaymentTerm: "delivery_address,company,payment_term", - DeliveryAddressPaymentTerm: "delivery_address,payment_term", - DeliveryAddressVendor: "delivery_address,vendor", - DeliveryAddressVendorAccountingPeriod: "delivery_address,vendor,accounting_period", - DeliveryAddressVendorAccountingPeriodPaymentTerm: "delivery_address,vendor,accounting_period,payment_term", - DeliveryAddressVendorCompany: "delivery_address,vendor,company", - DeliveryAddressVendorCompanyAccountingPeriod: "delivery_address,vendor,company,accounting_period", - DeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "delivery_address,vendor,company,accounting_period,payment_term", - DeliveryAddressVendorCompanyPaymentTerm: "delivery_address,vendor,company,payment_term", - DeliveryAddressVendorPaymentTerm: "delivery_address,vendor,payment_term", - LineItems: "line_items", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsAccountingPeriodPaymentTerm: "line_items,accounting_period,payment_term", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsCompanyAccountingPeriodPaymentTerm: "line_items,company,accounting_period,payment_term", - LineItemsCompanyPaymentTerm: "line_items,company,payment_term", - LineItemsDeliveryAddress: "line_items,delivery_address", - LineItemsDeliveryAddressAccountingPeriod: "line_items,delivery_address,accounting_period", - LineItemsDeliveryAddressAccountingPeriodPaymentTerm: "line_items,delivery_address,accounting_period,payment_term", - LineItemsDeliveryAddressCompany: "line_items,delivery_address,company", - LineItemsDeliveryAddressCompanyAccountingPeriod: "line_items,delivery_address,company,accounting_period", - LineItemsDeliveryAddressCompanyAccountingPeriodPaymentTerm: - "line_items,delivery_address,company,accounting_period,payment_term", - LineItemsDeliveryAddressCompanyPaymentTerm: "line_items,delivery_address,company,payment_term", - LineItemsDeliveryAddressPaymentTerm: "line_items,delivery_address,payment_term", - LineItemsDeliveryAddressVendor: "line_items,delivery_address,vendor", - LineItemsDeliveryAddressVendorAccountingPeriod: "line_items,delivery_address,vendor,accounting_period", - LineItemsDeliveryAddressVendorAccountingPeriodPaymentTerm: - "line_items,delivery_address,vendor,accounting_period,payment_term", - LineItemsDeliveryAddressVendorCompany: "line_items,delivery_address,vendor,company", - LineItemsDeliveryAddressVendorCompanyAccountingPeriod: - "line_items,delivery_address,vendor,company,accounting_period", - LineItemsDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "line_items,delivery_address,vendor,company,accounting_period,payment_term", - LineItemsDeliveryAddressVendorCompanyPaymentTerm: "line_items,delivery_address,vendor,company,payment_term", - LineItemsDeliveryAddressVendorPaymentTerm: "line_items,delivery_address,vendor,payment_term", - LineItemsPaymentTerm: "line_items,payment_term", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,accounting_period,payment_term", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,company,accounting_period,payment_term", - LineItemsTrackingCategoriesCompanyPaymentTerm: "line_items,tracking_categories,company,payment_term", - LineItemsTrackingCategoriesDeliveryAddress: "line_items,tracking_categories,delivery_address", - LineItemsTrackingCategoriesDeliveryAddressAccountingPeriod: - "line_items,tracking_categories,delivery_address,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressCompany: "line_items,tracking_categories,delivery_address,company", - LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriod: - "line_items,tracking_categories,delivery_address,company,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressCompanyPaymentTerm: - "line_items,tracking_categories,delivery_address,company,payment_term", - LineItemsTrackingCategoriesDeliveryAddressPaymentTerm: - "line_items,tracking_categories,delivery_address,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendor: "line_items,tracking_categories,delivery_address,vendor", - LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriod: - "line_items,tracking_categories,delivery_address,vendor,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendorCompany: - "line_items,tracking_categories,delivery_address,vendor,company", - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod: - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,company,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendorPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,payment_term", - LineItemsTrackingCategoriesPaymentTerm: "line_items,tracking_categories,payment_term", - LineItemsTrackingCategoriesVendor: "line_items,tracking_categories,vendor", - LineItemsTrackingCategoriesVendorAccountingPeriod: "line_items,tracking_categories,vendor,accounting_period", - LineItemsTrackingCategoriesVendorAccountingPeriodPaymentTerm: - "line_items,tracking_categories,vendor,accounting_period,payment_term", - LineItemsTrackingCategoriesVendorCompany: "line_items,tracking_categories,vendor,company", - LineItemsTrackingCategoriesVendorCompanyAccountingPeriod: - "line_items,tracking_categories,vendor,company,accounting_period", - LineItemsTrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,vendor,company,accounting_period,payment_term", - LineItemsTrackingCategoriesVendorCompanyPaymentTerm: "line_items,tracking_categories,vendor,company,payment_term", - LineItemsTrackingCategoriesVendorPaymentTerm: "line_items,tracking_categories,vendor,payment_term", - LineItemsVendor: "line_items,vendor", - LineItemsVendorAccountingPeriod: "line_items,vendor,accounting_period", - LineItemsVendorAccountingPeriodPaymentTerm: "line_items,vendor,accounting_period,payment_term", - LineItemsVendorCompany: "line_items,vendor,company", - LineItemsVendorCompanyAccountingPeriod: "line_items,vendor,company,accounting_period", - LineItemsVendorCompanyAccountingPeriodPaymentTerm: "line_items,vendor,company,accounting_period,payment_term", - LineItemsVendorCompanyPaymentTerm: "line_items,vendor,company,payment_term", - LineItemsVendorPaymentTerm: "line_items,vendor,payment_term", - PaymentTerm: "payment_term", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesAccountingPeriodPaymentTerm: "tracking_categories,accounting_period,payment_term", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyAccountingPeriodPaymentTerm: "tracking_categories,company,accounting_period,payment_term", - TrackingCategoriesCompanyPaymentTerm: "tracking_categories,company,payment_term", - TrackingCategoriesDeliveryAddress: "tracking_categories,delivery_address", - TrackingCategoriesDeliveryAddressAccountingPeriod: "tracking_categories,delivery_address,accounting_period", - TrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressCompany: "tracking_categories,delivery_address,company", - TrackingCategoriesDeliveryAddressCompanyAccountingPeriod: - "tracking_categories,delivery_address,company,accounting_period", - TrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,company,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressCompanyPaymentTerm: "tracking_categories,delivery_address,company,payment_term", - TrackingCategoriesDeliveryAddressPaymentTerm: "tracking_categories,delivery_address,payment_term", - TrackingCategoriesDeliveryAddressVendor: "tracking_categories,delivery_address,vendor", - TrackingCategoriesDeliveryAddressVendorAccountingPeriod: - "tracking_categories,delivery_address,vendor,accounting_period", - TrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,vendor,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressVendorCompany: "tracking_categories,delivery_address,vendor,company", - TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod: - "tracking_categories,delivery_address,vendor,company,accounting_period", - TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm: - "tracking_categories,delivery_address,vendor,company,payment_term", - TrackingCategoriesDeliveryAddressVendorPaymentTerm: "tracking_categories,delivery_address,vendor,payment_term", - TrackingCategoriesPaymentTerm: "tracking_categories,payment_term", - TrackingCategoriesVendor: "tracking_categories,vendor", - TrackingCategoriesVendorAccountingPeriod: "tracking_categories,vendor,accounting_period", - TrackingCategoriesVendorAccountingPeriodPaymentTerm: "tracking_categories,vendor,accounting_period,payment_term", - TrackingCategoriesVendorCompany: "tracking_categories,vendor,company", - TrackingCategoriesVendorCompanyAccountingPeriod: "tracking_categories,vendor,company,accounting_period", - TrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm: - "tracking_categories,vendor,company,accounting_period,payment_term", - TrackingCategoriesVendorCompanyPaymentTerm: "tracking_categories,vendor,company,payment_term", - TrackingCategoriesVendorPaymentTerm: "tracking_categories,vendor,payment_term", - Vendor: "vendor", - VendorAccountingPeriod: "vendor,accounting_period", - VendorAccountingPeriodPaymentTerm: "vendor,accounting_period,payment_term", - VendorCompany: "vendor,company", - VendorCompanyAccountingPeriod: "vendor,company,accounting_period", - VendorCompanyAccountingPeriodPaymentTerm: "vendor,company,accounting_period,payment_term", - VendorCompanyPaymentTerm: "vendor,company,payment_term", - VendorPaymentTerm: "vendor,payment_term", -} as const; -export type PurchaseOrdersListRequestExpand = - (typeof PurchaseOrdersListRequestExpand)[keyof typeof PurchaseOrdersListRequestExpand]; diff --git a/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts new file mode 100644 index 000000000..ac6cb57f9 --- /dev/null +++ b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +export const PurchaseOrdersListRequestExpandItem = { + AccountingPeriod: "accounting_period", + Company: "company", + DeliveryAddress: "delivery_address", + LineItems: "line_items", + PaymentTerm: "payment_term", + TrackingCategories: "tracking_categories", + Vendor: "vendor", +} as const; +export type PurchaseOrdersListRequestExpandItem = + (typeof PurchaseOrdersListRequestExpandItem)[keyof typeof PurchaseOrdersListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts deleted file mode 100644 index 27f1410b3..000000000 --- a/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts +++ /dev/null @@ -1,165 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const PurchaseOrdersRetrieveRequestExpand = { - AccountingPeriod: "accounting_period", - AccountingPeriodPaymentTerm: "accounting_period,payment_term", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - CompanyAccountingPeriodPaymentTerm: "company,accounting_period,payment_term", - CompanyPaymentTerm: "company,payment_term", - DeliveryAddress: "delivery_address", - DeliveryAddressAccountingPeriod: "delivery_address,accounting_period", - DeliveryAddressAccountingPeriodPaymentTerm: "delivery_address,accounting_period,payment_term", - DeliveryAddressCompany: "delivery_address,company", - DeliveryAddressCompanyAccountingPeriod: "delivery_address,company,accounting_period", - DeliveryAddressCompanyAccountingPeriodPaymentTerm: "delivery_address,company,accounting_period,payment_term", - DeliveryAddressCompanyPaymentTerm: "delivery_address,company,payment_term", - DeliveryAddressPaymentTerm: "delivery_address,payment_term", - DeliveryAddressVendor: "delivery_address,vendor", - DeliveryAddressVendorAccountingPeriod: "delivery_address,vendor,accounting_period", - DeliveryAddressVendorAccountingPeriodPaymentTerm: "delivery_address,vendor,accounting_period,payment_term", - DeliveryAddressVendorCompany: "delivery_address,vendor,company", - DeliveryAddressVendorCompanyAccountingPeriod: "delivery_address,vendor,company,accounting_period", - DeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "delivery_address,vendor,company,accounting_period,payment_term", - DeliveryAddressVendorCompanyPaymentTerm: "delivery_address,vendor,company,payment_term", - DeliveryAddressVendorPaymentTerm: "delivery_address,vendor,payment_term", - LineItems: "line_items", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsAccountingPeriodPaymentTerm: "line_items,accounting_period,payment_term", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsCompanyAccountingPeriodPaymentTerm: "line_items,company,accounting_period,payment_term", - LineItemsCompanyPaymentTerm: "line_items,company,payment_term", - LineItemsDeliveryAddress: "line_items,delivery_address", - LineItemsDeliveryAddressAccountingPeriod: "line_items,delivery_address,accounting_period", - LineItemsDeliveryAddressAccountingPeriodPaymentTerm: "line_items,delivery_address,accounting_period,payment_term", - LineItemsDeliveryAddressCompany: "line_items,delivery_address,company", - LineItemsDeliveryAddressCompanyAccountingPeriod: "line_items,delivery_address,company,accounting_period", - LineItemsDeliveryAddressCompanyAccountingPeriodPaymentTerm: - "line_items,delivery_address,company,accounting_period,payment_term", - LineItemsDeliveryAddressCompanyPaymentTerm: "line_items,delivery_address,company,payment_term", - LineItemsDeliveryAddressPaymentTerm: "line_items,delivery_address,payment_term", - LineItemsDeliveryAddressVendor: "line_items,delivery_address,vendor", - LineItemsDeliveryAddressVendorAccountingPeriod: "line_items,delivery_address,vendor,accounting_period", - LineItemsDeliveryAddressVendorAccountingPeriodPaymentTerm: - "line_items,delivery_address,vendor,accounting_period,payment_term", - LineItemsDeliveryAddressVendorCompany: "line_items,delivery_address,vendor,company", - LineItemsDeliveryAddressVendorCompanyAccountingPeriod: - "line_items,delivery_address,vendor,company,accounting_period", - LineItemsDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "line_items,delivery_address,vendor,company,accounting_period,payment_term", - LineItemsDeliveryAddressVendorCompanyPaymentTerm: "line_items,delivery_address,vendor,company,payment_term", - LineItemsDeliveryAddressVendorPaymentTerm: "line_items,delivery_address,vendor,payment_term", - LineItemsPaymentTerm: "line_items,payment_term", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesAccountingPeriodPaymentTerm: - "line_items,tracking_categories,accounting_period,payment_term", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,company,accounting_period,payment_term", - LineItemsTrackingCategoriesCompanyPaymentTerm: "line_items,tracking_categories,company,payment_term", - LineItemsTrackingCategoriesDeliveryAddress: "line_items,tracking_categories,delivery_address", - LineItemsTrackingCategoriesDeliveryAddressAccountingPeriod: - "line_items,tracking_categories,delivery_address,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressCompany: "line_items,tracking_categories,delivery_address,company", - LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriod: - "line_items,tracking_categories,delivery_address,company,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressCompanyPaymentTerm: - "line_items,tracking_categories,delivery_address,company,payment_term", - LineItemsTrackingCategoriesDeliveryAddressPaymentTerm: - "line_items,tracking_categories,delivery_address,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendor: "line_items,tracking_categories,delivery_address,vendor", - LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriod: - "line_items,tracking_categories,delivery_address,vendor,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendorCompany: - "line_items,tracking_categories,delivery_address,vendor,company", - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod: - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period", - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,company,payment_term", - LineItemsTrackingCategoriesDeliveryAddressVendorPaymentTerm: - "line_items,tracking_categories,delivery_address,vendor,payment_term", - LineItemsTrackingCategoriesPaymentTerm: "line_items,tracking_categories,payment_term", - LineItemsTrackingCategoriesVendor: "line_items,tracking_categories,vendor", - LineItemsTrackingCategoriesVendorAccountingPeriod: "line_items,tracking_categories,vendor,accounting_period", - LineItemsTrackingCategoriesVendorAccountingPeriodPaymentTerm: - "line_items,tracking_categories,vendor,accounting_period,payment_term", - LineItemsTrackingCategoriesVendorCompany: "line_items,tracking_categories,vendor,company", - LineItemsTrackingCategoriesVendorCompanyAccountingPeriod: - "line_items,tracking_categories,vendor,company,accounting_period", - LineItemsTrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm: - "line_items,tracking_categories,vendor,company,accounting_period,payment_term", - LineItemsTrackingCategoriesVendorCompanyPaymentTerm: "line_items,tracking_categories,vendor,company,payment_term", - LineItemsTrackingCategoriesVendorPaymentTerm: "line_items,tracking_categories,vendor,payment_term", - LineItemsVendor: "line_items,vendor", - LineItemsVendorAccountingPeriod: "line_items,vendor,accounting_period", - LineItemsVendorAccountingPeriodPaymentTerm: "line_items,vendor,accounting_period,payment_term", - LineItemsVendorCompany: "line_items,vendor,company", - LineItemsVendorCompanyAccountingPeriod: "line_items,vendor,company,accounting_period", - LineItemsVendorCompanyAccountingPeriodPaymentTerm: "line_items,vendor,company,accounting_period,payment_term", - LineItemsVendorCompanyPaymentTerm: "line_items,vendor,company,payment_term", - LineItemsVendorPaymentTerm: "line_items,vendor,payment_term", - PaymentTerm: "payment_term", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesAccountingPeriodPaymentTerm: "tracking_categories,accounting_period,payment_term", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesCompanyAccountingPeriodPaymentTerm: "tracking_categories,company,accounting_period,payment_term", - TrackingCategoriesCompanyPaymentTerm: "tracking_categories,company,payment_term", - TrackingCategoriesDeliveryAddress: "tracking_categories,delivery_address", - TrackingCategoriesDeliveryAddressAccountingPeriod: "tracking_categories,delivery_address,accounting_period", - TrackingCategoriesDeliveryAddressAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressCompany: "tracking_categories,delivery_address,company", - TrackingCategoriesDeliveryAddressCompanyAccountingPeriod: - "tracking_categories,delivery_address,company,accounting_period", - TrackingCategoriesDeliveryAddressCompanyAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,company,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressCompanyPaymentTerm: "tracking_categories,delivery_address,company,payment_term", - TrackingCategoriesDeliveryAddressPaymentTerm: "tracking_categories,delivery_address,payment_term", - TrackingCategoriesDeliveryAddressVendor: "tracking_categories,delivery_address,vendor", - TrackingCategoriesDeliveryAddressVendorAccountingPeriod: - "tracking_categories,delivery_address,vendor,accounting_period", - TrackingCategoriesDeliveryAddressVendorAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,vendor,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressVendorCompany: "tracking_categories,delivery_address,vendor,company", - TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriod: - "tracking_categories,delivery_address,vendor,company,accounting_period", - TrackingCategoriesDeliveryAddressVendorCompanyAccountingPeriodPaymentTerm: - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - TrackingCategoriesDeliveryAddressVendorCompanyPaymentTerm: - "tracking_categories,delivery_address,vendor,company,payment_term", - TrackingCategoriesDeliveryAddressVendorPaymentTerm: "tracking_categories,delivery_address,vendor,payment_term", - TrackingCategoriesPaymentTerm: "tracking_categories,payment_term", - TrackingCategoriesVendor: "tracking_categories,vendor", - TrackingCategoriesVendorAccountingPeriod: "tracking_categories,vendor,accounting_period", - TrackingCategoriesVendorAccountingPeriodPaymentTerm: "tracking_categories,vendor,accounting_period,payment_term", - TrackingCategoriesVendorCompany: "tracking_categories,vendor,company", - TrackingCategoriesVendorCompanyAccountingPeriod: "tracking_categories,vendor,company,accounting_period", - TrackingCategoriesVendorCompanyAccountingPeriodPaymentTerm: - "tracking_categories,vendor,company,accounting_period,payment_term", - TrackingCategoriesVendorCompanyPaymentTerm: "tracking_categories,vendor,company,payment_term", - TrackingCategoriesVendorPaymentTerm: "tracking_categories,vendor,payment_term", - Vendor: "vendor", - VendorAccountingPeriod: "vendor,accounting_period", - VendorAccountingPeriodPaymentTerm: "vendor,accounting_period,payment_term", - VendorCompany: "vendor,company", - VendorCompanyAccountingPeriod: "vendor,company,accounting_period", - VendorCompanyAccountingPeriodPaymentTerm: "vendor,company,accounting_period,payment_term", - VendorCompanyPaymentTerm: "vendor,company,payment_term", - VendorPaymentTerm: "vendor,payment_term", -} as const; -export type PurchaseOrdersRetrieveRequestExpand = - (typeof PurchaseOrdersRetrieveRequestExpand)[keyof typeof PurchaseOrdersRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..9360fbad9 --- /dev/null +++ b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +export const PurchaseOrdersRetrieveRequestExpandItem = { + AccountingPeriod: "accounting_period", + Company: "company", + DeliveryAddress: "delivery_address", + LineItems: "line_items", + PaymentTerm: "payment_term", + TrackingCategories: "tracking_categories", + Vendor: "vendor", +} as const; +export type PurchaseOrdersRetrieveRequestExpandItem = + (typeof PurchaseOrdersRetrieveRequestExpandItem)[keyof typeof PurchaseOrdersRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/purchaseOrders/types/index.ts b/src/api/resources/accounting/resources/purchaseOrders/types/index.ts index fd510edde..75264d2f3 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/types/index.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/types/index.ts @@ -1,2 +1,2 @@ -export * from "./PurchaseOrdersListRequestExpand"; -export * from "./PurchaseOrdersRetrieveRequestExpand"; +export * from "./PurchaseOrdersListRequestExpandItem"; +export * from "./PurchaseOrdersRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/syncStatus/client/Client.ts b/src/api/resources/accounting/resources/syncStatus/client/Client.ts index 3effe3b60..7ac64e0d5 100644 --- a/src/api/resources/accounting/resources/syncStatus/client/Client.ts +++ b/src/api/resources/accounting/resources/syncStatus/client/Client.ts @@ -35,66 +35,81 @@ export class SyncStatusClient { * pageSize: 1 * }) */ - public list( + public async list( request: Merge.accounting.SyncStatusListRequest = {}, requestOptions?: SyncStatusClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.SyncStatusListRequest = {}, - requestOptions?: SyncStatusClient.RequestOptions, - ): Promise> { - const { cursor, pageSize } = request; - const _queryParams: Record = { - cursor, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.SyncStatusListRequest, + ): Promise> => { + const { cursor, pageSize } = request; + const _queryParams: Record = { + cursor, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/sync-status", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedSyncStatusList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/sync-status", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/sync-status", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedSyncStatusList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/sync-status"); } } diff --git a/src/api/resources/accounting/resources/taxRates/client/Client.ts b/src/api/resources/accounting/resources/taxRates/client/Client.ts index 2b365a7aa..720b905cc 100644 --- a/src/api/resources/accounting/resources/taxRates/client/Client.ts +++ b/src/api/resources/accounting/resources/taxRates/client/Client.ts @@ -35,7 +35,6 @@ export class TaxRatesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -46,92 +45,107 @@ export class TaxRatesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.accounting.TaxRatesListRequest = {}, requestOptions?: TaxRatesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.TaxRatesListRequest = {}, - requestOptions?: TaxRatesClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.TaxRatesListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/tax-rates", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedTaxRateList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/tax-rates", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/tax-rates", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedTaxRateList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/tax-rates"); } /** @@ -143,7 +157,6 @@ export class TaxRatesClient { * * @example * await client.accounting.taxRates.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true * }) @@ -163,7 +176,7 @@ export class TaxRatesClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts index c9e713467..cfa249ebf 100644 --- a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts +++ b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts @@ -7,7 +7,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -28,7 +27,7 @@ export interface TaxRatesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts index e437eed0d..a89408c35 100644 --- a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true * } */ export interface TaxRatesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/trackingCategories/client/Client.ts b/src/api/resources/accounting/resources/trackingCategories/client/Client.ts index 4a5dcffb2..54ea42684 100644 --- a/src/api/resources/accounting/resources/trackingCategories/client/Client.ts +++ b/src/api/resources/accounting/resources/trackingCategories/client/Client.ts @@ -36,7 +36,6 @@ export class TrackingCategoriesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -50,115 +49,126 @@ export class TrackingCategoriesClient { * status: "" * }) */ - public list( + public async list( request: Merge.accounting.TrackingCategoriesListRequest = {}, requestOptions?: TrackingCategoriesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.TrackingCategoriesListRequest = {}, - requestOptions?: TrackingCategoriesClient.RequestOptions, - ): Promise> { - const { - categoryType, - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - status, - } = request; - const _queryParams: Record = { - category_type: - categoryType != null - ? serializers.accounting.TrackingCategoriesListRequestCategoryType.jsonOrThrow(categoryType, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - status: - status != null - ? serializers.accounting.TrackingCategoriesListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.TrackingCategoriesListRequest, + ): Promise> => { + const { + categoryType, + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + status, + } = request; + const _queryParams: Record = { + category_type: + categoryType != null + ? serializers.accounting.TrackingCategoriesListRequestCategoryType.jsonOrThrow( + categoryType, + { unrecognizedObjectKeys: "strip" }, + ) + : undefined, + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + status: + status != null + ? serializers.accounting.TrackingCategoriesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/tracking-categories", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedTrackingCategoryList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/tracking-categories", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/tracking-categories", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedTrackingCategoryList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/accounting/v1/tracking-categories", - ); } /** @@ -170,7 +180,6 @@ export class TrackingCategoriesClient { * * @example * await client.accounting.trackingCategories.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -192,7 +201,7 @@ export class TrackingCategoriesClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts index 0eb0a7c11..5c8d85453 100644 --- a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts +++ b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts @@ -10,7 +10,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "company", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -36,7 +35,7 @@ export interface TrackingCategoriesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts index d03755f68..1bf01a158 100644 --- a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts @@ -3,7 +3,6 @@ /** * @example * { - * expand: "company", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -12,7 +11,7 @@ */ export interface TrackingCategoriesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "company"; + expand?: "company" | "company"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/transactions/client/Client.ts b/src/api/resources/accounting/resources/transactions/client/Client.ts index 2d95ca7ad..d75295310 100644 --- a/src/api/resources/accounting/resources/transactions/client/Client.ts +++ b/src/api/resources/accounting/resources/transactions/client/Client.ts @@ -35,7 +35,6 @@ export class TransactionsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,99 +46,119 @@ export class TransactionsClient { * transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.accounting.TransactionsListRequest = {}, requestOptions?: TransactionsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.TransactionsListRequest = {}, - requestOptions?: TransactionsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - transactionDateAfter, - transactionDateBefore, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.TransactionsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - transaction_date_after: transactionDateAfter?.toISOString(), - transaction_date_before: transactionDateBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.TransactionsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + transactionDateAfter, + transactionDateBefore, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.TransactionsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.TransactionsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + transaction_date_after: transactionDateAfter?.toISOString(), + transaction_date_before: transactionDateBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/transactions", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedTransactionList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/transactions", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/transactions", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedTransactionList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/transactions"); } /** @@ -151,7 +170,6 @@ export class TransactionsClient { * * @example * await client.accounting.transactions.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeShellData: true * }) @@ -171,12 +189,17 @@ export class TransactionsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.TransactionsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.TransactionsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.TransactionsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts index 8c11585fb..43b8599fe 100644 --- a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts +++ b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -31,7 +30,7 @@ export interface TransactionsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.TransactionsListRequestExpand; + expand?: Merge.accounting.TransactionsListRequestExpandItem | Merge.accounting.TransactionsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts index 472eb1ab3..ae48eb173 100644 --- a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts @@ -5,14 +5,15 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeShellData: true * } */ export interface TransactionsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.TransactionsRetrieveRequestExpand; + expand?: + | Merge.accounting.TransactionsRetrieveRequestExpandItem + | Merge.accounting.TransactionsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts b/src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts deleted file mode 100644 index 13d6b32ea..000000000 --- a/src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts +++ /dev/null @@ -1,74 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TransactionsListRequestExpand = { - Account: "account", - AccountAccountingPeriod: "account,accounting_period", - AccountCompany: "account,company", - AccountCompanyAccountingPeriod: "account,company,accounting_period", - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Contact: "contact", - ContactAccount: "contact,account", - ContactAccountAccountingPeriod: "contact,account,accounting_period", - ContactAccountCompany: "contact,account,company", - ContactAccountCompanyAccountingPeriod: "contact,account,company,accounting_period", - ContactAccountingPeriod: "contact,accounting_period", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - LineItems: "line_items", - LineItemsAccount: "line_items,account", - LineItemsAccountAccountingPeriod: "line_items,account,accounting_period", - LineItemsAccountCompany: "line_items,account,company", - LineItemsAccountCompanyAccountingPeriod: "line_items,account,company,accounting_period", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsContact: "line_items,contact", - LineItemsContactAccount: "line_items,contact,account", - LineItemsContactAccountAccountingPeriod: "line_items,contact,account,accounting_period", - LineItemsContactAccountCompany: "line_items,contact,account,company", - LineItemsContactAccountCompanyAccountingPeriod: "line_items,contact,account,company,accounting_period", - LineItemsContactAccountingPeriod: "line_items,contact,accounting_period", - LineItemsContactCompany: "line_items,contact,company", - LineItemsContactCompanyAccountingPeriod: "line_items,contact,company,accounting_period", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccount: "line_items,tracking_categories,account", - LineItemsTrackingCategoriesAccountAccountingPeriod: "line_items,tracking_categories,account,accounting_period", - LineItemsTrackingCategoriesAccountCompany: "line_items,tracking_categories,account,company", - LineItemsTrackingCategoriesAccountCompanyAccountingPeriod: - "line_items,tracking_categories,account,company,accounting_period", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesContact: "line_items,tracking_categories,contact", - LineItemsTrackingCategoriesContactAccount: "line_items,tracking_categories,contact,account", - LineItemsTrackingCategoriesContactAccountAccountingPeriod: - "line_items,tracking_categories,contact,account,accounting_period", - LineItemsTrackingCategoriesContactAccountCompany: "line_items,tracking_categories,contact,account,company", - LineItemsTrackingCategoriesContactAccountCompanyAccountingPeriod: - "line_items,tracking_categories,contact,account,company,accounting_period", - LineItemsTrackingCategoriesContactAccountingPeriod: "line_items,tracking_categories,contact,accounting_period", - LineItemsTrackingCategoriesContactCompany: "line_items,tracking_categories,contact,company", - LineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "line_items,tracking_categories,contact,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccount: "tracking_categories,account", - TrackingCategoriesAccountAccountingPeriod: "tracking_categories,account,accounting_period", - TrackingCategoriesAccountCompany: "tracking_categories,account,company", - TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccount: "tracking_categories,contact,account", - TrackingCategoriesContactAccountAccountingPeriod: "tracking_categories,contact,account,accounting_period", - TrackingCategoriesContactAccountCompany: "tracking_categories,contact,account,company", - TrackingCategoriesContactAccountCompanyAccountingPeriod: - "tracking_categories,contact,account,company,accounting_period", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", -} as const; -export type TransactionsListRequestExpand = - (typeof TransactionsListRequestExpand)[keyof typeof TransactionsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts b/src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts new file mode 100644 index 000000000..855611dce --- /dev/null +++ b/src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TransactionsListRequestExpandItem = { + Account: "account", + AccountingPeriod: "accounting_period", + Contact: "contact", + LineItems: "line_items", + TrackingCategories: "tracking_categories", +} as const; +export type TransactionsListRequestExpandItem = + (typeof TransactionsListRequestExpandItem)[keyof typeof TransactionsListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts deleted file mode 100644 index fe5130fb4..000000000 --- a/src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts +++ /dev/null @@ -1,74 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TransactionsRetrieveRequestExpand = { - Account: "account", - AccountAccountingPeriod: "account,accounting_period", - AccountCompany: "account,company", - AccountCompanyAccountingPeriod: "account,company,accounting_period", - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Contact: "contact", - ContactAccount: "contact,account", - ContactAccountAccountingPeriod: "contact,account,accounting_period", - ContactAccountCompany: "contact,account,company", - ContactAccountCompanyAccountingPeriod: "contact,account,company,accounting_period", - ContactAccountingPeriod: "contact,accounting_period", - ContactCompany: "contact,company", - ContactCompanyAccountingPeriod: "contact,company,accounting_period", - LineItems: "line_items", - LineItemsAccount: "line_items,account", - LineItemsAccountAccountingPeriod: "line_items,account,accounting_period", - LineItemsAccountCompany: "line_items,account,company", - LineItemsAccountCompanyAccountingPeriod: "line_items,account,company,accounting_period", - LineItemsAccountingPeriod: "line_items,accounting_period", - LineItemsCompany: "line_items,company", - LineItemsCompanyAccountingPeriod: "line_items,company,accounting_period", - LineItemsContact: "line_items,contact", - LineItemsContactAccount: "line_items,contact,account", - LineItemsContactAccountAccountingPeriod: "line_items,contact,account,accounting_period", - LineItemsContactAccountCompany: "line_items,contact,account,company", - LineItemsContactAccountCompanyAccountingPeriod: "line_items,contact,account,company,accounting_period", - LineItemsContactAccountingPeriod: "line_items,contact,accounting_period", - LineItemsContactCompany: "line_items,contact,company", - LineItemsContactCompanyAccountingPeriod: "line_items,contact,company,accounting_period", - LineItemsTrackingCategories: "line_items,tracking_categories", - LineItemsTrackingCategoriesAccount: "line_items,tracking_categories,account", - LineItemsTrackingCategoriesAccountAccountingPeriod: "line_items,tracking_categories,account,accounting_period", - LineItemsTrackingCategoriesAccountCompany: "line_items,tracking_categories,account,company", - LineItemsTrackingCategoriesAccountCompanyAccountingPeriod: - "line_items,tracking_categories,account,company,accounting_period", - LineItemsTrackingCategoriesAccountingPeriod: "line_items,tracking_categories,accounting_period", - LineItemsTrackingCategoriesCompany: "line_items,tracking_categories,company", - LineItemsTrackingCategoriesCompanyAccountingPeriod: "line_items,tracking_categories,company,accounting_period", - LineItemsTrackingCategoriesContact: "line_items,tracking_categories,contact", - LineItemsTrackingCategoriesContactAccount: "line_items,tracking_categories,contact,account", - LineItemsTrackingCategoriesContactAccountAccountingPeriod: - "line_items,tracking_categories,contact,account,accounting_period", - LineItemsTrackingCategoriesContactAccountCompany: "line_items,tracking_categories,contact,account,company", - LineItemsTrackingCategoriesContactAccountCompanyAccountingPeriod: - "line_items,tracking_categories,contact,account,company,accounting_period", - LineItemsTrackingCategoriesContactAccountingPeriod: "line_items,tracking_categories,contact,accounting_period", - LineItemsTrackingCategoriesContactCompany: "line_items,tracking_categories,contact,company", - LineItemsTrackingCategoriesContactCompanyAccountingPeriod: - "line_items,tracking_categories,contact,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccount: "tracking_categories,account", - TrackingCategoriesAccountAccountingPeriod: "tracking_categories,account,accounting_period", - TrackingCategoriesAccountCompany: "tracking_categories,account,company", - TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesContact: "tracking_categories,contact", - TrackingCategoriesContactAccount: "tracking_categories,contact,account", - TrackingCategoriesContactAccountAccountingPeriod: "tracking_categories,contact,account,accounting_period", - TrackingCategoriesContactAccountCompany: "tracking_categories,contact,account,company", - TrackingCategoriesContactAccountCompanyAccountingPeriod: - "tracking_categories,contact,account,company,accounting_period", - TrackingCategoriesContactAccountingPeriod: "tracking_categories,contact,accounting_period", - TrackingCategoriesContactCompany: "tracking_categories,contact,company", - TrackingCategoriesContactCompanyAccountingPeriod: "tracking_categories,contact,company,accounting_period", -} as const; -export type TransactionsRetrieveRequestExpand = - (typeof TransactionsRetrieveRequestExpand)[keyof typeof TransactionsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..cea9aea72 --- /dev/null +++ b/src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TransactionsRetrieveRequestExpandItem = { + Account: "account", + AccountingPeriod: "accounting_period", + Contact: "contact", + LineItems: "line_items", + TrackingCategories: "tracking_categories", +} as const; +export type TransactionsRetrieveRequestExpandItem = + (typeof TransactionsRetrieveRequestExpandItem)[keyof typeof TransactionsRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/transactions/types/index.ts b/src/api/resources/accounting/resources/transactions/types/index.ts index d40b559e9..4c27ccfe5 100644 --- a/src/api/resources/accounting/resources/transactions/types/index.ts +++ b/src/api/resources/accounting/resources/transactions/types/index.ts @@ -1,2 +1,2 @@ -export * from "./TransactionsListRequestExpand"; -export * from "./TransactionsRetrieveRequestExpand"; +export * from "./TransactionsListRequestExpandItem"; +export * from "./TransactionsRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/resources/vendorCredits/client/Client.ts b/src/api/resources/accounting/resources/vendorCredits/client/Client.ts index c4262fc32..f1ad382be 100644 --- a/src/api/resources/accounting/resources/vendorCredits/client/Client.ts +++ b/src/api/resources/accounting/resources/vendorCredits/client/Client.ts @@ -35,7 +35,6 @@ export class VendorCreditsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,99 +46,119 @@ export class VendorCreditsClient { * transactionDateBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.accounting.VendorCreditsListRequest = {}, requestOptions?: VendorCreditsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.accounting.VendorCreditsListRequest = {}, - requestOptions?: VendorCreditsClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - transactionDateAfter, - transactionDateBefore, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.accounting.VendorCreditsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - transaction_date_after: transactionDateAfter?.toISOString(), - transaction_date_before: transactionDateBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.accounting.VendorCreditsListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + transactionDateAfter, + transactionDateBefore, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.VendorCreditsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.accounting.VendorCreditsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + transaction_date_after: transactionDateAfter?.toISOString(), + transaction_date_before: transactionDateBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "accounting/v1/vendor-credits", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.accounting.PaginatedVendorCreditList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/accounting/v1/vendor-credits", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "accounting/v1/vendor-credits", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.accounting.PaginatedVendorCreditList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/accounting/v1/vendor-credits"); } /** @@ -237,7 +256,6 @@ export class VendorCreditsClient { * * @example * await client.accounting.vendorCredits.retrieve("id", { - * expand: "accounting_period", * includeRemoteData: true, * includeShellData: true * }) @@ -257,12 +275,17 @@ export class VendorCreditsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.accounting.VendorCreditsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.accounting.VendorCreditsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.accounting.VendorCreditsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts index 77985bb71..1bf01a961 100644 --- a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts +++ b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "accounting_period", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -31,7 +30,9 @@ export interface VendorCreditsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.VendorCreditsListRequestExpand; + expand?: + | Merge.accounting.VendorCreditsListRequestExpandItem + | Merge.accounting.VendorCreditsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts index df40719fc..8ced3cb8d 100644 --- a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts @@ -5,14 +5,15 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "accounting_period", * includeRemoteData: true, * includeShellData: true * } */ export interface VendorCreditsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.accounting.VendorCreditsRetrieveRequestExpand; + expand?: + | Merge.accounting.VendorCreditsRetrieveRequestExpandItem + | Merge.accounting.VendorCreditsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts deleted file mode 100644 index 6c319e25a..000000000 --- a/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const VendorCreditsListRequestExpand = { - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Lines: "lines", - LinesAccountingPeriod: "lines,accounting_period", - LinesCompany: "lines,company", - LinesCompanyAccountingPeriod: "lines,company,accounting_period", - LinesTrackingCategories: "lines,tracking_categories", - LinesTrackingCategoriesAccountingPeriod: "lines,tracking_categories,accounting_period", - LinesTrackingCategoriesCompany: "lines,tracking_categories,company", - LinesTrackingCategoriesCompanyAccountingPeriod: "lines,tracking_categories,company,accounting_period", - LinesTrackingCategoriesVendor: "lines,tracking_categories,vendor", - LinesTrackingCategoriesVendorAccountingPeriod: "lines,tracking_categories,vendor,accounting_period", - LinesTrackingCategoriesVendorCompany: "lines,tracking_categories,vendor,company", - LinesTrackingCategoriesVendorCompanyAccountingPeriod: "lines,tracking_categories,vendor,company,accounting_period", - LinesVendor: "lines,vendor", - LinesVendorAccountingPeriod: "lines,vendor,accounting_period", - LinesVendorCompany: "lines,vendor,company", - LinesVendorCompanyAccountingPeriod: "lines,vendor,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesVendor: "tracking_categories,vendor", - TrackingCategoriesVendorAccountingPeriod: "tracking_categories,vendor,accounting_period", - TrackingCategoriesVendorCompany: "tracking_categories,vendor,company", - TrackingCategoriesVendorCompanyAccountingPeriod: "tracking_categories,vendor,company,accounting_period", - Vendor: "vendor", - VendorAccountingPeriod: "vendor,accounting_period", - VendorCompany: "vendor,company", - VendorCompanyAccountingPeriod: "vendor,company,accounting_period", -} as const; -export type VendorCreditsListRequestExpand = - (typeof VendorCreditsListRequestExpand)[keyof typeof VendorCreditsListRequestExpand]; diff --git a/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts new file mode 100644 index 000000000..92d23a026 --- /dev/null +++ b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +export const VendorCreditsListRequestExpandItem = { + AccountingPeriod: "accounting_period", + Company: "company", + Lines: "lines", + TrackingCategories: "tracking_categories", + Vendor: "vendor", +} as const; +export type VendorCreditsListRequestExpandItem = + (typeof VendorCreditsListRequestExpandItem)[keyof typeof VendorCreditsListRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts deleted file mode 100644 index cb9fc0593..000000000 --- a/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const VendorCreditsRetrieveRequestExpand = { - AccountingPeriod: "accounting_period", - Company: "company", - CompanyAccountingPeriod: "company,accounting_period", - Lines: "lines", - LinesAccountingPeriod: "lines,accounting_period", - LinesCompany: "lines,company", - LinesCompanyAccountingPeriod: "lines,company,accounting_period", - LinesTrackingCategories: "lines,tracking_categories", - LinesTrackingCategoriesAccountingPeriod: "lines,tracking_categories,accounting_period", - LinesTrackingCategoriesCompany: "lines,tracking_categories,company", - LinesTrackingCategoriesCompanyAccountingPeriod: "lines,tracking_categories,company,accounting_period", - LinesTrackingCategoriesVendor: "lines,tracking_categories,vendor", - LinesTrackingCategoriesVendorAccountingPeriod: "lines,tracking_categories,vendor,accounting_period", - LinesTrackingCategoriesVendorCompany: "lines,tracking_categories,vendor,company", - LinesTrackingCategoriesVendorCompanyAccountingPeriod: "lines,tracking_categories,vendor,company,accounting_period", - LinesVendor: "lines,vendor", - LinesVendorAccountingPeriod: "lines,vendor,accounting_period", - LinesVendorCompany: "lines,vendor,company", - LinesVendorCompanyAccountingPeriod: "lines,vendor,company,accounting_period", - TrackingCategories: "tracking_categories", - TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period", - TrackingCategoriesCompany: "tracking_categories,company", - TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period", - TrackingCategoriesVendor: "tracking_categories,vendor", - TrackingCategoriesVendorAccountingPeriod: "tracking_categories,vendor,accounting_period", - TrackingCategoriesVendorCompany: "tracking_categories,vendor,company", - TrackingCategoriesVendorCompanyAccountingPeriod: "tracking_categories,vendor,company,accounting_period", - Vendor: "vendor", - VendorAccountingPeriod: "vendor,accounting_period", - VendorCompany: "vendor,company", - VendorCompanyAccountingPeriod: "vendor,company,accounting_period", -} as const; -export type VendorCreditsRetrieveRequestExpand = - (typeof VendorCreditsRetrieveRequestExpand)[keyof typeof VendorCreditsRetrieveRequestExpand]; diff --git a/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..2254ad897 --- /dev/null +++ b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +export const VendorCreditsRetrieveRequestExpandItem = { + AccountingPeriod: "accounting_period", + Company: "company", + Lines: "lines", + TrackingCategories: "tracking_categories", + Vendor: "vendor", +} as const; +export type VendorCreditsRetrieveRequestExpandItem = + (typeof VendorCreditsRetrieveRequestExpandItem)[keyof typeof VendorCreditsRetrieveRequestExpandItem]; diff --git a/src/api/resources/accounting/resources/vendorCredits/types/index.ts b/src/api/resources/accounting/resources/vendorCredits/types/index.ts index 23d33b551..3ac6b265f 100644 --- a/src/api/resources/accounting/resources/vendorCredits/types/index.ts +++ b/src/api/resources/accounting/resources/vendorCredits/types/index.ts @@ -1,2 +1,2 @@ -export * from "./VendorCreditsListRequestExpand"; -export * from "./VendorCreditsRetrieveRequestExpand"; +export * from "./VendorCreditsListRequestExpandItem"; +export * from "./VendorCreditsRetrieveRequestExpandItem"; diff --git a/src/api/resources/accounting/types/AccountDetails.ts b/src/api/resources/accounting/types/AccountDetails.ts index 844c6ba65..fc052e69c 100644 --- a/src/api/resources/accounting/types/AccountDetails.ts +++ b/src/api/resources/accounting/types/AccountDetails.ts @@ -6,7 +6,7 @@ export interface AccountDetails { id?: string; integration?: string; integrationSlug?: string; - category?: Merge.accounting.AccountDetailsCategory; + category?: Merge.accounting.CategoryEnum; endUserOriginId?: string; endUserOrganizationName?: string; endUserEmailAddress?: string; diff --git a/src/api/resources/accounting/types/AccountDetailsAndActions.ts b/src/api/resources/accounting/types/AccountDetailsAndActions.ts index c49d443c4..7d54d99c0 100644 --- a/src/api/resources/accounting/types/AccountDetailsAndActions.ts +++ b/src/api/resources/accounting/types/AccountDetailsAndActions.ts @@ -26,5 +26,4 @@ export interface AccountDetailsAndActions { integration?: Merge.accounting.AccountDetailsAndActionsIntegration; accountType: string; completedAt: Date; - integrationSpecificFields?: Record; } diff --git a/src/api/resources/accounting/types/CompanyInfo.ts b/src/api/resources/accounting/types/CompanyInfo.ts index cfd881763..3655b25fa 100644 --- a/src/api/resources/accounting/types/CompanyInfo.ts +++ b/src/api/resources/accounting/types/CompanyInfo.ts @@ -338,7 +338,7 @@ export interface CompanyInfo { * * `ZWR` - Zimbabwean Dollar (2008) * * `ZWL` - Zimbabwean Dollar (2009) */ - currency?: Merge.accounting.CompanyInfoCurrency; + currency?: unknown; /** When the third party's company was created. */ remoteCreatedAt?: Date; /** The company's urls. */ diff --git a/src/api/resources/accounting/types/CompanyInfoCurrency.ts b/src/api/resources/accounting/types/CompanyInfoCurrency.ts deleted file mode 100644 index 13284e2ae..000000000 --- a/src/api/resources/accounting/types/CompanyInfoCurrency.ts +++ /dev/null @@ -1,315 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The currency set in the company's accounting platform. - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ -export type CompanyInfoCurrency = Merge.accounting.TransactionCurrencyEnum | string; diff --git a/src/api/resources/accounting/types/CreditNoteLineItemRequestProject.ts b/src/api/resources/accounting/types/CreditNoteLineItemRequestProject.ts index a046646b9..38f45c72f 100644 --- a/src/api/resources/accounting/types/CreditNoteLineItemRequestProject.ts +++ b/src/api/resources/accounting/types/CreditNoteLineItemRequestProject.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type CreditNoteLineItemRequestProject = string | Merge.accounting.Contact; +export type CreditNoteLineItemRequestProject = string | Merge.accounting.Project; diff --git a/src/api/resources/accounting/types/DataPassthroughRequest.ts b/src/api/resources/accounting/types/DataPassthroughRequest.ts index c4883175a..acb28fc99 100644 --- a/src/api/resources/accounting/types/DataPassthroughRequest.ts +++ b/src/api/resources/accounting/types/DataPassthroughRequest.ts @@ -11,7 +11,7 @@ import type * as Merge from "../../../index"; * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { - method: Merge.accounting.DataPassthroughRequestMethod; + method: Merge.accounting.MethodEnum; /** The path of the request in the third party's platform. */ path: string; /** An optional override of the third party's base url for the request. */ diff --git a/src/api/resources/accounting/types/ExpenseLine.ts b/src/api/resources/accounting/types/ExpenseLine.ts index 1db271898..9b845f7f8 100644 --- a/src/api/resources/accounting/types/ExpenseLine.ts +++ b/src/api/resources/accounting/types/ExpenseLine.ts @@ -339,7 +339,7 @@ export interface ExpenseLine { * * `ZWR` - Zimbabwean Dollar (2008) * * `ZWL` - Zimbabwean Dollar (2009) */ - currency?: Merge.accounting.ExpenseLineCurrency; + currency?: Merge.accounting.TransactionCurrencyEnum; /** The expense's payment account. */ account?: Merge.accounting.ExpenseLineAccount; /** The expense's contact. */ @@ -351,10 +351,6 @@ export interface ExpenseLine { exchangeRate?: string; /** The tax rate that applies to this line item. */ taxRate?: string; - /** Number of items for the expense line. */ - quantity?: string; - /** Unit price of the item for the expense line. */ - unitPrice?: string; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; } diff --git a/src/api/resources/accounting/types/ExpenseLineCurrency.ts b/src/api/resources/accounting/types/ExpenseLineCurrency.ts deleted file mode 100644 index 618e73c05..000000000 --- a/src/api/resources/accounting/types/ExpenseLineCurrency.ts +++ /dev/null @@ -1,315 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The expense line item's currency. - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ -export type ExpenseLineCurrency = Merge.accounting.TransactionCurrencyEnum | string; diff --git a/src/api/resources/accounting/types/ExpenseLineRequest.ts b/src/api/resources/accounting/types/ExpenseLineRequest.ts index 61635d324..833c7cd3d 100644 --- a/src/api/resources/accounting/types/ExpenseLineRequest.ts +++ b/src/api/resources/accounting/types/ExpenseLineRequest.ts @@ -346,10 +346,6 @@ export interface ExpenseLineRequest { exchangeRate?: string; /** The tax rate that applies to this line item. */ taxRate?: string; - /** Number of items for the expense line. */ - quantity?: string; - /** Unit price of the item for the expense line. */ - unitPrice?: string; integrationParams?: Record; linkedAccountParams?: Record; remoteFields?: Merge.accounting.RemoteFieldRequest[]; diff --git a/src/api/resources/accounting/types/ExpenseLineRequestProject.ts b/src/api/resources/accounting/types/ExpenseLineRequestProject.ts index 9212e45d8..113ddcaf8 100644 --- a/src/api/resources/accounting/types/ExpenseLineRequestProject.ts +++ b/src/api/resources/accounting/types/ExpenseLineRequestProject.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type ExpenseLineRequestProject = string | Merge.accounting.Contact; +export type ExpenseLineRequestProject = string | Merge.accounting.Project; diff --git a/src/api/resources/accounting/types/ExpenseReport.ts b/src/api/resources/accounting/types/ExpenseReport.ts deleted file mode 100644 index 7bf33b1c2..000000000 --- a/src/api/resources/accounting/types/ExpenseReport.ts +++ /dev/null @@ -1,364 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * # The ExpenseReport Object - * ### Description - * The `ExpenseReport` object represents a collection of expenses submitted for review and reimbursement. - * It includes details about the submitter, status, amounts, and associated metadata. - * - * ### Usage Example - * Fetch from the `GET ExpenseReport` endpoint to view details of expense reports and their line items. - */ -export interface ExpenseReport { - id?: string; - /** The third-party API ID of the matching object. */ - remoteId?: string; - /** The datetime that this object was created by Merge. */ - createdAt?: Date; - /** The datetime that this object was modified by Merge. */ - modifiedAt?: Date; - /** The date of the expense report. */ - reportDate?: Date; - /** Human-readable expense report identifier. */ - reportIdentifier?: string; - /** Identifier for the employee who submitted or is associated with the expense report */ - employee?: string; - /** - * Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED - * - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `APPROVED` - APPROVED - * * `REJECTED` - REJECTED - */ - status?: Merge.accounting.ExpenseReportStatus; - /** Total amount of the expense report */ - totalAmount?: number; - lines?: Merge.accounting.ExpenseReportLine[]; - /** - * Currency code for the expense report - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ - currency?: Merge.accounting.TransactionCurrencyEnum; - /** A brief description or purpose for the expense report */ - description?: string; - /** The accounting period the report was posted in */ - accountingPeriod?: string; - /** The subsidiary that the expense report is created in */ - company?: Merge.accounting.ExpenseReportCompany; - /** The related tracking categories associated with the expense report */ - trackingCategories: string[]; - /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ - remoteWasDeleted?: boolean; - fieldMappings?: Record; - remoteData?: Merge.accounting.RemoteData[]; - remoteFields?: Merge.accounting.RemoteField[]; -} diff --git a/src/api/resources/accounting/types/ExpenseReportCompany.ts b/src/api/resources/accounting/types/ExpenseReportCompany.ts deleted file mode 100644 index 985807a09..000000000 --- a/src/api/resources/accounting/types/ExpenseReportCompany.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The subsidiary that the expense report is created in - */ -export type ExpenseReportCompany = string | Merge.accounting.CompanyInfo; diff --git a/src/api/resources/accounting/types/ExpenseReportLine.ts b/src/api/resources/accounting/types/ExpenseReportLine.ts deleted file mode 100644 index f0063de36..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLine.ts +++ /dev/null @@ -1,366 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * # The ExpenseReportLine Object - * ### Description - * The `ExpenseReportLine` object represents an individual line item within an expense report, containing details about - * a specific expense such as amount, description, and associated metadata. - * - * ### Usage Example - * Fetch from the `GET ExpenseReport` endpoint and expand the lines field to view all line items in the expense report. - */ -export interface ExpenseReportLine { - id?: string; - /** The third-party API ID of the matching object. */ - remoteId?: string; - /** The datetime that this object was created by Merge. */ - createdAt?: Date; - /** The datetime that this object was modified by Merge. */ - modifiedAt?: Date; - account?: Merge.accounting.ExpenseReportLineAccount; - /** Description of the individual expense. */ - description?: string; - /** The date the individual expense was incurred. */ - expenseDate?: Date; - /** The amount of the expense for the line item. */ - amount?: number; - /** - * Currency of the expense line (if different from the report currency). - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ - currency?: Merge.accounting.TransactionCurrencyEnum; - /** Exchange rate used if the line item is in a foreign currency. */ - exchangeRate?: string; - /** Whether the expense line is billable to a client or project. */ - isBillable?: boolean; - /** The related tracking categories associated with the expense report (Department, Location, Class, Expense Category) */ - trackingCategories: string[]; - /** Identifier for the employee who submitted or is associated with the expense report */ - employee?: Merge.accounting.ExpenseReportLineEmployee; - project?: Merge.accounting.ExpenseReportLineProject; - /** The subsidiary that the expense report is created in */ - company?: Merge.accounting.ExpenseReportLineCompany; - contact?: Merge.accounting.ExpenseReportLineContact; - /** Quantity for the expense line (e.g., miles driven, items purchased). */ - quantity?: number; - /** Price per unit for the expense line (if applicable). */ - unitPrice?: number; - /** Whether the expense line is non-reimbursable (e.g., paid via company card). */ - nonReimbursable?: boolean; - /** Tax amount applicable for the line item. */ - taxAmount?: number; - /** Whether the amount is inclusive of tax. */ - inclusiveOfTax?: boolean; - taxRate?: Merge.accounting.ExpenseReportLineTaxRate; - /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ - remoteWasDeleted?: boolean; - remoteFields?: Merge.accounting.RemoteField[]; -} diff --git a/src/api/resources/accounting/types/ExpenseReportLineCompany.ts b/src/api/resources/accounting/types/ExpenseReportLineCompany.ts deleted file mode 100644 index 1a897da62..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineCompany.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The subsidiary that the expense report is created in - */ -export type ExpenseReportLineCompany = string | Merge.accounting.CompanyInfo; diff --git a/src/api/resources/accounting/types/ExpenseReportLineEmployee.ts b/src/api/resources/accounting/types/ExpenseReportLineEmployee.ts deleted file mode 100644 index 0d5cd8a5b..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineEmployee.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * Identifier for the employee who submitted or is associated with the expense report - */ -export type ExpenseReportLineEmployee = string | Merge.accounting.Employee; diff --git a/src/api/resources/accounting/types/ExpenseReportLineRequest.ts b/src/api/resources/accounting/types/ExpenseReportLineRequest.ts deleted file mode 100644 index 362b63d79..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineRequest.ts +++ /dev/null @@ -1,361 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * # The ExpenseReportLine Object - * ### Description - * The `ExpenseReportLine` object represents an individual line item within an expense report, containing details about - * a specific expense such as amount, description, and associated metadata. - * - * ### Usage Example - * Fetch from the `GET ExpenseReport` endpoint and expand the lines field to view all line items in the expense report. - */ -export interface ExpenseReportLineRequest { - /** The third-party API ID of the matching object. */ - remoteId?: string; - account?: Merge.accounting.ExpenseReportLineRequestAccount; - /** Description of the individual expense. */ - description?: string; - /** The date the individual expense was incurred. */ - expenseDate?: Date; - /** The amount of the expense for the line item. */ - amount?: number; - /** - * Currency of the expense line (if different from the report currency). - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ - currency?: Merge.accounting.TransactionCurrencyEnum; - /** Exchange rate used if the line item is in a foreign currency. */ - exchangeRate?: string; - /** Whether the expense line is billable to a client or project. */ - isBillable?: boolean; - /** The related tracking categories associated with the expense report (Department, Location, Class, Expense Category) */ - trackingCategories: string[]; - /** Identifier for the employee who submitted or is associated with the expense report */ - employee?: Merge.accounting.ExpenseReportLineRequestEmployee; - project?: Merge.accounting.ExpenseReportLineRequestProject; - /** The subsidiary that the expense report is created in */ - company?: Merge.accounting.ExpenseReportLineRequestCompany; - contact?: Merge.accounting.ExpenseReportLineRequestContact; - /** Quantity for the expense line (e.g., miles driven, items purchased). */ - quantity?: number; - /** Price per unit for the expense line (if applicable). */ - unitPrice?: number; - /** Whether the expense line is non-reimbursable (e.g., paid via company card). */ - nonReimbursable?: boolean; - /** Tax amount applicable for the line item. */ - taxAmount?: number; - /** Whether the amount is inclusive of tax. */ - inclusiveOfTax?: boolean; - taxRate?: Merge.accounting.ExpenseReportLineRequestTaxRate; - integrationParams?: Record; - linkedAccountParams?: Record; - remoteFields?: Merge.accounting.RemoteFieldRequest[]; -} diff --git a/src/api/resources/accounting/types/ExpenseReportLineRequestAccount.ts b/src/api/resources/accounting/types/ExpenseReportLineRequestAccount.ts deleted file mode 100644 index 174584261..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineRequestAccount.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type ExpenseReportLineRequestAccount = string | Merge.accounting.Account; diff --git a/src/api/resources/accounting/types/ExpenseReportLineRequestCompany.ts b/src/api/resources/accounting/types/ExpenseReportLineRequestCompany.ts deleted file mode 100644 index 5d2635961..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineRequestCompany.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The subsidiary that the expense report is created in - */ -export type ExpenseReportLineRequestCompany = string | Merge.accounting.CompanyInfo; diff --git a/src/api/resources/accounting/types/ExpenseReportLineRequestContact.ts b/src/api/resources/accounting/types/ExpenseReportLineRequestContact.ts deleted file mode 100644 index b7a0b8ab8..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineRequestContact.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type ExpenseReportLineRequestContact = string | Merge.accounting.Contact; diff --git a/src/api/resources/accounting/types/ExpenseReportLineRequestEmployee.ts b/src/api/resources/accounting/types/ExpenseReportLineRequestEmployee.ts deleted file mode 100644 index bab3de306..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineRequestEmployee.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * Identifier for the employee who submitted or is associated with the expense report - */ -export type ExpenseReportLineRequestEmployee = string | Merge.accounting.Employee; diff --git a/src/api/resources/accounting/types/ExpenseReportLineRequestProject.ts b/src/api/resources/accounting/types/ExpenseReportLineRequestProject.ts deleted file mode 100644 index 8c226ef92..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineRequestProject.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type ExpenseReportLineRequestProject = string | Merge.accounting.Project; diff --git a/src/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts b/src/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts deleted file mode 100644 index c7e420505..000000000 --- a/src/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type ExpenseReportLineRequestTaxRate = string | Merge.accounting.TaxRate; diff --git a/src/api/resources/accounting/types/ExpenseReportRequest.ts b/src/api/resources/accounting/types/ExpenseReportRequest.ts deleted file mode 100644 index 8345be4d4..000000000 --- a/src/api/resources/accounting/types/ExpenseReportRequest.ts +++ /dev/null @@ -1,354 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * # The ExpenseReport Object - * ### Description - * The `ExpenseReport` object represents a collection of expenses submitted for review and reimbursement. - * It includes details about the submitter, status, amounts, and associated metadata. - * - * ### Usage Example - * Fetch from the `GET ExpenseReport` endpoint to view details of expense reports and their line items. - */ -export interface ExpenseReportRequest { - /** The date of the expense report. */ - reportDate?: Date; - /** Human-readable expense report identifier. */ - reportIdentifier?: string; - /** Identifier for the employee who submitted or is associated with the expense report */ - employee?: Merge.accounting.ExpenseReportRequestEmployee; - /** - * Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED - * - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `APPROVED` - APPROVED - * * `REJECTED` - REJECTED - */ - status?: Merge.accounting.ExpenseReportStatusEnum; - /** Total amount of the expense report */ - totalAmount?: number; - /** - * Currency code for the expense report - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ - currency?: Merge.accounting.TransactionCurrencyEnum; - /** A brief description or purpose for the expense report */ - description?: string; - /** The accounting period the report was posted in */ - accountingPeriod?: Merge.accounting.ExpenseReportRequestAccountingPeriod; - /** The subsidiary that the expense report is created in */ - company?: Merge.accounting.ExpenseReportRequestCompany; - /** The related tracking categories associated with the expense report */ - trackingCategories: string[]; - integrationParams?: Record; - linkedAccountParams?: Record; - remoteFields?: Merge.accounting.RemoteFieldRequest[]; -} diff --git a/src/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts b/src/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts deleted file mode 100644 index ce4e9d1db..000000000 --- a/src/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The accounting period the report was posted in - */ -export type ExpenseReportRequestAccountingPeriod = string | Merge.accounting.AccountingPeriod; diff --git a/src/api/resources/accounting/types/ExpenseReportRequestCompany.ts b/src/api/resources/accounting/types/ExpenseReportRequestCompany.ts deleted file mode 100644 index 9f278276c..000000000 --- a/src/api/resources/accounting/types/ExpenseReportRequestCompany.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The subsidiary that the expense report is created in - */ -export type ExpenseReportRequestCompany = string | Merge.accounting.CompanyInfo; diff --git a/src/api/resources/accounting/types/ExpenseReportRequestEmployee.ts b/src/api/resources/accounting/types/ExpenseReportRequestEmployee.ts deleted file mode 100644 index c8bc03a89..000000000 --- a/src/api/resources/accounting/types/ExpenseReportRequestEmployee.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * Identifier for the employee who submitted or is associated with the expense report - */ -export type ExpenseReportRequestEmployee = string | Merge.accounting.Employee; diff --git a/src/api/resources/accounting/types/ExpenseReportResponse.ts b/src/api/resources/accounting/types/ExpenseReportResponse.ts deleted file mode 100644 index 801142898..000000000 --- a/src/api/resources/accounting/types/ExpenseReportResponse.ts +++ /dev/null @@ -1,10 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface ExpenseReportResponse { - model: Merge.accounting.ExpenseReport; - warnings: Merge.accounting.WarningValidationProblem[]; - errors: Merge.accounting.ErrorValidationProblem[]; - logs?: Merge.accounting.DebugModeLog[]; -} diff --git a/src/api/resources/accounting/types/ExpenseReportStatus.ts b/src/api/resources/accounting/types/ExpenseReportStatus.ts deleted file mode 100644 index 209b41468..000000000 --- a/src/api/resources/accounting/types/ExpenseReportStatus.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED - * - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `APPROVED` - APPROVED - * * `REJECTED` - REJECTED - */ -export type ExpenseReportStatus = Merge.accounting.ExpenseReportStatusEnum | string; diff --git a/src/api/resources/accounting/types/ExpenseReportStatusEnum.ts b/src/api/resources/accounting/types/ExpenseReportStatusEnum.ts deleted file mode 100644 index 69daf2725..000000000 --- a/src/api/resources/accounting/types/ExpenseReportStatusEnum.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -/** - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `APPROVED` - APPROVED - * * `REJECTED` - REJECTED - */ -export const ExpenseReportStatusEnum = { - Draft: "DRAFT", - Submitted: "SUBMITTED", - Approved: "APPROVED", - Rejected: "REJECTED", -} as const; -export type ExpenseReportStatusEnum = (typeof ExpenseReportStatusEnum)[keyof typeof ExpenseReportStatusEnum]; diff --git a/src/api/resources/accounting/types/ExpenseRequest.ts b/src/api/resources/accounting/types/ExpenseRequest.ts index 28df25756..8f8155868 100644 --- a/src/api/resources/accounting/types/ExpenseRequest.ts +++ b/src/api/resources/accounting/types/ExpenseRequest.ts @@ -335,7 +335,7 @@ export interface ExpenseRequest { * * `ZWR` - Zimbabwean Dollar (2008) * * `ZWL` - Zimbabwean Dollar (2009) */ - currency?: Merge.accounting.ExpenseRequestCurrency; + currency?: Merge.accounting.TransactionCurrencyEnum; /** The expense's exchange rate. */ exchangeRate?: string; /** If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. */ diff --git a/src/api/resources/accounting/types/ExpenseRequestCurrency.ts b/src/api/resources/accounting/types/ExpenseRequestCurrency.ts deleted file mode 100644 index a5210f7fc..000000000 --- a/src/api/resources/accounting/types/ExpenseRequestCurrency.ts +++ /dev/null @@ -1,315 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The expense's currency. - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ -export type ExpenseRequestCurrency = Merge.accounting.TransactionCurrencyEnum | string; diff --git a/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts b/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts index 0e219d1b8..b6f36dd7f 100644 --- a/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts +++ b/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts @@ -13,7 +13,6 @@ export interface ExternalTargetFieldApiResponse { creditNote?: Merge.accounting.ExternalTargetFieldApi[]; item?: Merge.accounting.ExternalTargetFieldApi[]; purchaseOrder?: Merge.accounting.ExternalTargetFieldApi[]; - expenseReport?: Merge.accounting.ExternalTargetFieldApi[]; trackingCategory?: Merge.accounting.ExternalTargetFieldApi[]; journalEntry?: Merge.accounting.ExternalTargetFieldApi[]; taxRate?: Merge.accounting.ExternalTargetFieldApi[]; diff --git a/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts b/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts index eabacbd8e..f8feb1817 100644 --- a/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts +++ b/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts @@ -13,7 +13,6 @@ export interface FieldMappingApiInstanceResponse { creditNote?: Merge.accounting.FieldMappingApiInstance[]; item?: Merge.accounting.FieldMappingApiInstance[]; purchaseOrder?: Merge.accounting.FieldMappingApiInstance[]; - expenseReport?: Merge.accounting.FieldMappingApiInstance[]; trackingCategory?: Merge.accounting.FieldMappingApiInstance[]; journalEntry?: Merge.accounting.FieldMappingApiInstance[]; taxRate?: Merge.accounting.FieldMappingApiInstance[]; diff --git a/src/api/resources/accounting/types/GeneralLedgerTransactionLine.ts b/src/api/resources/accounting/types/GeneralLedgerTransactionLine.ts index 7be17c8c0..2dde1fa9d 100644 --- a/src/api/resources/accounting/types/GeneralLedgerTransactionLine.ts +++ b/src/api/resources/accounting/types/GeneralLedgerTransactionLine.ts @@ -334,7 +334,7 @@ export interface GeneralLedgerTransactionLine { * * `ZWR` - Zimbabwean Dollar (2008) * * `ZWL` - Zimbabwean Dollar (2009) */ - baseCurrency?: Merge.accounting.GeneralLedgerTransactionLineBaseCurrency; + baseCurrency?: Merge.accounting.TransactionCurrencyEnum; /** * The transaction currency that the transaction is made in. * diff --git a/src/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts b/src/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts deleted file mode 100644 index 07db5ea59..000000000 --- a/src/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts +++ /dev/null @@ -1,315 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The base currency of the transaction - * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) - */ -export type GeneralLedgerTransactionLineBaseCurrency = Merge.accounting.TransactionCurrencyEnum | string; diff --git a/src/api/resources/accounting/types/Invoice.ts b/src/api/resources/accounting/types/Invoice.ts index 58181f2e2..da93376ce 100644 --- a/src/api/resources/accounting/types/Invoice.ts +++ b/src/api/resources/accounting/types/Invoice.ts @@ -27,7 +27,7 @@ export interface Invoice { * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE */ - type?: Merge.accounting.InvoiceType; + type?: Merge.accounting.InvoiceTypeEnum; /** The invoice's contact. */ contact?: Merge.accounting.InvoiceContact; /** The invoice's number. */ diff --git a/src/api/resources/accounting/types/InvoiceType.ts b/src/api/resources/accounting/types/InvoiceType.ts deleted file mode 100644 index 42eeefc8a..000000000 --- a/src/api/resources/accounting/types/InvoiceType.ts +++ /dev/null @@ -1,11 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * Whether the invoice is an accounts receivable or accounts payable. If `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is `ACCOUNTS_RECEIVABLE`, it is an invoice. - * - * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - */ -export type InvoiceType = Merge.accounting.InvoiceTypeEnum | string; diff --git a/src/api/resources/accounting/types/MultipartFormFieldRequest.ts b/src/api/resources/accounting/types/MultipartFormFieldRequest.ts index 6b1ca95b2..a36a81c53 100644 --- a/src/api/resources/accounting/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/accounting/types/MultipartFormFieldRequest.ts @@ -22,7 +22,7 @@ export interface MultipartFormFieldRequest { * * `BASE64` - BASE64 * * `GZIP_BASE64` - GZIP_BASE64 */ - encoding?: Merge.accounting.MultipartFormFieldRequestEncoding; + encoding?: Merge.accounting.EncodingEnum; /** The file name of the form field, if the field is for a file. */ fileName?: string; /** The MIME type of the file, if the field is for a file. */ diff --git a/src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts deleted file mode 100644 index 42fb9506d..000000000 --- a/src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The encoding of the value of `data`. Defaults to `RAW` if not defined. - * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 - */ -export type MultipartFormFieldRequestEncoding = Merge.accounting.EncodingEnum | string; diff --git a/src/api/resources/accounting/types/PaginatedExpenseReportLineList.ts b/src/api/resources/accounting/types/PaginatedExpenseReportLineList.ts deleted file mode 100644 index 3a3354390..000000000 --- a/src/api/resources/accounting/types/PaginatedExpenseReportLineList.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface PaginatedExpenseReportLineList { - next?: string; - previous?: string; - results?: Merge.accounting.ExpenseReportLine[]; -} diff --git a/src/api/resources/accounting/types/PaginatedExpenseReportList.ts b/src/api/resources/accounting/types/PaginatedExpenseReportList.ts deleted file mode 100644 index dc98b5df1..000000000 --- a/src/api/resources/accounting/types/PaginatedExpenseReportList.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface PaginatedExpenseReportList { - next?: string; - previous?: string; - results?: Merge.accounting.ExpenseReport[]; -} diff --git a/src/api/resources/accounting/types/PatchedContactRequest.ts b/src/api/resources/accounting/types/PatchedContactRequest.ts deleted file mode 100644 index b99d993ef..000000000 --- a/src/api/resources/accounting/types/PatchedContactRequest.ts +++ /dev/null @@ -1,44 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * # The Contact Object - * ### Description - * A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. - * * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. - * * A `Contact` is a customer if the `is_customer` property is true. - * - * ### Usage Example - * Fetch from the `LIST Contacts` endpoint and view a company's contacts. - */ -export interface PatchedContactRequest { - /** The contact's name. */ - name?: string; - /** Whether the contact is a supplier. */ - isSupplier?: boolean; - /** Whether the contact is a customer. */ - isCustomer?: boolean; - /** The contact's email address. */ - emailAddress?: string; - /** The contact's tax number. */ - taxNumber?: string; - /** - * The contact's status - * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED - */ - status?: string; - /** The currency the contact's transactions are in. */ - currency?: string; - /** The company the contact belongs to. */ - company?: string; - /** `Address` object IDs for the given `Contacts` object. */ - addresses?: (Merge.accounting.PatchedContactRequestAddressesItem | undefined)[]; - /** `AccountingPhoneNumber` object for the given `Contacts` object. */ - phoneNumbers?: Merge.accounting.AccountingPhoneNumberRequest[]; - integrationParams?: Record; - linkedAccountParams?: Record; - remoteFields?: Merge.accounting.RemoteFieldRequest[]; -} diff --git a/src/api/resources/accounting/types/PatchedContactRequestAddressesItem.ts b/src/api/resources/accounting/types/PatchedContactRequestAddressesItem.ts deleted file mode 100644 index 7e350f14d..000000000 --- a/src/api/resources/accounting/types/PatchedContactRequestAddressesItem.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type PatchedContactRequestAddressesItem = string | Merge.accounting.Address; diff --git a/src/api/resources/accounting/types/RemoteFieldClass.ts b/src/api/resources/accounting/types/RemoteFieldClass.ts index 65aa4b378..2f23563ce 100644 --- a/src/api/resources/accounting/types/RemoteFieldClass.ts +++ b/src/api/resources/accounting/types/RemoteFieldClass.ts @@ -8,7 +8,6 @@ export interface RemoteFieldClass { remoteKeyName?: string; description?: string; isCustom?: boolean; - isCommonModelField?: boolean; isRequired?: boolean; fieldType?: Merge.accounting.FieldTypeEnum; fieldFormat?: Merge.accounting.FieldFormatEnum; diff --git a/src/api/resources/accounting/types/SyncStatus.ts b/src/api/resources/accounting/types/SyncStatus.ts index b299721db..8225e18f2 100644 --- a/src/api/resources/accounting/types/SyncStatus.ts +++ b/src/api/resources/accounting/types/SyncStatus.ts @@ -15,7 +15,7 @@ export interface SyncStatus { modelId: string; lastSyncStart?: Date; nextSyncStart?: Date; - lastSyncResult?: Merge.accounting.LastSyncResultEnum; + lastSyncResult?: Merge.accounting.SyncStatusLastSyncResult; lastSyncFinished?: Date; status: Merge.accounting.SyncStatusStatus; isInitialSync: boolean; diff --git a/src/api/resources/accounting/types/SyncStatusLastSyncResult.ts b/src/api/resources/accounting/types/SyncStatusLastSyncResult.ts new file mode 100644 index 000000000..60cb035a6 --- /dev/null +++ b/src/api/resources/accounting/types/SyncStatusLastSyncResult.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export type SyncStatusLastSyncResult = Merge.accounting.LastSyncResultEnum | string; diff --git a/src/api/resources/accounting/types/index.ts b/src/api/resources/accounting/types/index.ts index 22194d0a9..81301df16 100644 --- a/src/api/resources/accounting/types/index.ts +++ b/src/api/resources/accounting/types/index.ts @@ -9,7 +9,6 @@ export * from "./AccountDetailsAndActionsCategory"; export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatus"; export * from "./AccountDetailsAndActionsStatusEnum"; -export * from "./AccountDetailsCategory"; export * from "./AccountIntegration"; export * from "./AccountingAttachment"; export * from "./AccountingAttachmentRequest"; @@ -74,7 +73,6 @@ export * from "./ClassificationEnum"; export * from "./CommonModelScopeApi"; export * from "./CommonModelScopesBodyRequest"; export * from "./CompanyInfo"; -export * from "./CompanyInfoCurrency"; export * from "./ComponentTypeEnum"; export * from "./Contact"; export * from "./ContactAddressesItem"; @@ -123,7 +121,6 @@ export * from "./CreditNoteStatusEnum"; export * from "./CreditNoteTrackingCategoriesItem"; export * from "./CreditOrDebitEnum"; export * from "./DataPassthroughRequest"; -export * from "./DataPassthroughRequestMethod"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Employee"; @@ -143,7 +140,6 @@ export * from "./ExpenseEmployee"; export * from "./ExpenseLine"; export * from "./ExpenseLineAccount"; export * from "./ExpenseLineContact"; -export * from "./ExpenseLineCurrency"; export * from "./ExpenseLineEmployee"; export * from "./ExpenseLineItem"; export * from "./ExpenseLineProject"; @@ -158,35 +154,11 @@ export * from "./ExpenseLineRequestTrackingCategoriesItem"; export * from "./ExpenseLineRequestTrackingCategory"; export * from "./ExpenseLineTrackingCategoriesItem"; export * from "./ExpenseLineTrackingCategory"; -export * from "./ExpenseReport"; -export * from "./ExpenseReportCompany"; -export * from "./ExpenseReportLine"; -export * from "./ExpenseReportLineAccount"; -export * from "./ExpenseReportLineCompany"; -export * from "./ExpenseReportLineContact"; -export * from "./ExpenseReportLineEmployee"; -export * from "./ExpenseReportLineProject"; -export * from "./ExpenseReportLineRequest"; -export * from "./ExpenseReportLineRequestAccount"; -export * from "./ExpenseReportLineRequestCompany"; -export * from "./ExpenseReportLineRequestContact"; -export * from "./ExpenseReportLineRequestEmployee"; -export * from "./ExpenseReportLineRequestProject"; -export * from "./ExpenseReportLineRequestTaxRate"; -export * from "./ExpenseReportLineTaxRate"; -export * from "./ExpenseReportRequest"; -export * from "./ExpenseReportRequestAccountingPeriod"; -export * from "./ExpenseReportRequestCompany"; -export * from "./ExpenseReportRequestEmployee"; -export * from "./ExpenseReportResponse"; -export * from "./ExpenseReportStatus"; -export * from "./ExpenseReportStatusEnum"; export * from "./ExpenseRequest"; export * from "./ExpenseRequestAccount"; export * from "./ExpenseRequestAccountingPeriod"; export * from "./ExpenseRequestCompany"; export * from "./ExpenseRequestContact"; -export * from "./ExpenseRequestCurrency"; export * from "./ExpenseRequestEmployee"; export * from "./ExpenseRequestTrackingCategoriesItem"; export * from "./ExpenseResponse"; @@ -210,7 +182,6 @@ export * from "./GeneralLedgerTransactionCompany"; export * from "./GeneralLedgerTransactionGeneralLedgerTransactionLinesItem"; export * from "./GeneralLedgerTransactionLine"; export * from "./GeneralLedgerTransactionLineAccount"; -export * from "./GeneralLedgerTransactionLineBaseCurrency"; export * from "./GeneralLedgerTransactionLineCompany"; export * from "./GeneralLedgerTransactionLineContact"; export * from "./GeneralLedgerTransactionLineEmployee"; @@ -270,7 +241,6 @@ export * from "./InvoiceResponse"; export * from "./InvoiceStatus"; export * from "./InvoiceStatusEnum"; export * from "./InvoiceTrackingCategoriesItem"; -export * from "./InvoiceType"; export * from "./InvoiceTypeEnum"; export * from "./Issue"; export * from "./IssueStatus"; @@ -333,7 +303,6 @@ export * from "./ModelOperation"; export * from "./ModelPermissionDeserializer"; export * from "./ModelPermissionDeserializerRequest"; export * from "./MultipartFormFieldRequest"; -export * from "./MultipartFormFieldRequestEncoding"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAccountingAttachmentList"; export * from "./PaginatedAccountingPeriodList"; @@ -348,8 +317,6 @@ export * from "./PaginatedContactList"; export * from "./PaginatedCreditNoteList"; export * from "./PaginatedEmployeeList"; export * from "./PaginatedExpenseList"; -export * from "./PaginatedExpenseReportLineList"; -export * from "./PaginatedExpenseReportList"; export * from "./PaginatedGeneralLedgerTransactionList"; export * from "./PaginatedIncomeStatementList"; export * from "./PaginatedInvoiceList"; @@ -367,8 +334,6 @@ export * from "./PaginatedTaxRateList"; export * from "./PaginatedTrackingCategoryList"; export * from "./PaginatedTransactionList"; export * from "./PaginatedVendorCreditList"; -export * from "./PatchedContactRequest"; -export * from "./PatchedContactRequestAddressesItem"; export * from "./PatchedItemRequestRequest"; export * from "./PatchedItemRequestRequestStatus"; export * from "./PatchedItemRequestRequestType"; @@ -460,6 +425,7 @@ export * from "./Status7D1Enum"; export * from "./Status895Enum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; +export * from "./SyncStatusLastSyncResult"; export * from "./SyncStatusStatus"; export * from "./TaxComponent"; export * from "./TaxComponentComponentType"; diff --git a/src/api/resources/ats/resources/activities/client/Client.ts b/src/api/resources/ats/resources/activities/client/Client.ts index 3097293ed..fa38fbd8e 100644 --- a/src/api/resources/ats/resources/activities/client/Client.ts +++ b/src/api/resources/ats/resources/activities/client/Client.ts @@ -34,7 +34,6 @@ export class ActivitiesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "user", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,104 +46,114 @@ export class ActivitiesClient { * userId: "user_id" * }) */ - public list( + public async list( request: Merge.ats.ActivitiesListRequest = {}, requestOptions?: ActivitiesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.ActivitiesListRequest = {}, - requestOptions?: ActivitiesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - userId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.ats.ActivitiesListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - show_enum_origins: - showEnumOrigins != null - ? serializers.ats.ActivitiesListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - user_id: userId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.ActivitiesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + userId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.ats.ActivitiesListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + show_enum_origins: + showEnumOrigins != null + ? serializers.ats.ActivitiesListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + user_id: userId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/activities", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedActivityList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/activities"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/activities", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedActivityList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/activities"); } /** @@ -236,7 +245,6 @@ export class ActivitiesClient { * * @example * await client.ats.activities.retrieve("id", { - * expand: "user", * includeRemoteData: true, * includeShellData: true, * remoteFields: "activity_type", @@ -258,7 +266,7 @@ export class ActivitiesClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: diff --git a/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts b/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts index 84fc25a65..1168db960 100644 --- a/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts +++ b/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts @@ -8,7 +8,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "user", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -29,7 +28,7 @@ export interface ActivitiesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "user"; + expand?: "user" | "user"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts b/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts index d1d74bdf6..c46f83465 100644 --- a/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts +++ b/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "user", * includeRemoteData: true, * includeShellData: true, * remoteFields: "activity_type", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface ActivitiesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "user"; + expand?: "user" | "user"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/applications/client/Client.ts b/src/api/resources/ats/resources/applications/client/Client.ts index 6c532cb32..f2a9eae58 100644 --- a/src/api/resources/ats/resources/applications/client/Client.ts +++ b/src/api/resources/ats/resources/applications/client/Client.ts @@ -37,7 +37,6 @@ export class ApplicationsClient { * creditedToId: "credited_to_id", * currentStageId: "current_stage_id", * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "candidate", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -50,105 +49,120 @@ export class ApplicationsClient { * source: "source" * }) */ - public list( + public async list( request: Merge.ats.ApplicationsListRequest = {}, requestOptions?: ApplicationsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.ApplicationsListRequest = {}, - requestOptions?: ApplicationsClient.RequestOptions, - ): Promise> { - const { - candidateId, - createdAfter, - createdBefore, - creditedToId, - currentStageId, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - jobId, - modifiedAfter, - modifiedBefore, - pageSize, - rejectReasonId, - remoteId, - source, - } = request; - const _queryParams: Record = { - candidate_id: candidateId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - credited_to_id: creditedToId, - current_stage_id: currentStageId, - cursor, - expand: - expand != null - ? serializers.ats.ApplicationsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - job_id: jobId, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - reject_reason_id: rejectReasonId, - remote_id: remoteId, - source, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.ApplicationsListRequest, + ): Promise> => { + const { + candidateId, + createdAfter, + createdBefore, + creditedToId, + currentStageId, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + jobId, + modifiedAfter, + modifiedBefore, + pageSize, + rejectReasonId, + remoteId, + source, + } = request; + const _queryParams: Record = { + candidate_id: candidateId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + credited_to_id: creditedToId, + current_stage_id: currentStageId, + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.ApplicationsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.ApplicationsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + job_id: jobId, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + reject_reason_id: rejectReasonId, + remote_id: remoteId, + source, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/applications", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedApplicationList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/applications"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/applications", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedApplicationList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/applications"); } /** @@ -243,7 +257,6 @@ export class ApplicationsClient { * * @example * await client.ats.applications.retrieve("id", { - * expand: "candidate", * includeRemoteData: true, * includeShellData: true * }) @@ -263,12 +276,17 @@ export class ApplicationsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ats.ApplicationsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.ApplicationsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ats.ApplicationsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts b/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts index b6acfc9fa..efa9895ef 100644 --- a/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts +++ b/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts @@ -11,7 +11,6 @@ import type * as Merge from "../../../../../../index"; * creditedToId: "credited_to_id", * currentStageId: "current_stage_id", * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "candidate", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -38,7 +37,7 @@ export interface ApplicationsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.ApplicationsListRequestExpand; + expand?: Merge.ats.ApplicationsListRequestExpandItem | Merge.ats.ApplicationsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts b/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts index 6fcf4a4e1..a2994a5b0 100644 --- a/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts @@ -5,14 +5,13 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "candidate", * includeRemoteData: true, * includeShellData: true * } */ export interface ApplicationsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.ApplicationsRetrieveRequestExpand; + expand?: Merge.ats.ApplicationsRetrieveRequestExpandItem | Merge.ats.ApplicationsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts b/src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts deleted file mode 100644 index 5df0deed5..000000000 --- a/src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts +++ /dev/null @@ -1,397 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ApplicationsListRequestExpand = { - Candidate: "candidate", - CandidateCreditedTo: "candidate,credited_to", - CandidateCreditedToCurrentStage: "candidate,credited_to,current_stage", - CandidateCreditedToCurrentStageRejectReason: "candidate,credited_to,current_stage,reject_reason", - CandidateCreditedToRejectReason: "candidate,credited_to,reject_reason", - CandidateCurrentStage: "candidate,current_stage", - CandidateCurrentStageRejectReason: "candidate,current_stage,reject_reason", - CandidateJob: "candidate,job", - CandidateJobCreditedTo: "candidate,job,credited_to", - CandidateJobCreditedToCurrentStage: "candidate,job,credited_to,current_stage", - CandidateJobCreditedToCurrentStageRejectReason: "candidate,job,credited_to,current_stage,reject_reason", - CandidateJobCreditedToRejectReason: "candidate,job,credited_to,reject_reason", - CandidateJobCurrentStage: "candidate,job,current_stage", - CandidateJobCurrentStageRejectReason: "candidate,job,current_stage,reject_reason", - CandidateJobRejectReason: "candidate,job,reject_reason", - CandidateRejectReason: "candidate,reject_reason", - CreditedTo: "credited_to", - CreditedToCurrentStage: "credited_to,current_stage", - CreditedToCurrentStageRejectReason: "credited_to,current_stage,reject_reason", - CreditedToRejectReason: "credited_to,reject_reason", - CurrentStage: "current_stage", - CurrentStageRejectReason: "current_stage,reject_reason", - Job: "job", - JobCreditedTo: "job,credited_to", - JobCreditedToCurrentStage: "job,credited_to,current_stage", - JobCreditedToCurrentStageRejectReason: "job,credited_to,current_stage,reject_reason", - JobCreditedToRejectReason: "job,credited_to,reject_reason", - JobCurrentStage: "job,current_stage", - JobCurrentStageRejectReason: "job,current_stage,reject_reason", - JobRejectReason: "job,reject_reason", - Offers: "offers", - OffersCandidate: "offers,candidate", - OffersCandidateCreditedTo: "offers,candidate,credited_to", - OffersCandidateCreditedToCurrentStage: "offers,candidate,credited_to,current_stage", - OffersCandidateCreditedToCurrentStageRejectReason: "offers,candidate,credited_to,current_stage,reject_reason", - OffersCandidateCreditedToRejectReason: "offers,candidate,credited_to,reject_reason", - OffersCandidateCurrentStage: "offers,candidate,current_stage", - OffersCandidateCurrentStageRejectReason: "offers,candidate,current_stage,reject_reason", - OffersCandidateJob: "offers,candidate,job", - OffersCandidateJobCreditedTo: "offers,candidate,job,credited_to", - OffersCandidateJobCreditedToCurrentStage: "offers,candidate,job,credited_to,current_stage", - OffersCandidateJobCreditedToCurrentStageRejectReason: - "offers,candidate,job,credited_to,current_stage,reject_reason", - OffersCandidateJobCreditedToRejectReason: "offers,candidate,job,credited_to,reject_reason", - OffersCandidateJobCurrentStage: "offers,candidate,job,current_stage", - OffersCandidateJobCurrentStageRejectReason: "offers,candidate,job,current_stage,reject_reason", - OffersCandidateJobRejectReason: "offers,candidate,job,reject_reason", - OffersCandidateRejectReason: "offers,candidate,reject_reason", - OffersCreditedTo: "offers,credited_to", - OffersCreditedToCurrentStage: "offers,credited_to,current_stage", - OffersCreditedToCurrentStageRejectReason: "offers,credited_to,current_stage,reject_reason", - OffersCreditedToRejectReason: "offers,credited_to,reject_reason", - OffersCurrentStage: "offers,current_stage", - OffersCurrentStageRejectReason: "offers,current_stage,reject_reason", - OffersJob: "offers,job", - OffersJobCreditedTo: "offers,job,credited_to", - OffersJobCreditedToCurrentStage: "offers,job,credited_to,current_stage", - OffersJobCreditedToCurrentStageRejectReason: "offers,job,credited_to,current_stage,reject_reason", - OffersJobCreditedToRejectReason: "offers,job,credited_to,reject_reason", - OffersJobCurrentStage: "offers,job,current_stage", - OffersJobCurrentStageRejectReason: "offers,job,current_stage,reject_reason", - OffersJobRejectReason: "offers,job,reject_reason", - OffersRejectReason: "offers,reject_reason", - OffersScreeningQuestionAnswers: "offers,screening_question_answers", - OffersScreeningQuestionAnswersCandidate: "offers,screening_question_answers,candidate", - OffersScreeningQuestionAnswersCandidateCreditedTo: "offers,screening_question_answers,candidate,credited_to", - OffersScreeningQuestionAnswersCandidateCreditedToCurrentStage: - "offers,screening_question_answers,candidate,credited_to,current_stage", - OffersScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateCreditedToRejectReason: - "offers,screening_question_answers,candidate,credited_to,reject_reason", - OffersScreeningQuestionAnswersCandidateCurrentStage: "offers,screening_question_answers,candidate,current_stage", - OffersScreeningQuestionAnswersCandidateCurrentStageRejectReason: - "offers,screening_question_answers,candidate,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateJob: "offers,screening_question_answers,candidate,job", - OffersScreeningQuestionAnswersCandidateJobCreditedTo: "offers,screening_question_answers,candidate,job,credited_to", - OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStage: - "offers,screening_question_answers,candidate,job,credited_to,current_stage", - OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateJobCreditedToRejectReason: - "offers,screening_question_answers,candidate,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersCandidateJobCurrentStage: - "offers,screening_question_answers,candidate,job,current_stage", - OffersScreeningQuestionAnswersCandidateJobCurrentStageRejectReason: - "offers,screening_question_answers,candidate,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateJobRejectReason: - "offers,screening_question_answers,candidate,job,reject_reason", - OffersScreeningQuestionAnswersCandidateRejectReason: "offers,screening_question_answers,candidate,reject_reason", - OffersScreeningQuestionAnswersCreditedTo: "offers,screening_question_answers,credited_to", - OffersScreeningQuestionAnswersCreditedToCurrentStage: "offers,screening_question_answers,credited_to,current_stage", - OffersScreeningQuestionAnswersCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersCreditedToRejectReason: "offers,screening_question_answers,credited_to,reject_reason", - OffersScreeningQuestionAnswersCurrentStage: "offers,screening_question_answers,current_stage", - OffersScreeningQuestionAnswersCurrentStageRejectReason: - "offers,screening_question_answers,current_stage,reject_reason", - OffersScreeningQuestionAnswersJob: "offers,screening_question_answers,job", - OffersScreeningQuestionAnswersJobCreditedTo: "offers,screening_question_answers,job,credited_to", - OffersScreeningQuestionAnswersJobCreditedToCurrentStage: - "offers,screening_question_answers,job,credited_to,current_stage", - OffersScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersJobCreditedToRejectReason: - "offers,screening_question_answers,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersJobCurrentStage: "offers,screening_question_answers,job,current_stage", - OffersScreeningQuestionAnswersJobCurrentStageRejectReason: - "offers,screening_question_answers,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersJobRejectReason: "offers,screening_question_answers,job,reject_reason", - OffersScreeningQuestionAnswersRejectReason: "offers,screening_question_answers,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestion: - "offers,screening_question_answers,screening_question_answers.question", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate: - "offers,screening_question_answers,screening_question_answers.question,candidate", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob: - "offers,screening_question_answers,screening_question_answers.question,candidate,job", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob: - "offers,screening_question_answers,screening_question_answers.question,job", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,job,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason: - "offers,screening_question_answers,screening_question_answers.question,reject_reason", - OffersScreeningQuestionAnswersQuestion: "offers,screening_question_answers.question", - OffersScreeningQuestionAnswersQuestionCandidate: "offers,screening_question_answers.question,candidate", - OffersScreeningQuestionAnswersQuestionCandidateCreditedTo: - "offers,screening_question_answers.question,candidate,credited_to", - OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "offers,screening_question_answers.question,candidate,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "offers,screening_question_answers.question,candidate,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateCurrentStage: - "offers,screening_question_answers.question,candidate,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJob: "offers,screening_question_answers.question,candidate,job", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "offers,screening_question_answers.question,candidate,job,credited_to", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "offers,screening_question_answers.question,candidate,job,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "offers,screening_question_answers.question,candidate,job,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateRejectReason: - "offers,screening_question_answers.question,candidate,reject_reason", - OffersScreeningQuestionAnswersQuestionCreditedTo: "offers,screening_question_answers.question,credited_to", - OffersScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "offers,screening_question_answers.question,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCreditedToRejectReason: - "offers,screening_question_answers.question,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionCurrentStage: "offers,screening_question_answers.question,current_stage", - OffersScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "offers,screening_question_answers.question,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionJob: "offers,screening_question_answers.question,job", - OffersScreeningQuestionAnswersQuestionJobCreditedTo: "offers,screening_question_answers.question,job,credited_to", - OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "offers,screening_question_answers.question,job,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "offers,screening_question_answers.question,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionJobCurrentStage: - "offers,screening_question_answers.question,job,current_stage", - OffersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "offers,screening_question_answers.question,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionJobRejectReason: - "offers,screening_question_answers.question,job,reject_reason", - OffersScreeningQuestionAnswersQuestionRejectReason: "offers,screening_question_answers.question,reject_reason", - RejectReason: "reject_reason", - ScreeningQuestionAnswers: "screening_question_answers", - ScreeningQuestionAnswersCandidate: "screening_question_answers,candidate", - ScreeningQuestionAnswersCandidateCreditedTo: "screening_question_answers,candidate,credited_to", - ScreeningQuestionAnswersCandidateCreditedToCurrentStage: - "screening_question_answers,candidate,credited_to,current_stage", - ScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason: - "screening_question_answers,candidate,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateCreditedToRejectReason: - "screening_question_answers,candidate,credited_to,reject_reason", - ScreeningQuestionAnswersCandidateCurrentStage: "screening_question_answers,candidate,current_stage", - ScreeningQuestionAnswersCandidateCurrentStageRejectReason: - "screening_question_answers,candidate,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateJob: "screening_question_answers,candidate,job", - ScreeningQuestionAnswersCandidateJobCreditedTo: "screening_question_answers,candidate,job,credited_to", - ScreeningQuestionAnswersCandidateJobCreditedToCurrentStage: - "screening_question_answers,candidate,job,credited_to,current_stage", - ScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason: - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateJobCreditedToRejectReason: - "screening_question_answers,candidate,job,credited_to,reject_reason", - ScreeningQuestionAnswersCandidateJobCurrentStage: "screening_question_answers,candidate,job,current_stage", - ScreeningQuestionAnswersCandidateJobCurrentStageRejectReason: - "screening_question_answers,candidate,job,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateJobRejectReason: "screening_question_answers,candidate,job,reject_reason", - ScreeningQuestionAnswersCandidateRejectReason: "screening_question_answers,candidate,reject_reason", - ScreeningQuestionAnswersCreditedTo: "screening_question_answers,credited_to", - ScreeningQuestionAnswersCreditedToCurrentStage: "screening_question_answers,credited_to,current_stage", - ScreeningQuestionAnswersCreditedToCurrentStageRejectReason: - "screening_question_answers,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersCreditedToRejectReason: "screening_question_answers,credited_to,reject_reason", - ScreeningQuestionAnswersCurrentStage: "screening_question_answers,current_stage", - ScreeningQuestionAnswersCurrentStageRejectReason: "screening_question_answers,current_stage,reject_reason", - ScreeningQuestionAnswersJob: "screening_question_answers,job", - ScreeningQuestionAnswersJobCreditedTo: "screening_question_answers,job,credited_to", - ScreeningQuestionAnswersJobCreditedToCurrentStage: "screening_question_answers,job,credited_to,current_stage", - ScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason: - "screening_question_answers,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersJobCreditedToRejectReason: "screening_question_answers,job,credited_to,reject_reason", - ScreeningQuestionAnswersJobCurrentStage: "screening_question_answers,job,current_stage", - ScreeningQuestionAnswersJobCurrentStageRejectReason: "screening_question_answers,job,current_stage,reject_reason", - ScreeningQuestionAnswersJobRejectReason: "screening_question_answers,job,reject_reason", - ScreeningQuestionAnswersRejectReason: "screening_question_answers,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestion: - "screening_question_answers,screening_question_answers.question", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate: - "screening_question_answers,screening_question_answers.question,candidate", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo: - "screening_question_answers,screening_question_answers.question,candidate,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob: - "screening_question_answers,screening_question_answers.question,candidate,job", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo: - "screening_question_answers,screening_question_answers.question,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage: - "screening_question_answers,screening_question_answers.question,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob: - "screening_question_answers,screening_question_answers.question,job", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo: - "screening_question_answers,screening_question_answers.question,job,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage: - "screening_question_answers,screening_question_answers.question,job,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason: - "screening_question_answers,screening_question_answers.question,job,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason: - "screening_question_answers,screening_question_answers.question,reject_reason", - ScreeningQuestionAnswersQuestion: "screening_question_answers.question", - ScreeningQuestionAnswersQuestionCandidate: "screening_question_answers.question,candidate", - ScreeningQuestionAnswersQuestionCandidateCreditedTo: "screening_question_answers.question,candidate,credited_to", - ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "screening_question_answers.question,candidate,credited_to,current_stage", - ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "screening_question_answers.question,candidate,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionCandidateCurrentStage: - "screening_question_answers.question,candidate,current_stage", - ScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "screening_question_answers.question,candidate,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJob: "screening_question_answers.question,candidate,job", - ScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "screening_question_answers.question,candidate,job,credited_to", - ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "screening_question_answers.question,candidate,job,credited_to,current_stage", - ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "screening_question_answers.question,candidate,job,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "screening_question_answers.question,candidate,job,current_stage", - ScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "screening_question_answers.question,candidate,job,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "screening_question_answers.question,candidate,job,reject_reason", - ScreeningQuestionAnswersQuestionCandidateRejectReason: - "screening_question_answers.question,candidate,reject_reason", - ScreeningQuestionAnswersQuestionCreditedTo: "screening_question_answers.question,credited_to", - ScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "screening_question_answers.question,credited_to,current_stage", - ScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "screening_question_answers.question,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCreditedToRejectReason: - "screening_question_answers.question,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionCurrentStage: "screening_question_answers.question,current_stage", - ScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "screening_question_answers.question,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionJob: "screening_question_answers.question,job", - ScreeningQuestionAnswersQuestionJobCreditedTo: "screening_question_answers.question,job,credited_to", - ScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "screening_question_answers.question,job,credited_to,current_stage", - ScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "screening_question_answers.question,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "screening_question_answers.question,job,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionJobCurrentStage: "screening_question_answers.question,job,current_stage", - ScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "screening_question_answers.question,job,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionJobRejectReason: "screening_question_answers.question,job,reject_reason", - ScreeningQuestionAnswersQuestionRejectReason: "screening_question_answers.question,reject_reason", -} as const; -export type ApplicationsListRequestExpand = - (typeof ApplicationsListRequestExpand)[keyof typeof ApplicationsListRequestExpand]; diff --git a/src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts b/src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts new file mode 100644 index 000000000..18e4443a0 --- /dev/null +++ b/src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ApplicationsListRequestExpandItem = { + Candidate: "candidate", + CreditedTo: "credited_to", + CurrentStage: "current_stage", + Job: "job", + Offers: "offers", + RejectReason: "reject_reason", + ScreeningQuestionAnswers: "screening_question_answers", + ScreeningQuestionAnswersQuestion: "screening_question_answers.question", +} as const; +export type ApplicationsListRequestExpandItem = + (typeof ApplicationsListRequestExpandItem)[keyof typeof ApplicationsListRequestExpandItem]; diff --git a/src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts deleted file mode 100644 index 4c51b0f95..000000000 --- a/src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts +++ /dev/null @@ -1,397 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ApplicationsRetrieveRequestExpand = { - Candidate: "candidate", - CandidateCreditedTo: "candidate,credited_to", - CandidateCreditedToCurrentStage: "candidate,credited_to,current_stage", - CandidateCreditedToCurrentStageRejectReason: "candidate,credited_to,current_stage,reject_reason", - CandidateCreditedToRejectReason: "candidate,credited_to,reject_reason", - CandidateCurrentStage: "candidate,current_stage", - CandidateCurrentStageRejectReason: "candidate,current_stage,reject_reason", - CandidateJob: "candidate,job", - CandidateJobCreditedTo: "candidate,job,credited_to", - CandidateJobCreditedToCurrentStage: "candidate,job,credited_to,current_stage", - CandidateJobCreditedToCurrentStageRejectReason: "candidate,job,credited_to,current_stage,reject_reason", - CandidateJobCreditedToRejectReason: "candidate,job,credited_to,reject_reason", - CandidateJobCurrentStage: "candidate,job,current_stage", - CandidateJobCurrentStageRejectReason: "candidate,job,current_stage,reject_reason", - CandidateJobRejectReason: "candidate,job,reject_reason", - CandidateRejectReason: "candidate,reject_reason", - CreditedTo: "credited_to", - CreditedToCurrentStage: "credited_to,current_stage", - CreditedToCurrentStageRejectReason: "credited_to,current_stage,reject_reason", - CreditedToRejectReason: "credited_to,reject_reason", - CurrentStage: "current_stage", - CurrentStageRejectReason: "current_stage,reject_reason", - Job: "job", - JobCreditedTo: "job,credited_to", - JobCreditedToCurrentStage: "job,credited_to,current_stage", - JobCreditedToCurrentStageRejectReason: "job,credited_to,current_stage,reject_reason", - JobCreditedToRejectReason: "job,credited_to,reject_reason", - JobCurrentStage: "job,current_stage", - JobCurrentStageRejectReason: "job,current_stage,reject_reason", - JobRejectReason: "job,reject_reason", - Offers: "offers", - OffersCandidate: "offers,candidate", - OffersCandidateCreditedTo: "offers,candidate,credited_to", - OffersCandidateCreditedToCurrentStage: "offers,candidate,credited_to,current_stage", - OffersCandidateCreditedToCurrentStageRejectReason: "offers,candidate,credited_to,current_stage,reject_reason", - OffersCandidateCreditedToRejectReason: "offers,candidate,credited_to,reject_reason", - OffersCandidateCurrentStage: "offers,candidate,current_stage", - OffersCandidateCurrentStageRejectReason: "offers,candidate,current_stage,reject_reason", - OffersCandidateJob: "offers,candidate,job", - OffersCandidateJobCreditedTo: "offers,candidate,job,credited_to", - OffersCandidateJobCreditedToCurrentStage: "offers,candidate,job,credited_to,current_stage", - OffersCandidateJobCreditedToCurrentStageRejectReason: - "offers,candidate,job,credited_to,current_stage,reject_reason", - OffersCandidateJobCreditedToRejectReason: "offers,candidate,job,credited_to,reject_reason", - OffersCandidateJobCurrentStage: "offers,candidate,job,current_stage", - OffersCandidateJobCurrentStageRejectReason: "offers,candidate,job,current_stage,reject_reason", - OffersCandidateJobRejectReason: "offers,candidate,job,reject_reason", - OffersCandidateRejectReason: "offers,candidate,reject_reason", - OffersCreditedTo: "offers,credited_to", - OffersCreditedToCurrentStage: "offers,credited_to,current_stage", - OffersCreditedToCurrentStageRejectReason: "offers,credited_to,current_stage,reject_reason", - OffersCreditedToRejectReason: "offers,credited_to,reject_reason", - OffersCurrentStage: "offers,current_stage", - OffersCurrentStageRejectReason: "offers,current_stage,reject_reason", - OffersJob: "offers,job", - OffersJobCreditedTo: "offers,job,credited_to", - OffersJobCreditedToCurrentStage: "offers,job,credited_to,current_stage", - OffersJobCreditedToCurrentStageRejectReason: "offers,job,credited_to,current_stage,reject_reason", - OffersJobCreditedToRejectReason: "offers,job,credited_to,reject_reason", - OffersJobCurrentStage: "offers,job,current_stage", - OffersJobCurrentStageRejectReason: "offers,job,current_stage,reject_reason", - OffersJobRejectReason: "offers,job,reject_reason", - OffersRejectReason: "offers,reject_reason", - OffersScreeningQuestionAnswers: "offers,screening_question_answers", - OffersScreeningQuestionAnswersCandidate: "offers,screening_question_answers,candidate", - OffersScreeningQuestionAnswersCandidateCreditedTo: "offers,screening_question_answers,candidate,credited_to", - OffersScreeningQuestionAnswersCandidateCreditedToCurrentStage: - "offers,screening_question_answers,candidate,credited_to,current_stage", - OffersScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateCreditedToRejectReason: - "offers,screening_question_answers,candidate,credited_to,reject_reason", - OffersScreeningQuestionAnswersCandidateCurrentStage: "offers,screening_question_answers,candidate,current_stage", - OffersScreeningQuestionAnswersCandidateCurrentStageRejectReason: - "offers,screening_question_answers,candidate,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateJob: "offers,screening_question_answers,candidate,job", - OffersScreeningQuestionAnswersCandidateJobCreditedTo: "offers,screening_question_answers,candidate,job,credited_to", - OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStage: - "offers,screening_question_answers,candidate,job,credited_to,current_stage", - OffersScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateJobCreditedToRejectReason: - "offers,screening_question_answers,candidate,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersCandidateJobCurrentStage: - "offers,screening_question_answers,candidate,job,current_stage", - OffersScreeningQuestionAnswersCandidateJobCurrentStageRejectReason: - "offers,screening_question_answers,candidate,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersCandidateJobRejectReason: - "offers,screening_question_answers,candidate,job,reject_reason", - OffersScreeningQuestionAnswersCandidateRejectReason: "offers,screening_question_answers,candidate,reject_reason", - OffersScreeningQuestionAnswersCreditedTo: "offers,screening_question_answers,credited_to", - OffersScreeningQuestionAnswersCreditedToCurrentStage: "offers,screening_question_answers,credited_to,current_stage", - OffersScreeningQuestionAnswersCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersCreditedToRejectReason: "offers,screening_question_answers,credited_to,reject_reason", - OffersScreeningQuestionAnswersCurrentStage: "offers,screening_question_answers,current_stage", - OffersScreeningQuestionAnswersCurrentStageRejectReason: - "offers,screening_question_answers,current_stage,reject_reason", - OffersScreeningQuestionAnswersJob: "offers,screening_question_answers,job", - OffersScreeningQuestionAnswersJobCreditedTo: "offers,screening_question_answers,job,credited_to", - OffersScreeningQuestionAnswersJobCreditedToCurrentStage: - "offers,screening_question_answers,job,credited_to,current_stage", - OffersScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersJobCreditedToRejectReason: - "offers,screening_question_answers,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersJobCurrentStage: "offers,screening_question_answers,job,current_stage", - OffersScreeningQuestionAnswersJobCurrentStageRejectReason: - "offers,screening_question_answers,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersJobRejectReason: "offers,screening_question_answers,job,reject_reason", - OffersScreeningQuestionAnswersRejectReason: "offers,screening_question_answers,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestion: - "offers,screening_question_answers,screening_question_answers.question", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate: - "offers,screening_question_answers,screening_question_answers.question,candidate", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob: - "offers,screening_question_answers,screening_question_answers.question,candidate,job", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason: - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob: - "offers,screening_question_answers,screening_question_answers.question,job", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage: - "offers,screening_question_answers,screening_question_answers.question,job,current_stage", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason: - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason", - OffersScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason: - "offers,screening_question_answers,screening_question_answers.question,reject_reason", - OffersScreeningQuestionAnswersQuestion: "offers,screening_question_answers.question", - OffersScreeningQuestionAnswersQuestionCandidate: "offers,screening_question_answers.question,candidate", - OffersScreeningQuestionAnswersQuestionCandidateCreditedTo: - "offers,screening_question_answers.question,candidate,credited_to", - OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "offers,screening_question_answers.question,candidate,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "offers,screening_question_answers.question,candidate,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateCurrentStage: - "offers,screening_question_answers.question,candidate,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJob: "offers,screening_question_answers.question,candidate,job", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "offers,screening_question_answers.question,candidate,job,credited_to", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "offers,screening_question_answers.question,candidate,job,current_stage", - OffersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "offers,screening_question_answers.question,candidate,job,reject_reason", - OffersScreeningQuestionAnswersQuestionCandidateRejectReason: - "offers,screening_question_answers.question,candidate,reject_reason", - OffersScreeningQuestionAnswersQuestionCreditedTo: "offers,screening_question_answers.question,credited_to", - OffersScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "offers,screening_question_answers.question,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionCreditedToRejectReason: - "offers,screening_question_answers.question,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionCurrentStage: "offers,screening_question_answers.question,current_stage", - OffersScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "offers,screening_question_answers.question,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionJob: "offers,screening_question_answers.question,job", - OffersScreeningQuestionAnswersQuestionJobCreditedTo: "offers,screening_question_answers.question,job,credited_to", - OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "offers,screening_question_answers.question,job,credited_to,current_stage", - OffersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "offers,screening_question_answers.question,job,credited_to,reject_reason", - OffersScreeningQuestionAnswersQuestionJobCurrentStage: - "offers,screening_question_answers.question,job,current_stage", - OffersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "offers,screening_question_answers.question,job,current_stage,reject_reason", - OffersScreeningQuestionAnswersQuestionJobRejectReason: - "offers,screening_question_answers.question,job,reject_reason", - OffersScreeningQuestionAnswersQuestionRejectReason: "offers,screening_question_answers.question,reject_reason", - RejectReason: "reject_reason", - ScreeningQuestionAnswers: "screening_question_answers", - ScreeningQuestionAnswersCandidate: "screening_question_answers,candidate", - ScreeningQuestionAnswersCandidateCreditedTo: "screening_question_answers,candidate,credited_to", - ScreeningQuestionAnswersCandidateCreditedToCurrentStage: - "screening_question_answers,candidate,credited_to,current_stage", - ScreeningQuestionAnswersCandidateCreditedToCurrentStageRejectReason: - "screening_question_answers,candidate,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateCreditedToRejectReason: - "screening_question_answers,candidate,credited_to,reject_reason", - ScreeningQuestionAnswersCandidateCurrentStage: "screening_question_answers,candidate,current_stage", - ScreeningQuestionAnswersCandidateCurrentStageRejectReason: - "screening_question_answers,candidate,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateJob: "screening_question_answers,candidate,job", - ScreeningQuestionAnswersCandidateJobCreditedTo: "screening_question_answers,candidate,job,credited_to", - ScreeningQuestionAnswersCandidateJobCreditedToCurrentStage: - "screening_question_answers,candidate,job,credited_to,current_stage", - ScreeningQuestionAnswersCandidateJobCreditedToCurrentStageRejectReason: - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateJobCreditedToRejectReason: - "screening_question_answers,candidate,job,credited_to,reject_reason", - ScreeningQuestionAnswersCandidateJobCurrentStage: "screening_question_answers,candidate,job,current_stage", - ScreeningQuestionAnswersCandidateJobCurrentStageRejectReason: - "screening_question_answers,candidate,job,current_stage,reject_reason", - ScreeningQuestionAnswersCandidateJobRejectReason: "screening_question_answers,candidate,job,reject_reason", - ScreeningQuestionAnswersCandidateRejectReason: "screening_question_answers,candidate,reject_reason", - ScreeningQuestionAnswersCreditedTo: "screening_question_answers,credited_to", - ScreeningQuestionAnswersCreditedToCurrentStage: "screening_question_answers,credited_to,current_stage", - ScreeningQuestionAnswersCreditedToCurrentStageRejectReason: - "screening_question_answers,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersCreditedToRejectReason: "screening_question_answers,credited_to,reject_reason", - ScreeningQuestionAnswersCurrentStage: "screening_question_answers,current_stage", - ScreeningQuestionAnswersCurrentStageRejectReason: "screening_question_answers,current_stage,reject_reason", - ScreeningQuestionAnswersJob: "screening_question_answers,job", - ScreeningQuestionAnswersJobCreditedTo: "screening_question_answers,job,credited_to", - ScreeningQuestionAnswersJobCreditedToCurrentStage: "screening_question_answers,job,credited_to,current_stage", - ScreeningQuestionAnswersJobCreditedToCurrentStageRejectReason: - "screening_question_answers,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersJobCreditedToRejectReason: "screening_question_answers,job,credited_to,reject_reason", - ScreeningQuestionAnswersJobCurrentStage: "screening_question_answers,job,current_stage", - ScreeningQuestionAnswersJobCurrentStageRejectReason: "screening_question_answers,job,current_stage,reject_reason", - ScreeningQuestionAnswersJobRejectReason: "screening_question_answers,job,reject_reason", - ScreeningQuestionAnswersRejectReason: "screening_question_answers,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestion: - "screening_question_answers,screening_question_answers.question", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidate: - "screening_question_answers,screening_question_answers.question,candidate", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedTo: - "screening_question_answers,screening_question_answers.question,candidate,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJob: - "screening_question_answers,screening_question_answers.question,candidate,job", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCandidateRejectReason: - "screening_question_answers,screening_question_answers.question,candidate,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedTo: - "screening_question_answers,screening_question_answers.question,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStage: - "screening_question_answers,screening_question_answers.question,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJob: - "screening_question_answers,screening_question_answers.question,job", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedTo: - "screening_question_answers,screening_question_answers.question,job,credited_to", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStage: - "screening_question_answers,screening_question_answers.question,job,current_stage", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionJobRejectReason: - "screening_question_answers,screening_question_answers.question,job,reject_reason", - ScreeningQuestionAnswersScreeningQuestionAnswersQuestionRejectReason: - "screening_question_answers,screening_question_answers.question,reject_reason", - ScreeningQuestionAnswersQuestion: "screening_question_answers.question", - ScreeningQuestionAnswersQuestionCandidate: "screening_question_answers.question,candidate", - ScreeningQuestionAnswersQuestionCandidateCreditedTo: "screening_question_answers.question,candidate,credited_to", - ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStage: - "screening_question_answers.question,candidate,credited_to,current_stage", - ScreeningQuestionAnswersQuestionCandidateCreditedToCurrentStageRejectReason: - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateCreditedToRejectReason: - "screening_question_answers.question,candidate,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionCandidateCurrentStage: - "screening_question_answers.question,candidate,current_stage", - ScreeningQuestionAnswersQuestionCandidateCurrentStageRejectReason: - "screening_question_answers.question,candidate,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJob: "screening_question_answers.question,candidate,job", - ScreeningQuestionAnswersQuestionCandidateJobCreditedTo: - "screening_question_answers.question,candidate,job,credited_to", - ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStage: - "screening_question_answers.question,candidate,job,credited_to,current_stage", - ScreeningQuestionAnswersQuestionCandidateJobCreditedToCurrentStageRejectReason: - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJobCreditedToRejectReason: - "screening_question_answers.question,candidate,job,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJobCurrentStage: - "screening_question_answers.question,candidate,job,current_stage", - ScreeningQuestionAnswersQuestionCandidateJobCurrentStageRejectReason: - "screening_question_answers.question,candidate,job,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCandidateJobRejectReason: - "screening_question_answers.question,candidate,job,reject_reason", - ScreeningQuestionAnswersQuestionCandidateRejectReason: - "screening_question_answers.question,candidate,reject_reason", - ScreeningQuestionAnswersQuestionCreditedTo: "screening_question_answers.question,credited_to", - ScreeningQuestionAnswersQuestionCreditedToCurrentStage: - "screening_question_answers.question,credited_to,current_stage", - ScreeningQuestionAnswersQuestionCreditedToCurrentStageRejectReason: - "screening_question_answers.question,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionCreditedToRejectReason: - "screening_question_answers.question,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionCurrentStage: "screening_question_answers.question,current_stage", - ScreeningQuestionAnswersQuestionCurrentStageRejectReason: - "screening_question_answers.question,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionJob: "screening_question_answers.question,job", - ScreeningQuestionAnswersQuestionJobCreditedTo: "screening_question_answers.question,job,credited_to", - ScreeningQuestionAnswersQuestionJobCreditedToCurrentStage: - "screening_question_answers.question,job,credited_to,current_stage", - ScreeningQuestionAnswersQuestionJobCreditedToCurrentStageRejectReason: - "screening_question_answers.question,job,credited_to,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionJobCreditedToRejectReason: - "screening_question_answers.question,job,credited_to,reject_reason", - ScreeningQuestionAnswersQuestionJobCurrentStage: "screening_question_answers.question,job,current_stage", - ScreeningQuestionAnswersQuestionJobCurrentStageRejectReason: - "screening_question_answers.question,job,current_stage,reject_reason", - ScreeningQuestionAnswersQuestionJobRejectReason: "screening_question_answers.question,job,reject_reason", - ScreeningQuestionAnswersQuestionRejectReason: "screening_question_answers.question,reject_reason", -} as const; -export type ApplicationsRetrieveRequestExpand = - (typeof ApplicationsRetrieveRequestExpand)[keyof typeof ApplicationsRetrieveRequestExpand]; diff --git a/src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts b/src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..d852c195f --- /dev/null +++ b/src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ApplicationsRetrieveRequestExpandItem = { + Candidate: "candidate", + CreditedTo: "credited_to", + CurrentStage: "current_stage", + Job: "job", + Offers: "offers", + RejectReason: "reject_reason", + ScreeningQuestionAnswers: "screening_question_answers", + ScreeningQuestionAnswersQuestion: "screening_question_answers.question", +} as const; +export type ApplicationsRetrieveRequestExpandItem = + (typeof ApplicationsRetrieveRequestExpandItem)[keyof typeof ApplicationsRetrieveRequestExpandItem]; diff --git a/src/api/resources/ats/resources/applications/types/index.ts b/src/api/resources/ats/resources/applications/types/index.ts index 10d68b6c6..61c840207 100644 --- a/src/api/resources/ats/resources/applications/types/index.ts +++ b/src/api/resources/ats/resources/applications/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ApplicationsListRequestExpand"; -export * from "./ApplicationsRetrieveRequestExpand"; +export * from "./ApplicationsListRequestExpandItem"; +export * from "./ApplicationsRetrieveRequestExpandItem"; diff --git a/src/api/resources/ats/resources/attachments/client/Client.ts b/src/api/resources/ats/resources/attachments/client/Client.ts index e22c0aa46..8144cee49 100644 --- a/src/api/resources/ats/resources/attachments/client/Client.ts +++ b/src/api/resources/ats/resources/attachments/client/Client.ts @@ -35,7 +35,6 @@ export class AttachmentsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "candidate", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,94 +46,104 @@ export class AttachmentsClient { * showEnumOrigins: "attachment_type" * }) */ - public list( + public async list( request: Merge.ats.AttachmentsListRequest = {}, requestOptions?: AttachmentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.AttachmentsListRequest = {}, - requestOptions?: AttachmentsClient.RequestOptions, - ): Promise> { - const { - candidateId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - candidate_id: candidateId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.AttachmentsListRequest, + ): Promise> => { + const { + candidateId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + candidate_id: candidateId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/attachments", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedAttachmentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/attachments"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/attachments", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedAttachmentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/attachments"); } /** @@ -226,7 +235,6 @@ export class AttachmentsClient { * * @example * await client.ats.attachments.retrieve("id", { - * expand: "candidate", * includeRemoteData: true, * includeShellData: true, * remoteFields: "attachment_type", @@ -248,7 +256,7 @@ export class AttachmentsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts index 4031b8947..c43a64a17 100644 --- a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts +++ b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts @@ -7,7 +7,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "candidate", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -29,7 +28,7 @@ export interface AttachmentsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "candidate"; + expand?: "candidate" | "candidate"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts index acea419f9..a0f67a3ad 100644 --- a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts @@ -3,7 +3,6 @@ /** * @example * { - * expand: "candidate", * includeRemoteData: true, * includeShellData: true, * remoteFields: "attachment_type", @@ -12,7 +11,7 @@ */ export interface AttachmentsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "candidate"; + expand?: "candidate" | "candidate"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/auditTrail/client/Client.ts b/src/api/resources/ats/resources/auditTrail/client/Client.ts index 3868adaba..50f548500 100644 --- a/src/api/resources/ats/resources/auditTrail/client/Client.ts +++ b/src/api/resources/ats/resources/auditTrail/client/Client.ts @@ -39,70 +39,80 @@ export class AuditTrailClient { * userEmail: "user_email" * }) */ - public list( + public async list( request: Merge.ats.AuditTrailListRequest = {}, requestOptions?: AuditTrailClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.AuditTrailListRequest = {}, - requestOptions?: AuditTrailClient.RequestOptions, - ): Promise> { - const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams: Record = { - cursor, - end_date: endDate, - event_type: eventType, - page_size: pageSize, - start_date: startDate, - user_email: userEmail, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.AuditTrailListRequest, + ): Promise> => { + const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; + const _queryParams: Record = { + cursor, + end_date: endDate, + event_type: eventType, + page_size: pageSize, + start_date: startDate, + user_email: userEmail, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/audit-trail", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedAuditLogEventList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/audit-trail"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/audit-trail", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedAuditLogEventList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/audit-trail"); } } diff --git a/src/api/resources/ats/resources/candidates/client/Client.ts b/src/api/resources/ats/resources/candidates/client/Client.ts index 7863aac47..074eb3b8f 100644 --- a/src/api/resources/ats/resources/candidates/client/Client.ts +++ b/src/api/resources/ats/resources/candidates/client/Client.ts @@ -35,7 +35,6 @@ export class CandidatesClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddresses: "email_addresses", - * expand: "applications", * firstName: "first_name", * includeDeletedData: true, * includeRemoteData: true, @@ -48,101 +47,116 @@ export class CandidatesClient { * tags: "tags" * }) */ - public list( + public async list( request: Merge.ats.CandidatesListRequest = {}, requestOptions?: CandidatesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.CandidatesListRequest = {}, - requestOptions?: CandidatesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - emailAddresses, - expand, - firstName, - includeDeletedData, - includeRemoteData, - includeShellData, - lastName, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - tags, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email_addresses: emailAddresses, - expand: - expand != null - ? serializers.ats.CandidatesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - first_name: firstName, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - last_name: lastName, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - tags, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.CandidatesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + emailAddresses, + expand, + firstName, + includeDeletedData, + includeRemoteData, + includeShellData, + lastName, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + tags, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email_addresses: emailAddresses, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.CandidatesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.CandidatesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + first_name: firstName, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + last_name: lastName, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + tags, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/candidates", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedCandidateList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/candidates"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/candidates", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedCandidateList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/candidates"); } /** @@ -234,7 +248,6 @@ export class CandidatesClient { * * @example * await client.ats.candidates.retrieve("id", { - * expand: "applications", * includeRemoteData: true, * includeShellData: true * }) @@ -254,12 +267,17 @@ export class CandidatesClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ats.CandidatesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.CandidatesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ats.CandidatesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts b/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts index 406be4caa..7c4b420e1 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts +++ b/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddresses: "email_addresses", - * expand: "applications", * firstName: "first_name", * includeDeletedData: true, * includeRemoteData: true, @@ -32,7 +31,7 @@ export interface CandidatesListRequest { /** If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. */ emailAddresses?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.CandidatesListRequestExpand; + expand?: Merge.ats.CandidatesListRequestExpandItem | Merge.ats.CandidatesListRequestExpandItem[]; /** If provided, will only return candidates with this first name. */ firstName?: string; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ diff --git a/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts b/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts index c4a736357..03808945e 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts +++ b/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts @@ -5,14 +5,13 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "applications", * includeRemoteData: true, * includeShellData: true * } */ export interface CandidatesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.CandidatesRetrieveRequestExpand; + expand?: Merge.ats.CandidatesRetrieveRequestExpandItem | Merge.ats.CandidatesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/candidates/client/requests/index.ts b/src/api/resources/ats/resources/candidates/client/requests/index.ts index aa3b78a75..7510c919b 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/index.ts +++ b/src/api/resources/ats/resources/candidates/client/requests/index.ts @@ -1,5 +1,4 @@ export type { CandidateEndpointRequest } from "./CandidateEndpointRequest"; export type { CandidatesListRequest } from "./CandidatesListRequest"; export type { CandidatesRetrieveRequest } from "./CandidatesRetrieveRequest"; -export type { IgnoreCommonModelRequest } from "./IgnoreCommonModelRequest"; export type { PatchedCandidateEndpointRequest } from "./PatchedCandidateEndpointRequest"; diff --git a/src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts b/src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts deleted file mode 100644 index acaacec1d..000000000 --- a/src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CandidatesListRequestExpand = { - Applications: "applications", - ApplicationsAttachments: "applications,attachments", - Attachments: "attachments", -} as const; -export type CandidatesListRequestExpand = - (typeof CandidatesListRequestExpand)[keyof typeof CandidatesListRequestExpand]; diff --git a/src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts b/src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts new file mode 100644 index 000000000..6e835b39f --- /dev/null +++ b/src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CandidatesListRequestExpandItem = { + Applications: "applications", + Attachments: "attachments", +} as const; +export type CandidatesListRequestExpandItem = + (typeof CandidatesListRequestExpandItem)[keyof typeof CandidatesListRequestExpandItem]; diff --git a/src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts b/src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts deleted file mode 100644 index 78880a37c..000000000 --- a/src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CandidatesRetrieveRequestExpand = { - Applications: "applications", - ApplicationsAttachments: "applications,attachments", - Attachments: "attachments", -} as const; -export type CandidatesRetrieveRequestExpand = - (typeof CandidatesRetrieveRequestExpand)[keyof typeof CandidatesRetrieveRequestExpand]; diff --git a/src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts b/src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..03cb2ebcc --- /dev/null +++ b/src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CandidatesRetrieveRequestExpandItem = { + Applications: "applications", + Attachments: "attachments", +} as const; +export type CandidatesRetrieveRequestExpandItem = + (typeof CandidatesRetrieveRequestExpandItem)[keyof typeof CandidatesRetrieveRequestExpandItem]; diff --git a/src/api/resources/ats/resources/candidates/types/index.ts b/src/api/resources/ats/resources/candidates/types/index.ts index 36e0b3d6e..354754a74 100644 --- a/src/api/resources/ats/resources/candidates/types/index.ts +++ b/src/api/resources/ats/resources/candidates/types/index.ts @@ -1,3 +1,2 @@ -export * from "./CandidatesListRequestExpand"; -export * from "./CandidatesRetrieveRequestExpand"; -export * from "./IgnoreCommonModelRequestReason"; +export * from "./CandidatesListRequestExpandItem"; +export * from "./CandidatesRetrieveRequestExpandItem"; diff --git a/src/api/resources/ats/resources/departments/client/Client.ts b/src/api/resources/ats/resources/departments/client/Client.ts index 085ebc346..275147fab 100644 --- a/src/api/resources/ats/resources/departments/client/Client.ts +++ b/src/api/resources/ats/resources/departments/client/Client.ts @@ -43,86 +43,96 @@ export class DepartmentsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ats.DepartmentsListRequest = {}, requestOptions?: DepartmentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.DepartmentsListRequest = {}, - requestOptions?: DepartmentsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.DepartmentsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/departments", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedDepartmentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/departments"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/departments", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedDepartmentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/departments"); } /** diff --git a/src/api/resources/ats/resources/eeocs/client/Client.ts b/src/api/resources/ats/resources/eeocs/client/Client.ts index 8e7f848bb..92939e164 100644 --- a/src/api/resources/ats/resources/eeocs/client/Client.ts +++ b/src/api/resources/ats/resources/eeocs/client/Client.ts @@ -35,7 +35,6 @@ export class EeocsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "candidate", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,104 +46,112 @@ export class EeocsClient { * showEnumOrigins: "disability_status" * }) */ - public list( + public async list( request: Merge.ats.EeocsListRequest = {}, requestOptions?: EeocsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.EeocsListRequest = {}, - requestOptions?: EeocsClient.RequestOptions, - ): Promise> { - const { - candidateId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - candidate_id: candidateId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.ats.EeocsListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - show_enum_origins: - showEnumOrigins != null - ? serializers.ats.EeocsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async (request: Merge.ats.EeocsListRequest): Promise> => { + const { + candidateId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + candidate_id: candidateId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.ats.EeocsListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + show_enum_origins: + showEnumOrigins != null + ? serializers.ats.EeocsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/eeocs", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedEeocList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/eeocs"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/eeocs", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedEeocList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/eeocs"); } /** @@ -156,7 +163,6 @@ export class EeocsClient { * * @example * await client.ats.eeocs.retrieve("id", { - * expand: "candidate", * includeRemoteData: true, * includeShellData: true, * remoteFields: "disability_status", @@ -178,7 +184,7 @@ export class EeocsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: diff --git a/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts b/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts index 69854759d..315f9557d 100644 --- a/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts +++ b/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "candidate", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -31,7 +30,7 @@ export interface EeocsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "candidate"; + expand?: "candidate" | "candidate"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts b/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts index 6d64bd2da..a2fbf02e7 100644 --- a/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "candidate", * includeRemoteData: true, * includeShellData: true, * remoteFields: "disability_status", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface EeocsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "candidate"; + expand?: "candidate" | "candidate"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/interviews/client/Client.ts b/src/api/resources/ats/resources/interviews/client/Client.ts index d8a7ac131..3ea9edbc5 100644 --- a/src/api/resources/ats/resources/interviews/client/Client.ts +++ b/src/api/resources/ats/resources/interviews/client/Client.ts @@ -35,7 +35,6 @@ export class InterviewsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "application", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -50,105 +49,120 @@ export class InterviewsClient { * showEnumOrigins: "status" * }) */ - public list( + public async list( request: Merge.ats.InterviewsListRequest = {}, requestOptions?: InterviewsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.InterviewsListRequest = {}, - requestOptions?: InterviewsClient.RequestOptions, - ): Promise> { - const { - applicationId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - jobId, - jobInterviewStageId, - modifiedAfter, - modifiedBefore, - organizerId, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - application_id: applicationId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.ats.InterviewsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - job_id: jobId, - job_interview_stage_id: jobInterviewStageId, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - organizer_id: organizerId, - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.InterviewsListRequest, + ): Promise> => { + const { + applicationId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + jobId, + jobInterviewStageId, + modifiedAfter, + modifiedBefore, + organizerId, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + application_id: applicationId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.InterviewsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.InterviewsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + job_id: jobId, + job_interview_stage_id: jobInterviewStageId, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + organizer_id: organizerId, + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/interviews", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedScheduledInterviewList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/interviews"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/interviews", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedScheduledInterviewList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/interviews"); } /** @@ -242,7 +256,6 @@ export class InterviewsClient { * * @example * await client.ats.interviews.retrieve("id", { - * expand: "application", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -264,12 +277,17 @@ export class InterviewsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ats.InterviewsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.InterviewsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ats.InterviewsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts b/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts index 274bbf37e..d778c3d41 100644 --- a/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts +++ b/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "application", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -34,7 +33,7 @@ export interface InterviewsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.InterviewsListRequestExpand; + expand?: Merge.ats.InterviewsListRequestExpandItem | Merge.ats.InterviewsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts b/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts index f19b43e30..af1e5a6a7 100644 --- a/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "application", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface InterviewsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.InterviewsRetrieveRequestExpand; + expand?: Merge.ats.InterviewsRetrieveRequestExpandItem | Merge.ats.InterviewsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts b/src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts deleted file mode 100644 index a986d1cb1..000000000 --- a/src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts +++ /dev/null @@ -1,21 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const InterviewsListRequestExpand = { - Application: "application", - ApplicationJobInterviewStage: "application,job_interview_stage", - Interviewers: "interviewers", - InterviewersApplication: "interviewers,application", - InterviewersApplicationJobInterviewStage: "interviewers,application,job_interview_stage", - InterviewersJobInterviewStage: "interviewers,job_interview_stage", - InterviewersOrganizer: "interviewers,organizer", - InterviewersOrganizerApplication: "interviewers,organizer,application", - InterviewersOrganizerApplicationJobInterviewStage: "interviewers,organizer,application,job_interview_stage", - InterviewersOrganizerJobInterviewStage: "interviewers,organizer,job_interview_stage", - JobInterviewStage: "job_interview_stage", - Organizer: "organizer", - OrganizerApplication: "organizer,application", - OrganizerApplicationJobInterviewStage: "organizer,application,job_interview_stage", - OrganizerJobInterviewStage: "organizer,job_interview_stage", -} as const; -export type InterviewsListRequestExpand = - (typeof InterviewsListRequestExpand)[keyof typeof InterviewsListRequestExpand]; diff --git a/src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts b/src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts new file mode 100644 index 000000000..8be492ce8 --- /dev/null +++ b/src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const InterviewsListRequestExpandItem = { + Application: "application", + Interviewers: "interviewers", + JobInterviewStage: "job_interview_stage", + Organizer: "organizer", +} as const; +export type InterviewsListRequestExpandItem = + (typeof InterviewsListRequestExpandItem)[keyof typeof InterviewsListRequestExpandItem]; diff --git a/src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts deleted file mode 100644 index f1f55ee6e..000000000 --- a/src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts +++ /dev/null @@ -1,21 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const InterviewsRetrieveRequestExpand = { - Application: "application", - ApplicationJobInterviewStage: "application,job_interview_stage", - Interviewers: "interviewers", - InterviewersApplication: "interviewers,application", - InterviewersApplicationJobInterviewStage: "interviewers,application,job_interview_stage", - InterviewersJobInterviewStage: "interviewers,job_interview_stage", - InterviewersOrganizer: "interviewers,organizer", - InterviewersOrganizerApplication: "interviewers,organizer,application", - InterviewersOrganizerApplicationJobInterviewStage: "interviewers,organizer,application,job_interview_stage", - InterviewersOrganizerJobInterviewStage: "interviewers,organizer,job_interview_stage", - JobInterviewStage: "job_interview_stage", - Organizer: "organizer", - OrganizerApplication: "organizer,application", - OrganizerApplicationJobInterviewStage: "organizer,application,job_interview_stage", - OrganizerJobInterviewStage: "organizer,job_interview_stage", -} as const; -export type InterviewsRetrieveRequestExpand = - (typeof InterviewsRetrieveRequestExpand)[keyof typeof InterviewsRetrieveRequestExpand]; diff --git a/src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts b/src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..f998c82b1 --- /dev/null +++ b/src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const InterviewsRetrieveRequestExpandItem = { + Application: "application", + Interviewers: "interviewers", + JobInterviewStage: "job_interview_stage", + Organizer: "organizer", +} as const; +export type InterviewsRetrieveRequestExpandItem = + (typeof InterviewsRetrieveRequestExpandItem)[keyof typeof InterviewsRetrieveRequestExpandItem]; diff --git a/src/api/resources/ats/resources/interviews/types/index.ts b/src/api/resources/ats/resources/interviews/types/index.ts index 51b55d6c2..93e139549 100644 --- a/src/api/resources/ats/resources/interviews/types/index.ts +++ b/src/api/resources/ats/resources/interviews/types/index.ts @@ -1,2 +1,2 @@ -export * from "./InterviewsListRequestExpand"; -export * from "./InterviewsRetrieveRequestExpand"; +export * from "./InterviewsListRequestExpandItem"; +export * from "./InterviewsRetrieveRequestExpandItem"; diff --git a/src/api/resources/ats/resources/issues/client/Client.ts b/src/api/resources/ats/resources/issues/client/Client.ts index 5b4d73817..8ebf1d07d 100644 --- a/src/api/resources/ats/resources/issues/client/Client.ts +++ b/src/api/resources/ats/resources/issues/client/Client.ts @@ -47,97 +47,109 @@ export class IssuesClient { * status: "ONGOING" * }) */ - public list( + public async list( request: Merge.ats.IssuesListRequest = {}, requestOptions?: IssuesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.IssuesListRequest = {}, - requestOptions?: IssuesClient.RequestOptions, - ): Promise> { - const { - accountToken, - cursor, - endDate, - endUserOrganizationName, - firstIncidentTimeAfter, - firstIncidentTimeBefore, - includeMuted, - integrationName, - lastIncidentTimeAfter, - lastIncidentTimeBefore, - linkedAccountId, - pageSize, - startDate, - status, - } = request; - const _queryParams: Record = { - account_token: accountToken, - cursor, - end_date: endDate, - end_user_organization_name: endUserOrganizationName, - first_incident_time_after: firstIncidentTimeAfter?.toISOString(), - first_incident_time_before: firstIncidentTimeBefore?.toISOString(), - include_muted: includeMuted, - integration_name: integrationName, - last_incident_time_after: lastIncidentTimeAfter?.toISOString(), - last_incident_time_before: lastIncidentTimeBefore?.toISOString(), - linked_account_id: linkedAccountId, - page_size: pageSize, - start_date: startDate, - status: - status != null - ? serializers.ats.IssuesListRequestStatus.jsonOrThrow(status, { unrecognizedObjectKeys: "strip" }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.IssuesListRequest, + ): Promise> => { + const { + accountToken, + cursor, + endDate, + endUserOrganizationName, + firstIncidentTimeAfter, + firstIncidentTimeBefore, + includeMuted, + integrationName, + lastIncidentTimeAfter, + lastIncidentTimeBefore, + linkedAccountId, + pageSize, + startDate, + status, + } = request; + const _queryParams: Record = { + account_token: accountToken, + cursor, + end_date: endDate, + end_user_organization_name: endUserOrganizationName, + first_incident_time_after: firstIncidentTimeAfter?.toISOString(), + first_incident_time_before: firstIncidentTimeBefore?.toISOString(), + include_muted: includeMuted, + integration_name: integrationName, + last_incident_time_after: lastIncidentTimeAfter?.toISOString(), + last_incident_time_before: lastIncidentTimeBefore?.toISOString(), + linked_account_id: linkedAccountId, + page_size: pageSize, + start_date: startDate, + status: + status != null + ? serializers.ats.IssuesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/issues", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedIssueList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/issues"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/issues", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedIssueList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/issues"); } /** diff --git a/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts b/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts index 43ed565d5..0fe5a6ded 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts @@ -34,7 +34,6 @@ export class JobInterviewStagesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "job", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,90 +44,105 @@ export class JobInterviewStagesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ats.JobInterviewStagesListRequest = {}, requestOptions?: JobInterviewStagesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.JobInterviewStagesListRequest = {}, - requestOptions?: JobInterviewStagesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - jobId, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - job_id: jobId, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.JobInterviewStagesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + jobId, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + job_id: jobId, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/job-interview-stages", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedJobInterviewStageList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ats/v1/job-interview-stages", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/job-interview-stages", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedJobInterviewStageList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/job-interview-stages"); } /** @@ -140,7 +154,6 @@ export class JobInterviewStagesClient { * * @example * await client.ats.jobInterviewStages.retrieve("id", { - * expand: "job", * includeRemoteData: true, * includeShellData: true * }) @@ -160,7 +173,7 @@ export class JobInterviewStagesClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts index fc770023f..4ee314391 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "job", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -25,7 +24,7 @@ export interface JobInterviewStagesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "job"; + expand?: "job" | "job"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts index d11a172c8..acd21b819 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "job", * includeRemoteData: true, * includeShellData: true * } */ export interface JobInterviewStagesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "job"; + expand?: "job" | "job"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/jobPostings/client/Client.ts b/src/api/resources/ats/resources/jobPostings/client/Client.ts index 959d3efa9..1f3457d91 100644 --- a/src/api/resources/ats/resources/jobPostings/client/Client.ts +++ b/src/api/resources/ats/resources/jobPostings/client/Client.ts @@ -34,7 +34,6 @@ export class JobPostingsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "job", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,95 +44,105 @@ export class JobPostingsClient { * status: "CLOSED" * }) */ - public list( + public async list( request: Merge.ats.JobPostingsListRequest = {}, requestOptions?: JobPostingsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.JobPostingsListRequest = {}, - requestOptions?: JobPostingsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - status, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - status: - status != null - ? serializers.ats.JobPostingsListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.JobPostingsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + status, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + status: + status != null + ? serializers.ats.JobPostingsListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/job-postings", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedJobPostingList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/job-postings"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/job-postings", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedJobPostingList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/job-postings"); } /** @@ -145,7 +154,6 @@ export class JobPostingsClient { * * @example * await client.ats.jobPostings.retrieve("id", { - * expand: "job", * includeRemoteData: true, * includeShellData: true * }) @@ -165,7 +173,7 @@ export class JobPostingsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts b/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts index 31b7e7f8a..49e7725a3 100644 --- a/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts +++ b/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts @@ -8,7 +8,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "job", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -27,7 +26,7 @@ export interface JobPostingsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "job"; + expand?: "job" | "job"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.ts b/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.ts index ed305cfd7..9f22f371f 100644 --- a/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "job", * includeRemoteData: true, * includeShellData: true * } */ export interface JobPostingsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "job"; + expand?: "job" | "job"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/jobs/client/Client.ts b/src/api/resources/ats/resources/jobs/client/Client.ts index d4cea40fd..d80d4d69e 100644 --- a/src/api/resources/ats/resources/jobs/client/Client.ts +++ b/src/api/resources/ats/resources/jobs/client/Client.ts @@ -35,7 +35,6 @@ export class JobsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "departments", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -49,104 +48,121 @@ export class JobsClient { * status: "ARCHIVED" * }) */ - public list( + public async list( request: Merge.ats.JobsListRequest = {}, requestOptions?: JobsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.JobsListRequest = {}, - requestOptions?: JobsClient.RequestOptions, - ): Promise> { - const { - code, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - offices, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - status, - } = request; - const _queryParams: Record = { - code, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.ats.JobsListRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - offices, - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - status: - status != null - ? serializers.ats.JobsListRequestStatus.jsonOrThrow(status, { unrecognizedObjectKeys: "strip" }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async (request: Merge.ats.JobsListRequest): Promise> => { + const { + code, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + offices, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + status, + } = request; + const _queryParams: Record = { + code, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.JobsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.JobsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + offices, + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + status: + status != null + ? serializers.ats.JobsListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/jobs", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedJobList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/jobs"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/jobs", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedJobList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/jobs"); } /** @@ -158,7 +174,6 @@ export class JobsClient { * * @example * await client.ats.jobs.retrieve("id", { - * expand: "departments", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -180,10 +195,17 @@ export class JobsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ats.JobsRetrieveRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.JobsRetrieveRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.JobsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, @@ -246,89 +268,102 @@ export class JobsClient { * @example * await client.ats.jobs.screeningQuestionsList("job_id", { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "job", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, * pageSize: 1 * }) */ - public screeningQuestionsList( + public async screeningQuestionsList( job_id: string, request: Merge.ats.JobsScreeningQuestionsListRequest = {}, requestOptions?: JobsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__screeningQuestionsList(job_id, request, requestOptions)); - } - - private async __screeningQuestionsList( - job_id: string, - request: Merge.ats.JobsScreeningQuestionsListRequest = {}, - requestOptions?: JobsClient.RequestOptions, - ): Promise> { - const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - expand: - expand != null - ? serializers.ats.JobsScreeningQuestionsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.JobsScreeningQuestionsListRequest, + ): Promise> => { + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.JobsScreeningQuestionsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.JobsScreeningQuestionsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `ats/v1/jobs/${core.url.encodePathParam(job_id)}/screening-questions`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedScreeningQuestionList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ats/v1/jobs/{job_id}/screening-questions", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `ats/v1/jobs/${core.url.encodePathParam(job_id)}/screening-questions`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedScreeningQuestionList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/ats/v1/jobs/{job_id}/screening-questions", - ); } } diff --git a/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts b/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts index dc76cf5bc..b741ade52 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "departments", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -33,7 +32,7 @@ export interface JobsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.JobsListRequestExpand; + expand?: Merge.ats.JobsListRequestExpandItem | Merge.ats.JobsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts b/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts index fc7b7be56..024c7f662 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "departments", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface JobsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.JobsRetrieveRequestExpand; + expand?: Merge.ats.JobsRetrieveRequestExpandItem | Merge.ats.JobsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts b/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts index 0cce6999c..688896403 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts @@ -6,7 +6,6 @@ import type * as Merge from "../../../../../../index"; * @example * { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "job", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -17,7 +16,9 @@ export interface JobsScreeningQuestionsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.JobsScreeningQuestionsListRequestExpand; + expand?: + | Merge.ats.JobsScreeningQuestionsListRequestExpandItem + | Merge.ats.JobsScreeningQuestionsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/jobs/types/JobsListRequestExpand.ts b/src/api/resources/ats/resources/jobs/types/JobsListRequestExpand.ts deleted file mode 100644 index 689110876..000000000 --- a/src/api/resources/ats/resources/jobs/types/JobsListRequestExpand.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const JobsListRequestExpand = { - Departments: "departments", - DepartmentsHiringManagers: "departments,hiring_managers", - DepartmentsHiringManagersJobPostings: "departments,hiring_managers,job_postings", - DepartmentsHiringManagersJobPostingsRecruiters: "departments,hiring_managers,job_postings,recruiters", - DepartmentsHiringManagersRecruiters: "departments,hiring_managers,recruiters", - DepartmentsJobPostings: "departments,job_postings", - DepartmentsJobPostingsRecruiters: "departments,job_postings,recruiters", - DepartmentsOffices: "departments,offices", - DepartmentsOfficesHiringManagers: "departments,offices,hiring_managers", - DepartmentsOfficesHiringManagersJobPostings: "departments,offices,hiring_managers,job_postings", - DepartmentsOfficesHiringManagersJobPostingsRecruiters: - "departments,offices,hiring_managers,job_postings,recruiters", - DepartmentsOfficesHiringManagersRecruiters: "departments,offices,hiring_managers,recruiters", - DepartmentsOfficesJobPostings: "departments,offices,job_postings", - DepartmentsOfficesJobPostingsRecruiters: "departments,offices,job_postings,recruiters", - DepartmentsOfficesRecruiters: "departments,offices,recruiters", - DepartmentsRecruiters: "departments,recruiters", - HiringManagers: "hiring_managers", - HiringManagersJobPostings: "hiring_managers,job_postings", - HiringManagersJobPostingsRecruiters: "hiring_managers,job_postings,recruiters", - HiringManagersRecruiters: "hiring_managers,recruiters", - JobPostings: "job_postings", - JobPostingsRecruiters: "job_postings,recruiters", - Offices: "offices", - OfficesHiringManagers: "offices,hiring_managers", - OfficesHiringManagersJobPostings: "offices,hiring_managers,job_postings", - OfficesHiringManagersJobPostingsRecruiters: "offices,hiring_managers,job_postings,recruiters", - OfficesHiringManagersRecruiters: "offices,hiring_managers,recruiters", - OfficesJobPostings: "offices,job_postings", - OfficesJobPostingsRecruiters: "offices,job_postings,recruiters", - OfficesRecruiters: "offices,recruiters", - Recruiters: "recruiters", -} as const; -export type JobsListRequestExpand = (typeof JobsListRequestExpand)[keyof typeof JobsListRequestExpand]; diff --git a/src/api/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts b/src/api/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts new file mode 100644 index 000000000..175d6b58e --- /dev/null +++ b/src/api/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const JobsListRequestExpandItem = { + Departments: "departments", + HiringManagers: "hiring_managers", + JobPostings: "job_postings", + Offices: "offices", + Recruiters: "recruiters", +} as const; +export type JobsListRequestExpandItem = (typeof JobsListRequestExpandItem)[keyof typeof JobsListRequestExpandItem]; diff --git a/src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts deleted file mode 100644 index b350b2694..000000000 --- a/src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const JobsRetrieveRequestExpand = { - Departments: "departments", - DepartmentsHiringManagers: "departments,hiring_managers", - DepartmentsHiringManagersJobPostings: "departments,hiring_managers,job_postings", - DepartmentsHiringManagersJobPostingsRecruiters: "departments,hiring_managers,job_postings,recruiters", - DepartmentsHiringManagersRecruiters: "departments,hiring_managers,recruiters", - DepartmentsJobPostings: "departments,job_postings", - DepartmentsJobPostingsRecruiters: "departments,job_postings,recruiters", - DepartmentsOffices: "departments,offices", - DepartmentsOfficesHiringManagers: "departments,offices,hiring_managers", - DepartmentsOfficesHiringManagersJobPostings: "departments,offices,hiring_managers,job_postings", - DepartmentsOfficesHiringManagersJobPostingsRecruiters: - "departments,offices,hiring_managers,job_postings,recruiters", - DepartmentsOfficesHiringManagersRecruiters: "departments,offices,hiring_managers,recruiters", - DepartmentsOfficesJobPostings: "departments,offices,job_postings", - DepartmentsOfficesJobPostingsRecruiters: "departments,offices,job_postings,recruiters", - DepartmentsOfficesRecruiters: "departments,offices,recruiters", - DepartmentsRecruiters: "departments,recruiters", - HiringManagers: "hiring_managers", - HiringManagersJobPostings: "hiring_managers,job_postings", - HiringManagersJobPostingsRecruiters: "hiring_managers,job_postings,recruiters", - HiringManagersRecruiters: "hiring_managers,recruiters", - JobPostings: "job_postings", - JobPostingsRecruiters: "job_postings,recruiters", - Offices: "offices", - OfficesHiringManagers: "offices,hiring_managers", - OfficesHiringManagersJobPostings: "offices,hiring_managers,job_postings", - OfficesHiringManagersJobPostingsRecruiters: "offices,hiring_managers,job_postings,recruiters", - OfficesHiringManagersRecruiters: "offices,hiring_managers,recruiters", - OfficesJobPostings: "offices,job_postings", - OfficesJobPostingsRecruiters: "offices,job_postings,recruiters", - OfficesRecruiters: "offices,recruiters", - Recruiters: "recruiters", -} as const; -export type JobsRetrieveRequestExpand = (typeof JobsRetrieveRequestExpand)[keyof typeof JobsRetrieveRequestExpand]; diff --git a/src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts b/src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..ec1a16d80 --- /dev/null +++ b/src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +export const JobsRetrieveRequestExpandItem = { + Departments: "departments", + HiringManagers: "hiring_managers", + JobPostings: "job_postings", + Offices: "offices", + Recruiters: "recruiters", +} as const; +export type JobsRetrieveRequestExpandItem = + (typeof JobsRetrieveRequestExpandItem)[keyof typeof JobsRetrieveRequestExpandItem]; diff --git a/src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts b/src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts deleted file mode 100644 index 8d6e21f66..000000000 --- a/src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const JobsScreeningQuestionsListRequestExpand = { - Job: "job", - Options: "options", - OptionsJob: "options,job", -} as const; -export type JobsScreeningQuestionsListRequestExpand = - (typeof JobsScreeningQuestionsListRequestExpand)[keyof typeof JobsScreeningQuestionsListRequestExpand]; diff --git a/src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts b/src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts new file mode 100644 index 000000000..d21f93ae1 --- /dev/null +++ b/src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const JobsScreeningQuestionsListRequestExpandItem = { + Job: "job", + Options: "options", +} as const; +export type JobsScreeningQuestionsListRequestExpandItem = + (typeof JobsScreeningQuestionsListRequestExpandItem)[keyof typeof JobsScreeningQuestionsListRequestExpandItem]; diff --git a/src/api/resources/ats/resources/jobs/types/index.ts b/src/api/resources/ats/resources/jobs/types/index.ts index ebb23b639..2e02930d1 100644 --- a/src/api/resources/ats/resources/jobs/types/index.ts +++ b/src/api/resources/ats/resources/jobs/types/index.ts @@ -1,4 +1,4 @@ -export * from "./JobsListRequestExpand"; +export * from "./JobsListRequestExpandItem"; export * from "./JobsListRequestStatus"; -export * from "./JobsRetrieveRequestExpand"; -export * from "./JobsScreeningQuestionsListRequestExpand"; +export * from "./JobsRetrieveRequestExpandItem"; +export * from "./JobsScreeningQuestionsListRequestExpandItem"; diff --git a/src/api/resources/ats/resources/linkedAccounts/client/Client.ts b/src/api/resources/ats/resources/linkedAccounts/client/Client.ts index 42b3ce32b..297032c31 100644 --- a/src/api/resources/ats/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/ats/resources/linkedAccounts/client/Client.ts @@ -46,96 +46,111 @@ export class LinkedAccountsClient { * status: "status" * }) */ - public list( + public async list( request: Merge.ats.LinkedAccountsListRequest = {}, requestOptions?: LinkedAccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.LinkedAccountsListRequest = {}, - requestOptions?: LinkedAccountsClient.RequestOptions, - ): Promise> { - const { - category, - cursor, - endUserEmailAddress, - endUserOrganizationName, - endUserOriginId, - endUserOriginIds, - id, - ids, - includeDuplicates, - integrationName, - isTestAccount, - pageSize, - status, - } = request; - const _queryParams: Record = { - category: - category != null - ? serializers.ats.LinkedAccountsListRequestCategory.jsonOrThrow(category, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - cursor, - end_user_email_address: endUserEmailAddress, - end_user_organization_name: endUserOrganizationName, - end_user_origin_id: endUserOriginId, - end_user_origin_ids: endUserOriginIds, - id, - ids, - include_duplicates: includeDuplicates, - integration_name: integrationName, - is_test_account: isTestAccount, - page_size: pageSize, - status, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.LinkedAccountsListRequest, + ): Promise> => { + const { + category, + cursor, + endUserEmailAddress, + endUserOrganizationName, + endUserOriginId, + endUserOriginIds, + id, + ids, + includeDuplicates, + integrationName, + isTestAccount, + pageSize, + status, + } = request; + const _queryParams: Record = { + category: + category != null + ? serializers.ats.LinkedAccountsListRequestCategory.jsonOrThrow(category, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + cursor, + end_user_email_address: endUserEmailAddress, + end_user_organization_name: endUserOrganizationName, + end_user_origin_id: endUserOriginId, + end_user_origin_ids: endUserOriginIds, + id, + ids, + include_duplicates: includeDuplicates, + integration_name: integrationName, + is_test_account: isTestAccount, + page_size: pageSize, + status, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/linked-accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ats/v1/linked-accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/linked-accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/linked-accounts"); } } diff --git a/src/api/resources/ats/resources/offers/client/Client.ts b/src/api/resources/ats/resources/offers/client/Client.ts index ea6f417c7..d6878de7d 100644 --- a/src/api/resources/ats/resources/offers/client/Client.ts +++ b/src/api/resources/ats/resources/offers/client/Client.ts @@ -36,7 +36,6 @@ export class OffersClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * creatorId: "creator_id", * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "application", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -48,99 +47,116 @@ export class OffersClient { * showEnumOrigins: "status" * }) */ - public list( + public async list( request: Merge.ats.OffersListRequest = {}, requestOptions?: OffersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.OffersListRequest = {}, - requestOptions?: OffersClient.RequestOptions, - ): Promise> { - const { - applicationId, - createdAfter, - createdBefore, - creatorId, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - application_id: applicationId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - creator_id: creatorId, - cursor, - expand: - expand != null - ? serializers.ats.OffersListRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.OffersListRequest, + ): Promise> => { + const { + applicationId, + createdAfter, + createdBefore, + creatorId, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + application_id: applicationId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + creator_id: creatorId, + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.OffersListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.OffersListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/offers", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedOfferList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/offers"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/offers", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedOfferList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/offers"); } /** @@ -152,7 +168,6 @@ export class OffersClient { * * @example * await client.ats.offers.retrieve("id", { - * expand: "application", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -174,12 +189,17 @@ export class OffersClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ats.OffersRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.OffersRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ats.OffersRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts b/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts index 69571c37f..6d0c26320 100644 --- a/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts +++ b/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts @@ -10,7 +10,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * creatorId: "creator_id", * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "application", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -34,7 +33,7 @@ export interface OffersListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.OffersListRequestExpand; + expand?: Merge.ats.OffersListRequestExpandItem | Merge.ats.OffersListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts b/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts index 5b416ad43..8f7c472f3 100644 --- a/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts +++ b/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "application", * includeRemoteData: true, * includeShellData: true, * remoteFields: "status", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface OffersRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.OffersRetrieveRequestExpand; + expand?: Merge.ats.OffersRetrieveRequestExpandItem | Merge.ats.OffersRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/offers/types/OffersListRequestExpand.ts b/src/api/resources/ats/resources/offers/types/OffersListRequestExpand.ts deleted file mode 100644 index 17a2fe94b..000000000 --- a/src/api/resources/ats/resources/offers/types/OffersListRequestExpand.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const OffersListRequestExpand = { - Application: "application", - ApplicationCreator: "application,creator", - Creator: "creator", -} as const; -export type OffersListRequestExpand = (typeof OffersListRequestExpand)[keyof typeof OffersListRequestExpand]; diff --git a/src/api/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts b/src/api/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts new file mode 100644 index 000000000..d7a17feae --- /dev/null +++ b/src/api/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const OffersListRequestExpandItem = { + Application: "application", + Creator: "creator", +} as const; +export type OffersListRequestExpandItem = + (typeof OffersListRequestExpandItem)[keyof typeof OffersListRequestExpandItem]; diff --git a/src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts b/src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts deleted file mode 100644 index 589172d94..000000000 --- a/src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const OffersRetrieveRequestExpand = { - Application: "application", - ApplicationCreator: "application,creator", - Creator: "creator", -} as const; -export type OffersRetrieveRequestExpand = - (typeof OffersRetrieveRequestExpand)[keyof typeof OffersRetrieveRequestExpand]; diff --git a/src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts b/src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..80c375b59 --- /dev/null +++ b/src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const OffersRetrieveRequestExpandItem = { + Application: "application", + Creator: "creator", +} as const; +export type OffersRetrieveRequestExpandItem = + (typeof OffersRetrieveRequestExpandItem)[keyof typeof OffersRetrieveRequestExpandItem]; diff --git a/src/api/resources/ats/resources/offers/types/index.ts b/src/api/resources/ats/resources/offers/types/index.ts index 4b81bcdb5..9fea25381 100644 --- a/src/api/resources/ats/resources/offers/types/index.ts +++ b/src/api/resources/ats/resources/offers/types/index.ts @@ -1,2 +1,2 @@ -export * from "./OffersListRequestExpand"; -export * from "./OffersRetrieveRequestExpand"; +export * from "./OffersListRequestExpandItem"; +export * from "./OffersRetrieveRequestExpandItem"; diff --git a/src/api/resources/ats/resources/offices/client/Client.ts b/src/api/resources/ats/resources/offices/client/Client.ts index c4a2d0469..145fa0dec 100644 --- a/src/api/resources/ats/resources/offices/client/Client.ts +++ b/src/api/resources/ats/resources/offices/client/Client.ts @@ -43,86 +43,96 @@ export class OfficesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ats.OfficesListRequest = {}, requestOptions?: OfficesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.OfficesListRequest = {}, - requestOptions?: OfficesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.OfficesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/offices", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedOfficeList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/offices"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/offices", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedOfficeList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/offices"); } /** diff --git a/src/api/resources/ats/resources/rejectReasons/client/Client.ts b/src/api/resources/ats/resources/rejectReasons/client/Client.ts index 0f7151605..7db9b91af 100644 --- a/src/api/resources/ats/resources/rejectReasons/client/Client.ts +++ b/src/api/resources/ats/resources/rejectReasons/client/Client.ts @@ -43,86 +43,101 @@ export class RejectReasonsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ats.RejectReasonsListRequest = {}, requestOptions?: RejectReasonsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.RejectReasonsListRequest = {}, - requestOptions?: RejectReasonsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.RejectReasonsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/reject-reasons", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedRejectReasonList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ats/v1/reject-reasons", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/reject-reasons", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedRejectReasonList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/reject-reasons"); } /** diff --git a/src/api/resources/ats/resources/scorecards/client/Client.ts b/src/api/resources/ats/resources/scorecards/client/Client.ts index 1cb17c6df..0ee9b21e8 100644 --- a/src/api/resources/ats/resources/scorecards/client/Client.ts +++ b/src/api/resources/ats/resources/scorecards/client/Client.ts @@ -35,7 +35,6 @@ export class ScorecardsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "application", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -49,103 +48,118 @@ export class ScorecardsClient { * showEnumOrigins: "overall_recommendation" * }) */ - public list( + public async list( request: Merge.ats.ScorecardsListRequest = {}, requestOptions?: ScorecardsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.ScorecardsListRequest = {}, - requestOptions?: ScorecardsClient.RequestOptions, - ): Promise> { - const { - applicationId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - interviewId, - interviewerId, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - application_id: applicationId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.ats.ScorecardsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - interview_id: interviewId, - interviewer_id: interviewerId, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.ScorecardsListRequest, + ): Promise> => { + const { + applicationId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + interviewId, + interviewerId, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + application_id: applicationId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.ScorecardsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ats.ScorecardsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + interview_id: interviewId, + interviewer_id: interviewerId, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/scorecards", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedScorecardList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/scorecards"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/scorecards", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedScorecardList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/scorecards"); } /** @@ -157,7 +171,6 @@ export class ScorecardsClient { * * @example * await client.ats.scorecards.retrieve("id", { - * expand: "application", * includeRemoteData: true, * includeShellData: true, * remoteFields: "overall_recommendation", @@ -179,12 +192,17 @@ export class ScorecardsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ats.ScorecardsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ats.ScorecardsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ats.ScorecardsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts index 65053aa7a..859a0f107 100644 --- a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts +++ b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "application", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -33,7 +32,7 @@ export interface ScorecardsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.ScorecardsListRequestExpand; + expand?: Merge.ats.ScorecardsListRequestExpandItem | Merge.ats.ScorecardsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts index a18a6e5e4..f389bb365 100644 --- a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "application", * includeRemoteData: true, * includeShellData: true, * remoteFields: "overall_recommendation", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface ScorecardsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ats.ScorecardsRetrieveRequestExpand; + expand?: Merge.ats.ScorecardsRetrieveRequestExpandItem | Merge.ats.ScorecardsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts b/src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts deleted file mode 100644 index 331d4420e..000000000 --- a/src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ScorecardsListRequestExpand = { - Application: "application", - ApplicationInterview: "application,interview", - ApplicationInterviewInterviewer: "application,interview,interviewer", - ApplicationInterviewer: "application,interviewer", - Interview: "interview", - InterviewInterviewer: "interview,interviewer", - Interviewer: "interviewer", -} as const; -export type ScorecardsListRequestExpand = - (typeof ScorecardsListRequestExpand)[keyof typeof ScorecardsListRequestExpand]; diff --git a/src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts b/src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts new file mode 100644 index 000000000..044eb269c --- /dev/null +++ b/src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ScorecardsListRequestExpandItem = { + Application: "application", + Interview: "interview", + Interviewer: "interviewer", +} as const; +export type ScorecardsListRequestExpandItem = + (typeof ScorecardsListRequestExpandItem)[keyof typeof ScorecardsListRequestExpandItem]; diff --git a/src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts deleted file mode 100644 index 5b7cc6e65..000000000 --- a/src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ScorecardsRetrieveRequestExpand = { - Application: "application", - ApplicationInterview: "application,interview", - ApplicationInterviewInterviewer: "application,interview,interviewer", - ApplicationInterviewer: "application,interviewer", - Interview: "interview", - InterviewInterviewer: "interview,interviewer", - Interviewer: "interviewer", -} as const; -export type ScorecardsRetrieveRequestExpand = - (typeof ScorecardsRetrieveRequestExpand)[keyof typeof ScorecardsRetrieveRequestExpand]; diff --git a/src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts b/src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..3f5943d0e --- /dev/null +++ b/src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ScorecardsRetrieveRequestExpandItem = { + Application: "application", + Interview: "interview", + Interviewer: "interviewer", +} as const; +export type ScorecardsRetrieveRequestExpandItem = + (typeof ScorecardsRetrieveRequestExpandItem)[keyof typeof ScorecardsRetrieveRequestExpandItem]; diff --git a/src/api/resources/ats/resources/scorecards/types/index.ts b/src/api/resources/ats/resources/scorecards/types/index.ts index abc9dc751..a46a8019d 100644 --- a/src/api/resources/ats/resources/scorecards/types/index.ts +++ b/src/api/resources/ats/resources/scorecards/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ScorecardsListRequestExpand"; -export * from "./ScorecardsRetrieveRequestExpand"; +export * from "./ScorecardsListRequestExpandItem"; +export * from "./ScorecardsRetrieveRequestExpandItem"; diff --git a/src/api/resources/ats/resources/syncStatus/client/Client.ts b/src/api/resources/ats/resources/syncStatus/client/Client.ts index 4ca7aedb2..01aba7f88 100644 --- a/src/api/resources/ats/resources/syncStatus/client/Client.ts +++ b/src/api/resources/ats/resources/syncStatus/client/Client.ts @@ -35,66 +35,76 @@ export class SyncStatusClient { * pageSize: 1 * }) */ - public list( + public async list( request: Merge.ats.SyncStatusListRequest = {}, requestOptions?: SyncStatusClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.SyncStatusListRequest = {}, - requestOptions?: SyncStatusClient.RequestOptions, - ): Promise> { - const { cursor, pageSize } = request; - const _queryParams: Record = { - cursor, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.SyncStatusListRequest, + ): Promise> => { + const { cursor, pageSize } = request; + const _queryParams: Record = { + cursor, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/sync-status", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedSyncStatusList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/sync-status"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/sync-status", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedSyncStatusList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/sync-status"); } } diff --git a/src/api/resources/ats/resources/tags/client/Client.ts b/src/api/resources/ats/resources/tags/client/Client.ts index 9ac38e007..73cb361af 100644 --- a/src/api/resources/ats/resources/tags/client/Client.ts +++ b/src/api/resources/ats/resources/tags/client/Client.ts @@ -43,85 +43,93 @@ export class TagsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ats.TagsListRequest = {}, requestOptions?: TagsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.TagsListRequest = {}, - requestOptions?: TagsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async (request: Merge.ats.TagsListRequest): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/tags", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedTagList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/tags"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/tags", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedTagList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/tags"); } } diff --git a/src/api/resources/ats/resources/users/client/Client.ts b/src/api/resources/ats/resources/users/client/Client.ts index 21e0b02fe..201c305e6 100644 --- a/src/api/resources/ats/resources/users/client/Client.ts +++ b/src/api/resources/ats/resources/users/client/Client.ts @@ -46,92 +46,102 @@ export class UsersClient { * showEnumOrigins: "access_role" * }) */ - public list( + public async list( request: Merge.ats.UsersListRequest = {}, requestOptions?: UsersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ats.UsersListRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - email, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ats.UsersListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + email, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ats/v1/users", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ats.PaginatedRemoteUserList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/users"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ats/v1/users", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ats.PaginatedRemoteUserList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ats/v1/users"); } /** diff --git a/src/api/resources/ats/types/AccountDetailsAndActions.ts b/src/api/resources/ats/types/AccountDetailsAndActions.ts index e5cd397b6..e3891bbda 100644 --- a/src/api/resources/ats/types/AccountDetailsAndActions.ts +++ b/src/api/resources/ats/types/AccountDetailsAndActions.ts @@ -26,5 +26,4 @@ export interface AccountDetailsAndActions { integration?: Merge.ats.AccountDetailsAndActionsIntegration; accountType: string; completedAt: Date; - integrationSpecificFields?: Record; } diff --git a/src/api/resources/ats/types/ActivityRequest.ts b/src/api/resources/ats/types/ActivityRequest.ts index 4767f62be..5a34fdc64 100644 --- a/src/api/resources/ats/types/ActivityRequest.ts +++ b/src/api/resources/ats/types/ActivityRequest.ts @@ -19,7 +19,7 @@ export interface ActivityRequest { * * `EMAIL` - EMAIL * * `OTHER` - OTHER */ - activityType?: Merge.ats.ActivityRequestActivityType; + activityType?: Merge.ats.ActivityTypeEnum; /** The activity's subject. */ subject?: string; /** The activity's body. */ diff --git a/src/api/resources/ats/types/ActivityRequestActivityType.ts b/src/api/resources/ats/types/ActivityRequestActivityType.ts deleted file mode 100644 index ff69db56c..000000000 --- a/src/api/resources/ats/types/ActivityRequestActivityType.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The activity's type. - * - * * `NOTE` - NOTE - * * `EMAIL` - EMAIL - * * `OTHER` - OTHER - */ -export type ActivityRequestActivityType = Merge.ats.ActivityTypeEnum | string; diff --git a/src/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts b/src/api/resources/ats/types/IgnoreCommonModelRequest.ts similarity index 57% rename from src/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts rename to src/api/resources/ats/types/IgnoreCommonModelRequest.ts index 545e610d1..9dfac706d 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts +++ b/src/api/resources/ats/types/IgnoreCommonModelRequest.ts @@ -1,13 +1,7 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../../index"; +import type * as Merge from "../../../index"; -/** - * @example - * { - * reason: "GENERAL_CUSTOMER_REQUEST" - * } - */ export interface IgnoreCommonModelRequest { reason: Merge.ats.IgnoreCommonModelRequestReason; message?: string; diff --git a/src/api/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.ts b/src/api/resources/ats/types/IgnoreCommonModelRequestReason.ts similarity index 73% rename from src/api/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.ts rename to src/api/resources/ats/types/IgnoreCommonModelRequestReason.ts index 80eb9d0be..f0bbec653 100644 --- a/src/api/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.ts +++ b/src/api/resources/ats/types/IgnoreCommonModelRequestReason.ts @@ -1,5 +1,5 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../index"; +import type * as Merge from "../../../index"; export type IgnoreCommonModelRequestReason = Merge.ats.ReasonEnum | string; diff --git a/src/api/resources/ats/types/index.ts b/src/api/resources/ats/types/index.ts index c8264290b..be6df221c 100644 --- a/src/api/resources/ats/types/index.ts +++ b/src/api/resources/ats/types/index.ts @@ -11,7 +11,6 @@ export * from "./AccountToken"; export * from "./Activity"; export * from "./ActivityActivityType"; export * from "./ActivityRequest"; -export * from "./ActivityRequestActivityType"; export * from "./ActivityRequestUser"; export * from "./ActivityRequestVisibility"; export * from "./ActivityResponse"; @@ -89,6 +88,8 @@ export * from "./FieldMappingInstanceResponse"; export * from "./FieldPermissionDeserializer"; export * from "./FieldPermissionDeserializerRequest"; export * from "./GenderEnum"; +export * from "./IgnoreCommonModelRequest"; +export * from "./IgnoreCommonModelRequestReason"; export * from "./IndividualCommonModelScopeDeserializer"; export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./Issue"; diff --git a/src/api/resources/crm/resources/accounts/client/Client.ts b/src/api/resources/crm/resources/accounts/client/Client.ts index 16c19058c..733cecf01 100644 --- a/src/api/resources/crm/resources/accounts/client/Client.ts +++ b/src/api/resources/crm/resources/accounts/client/Client.ts @@ -34,7 +34,6 @@ export class AccountsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "owner", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -47,94 +46,104 @@ export class AccountsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.AccountsListRequest = {}, requestOptions?: AccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.AccountsListRequest = {}, - requestOptions?: AccountsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - ownerId, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - owner_id: ownerId, - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.AccountsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + ownerId, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + owner_id: ownerId, + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedAccountList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/accounts"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedAccountList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/accounts"); } /** @@ -225,7 +234,6 @@ export class AccountsClient { * * @example * await client.crm.accounts.retrieve("id", { - * expand: "owner", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -246,7 +254,7 @@ export class AccountsClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -536,86 +544,96 @@ export class AccountsClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( - request: Merge.crm.AccountsRemoteFieldClassesListRequest = {}, - requestOptions?: AccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.AccountsRemoteFieldClassesListRequest = {}, requestOptions?: AccountsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.AccountsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/accounts/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/accounts/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/accounts/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/accounts/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts b/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts index 4a7ccf78f..0059dcf81 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "owner", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -27,7 +26,7 @@ export interface AccountsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "owner"; + expand?: "owner" | "owner"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts b/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts index fa529092f..5aa87755b 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts @@ -3,7 +3,6 @@ /** * @example * { - * expand: "owner", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -11,7 +10,7 @@ */ export interface AccountsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "owner"; + expand?: "owner" | "owner"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/crm/resources/associationTypes/client/Client.ts b/src/api/resources/crm/resources/associationTypes/client/Client.ts index f9fe6a7bd..6c8674944 100644 --- a/src/api/resources/crm/resources/associationTypes/client/Client.ts +++ b/src/api/resources/crm/resources/associationTypes/client/Client.ts @@ -35,7 +35,6 @@ export class AssociationTypesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "target_object_classes", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,97 +44,104 @@ export class AssociationTypesClient { * remoteId: "remote_id" * }) */ - public customObjectClassesAssociationTypesList( + public async customObjectClassesAssociationTypesList( custom_object_class_id: string, request: Merge.crm.CustomObjectClassesAssociationTypesListRequest = {}, requestOptions?: AssociationTypesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise( - this.__customObjectClassesAssociationTypesList(custom_object_class_id, request, requestOptions), + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.CustomObjectClassesAssociationTypesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `crm/v1/custom-object-classes/${core.url.encodePathParam(custom_object_class_id)}/association-types`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedAssociationTypeList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/custom-object-classes/{custom_object_class_id}/association-types", + ); + }, ); - } - - private async __customObjectClassesAssociationTypesList( - custom_object_class_id: string, - request: Merge.crm.CustomObjectClassesAssociationTypesListRequest = {}, - requestOptions?: AssociationTypesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `crm/v1/custom-object-classes/${core.url.encodePathParam(custom_object_class_id)}/association-types`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedAssociationTypeList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/custom-object-classes/{custom_object_class_id}/association-types", - ); } /** @@ -249,7 +255,6 @@ export class AssociationTypesClient { * * @example * await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("custom_object_class_id", "id", { - * expand: "target_object_classes", * includeRemoteData: true, * includeShellData: true * }) @@ -273,7 +278,7 @@ export class AssociationTypesClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts index 9edf74932..95d27e3b7 100644 --- a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts +++ b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "target_object_classes", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -24,7 +23,7 @@ export interface CustomObjectClassesAssociationTypesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "target_object_classes"; + expand?: "target_object_classes" | "target_object_classes"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts index 429c89354..a14aa66fb 100644 --- a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "target_object_classes", * includeRemoteData: true, * includeShellData: true * } */ export interface CustomObjectClassesAssociationTypesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "target_object_classes"; + expand?: "target_object_classes" | "target_object_classes"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/crm/resources/associations/client/Client.ts b/src/api/resources/crm/resources/associations/client/Client.ts index 17b16dbd4..3607eb0cd 100644 --- a/src/api/resources/crm/resources/associations/client/Client.ts +++ b/src/api/resources/crm/resources/associations/client/Client.ts @@ -37,7 +37,6 @@ export class AssociationsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "association_type", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,106 +46,107 @@ export class AssociationsClient { * remoteId: "remote_id" * }) */ - public customObjectClassesCustomObjectsAssociationsList( + public async customObjectClassesCustomObjectsAssociationsList( custom_object_class_id: string, object_id: string, request: Merge.crm.CustomObjectClassesCustomObjectsAssociationsListRequest = {}, requestOptions?: AssociationsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise( - this.__customObjectClassesCustomObjectsAssociationsList( - custom_object_class_id, - object_id, - request, - requestOptions, - ), - ); - } - - private async __customObjectClassesCustomObjectsAssociationsList( - custom_object_class_id: string, - object_id: string, - request: Merge.crm.CustomObjectClassesCustomObjectsAssociationsListRequest = {}, - requestOptions?: AssociationsClient.RequestOptions, - ): Promise> { - const { - associationTypeId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - association_type_id: associationTypeId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.CustomObjectClassesCustomObjectsAssociationsListRequest, + ): Promise> => { + const { + associationTypeId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + association_type_id: associationTypeId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `crm/v1/custom-object-classes/${core.url.encodePathParam(custom_object_class_id)}/custom-objects/${core.url.encodePathParam(object_id)}/associations`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedAssociationList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects/{object_id}/associations", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `crm/v1/custom-object-classes/${core.url.encodePathParam(custom_object_class_id)}/custom-objects/${core.url.encodePathParam(object_id)}/associations`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedAssociationList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects/{object_id}/associations", - ); } /** diff --git a/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts b/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts index f2046de64..d7f64996e 100644 --- a/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts +++ b/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts @@ -7,7 +7,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "association_type", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -27,7 +26,7 @@ export interface CustomObjectClassesCustomObjectsAssociationsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "association_type"; + expand?: "association_type" | "association_type"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/auditTrail/client/Client.ts b/src/api/resources/crm/resources/auditTrail/client/Client.ts index 583a3ddb8..10850f744 100644 --- a/src/api/resources/crm/resources/auditTrail/client/Client.ts +++ b/src/api/resources/crm/resources/auditTrail/client/Client.ts @@ -39,70 +39,80 @@ export class AuditTrailClient { * userEmail: "user_email" * }) */ - public list( + public async list( request: Merge.crm.AuditTrailListRequest = {}, requestOptions?: AuditTrailClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.AuditTrailListRequest = {}, - requestOptions?: AuditTrailClient.RequestOptions, - ): Promise> { - const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams: Record = { - cursor, - end_date: endDate, - event_type: eventType, - page_size: pageSize, - start_date: startDate, - user_email: userEmail, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.AuditTrailListRequest, + ): Promise> => { + const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; + const _queryParams: Record = { + cursor, + end_date: endDate, + event_type: eventType, + page_size: pageSize, + start_date: startDate, + user_email: userEmail, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/audit-trail", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedAuditLogEventList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/audit-trail"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/audit-trail", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedAuditLogEventList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/audit-trail"); } } diff --git a/src/api/resources/crm/resources/contacts/client/Client.ts b/src/api/resources/crm/resources/contacts/client/Client.ts index 618c5967e..ce70819b3 100644 --- a/src/api/resources/crm/resources/contacts/client/Client.ts +++ b/src/api/resources/crm/resources/contacts/client/Client.ts @@ -36,7 +36,6 @@ export class ContactsClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddresses: "email_addresses", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -48,99 +47,116 @@ export class ContactsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.ContactsListRequest = {}, requestOptions?: ContactsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.ContactsListRequest = {}, - requestOptions?: ContactsClient.RequestOptions, - ): Promise> { - const { - accountId, - createdAfter, - createdBefore, - cursor, - emailAddresses, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - phoneNumbers, - remoteId, - } = request; - const _queryParams: Record = { - account_id: accountId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email_addresses: emailAddresses, - expand: - expand != null - ? serializers.crm.ContactsListRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - phone_numbers: phoneNumbers, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.ContactsListRequest, + ): Promise> => { + const { + accountId, + createdAfter, + createdBefore, + cursor, + emailAddresses, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + phoneNumbers, + remoteId, + } = request; + const _queryParams: Record = { + account_id: accountId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email_addresses: emailAddresses, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.ContactsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.crm.ContactsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + phone_numbers: phoneNumbers, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/contacts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedContactList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/contacts"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/contacts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedContactList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/contacts"); } /** @@ -231,7 +247,6 @@ export class ContactsClient { * * @example * await client.crm.contacts.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -252,12 +267,17 @@ export class ContactsClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.crm.ContactsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.ContactsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.crm.ContactsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -618,86 +638,96 @@ export class ContactsClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( - request: Merge.crm.ContactsRemoteFieldClassesListRequest = {}, - requestOptions?: ContactsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.ContactsRemoteFieldClassesListRequest = {}, requestOptions?: ContactsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.ContactsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/contacts/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/contacts/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/contacts/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/contacts/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts b/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts index 63c79d2f1..25253a0e8 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts @@ -10,7 +10,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddresses: "email_addresses", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -34,7 +33,7 @@ export interface ContactsListRequest { /** If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. */ emailAddresses?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.ContactsListRequestExpand; + expand?: Merge.crm.ContactsListRequestExpandItem | Merge.crm.ContactsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts b/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts index 56a3f7097..ce00ab24d 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,7 @@ import type * as Merge from "../../../../../../index"; */ export interface ContactsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.ContactsRetrieveRequestExpand; + expand?: Merge.crm.ContactsRetrieveRequestExpandItem | Merge.crm.ContactsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts b/src/api/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts deleted file mode 100644 index 8f9779725..000000000 --- a/src/api/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ContactsListRequestExpand = { - Account: "account", - AccountOwner: "account,owner", - Owner: "owner", -} as const; -export type ContactsListRequestExpand = (typeof ContactsListRequestExpand)[keyof typeof ContactsListRequestExpand]; diff --git a/src/api/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts b/src/api/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts new file mode 100644 index 000000000..19d041208 --- /dev/null +++ b/src/api/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ContactsListRequestExpandItem = { + Account: "account", + Owner: "owner", +} as const; +export type ContactsListRequestExpandItem = + (typeof ContactsListRequestExpandItem)[keyof typeof ContactsListRequestExpandItem]; diff --git a/src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts b/src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts deleted file mode 100644 index bb4d941df..000000000 --- a/src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ContactsRetrieveRequestExpand = { - Account: "account", - AccountOwner: "account,owner", - Owner: "owner", -} as const; -export type ContactsRetrieveRequestExpand = - (typeof ContactsRetrieveRequestExpand)[keyof typeof ContactsRetrieveRequestExpand]; diff --git a/src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts b/src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..e7a3e838f --- /dev/null +++ b/src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ContactsRetrieveRequestExpandItem = { + Account: "account", + Owner: "owner", +} as const; +export type ContactsRetrieveRequestExpandItem = + (typeof ContactsRetrieveRequestExpandItem)[keyof typeof ContactsRetrieveRequestExpandItem]; diff --git a/src/api/resources/crm/resources/contacts/types/index.ts b/src/api/resources/crm/resources/contacts/types/index.ts index 1f8bc8653..0a309424e 100644 --- a/src/api/resources/crm/resources/contacts/types/index.ts +++ b/src/api/resources/crm/resources/contacts/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ContactsListRequestExpand"; -export * from "./ContactsRetrieveRequestExpand"; +export * from "./ContactsListRequestExpandItem"; +export * from "./ContactsRetrieveRequestExpandItem"; diff --git a/src/api/resources/crm/resources/customObjectClasses/client/Client.ts b/src/api/resources/crm/resources/customObjectClasses/client/Client.ts index 53d9b1e91..f1c5ef71e 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/Client.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/Client.ts @@ -34,7 +34,6 @@ export class CustomObjectClassesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "fields", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -44,88 +43,103 @@ export class CustomObjectClassesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.CustomObjectClassesListRequest = {}, requestOptions?: CustomObjectClassesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.CustomObjectClassesListRequest = {}, - requestOptions?: CustomObjectClassesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.CustomObjectClassesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/custom-object-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedCustomObjectClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/custom-object-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/custom-object-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedCustomObjectClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/custom-object-classes"); } /** @@ -137,7 +151,6 @@ export class CustomObjectClassesClient { * * @example * await client.crm.customObjectClasses.retrieve("id", { - * expand: "fields", * includeRemoteData: true, * includeShellData: true * }) @@ -157,7 +170,7 @@ export class CustomObjectClassesClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts index ce7b88d4d..2a7789e26 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "fields", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -24,7 +23,7 @@ export interface CustomObjectClassesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "fields"; + expand?: "fields" | "fields"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts index 9e0642b17..ec3d003c3 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "fields", * includeRemoteData: true, * includeShellData: true * } */ export interface CustomObjectClassesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "fields"; + expand?: "fields" | "fields"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/crm/resources/customObjects/client/Client.ts b/src/api/resources/crm/resources/customObjects/client/Client.ts index ec68ca99a..3d38859fc 100644 --- a/src/api/resources/crm/resources/customObjects/client/Client.ts +++ b/src/api/resources/crm/resources/customObjects/client/Client.ts @@ -45,97 +45,104 @@ export class CustomObjectsClient { * remoteId: "remote_id" * }) */ - public customObjectClassesCustomObjectsList( + public async customObjectClassesCustomObjectsList( custom_object_class_id: string, request: Merge.crm.CustomObjectClassesCustomObjectsListRequest = {}, requestOptions?: CustomObjectsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise( - this.__customObjectClassesCustomObjectsList(custom_object_class_id, request, requestOptions), + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.CustomObjectClassesCustomObjectsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `crm/v1/custom-object-classes/${core.url.encodePathParam(custom_object_class_id)}/custom-objects`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedCustomObjectList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects", + ); + }, ); - } - - private async __customObjectClassesCustomObjectsList( - custom_object_class_id: string, - request: Merge.crm.CustomObjectClassesCustomObjectsListRequest = {}, - requestOptions?: CustomObjectsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `crm/v1/custom-object-classes/${core.url.encodePathParam(custom_object_class_id)}/custom-objects`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedCustomObjectList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects", - ); } /** @@ -415,88 +422,96 @@ export class CustomObjectsClient { * pageSize: 1 * }) */ - public customObjectClassesCustomObjectsRemoteFieldClassesList( + public async customObjectClassesCustomObjectsRemoteFieldClassesList( request: Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest = {}, requestOptions?: CustomObjectsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise( - this.__customObjectClassesCustomObjectsRemoteFieldClassesList(request, requestOptions), + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/custom-object-classes/custom-objects/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/custom-object-classes/custom-objects/remote-field-classes", + ); + }, ); - } - - private async __customObjectClassesCustomObjectsRemoteFieldClassesList( - request: Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest = {}, - requestOptions?: CustomObjectsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/custom-object-classes/custom-objects/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/custom-object-classes/custom-objects/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/engagementTypes/client/Client.ts b/src/api/resources/crm/resources/engagementTypes/client/Client.ts index 4faca2ee1..d3e927f22 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/Client.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/Client.ts @@ -44,88 +44,103 @@ export class EngagementTypesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.EngagementTypesListRequest = {}, requestOptions?: EngagementTypesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.EngagementTypesListRequest = {}, - requestOptions?: EngagementTypesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.EngagementTypesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/engagement-types", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedEngagementTypeList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/engagement-types", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/engagement-types", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedEngagementTypeList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/engagement-types"); } /** @@ -226,86 +241,96 @@ export class EngagementTypesClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.EngagementTypesRemoteFieldClassesListRequest = {}, requestOptions?: EngagementTypesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.crm.EngagementTypesRemoteFieldClassesListRequest = {}, - requestOptions?: EngagementTypesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.EngagementTypesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/engagement-types/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/engagement-types/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/engagement-types/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/engagement-types/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/engagements/client/Client.ts b/src/api/resources/crm/resources/engagements/client/Client.ts index 891b1b1e1..72c091256 100644 --- a/src/api/resources/crm/resources/engagements/client/Client.ts +++ b/src/api/resources/crm/resources/engagements/client/Client.ts @@ -34,7 +34,6 @@ export class EngagementsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -47,99 +46,114 @@ export class EngagementsClient { * startedBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.crm.EngagementsListRequest = {}, requestOptions?: EngagementsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.EngagementsListRequest = {}, - requestOptions?: EngagementsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - startedAfter, - startedBefore, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.crm.EngagementsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - started_after: startedAfter?.toISOString(), - started_before: startedBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.EngagementsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + startedAfter, + startedBefore, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.EngagementsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.crm.EngagementsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + started_after: startedAfter?.toISOString(), + started_before: startedBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/engagements", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedEngagementList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/engagements"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/engagements", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedEngagementList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/engagements"); } /** @@ -230,7 +244,6 @@ export class EngagementsClient { * * @example * await client.crm.engagements.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -251,12 +264,17 @@ export class EngagementsClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.crm.EngagementsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.EngagementsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.crm.EngagementsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -546,86 +564,96 @@ export class EngagementsClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.EngagementsRemoteFieldClassesListRequest = {}, requestOptions?: EngagementsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.crm.EngagementsRemoteFieldClassesListRequest = {}, - requestOptions?: EngagementsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.EngagementsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/engagements/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/engagements/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/engagements/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/engagements/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts b/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts index 7083834aa..eb27d7e4a 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts @@ -8,7 +8,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -29,7 +28,7 @@ export interface EngagementsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.EngagementsListRequestExpand; + expand?: Merge.crm.EngagementsListRequestExpandItem | Merge.crm.EngagementsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts b/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts index 9dab8b684..37e20e1af 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,7 @@ import type * as Merge from "../../../../../../index"; */ export interface EngagementsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.EngagementsRetrieveRequestExpand; + expand?: Merge.crm.EngagementsRetrieveRequestExpandItem | Merge.crm.EngagementsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts b/src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts deleted file mode 100644 index 885993ef0..000000000 --- a/src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts +++ /dev/null @@ -1,21 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EngagementsListRequestExpand = { - Account: "account", - AccountEngagementType: "account,engagement_type", - Contacts: "contacts", - ContactsAccount: "contacts,account", - ContactsAccountEngagementType: "contacts,account,engagement_type", - ContactsEngagementType: "contacts,engagement_type", - ContactsOwner: "contacts,owner", - ContactsOwnerAccount: "contacts,owner,account", - ContactsOwnerAccountEngagementType: "contacts,owner,account,engagement_type", - ContactsOwnerEngagementType: "contacts,owner,engagement_type", - EngagementType: "engagement_type", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerAccountEngagementType: "owner,account,engagement_type", - OwnerEngagementType: "owner,engagement_type", -} as const; -export type EngagementsListRequestExpand = - (typeof EngagementsListRequestExpand)[keyof typeof EngagementsListRequestExpand]; diff --git a/src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts b/src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts new file mode 100644 index 000000000..7062503c3 --- /dev/null +++ b/src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EngagementsListRequestExpandItem = { + Account: "account", + Contacts: "contacts", + EngagementType: "engagement_type", + Owner: "owner", +} as const; +export type EngagementsListRequestExpandItem = + (typeof EngagementsListRequestExpandItem)[keyof typeof EngagementsListRequestExpandItem]; diff --git a/src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts b/src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts deleted file mode 100644 index 1e4ce1e44..000000000 --- a/src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts +++ /dev/null @@ -1,21 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EngagementsRetrieveRequestExpand = { - Account: "account", - AccountEngagementType: "account,engagement_type", - Contacts: "contacts", - ContactsAccount: "contacts,account", - ContactsAccountEngagementType: "contacts,account,engagement_type", - ContactsEngagementType: "contacts,engagement_type", - ContactsOwner: "contacts,owner", - ContactsOwnerAccount: "contacts,owner,account", - ContactsOwnerAccountEngagementType: "contacts,owner,account,engagement_type", - ContactsOwnerEngagementType: "contacts,owner,engagement_type", - EngagementType: "engagement_type", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerAccountEngagementType: "owner,account,engagement_type", - OwnerEngagementType: "owner,engagement_type", -} as const; -export type EngagementsRetrieveRequestExpand = - (typeof EngagementsRetrieveRequestExpand)[keyof typeof EngagementsRetrieveRequestExpand]; diff --git a/src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts b/src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..2f12181f0 --- /dev/null +++ b/src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EngagementsRetrieveRequestExpandItem = { + Account: "account", + Contacts: "contacts", + EngagementType: "engagement_type", + Owner: "owner", +} as const; +export type EngagementsRetrieveRequestExpandItem = + (typeof EngagementsRetrieveRequestExpandItem)[keyof typeof EngagementsRetrieveRequestExpandItem]; diff --git a/src/api/resources/crm/resources/engagements/types/index.ts b/src/api/resources/crm/resources/engagements/types/index.ts index 742b3ef68..31b07a506 100644 --- a/src/api/resources/crm/resources/engagements/types/index.ts +++ b/src/api/resources/crm/resources/engagements/types/index.ts @@ -1,2 +1,2 @@ -export * from "./EngagementsListRequestExpand"; -export * from "./EngagementsRetrieveRequestExpand"; +export * from "./EngagementsListRequestExpandItem"; +export * from "./EngagementsRetrieveRequestExpandItem"; diff --git a/src/api/resources/crm/resources/issues/client/Client.ts b/src/api/resources/crm/resources/issues/client/Client.ts index cfb60a06d..0dfe18af7 100644 --- a/src/api/resources/crm/resources/issues/client/Client.ts +++ b/src/api/resources/crm/resources/issues/client/Client.ts @@ -47,97 +47,109 @@ export class IssuesClient { * status: "ONGOING" * }) */ - public list( + public async list( request: Merge.crm.IssuesListRequest = {}, requestOptions?: IssuesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.IssuesListRequest = {}, - requestOptions?: IssuesClient.RequestOptions, - ): Promise> { - const { - accountToken, - cursor, - endDate, - endUserOrganizationName, - firstIncidentTimeAfter, - firstIncidentTimeBefore, - includeMuted, - integrationName, - lastIncidentTimeAfter, - lastIncidentTimeBefore, - linkedAccountId, - pageSize, - startDate, - status, - } = request; - const _queryParams: Record = { - account_token: accountToken, - cursor, - end_date: endDate, - end_user_organization_name: endUserOrganizationName, - first_incident_time_after: firstIncidentTimeAfter?.toISOString(), - first_incident_time_before: firstIncidentTimeBefore?.toISOString(), - include_muted: includeMuted, - integration_name: integrationName, - last_incident_time_after: lastIncidentTimeAfter?.toISOString(), - last_incident_time_before: lastIncidentTimeBefore?.toISOString(), - linked_account_id: linkedAccountId, - page_size: pageSize, - start_date: startDate, - status: - status != null - ? serializers.crm.IssuesListRequestStatus.jsonOrThrow(status, { unrecognizedObjectKeys: "strip" }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.IssuesListRequest, + ): Promise> => { + const { + accountToken, + cursor, + endDate, + endUserOrganizationName, + firstIncidentTimeAfter, + firstIncidentTimeBefore, + includeMuted, + integrationName, + lastIncidentTimeAfter, + lastIncidentTimeBefore, + linkedAccountId, + pageSize, + startDate, + status, + } = request; + const _queryParams: Record = { + account_token: accountToken, + cursor, + end_date: endDate, + end_user_organization_name: endUserOrganizationName, + first_incident_time_after: firstIncidentTimeAfter?.toISOString(), + first_incident_time_before: firstIncidentTimeBefore?.toISOString(), + include_muted: includeMuted, + integration_name: integrationName, + last_incident_time_after: lastIncidentTimeAfter?.toISOString(), + last_incident_time_before: lastIncidentTimeBefore?.toISOString(), + linked_account_id: linkedAccountId, + page_size: pageSize, + start_date: startDate, + status: + status != null + ? serializers.crm.IssuesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/issues", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedIssueList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/issues"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/issues", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedIssueList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/issues"); } /** diff --git a/src/api/resources/crm/resources/leads/client/Client.ts b/src/api/resources/crm/resources/leads/client/Client.ts index 70b5eaf5f..b852fa9a7 100644 --- a/src/api/resources/crm/resources/leads/client/Client.ts +++ b/src/api/resources/crm/resources/leads/client/Client.ts @@ -37,7 +37,6 @@ export class LeadsClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddresses: "email_addresses", - * expand: "converted_account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -50,103 +49,118 @@ export class LeadsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.LeadsListRequest = {}, requestOptions?: LeadsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.LeadsListRequest = {}, - requestOptions?: LeadsClient.RequestOptions, - ): Promise> { - const { - convertedAccountId, - convertedContactId, - createdAfter, - createdBefore, - cursor, - emailAddresses, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - ownerId, - pageSize, - phoneNumbers, - remoteId, - } = request; - const _queryParams: Record = { - converted_account_id: convertedAccountId, - converted_contact_id: convertedContactId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email_addresses: emailAddresses, - expand: - expand != null - ? serializers.crm.LeadsListRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - owner_id: ownerId, - page_size: pageSize, - phone_numbers: phoneNumbers, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async (request: Merge.crm.LeadsListRequest): Promise> => { + const { + convertedAccountId, + convertedContactId, + createdAfter, + createdBefore, + cursor, + emailAddresses, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + ownerId, + pageSize, + phoneNumbers, + remoteId, + } = request; + const _queryParams: Record = { + converted_account_id: convertedAccountId, + converted_contact_id: convertedContactId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email_addresses: emailAddresses, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.LeadsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.crm.LeadsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + owner_id: ownerId, + page_size: pageSize, + phone_numbers: phoneNumbers, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/leads", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedLeadList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/leads"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/leads", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedLeadList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/leads"); } /** @@ -237,7 +251,6 @@ export class LeadsClient { * * @example * await client.crm.leads.retrieve("id", { - * expand: "converted_account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -258,12 +271,17 @@ export class LeadsClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.crm.LeadsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.LeadsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.crm.LeadsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -397,86 +415,96 @@ export class LeadsClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.LeadsRemoteFieldClassesListRequest = {}, requestOptions?: LeadsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.crm.LeadsRemoteFieldClassesListRequest = {}, - requestOptions?: LeadsClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.LeadsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/leads/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/leads/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/leads/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/leads/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts b/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts index bae97c7a0..63e0f9e2b 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts @@ -11,7 +11,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddresses: "email_addresses", - * expand: "converted_account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -38,7 +37,7 @@ export interface LeadsListRequest { /** If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. */ emailAddresses?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.LeadsListRequestExpand; + expand?: Merge.crm.LeadsListRequestExpandItem | Merge.crm.LeadsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts b/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts index bc9e60540..124a01f7e 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "converted_account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,7 @@ import type * as Merge from "../../../../../../index"; */ export interface LeadsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.LeadsRetrieveRequestExpand; + expand?: Merge.crm.LeadsRetrieveRequestExpandItem | Merge.crm.LeadsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/crm/resources/leads/types/LeadsListRequestExpand.ts b/src/api/resources/crm/resources/leads/types/LeadsListRequestExpand.ts deleted file mode 100644 index 26ee621f5..000000000 --- a/src/api/resources/crm/resources/leads/types/LeadsListRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const LeadsListRequestExpand = { - ConvertedAccount: "converted_account", - ConvertedContact: "converted_contact", - ConvertedContactConvertedAccount: "converted_contact,converted_account", - Owner: "owner", - OwnerConvertedAccount: "owner,converted_account", - OwnerConvertedContact: "owner,converted_contact", - OwnerConvertedContactConvertedAccount: "owner,converted_contact,converted_account", -} as const; -export type LeadsListRequestExpand = (typeof LeadsListRequestExpand)[keyof typeof LeadsListRequestExpand]; diff --git a/src/api/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts b/src/api/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts new file mode 100644 index 000000000..61a16cf45 --- /dev/null +++ b/src/api/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const LeadsListRequestExpandItem = { + ConvertedAccount: "converted_account", + ConvertedContact: "converted_contact", + Owner: "owner", +} as const; +export type LeadsListRequestExpandItem = (typeof LeadsListRequestExpandItem)[keyof typeof LeadsListRequestExpandItem]; diff --git a/src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts b/src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts deleted file mode 100644 index e22f4ca00..000000000 --- a/src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const LeadsRetrieveRequestExpand = { - ConvertedAccount: "converted_account", - ConvertedContact: "converted_contact", - ConvertedContactConvertedAccount: "converted_contact,converted_account", - Owner: "owner", - OwnerConvertedAccount: "owner,converted_account", - OwnerConvertedContact: "owner,converted_contact", - OwnerConvertedContactConvertedAccount: "owner,converted_contact,converted_account", -} as const; -export type LeadsRetrieveRequestExpand = (typeof LeadsRetrieveRequestExpand)[keyof typeof LeadsRetrieveRequestExpand]; diff --git a/src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts b/src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..56ef8900d --- /dev/null +++ b/src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const LeadsRetrieveRequestExpandItem = { + ConvertedAccount: "converted_account", + ConvertedContact: "converted_contact", + Owner: "owner", +} as const; +export type LeadsRetrieveRequestExpandItem = + (typeof LeadsRetrieveRequestExpandItem)[keyof typeof LeadsRetrieveRequestExpandItem]; diff --git a/src/api/resources/crm/resources/leads/types/index.ts b/src/api/resources/crm/resources/leads/types/index.ts index 139d390d0..910b5ea9c 100644 --- a/src/api/resources/crm/resources/leads/types/index.ts +++ b/src/api/resources/crm/resources/leads/types/index.ts @@ -1,2 +1,2 @@ -export * from "./LeadsListRequestExpand"; -export * from "./LeadsRetrieveRequestExpand"; +export * from "./LeadsListRequestExpandItem"; +export * from "./LeadsRetrieveRequestExpandItem"; diff --git a/src/api/resources/crm/resources/linkedAccounts/client/Client.ts b/src/api/resources/crm/resources/linkedAccounts/client/Client.ts index 76adf07f6..f4625ffd8 100644 --- a/src/api/resources/crm/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/crm/resources/linkedAccounts/client/Client.ts @@ -46,96 +46,111 @@ export class LinkedAccountsClient { * status: "status" * }) */ - public list( + public async list( request: Merge.crm.LinkedAccountsListRequest = {}, requestOptions?: LinkedAccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.LinkedAccountsListRequest = {}, - requestOptions?: LinkedAccountsClient.RequestOptions, - ): Promise> { - const { - category, - cursor, - endUserEmailAddress, - endUserOrganizationName, - endUserOriginId, - endUserOriginIds, - id, - ids, - includeDuplicates, - integrationName, - isTestAccount, - pageSize, - status, - } = request; - const _queryParams: Record = { - category: - category != null - ? serializers.crm.LinkedAccountsListRequestCategory.jsonOrThrow(category, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - cursor, - end_user_email_address: endUserEmailAddress, - end_user_organization_name: endUserOrganizationName, - end_user_origin_id: endUserOriginId, - end_user_origin_ids: endUserOriginIds, - id, - ids, - include_duplicates: includeDuplicates, - integration_name: integrationName, - is_test_account: isTestAccount, - page_size: pageSize, - status, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.LinkedAccountsListRequest, + ): Promise> => { + const { + category, + cursor, + endUserEmailAddress, + endUserOrganizationName, + endUserOriginId, + endUserOriginIds, + id, + ids, + includeDuplicates, + integrationName, + isTestAccount, + pageSize, + status, + } = request; + const _queryParams: Record = { + category: + category != null + ? serializers.crm.LinkedAccountsListRequestCategory.jsonOrThrow(category, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + cursor, + end_user_email_address: endUserEmailAddress, + end_user_organization_name: endUserOrganizationName, + end_user_origin_id: endUserOriginId, + end_user_origin_ids: endUserOriginIds, + id, + ids, + include_duplicates: includeDuplicates, + integration_name: integrationName, + is_test_account: isTestAccount, + page_size: pageSize, + status, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/linked-accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/linked-accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/linked-accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/linked-accounts"); } } diff --git a/src/api/resources/crm/resources/notes/client/Client.ts b/src/api/resources/crm/resources/notes/client/Client.ts index 5ff779b18..3c2f8176e 100644 --- a/src/api/resources/crm/resources/notes/client/Client.ts +++ b/src/api/resources/crm/resources/notes/client/Client.ts @@ -36,7 +36,6 @@ export class NotesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -49,101 +48,116 @@ export class NotesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.NotesListRequest = {}, requestOptions?: NotesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.NotesListRequest = {}, - requestOptions?: NotesClient.RequestOptions, - ): Promise> { - const { - accountId, - contactId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - opportunityId, - ownerId, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - account_id: accountId, - contact_id: contactId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.crm.NotesListRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - opportunity_id: opportunityId, - owner_id: ownerId, - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async (request: Merge.crm.NotesListRequest): Promise> => { + const { + accountId, + contactId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + opportunityId, + ownerId, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + account_id: accountId, + contact_id: contactId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.NotesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.crm.NotesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + opportunity_id: opportunityId, + owner_id: ownerId, + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/notes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedNoteList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/notes"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/notes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedNoteList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/notes"); } /** @@ -234,7 +248,6 @@ export class NotesClient { * * @example * await client.crm.notes.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -255,12 +268,17 @@ export class NotesClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.crm.NotesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.NotesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.crm.NotesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -394,86 +412,96 @@ export class NotesClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.NotesRemoteFieldClassesListRequest = {}, requestOptions?: NotesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.crm.NotesRemoteFieldClassesListRequest = {}, - requestOptions?: NotesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.NotesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/notes/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/notes/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/notes/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/notes/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts b/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts index 1e1817dcc..b07c69e3d 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts @@ -10,7 +10,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -35,7 +34,7 @@ export interface NotesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.NotesListRequestExpand; + expand?: Merge.crm.NotesListRequestExpandItem | Merge.crm.NotesListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts b/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts index 81790928d..3da0ce558 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,7 @@ import type * as Merge from "../../../../../../index"; */ export interface NotesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.NotesRetrieveRequestExpand; + expand?: Merge.crm.NotesRetrieveRequestExpandItem | Merge.crm.NotesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/crm/resources/notes/types/NotesListRequestExpand.ts b/src/api/resources/crm/resources/notes/types/NotesListRequestExpand.ts deleted file mode 100644 index 1568dc7af..000000000 --- a/src/api/resources/crm/resources/notes/types/NotesListRequestExpand.ts +++ /dev/null @@ -1,20 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const NotesListRequestExpand = { - Account: "account", - AccountOpportunity: "account,opportunity", - Contact: "contact", - ContactAccount: "contact,account", - ContactAccountOpportunity: "contact,account,opportunity", - ContactOpportunity: "contact,opportunity", - Opportunity: "opportunity", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerAccountOpportunity: "owner,account,opportunity", - OwnerContact: "owner,contact", - OwnerContactAccount: "owner,contact,account", - OwnerContactAccountOpportunity: "owner,contact,account,opportunity", - OwnerContactOpportunity: "owner,contact,opportunity", - OwnerOpportunity: "owner,opportunity", -} as const; -export type NotesListRequestExpand = (typeof NotesListRequestExpand)[keyof typeof NotesListRequestExpand]; diff --git a/src/api/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts b/src/api/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts new file mode 100644 index 000000000..81878c010 --- /dev/null +++ b/src/api/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const NotesListRequestExpandItem = { + Account: "account", + Contact: "contact", + Opportunity: "opportunity", + Owner: "owner", +} as const; +export type NotesListRequestExpandItem = (typeof NotesListRequestExpandItem)[keyof typeof NotesListRequestExpandItem]; diff --git a/src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts b/src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts deleted file mode 100644 index 9f9902de9..000000000 --- a/src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts +++ /dev/null @@ -1,20 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const NotesRetrieveRequestExpand = { - Account: "account", - AccountOpportunity: "account,opportunity", - Contact: "contact", - ContactAccount: "contact,account", - ContactAccountOpportunity: "contact,account,opportunity", - ContactOpportunity: "contact,opportunity", - Opportunity: "opportunity", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerAccountOpportunity: "owner,account,opportunity", - OwnerContact: "owner,contact", - OwnerContactAccount: "owner,contact,account", - OwnerContactAccountOpportunity: "owner,contact,account,opportunity", - OwnerContactOpportunity: "owner,contact,opportunity", - OwnerOpportunity: "owner,opportunity", -} as const; -export type NotesRetrieveRequestExpand = (typeof NotesRetrieveRequestExpand)[keyof typeof NotesRetrieveRequestExpand]; diff --git a/src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts b/src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..27bc3950f --- /dev/null +++ b/src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +export const NotesRetrieveRequestExpandItem = { + Account: "account", + Contact: "contact", + Opportunity: "opportunity", + Owner: "owner", +} as const; +export type NotesRetrieveRequestExpandItem = + (typeof NotesRetrieveRequestExpandItem)[keyof typeof NotesRetrieveRequestExpandItem]; diff --git a/src/api/resources/crm/resources/notes/types/index.ts b/src/api/resources/crm/resources/notes/types/index.ts index 619a79b71..34de923cd 100644 --- a/src/api/resources/crm/resources/notes/types/index.ts +++ b/src/api/resources/crm/resources/notes/types/index.ts @@ -1,2 +1,2 @@ -export * from "./NotesListRequestExpand"; -export * from "./NotesRetrieveRequestExpand"; +export * from "./NotesListRequestExpandItem"; +export * from "./NotesRetrieveRequestExpandItem"; diff --git a/src/api/resources/crm/resources/opportunities/client/Client.ts b/src/api/resources/crm/resources/opportunities/client/Client.ts index c51c21345..62b4cd0bc 100644 --- a/src/api/resources/crm/resources/opportunities/client/Client.ts +++ b/src/api/resources/crm/resources/opportunities/client/Client.ts @@ -35,7 +35,6 @@ export class OpportunitiesClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -52,114 +51,129 @@ export class OpportunitiesClient { * status: "LOST" * }) */ - public list( + public async list( request: Merge.crm.OpportunitiesListRequest = {}, requestOptions?: OpportunitiesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.OpportunitiesListRequest = {}, - requestOptions?: OpportunitiesClient.RequestOptions, - ): Promise> { - const { - accountId, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - ownerId, - pageSize, - remoteCreatedAfter, - remoteFields, - remoteId, - showEnumOrigins, - stageId, - status, - } = request; - const _queryParams: Record = { - account_id: accountId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.crm.OpportunitiesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - owner_id: ownerId, - page_size: pageSize, - remote_created_after: remoteCreatedAfter?.toISOString(), - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - stage_id: stageId, - status: - status != null - ? serializers.crm.OpportunitiesListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.OpportunitiesListRequest, + ): Promise> => { + const { + accountId, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + ownerId, + pageSize, + remoteCreatedAfter, + remoteFields, + remoteId, + showEnumOrigins, + stageId, + status, + } = request; + const _queryParams: Record = { + account_id: accountId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.OpportunitiesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.crm.OpportunitiesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + owner_id: ownerId, + page_size: pageSize, + remote_created_after: remoteCreatedAfter?.toISOString(), + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + stage_id: stageId, + status: + status != null + ? serializers.crm.OpportunitiesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/opportunities", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedOpportunityList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/opportunities"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/opportunities", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedOpportunityList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/opportunities"); } /** @@ -250,7 +264,6 @@ export class OpportunitiesClient { * * @example * await client.crm.opportunities.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -274,12 +287,17 @@ export class OpportunitiesClient { const { expand, includeRemoteData, includeRemoteFields, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.crm.OpportunitiesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.OpportunitiesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.crm.OpportunitiesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -576,86 +594,96 @@ export class OpportunitiesClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.OpportunitiesRemoteFieldClassesListRequest = {}, requestOptions?: OpportunitiesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.crm.OpportunitiesRemoteFieldClassesListRequest = {}, - requestOptions?: OpportunitiesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.OpportunitiesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/opportunities/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/opportunities/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/opportunities/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/opportunities/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts index 9ac6d37c0..f962544b9 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -36,7 +35,7 @@ export interface OpportunitiesListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.OpportunitiesListRequestExpand; + expand?: Merge.crm.OpportunitiesListRequestExpandItem | Merge.crm.OpportunitiesListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts index 00cd01800..1d74e74a1 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -15,7 +14,7 @@ import type * as Merge from "../../../../../../index"; */ export interface OpportunitiesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.OpportunitiesRetrieveRequestExpand; + expand?: Merge.crm.OpportunitiesRetrieveRequestExpandItem | Merge.crm.OpportunitiesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts b/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts deleted file mode 100644 index 9657d6f7b..000000000 --- a/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const OpportunitiesListRequestExpand = { - Account: "account", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerStage: "owner,stage", - OwnerStageAccount: "owner,stage,account", - Stage: "stage", - StageAccount: "stage,account", -} as const; -export type OpportunitiesListRequestExpand = - (typeof OpportunitiesListRequestExpand)[keyof typeof OpportunitiesListRequestExpand]; diff --git a/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts b/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts new file mode 100644 index 000000000..a1c231d55 --- /dev/null +++ b/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const OpportunitiesListRequestExpandItem = { + Account: "account", + Owner: "owner", + Stage: "stage", +} as const; +export type OpportunitiesListRequestExpandItem = + (typeof OpportunitiesListRequestExpandItem)[keyof typeof OpportunitiesListRequestExpandItem]; diff --git a/src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts b/src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts deleted file mode 100644 index f220a54de..000000000 --- a/src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const OpportunitiesRetrieveRequestExpand = { - Account: "account", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerStage: "owner,stage", - OwnerStageAccount: "owner,stage,account", - Stage: "stage", - StageAccount: "stage,account", -} as const; -export type OpportunitiesRetrieveRequestExpand = - (typeof OpportunitiesRetrieveRequestExpand)[keyof typeof OpportunitiesRetrieveRequestExpand]; diff --git a/src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts b/src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..7df9d6260 --- /dev/null +++ b/src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const OpportunitiesRetrieveRequestExpandItem = { + Account: "account", + Owner: "owner", + Stage: "stage", +} as const; +export type OpportunitiesRetrieveRequestExpandItem = + (typeof OpportunitiesRetrieveRequestExpandItem)[keyof typeof OpportunitiesRetrieveRequestExpandItem]; diff --git a/src/api/resources/crm/resources/opportunities/types/index.ts b/src/api/resources/crm/resources/opportunities/types/index.ts index 0d6d5b6f1..94845ece4 100644 --- a/src/api/resources/crm/resources/opportunities/types/index.ts +++ b/src/api/resources/crm/resources/opportunities/types/index.ts @@ -1,3 +1,3 @@ -export * from "./OpportunitiesListRequestExpand"; +export * from "./OpportunitiesListRequestExpandItem"; export * from "./OpportunitiesListRequestStatus"; -export * from "./OpportunitiesRetrieveRequestExpand"; +export * from "./OpportunitiesRetrieveRequestExpandItem"; diff --git a/src/api/resources/crm/resources/stages/client/Client.ts b/src/api/resources/crm/resources/stages/client/Client.ts index 4b0b4d991..dcbe39183 100644 --- a/src/api/resources/crm/resources/stages/client/Client.ts +++ b/src/api/resources/crm/resources/stages/client/Client.ts @@ -44,88 +44,98 @@ export class StagesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.StagesListRequest = {}, requestOptions?: StagesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.StagesListRequest = {}, - requestOptions?: StagesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.StagesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/stages", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedStageList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/stages"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/stages", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedStageList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/stages"); } /** @@ -226,86 +236,96 @@ export class StagesClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.StagesRemoteFieldClassesListRequest = {}, requestOptions?: StagesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.crm.StagesRemoteFieldClassesListRequest = {}, - requestOptions?: StagesClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.StagesRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/stages/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/stages/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/stages/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/stages/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/tasks/client/Client.ts b/src/api/resources/crm/resources/tasks/client/Client.ts index 7801b6c2e..1d2f43340 100644 --- a/src/api/resources/crm/resources/tasks/client/Client.ts +++ b/src/api/resources/crm/resources/tasks/client/Client.ts @@ -34,7 +34,6 @@ export class TasksClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -45,93 +44,108 @@ export class TasksClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.TasksListRequest = {}, requestOptions?: TasksClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.TasksListRequest = {}, - requestOptions?: TasksClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.crm.TasksListRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async (request: Merge.crm.TasksListRequest): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.TasksListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.crm.TasksListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/tasks", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedTaskList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/tasks"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/tasks", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedTaskList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/tasks"); } /** @@ -222,7 +236,6 @@ export class TasksClient { * * @example * await client.crm.tasks.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -243,12 +256,17 @@ export class TasksClient { ): Promise> { const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.crm.TasksRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.crm.TasksRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.crm.TasksRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -531,86 +549,96 @@ export class TasksClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.TasksRemoteFieldClassesListRequest = {}, requestOptions?: TasksClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.crm.TasksRemoteFieldClassesListRequest = {}, - requestOptions?: TasksClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.TasksRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/tasks/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/tasks/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/tasks/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/tasks/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts b/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts index 798a6899a..d445d8558 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts @@ -8,7 +8,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -27,7 +26,7 @@ export interface TasksListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.TasksListRequestExpand; + expand?: Merge.crm.TasksListRequestExpandItem | Merge.crm.TasksListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts b/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts index 1e76664a9..64639bcf8 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true @@ -13,7 +12,7 @@ import type * as Merge from "../../../../../../index"; */ export interface TasksRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.crm.TasksRetrieveRequestExpand; + expand?: Merge.crm.TasksRetrieveRequestExpandItem | Merge.crm.TasksRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/crm/resources/tasks/types/TasksListRequestExpand.ts b/src/api/resources/crm/resources/tasks/types/TasksListRequestExpand.ts deleted file mode 100644 index 503f8b173..000000000 --- a/src/api/resources/crm/resources/tasks/types/TasksListRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TasksListRequestExpand = { - Account: "account", - AccountOpportunity: "account,opportunity", - Opportunity: "opportunity", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerAccountOpportunity: "owner,account,opportunity", - OwnerOpportunity: "owner,opportunity", -} as const; -export type TasksListRequestExpand = (typeof TasksListRequestExpand)[keyof typeof TasksListRequestExpand]; diff --git a/src/api/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts b/src/api/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts new file mode 100644 index 000000000..e3214602d --- /dev/null +++ b/src/api/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TasksListRequestExpandItem = { + Account: "account", + Opportunity: "opportunity", + Owner: "owner", +} as const; +export type TasksListRequestExpandItem = (typeof TasksListRequestExpandItem)[keyof typeof TasksListRequestExpandItem]; diff --git a/src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts b/src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts deleted file mode 100644 index 0b251fcd4..000000000 --- a/src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TasksRetrieveRequestExpand = { - Account: "account", - AccountOpportunity: "account,opportunity", - Opportunity: "opportunity", - Owner: "owner", - OwnerAccount: "owner,account", - OwnerAccountOpportunity: "owner,account,opportunity", - OwnerOpportunity: "owner,opportunity", -} as const; -export type TasksRetrieveRequestExpand = (typeof TasksRetrieveRequestExpand)[keyof typeof TasksRetrieveRequestExpand]; diff --git a/src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts b/src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..07d0c8802 --- /dev/null +++ b/src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TasksRetrieveRequestExpandItem = { + Account: "account", + Opportunity: "opportunity", + Owner: "owner", +} as const; +export type TasksRetrieveRequestExpandItem = + (typeof TasksRetrieveRequestExpandItem)[keyof typeof TasksRetrieveRequestExpandItem]; diff --git a/src/api/resources/crm/resources/tasks/types/index.ts b/src/api/resources/crm/resources/tasks/types/index.ts index 570802a11..13aa3a20e 100644 --- a/src/api/resources/crm/resources/tasks/types/index.ts +++ b/src/api/resources/crm/resources/tasks/types/index.ts @@ -1,2 +1,2 @@ -export * from "./TasksListRequestExpand"; -export * from "./TasksRetrieveRequestExpand"; +export * from "./TasksListRequestExpandItem"; +export * from "./TasksRetrieveRequestExpandItem"; diff --git a/src/api/resources/crm/resources/users/client/Client.ts b/src/api/resources/crm/resources/users/client/Client.ts index 9c1be02c5..37d94b76f 100644 --- a/src/api/resources/crm/resources/users/client/Client.ts +++ b/src/api/resources/crm/resources/users/client/Client.ts @@ -45,90 +45,98 @@ export class UsersClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.crm.UsersListRequest = {}, requestOptions?: UsersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.crm.UsersListRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - email, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async (request: Merge.crm.UsersListRequest): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + email, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/users", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedUserList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/users"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/users", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedUserList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/crm/v1/users"); } /** @@ -300,86 +308,96 @@ export class UsersClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( - request: Merge.crm.UsersRemoteFieldClassesListRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.crm.UsersRemoteFieldClassesListRequest = {}, requestOptions?: UsersClient.RequestOptions, - ): Promise> { - const { - cursor, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.crm.UsersRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "crm/v1/users/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/crm/v1/users/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "crm/v1/users/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/crm/v1/users/remote-field-classes", - ); } } diff --git a/src/api/resources/crm/types/RemoteFieldClass.ts b/src/api/resources/crm/types/RemoteFieldClass.ts index cf9de91f0..851219492 100644 --- a/src/api/resources/crm/types/RemoteFieldClass.ts +++ b/src/api/resources/crm/types/RemoteFieldClass.ts @@ -8,10 +8,9 @@ export interface RemoteFieldClass { remoteKeyName?: string; description?: string; isCustom?: boolean; - isCommonModelField?: boolean; isRequired?: boolean; - fieldType?: Merge.crm.RemoteFieldClassFieldType; - fieldFormat?: Merge.crm.RemoteFieldClassFieldFormat; + fieldType?: Merge.crm.FieldTypeEnum; + fieldFormat?: Merge.crm.FieldFormatEnum; fieldChoices?: Merge.crm.RemoteFieldClassFieldChoicesItem[]; itemSchema?: Merge.crm.ItemSchema; } diff --git a/src/api/resources/crm/types/RemoteFieldClassFieldType.ts b/src/api/resources/crm/types/RemoteFieldClassFieldType.ts deleted file mode 100644 index 6e400d96c..000000000 --- a/src/api/resources/crm/types/RemoteFieldClassFieldType.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type RemoteFieldClassFieldType = Merge.crm.FieldTypeEnum | string; diff --git a/src/api/resources/crm/types/RemoteResponse.ts b/src/api/resources/crm/types/RemoteResponse.ts index b0555227d..d384d9f19 100644 --- a/src/api/resources/crm/types/RemoteResponse.ts +++ b/src/api/resources/crm/types/RemoteResponse.ts @@ -16,6 +16,6 @@ export interface RemoteResponse { status: number; response?: unknown; responseHeaders?: Record; - responseType?: Merge.crm.ResponseTypeEnum; + responseType?: Merge.crm.RemoteResponseResponseType; headers?: Record; } diff --git a/src/api/resources/crm/types/RemoteFieldClassFieldFormat.ts b/src/api/resources/crm/types/RemoteResponseResponseType.ts similarity index 66% rename from src/api/resources/crm/types/RemoteFieldClassFieldFormat.ts rename to src/api/resources/crm/types/RemoteResponseResponseType.ts index 3f821dcdc..a75204556 100644 --- a/src/api/resources/crm/types/RemoteFieldClassFieldFormat.ts +++ b/src/api/resources/crm/types/RemoteResponseResponseType.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type RemoteFieldClassFieldFormat = Merge.crm.FieldFormatEnum | string; +export type RemoteResponseResponseType = Merge.crm.ResponseTypeEnum | string; diff --git a/src/api/resources/crm/types/index.ts b/src/api/resources/crm/types/index.ts index d5c268b4d..33ef02517 100644 --- a/src/api/resources/crm/types/index.ts +++ b/src/api/resources/crm/types/index.ts @@ -181,8 +181,6 @@ export * from "./RemoteFieldApiCoverage"; export * from "./RemoteFieldApiResponse"; export * from "./RemoteFieldClass"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldClassFieldFormat"; -export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldClassForCustomObjectClass"; export * from "./RemoteFieldClassForCustomObjectClassFieldChoicesItem"; export * from "./RemoteFieldClassForCustomObjectClassFieldFormat"; @@ -193,6 +191,7 @@ export * from "./RemoteFieldRequest"; export * from "./RemoteFieldRequestRemoteFieldClass"; export * from "./RemoteKey"; export * from "./RemoteResponse"; +export * from "./RemoteResponseResponseType"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./RoleEnum"; diff --git a/src/api/resources/filestorage/client/Client.ts b/src/api/resources/fileStorage/client/Client.ts similarity index 97% rename from src/api/resources/filestorage/client/Client.ts rename to src/api/resources/fileStorage/client/Client.ts index 28639951d..63fd19ff1 100644 --- a/src/api/resources/filestorage/client/Client.ts +++ b/src/api/resources/fileStorage/client/Client.ts @@ -25,12 +25,12 @@ import { SyncStatusClient } from "../resources/syncStatus/client/Client"; import { UsersClient } from "../resources/users/client/Client"; import { WebhookReceiversClient } from "../resources/webhookReceivers/client/Client"; -export declare namespace FilestorageClient { +export declare namespace FileStorageClient { export type Options = BaseClientOptions; } -export class FilestorageClient { - protected readonly _options: NormalizedClientOptionsWithAuth; +export class FileStorageClient { + protected readonly _options: NormalizedClientOptionsWithAuth; protected _accountDetails: AccountDetailsClient | undefined; protected _accountToken: AccountTokenClient | undefined; protected _asyncPassthrough: AsyncPassthroughClient | undefined; @@ -54,7 +54,7 @@ export class FilestorageClient { protected _users: UsersClient | undefined; protected _webhookReceivers: WebhookReceiversClient | undefined; - constructor(options: FilestorageClient.Options) { + constructor(options: FileStorageClient.Options) { this._options = normalizeClientOptionsWithAuth(options); } diff --git a/src/api/resources/filestorage/client/index.ts b/src/api/resources/fileStorage/client/index.ts similarity index 100% rename from src/api/resources/filestorage/client/index.ts rename to src/api/resources/fileStorage/client/index.ts diff --git a/src/api/resources/filestorage/exports.ts b/src/api/resources/fileStorage/exports.ts similarity index 71% rename from src/api/resources/filestorage/exports.ts rename to src/api/resources/fileStorage/exports.ts index 036db16a8..b359c4014 100644 --- a/src/api/resources/filestorage/exports.ts +++ b/src/api/resources/fileStorage/exports.ts @@ -1,5 +1,5 @@ // This file was auto-generated by Fern from our API Definition. -export { FilestorageClient } from "./client/Client"; +export { FileStorageClient } from "./client/Client"; export * from "./client/index"; export * from "./resources/index"; diff --git a/src/api/resources/filestorage/index.ts b/src/api/resources/fileStorage/index.ts similarity index 100% rename from src/api/resources/filestorage/index.ts rename to src/api/resources/fileStorage/index.ts diff --git a/src/api/resources/filestorage/resources/accountDetails/client/Client.ts b/src/api/resources/fileStorage/resources/accountDetails/client/Client.ts similarity index 93% rename from src/api/resources/filestorage/resources/accountDetails/client/Client.ts rename to src/api/resources/fileStorage/resources/accountDetails/client/Client.ts index f4d6161e1..51fe5cb7b 100644 --- a/src/api/resources/filestorage/resources/accountDetails/client/Client.ts +++ b/src/api/resources/fileStorage/resources/accountDetails/client/Client.ts @@ -29,17 +29,17 @@ export class AccountDetailsClient { * @param {AccountDetailsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.accountDetails.retrieve() + * await client.fileStorage.accountDetails.retrieve() */ public retrieve( requestOptions?: AccountDetailsClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__retrieve(requestOptions)); } private async __retrieve( requestOptions?: AccountDetailsClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -65,7 +65,7 @@ export class AccountDetailsClient { }); if (_response.ok) { return { - data: serializers.filestorage.AccountDetails.parseOrThrow(_response.body, { + data: serializers.fileStorage.AccountDetails.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/accountDetails/client/index.ts b/src/api/resources/fileStorage/resources/accountDetails/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/accountDetails/client/index.ts rename to src/api/resources/fileStorage/resources/accountDetails/client/index.ts diff --git a/src/api/resources/filestorage/resources/accountDetails/exports.ts b/src/api/resources/fileStorage/resources/accountDetails/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/accountDetails/exports.ts rename to src/api/resources/fileStorage/resources/accountDetails/exports.ts diff --git a/src/api/resources/filestorage/resources/accountDetails/index.ts b/src/api/resources/fileStorage/resources/accountDetails/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/accountDetails/index.ts rename to src/api/resources/fileStorage/resources/accountDetails/index.ts diff --git a/src/api/resources/filestorage/resources/accountToken/client/Client.ts b/src/api/resources/fileStorage/resources/accountToken/client/Client.ts similarity index 93% rename from src/api/resources/filestorage/resources/accountToken/client/Client.ts rename to src/api/resources/fileStorage/resources/accountToken/client/Client.ts index c93f3a12f..d12e89aa9 100644 --- a/src/api/resources/filestorage/resources/accountToken/client/Client.ts +++ b/src/api/resources/fileStorage/resources/accountToken/client/Client.ts @@ -30,19 +30,19 @@ export class AccountTokenClient { * @param {AccountTokenClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.accountToken.retrieve("public_token") + * await client.fileStorage.accountToken.retrieve("public_token") */ public retrieve( public_token: string, requestOptions?: AccountTokenClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__retrieve(public_token, requestOptions)); } private async __retrieve( public_token: string, requestOptions?: AccountTokenClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -68,7 +68,7 @@ export class AccountTokenClient { }); if (_response.ok) { return { - data: serializers.filestorage.AccountToken.parseOrThrow(_response.body, { + data: serializers.fileStorage.AccountToken.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/accountToken/client/index.ts b/src/api/resources/fileStorage/resources/accountToken/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/accountToken/client/index.ts rename to src/api/resources/fileStorage/resources/accountToken/client/index.ts diff --git a/src/api/resources/filestorage/resources/accountToken/exports.ts b/src/api/resources/fileStorage/resources/accountToken/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/accountToken/exports.ts rename to src/api/resources/fileStorage/resources/accountToken/exports.ts diff --git a/src/api/resources/filestorage/resources/accountToken/index.ts b/src/api/resources/fileStorage/resources/accountToken/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/accountToken/index.ts rename to src/api/resources/fileStorage/resources/accountToken/index.ts diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts b/src/api/resources/fileStorage/resources/asyncPassthrough/client/Client.ts similarity index 90% rename from src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts rename to src/api/resources/fileStorage/resources/asyncPassthrough/client/Client.ts index 2e01619bd..9cbe0c6e4 100644 --- a/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/fileStorage/resources/asyncPassthrough/client/Client.ts @@ -26,26 +26,26 @@ export class AsyncPassthroughClient { /** * Asynchronously pull data from an endpoint not currently supported by Merge. * - * @param {Merge.filestorage.DataPassthroughRequest} request + * @param {Merge.fileStorage.DataPassthroughRequest} request * @param {AsyncPassthroughClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.asyncPassthrough.create({ + * await client.fileStorage.asyncPassthrough.create({ * method: "GET", * path: "/scooters" * }) */ public create( - request: Merge.filestorage.DataPassthroughRequest, + request: Merge.fileStorage.DataPassthroughRequest, requestOptions?: AsyncPassthroughClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.DataPassthroughRequest, + request: Merge.fileStorage.DataPassthroughRequest, requestOptions?: AsyncPassthroughClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -65,7 +65,7 @@ export class AsyncPassthroughClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.DataPassthroughRequest.jsonOrThrow(request, { + body: serializers.fileStorage.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -76,7 +76,7 @@ export class AsyncPassthroughClient { }); if (_response.ok) { return { - data: serializers.filestorage.AsyncPassthroughReciept.parseOrThrow(_response.body, { + data: serializers.fileStorage.AsyncPassthroughReciept.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -110,19 +110,19 @@ export class AsyncPassthroughClient { * @param {AsyncPassthroughClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id") + * await client.fileStorage.asyncPassthrough.retrieve("async_passthrough_receipt_id") */ public retrieve( async_passthrough_receipt_id: string, requestOptions?: AsyncPassthroughClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__retrieve(async_passthrough_receipt_id, requestOptions)); } private async __retrieve( async_passthrough_receipt_id: string, requestOptions?: AsyncPassthroughClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -148,7 +148,7 @@ export class AsyncPassthroughClient { }); if (_response.ok) { return { - data: serializers.filestorage.AsyncPassthroughRetrieveResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.AsyncPassthroughRetrieveResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/client/index.ts b/src/api/resources/fileStorage/resources/asyncPassthrough/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/asyncPassthrough/client/index.ts rename to src/api/resources/fileStorage/resources/asyncPassthrough/client/index.ts diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/exports.ts b/src/api/resources/fileStorage/resources/asyncPassthrough/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/asyncPassthrough/exports.ts rename to src/api/resources/fileStorage/resources/asyncPassthrough/exports.ts diff --git a/src/api/resources/accounting/resources/expenseReports/index.ts b/src/api/resources/fileStorage/resources/asyncPassthrough/index.ts similarity index 100% rename from src/api/resources/accounting/resources/expenseReports/index.ts rename to src/api/resources/fileStorage/resources/asyncPassthrough/index.ts diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts b/src/api/resources/fileStorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts similarity index 69% rename from src/api/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts rename to src/api/resources/fileStorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts index f3bd679f1..b5a12bfdd 100644 --- a/src/api/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts +++ b/src/api/resources/fileStorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../../../index"; -export type AsyncPassthroughRetrieveResponse = Merge.filestorage.RemoteResponse | string; +export type AsyncPassthroughRetrieveResponse = Merge.fileStorage.RemoteResponse | string; diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/types/index.ts b/src/api/resources/fileStorage/resources/asyncPassthrough/types/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/asyncPassthrough/types/index.ts rename to src/api/resources/fileStorage/resources/asyncPassthrough/types/index.ts diff --git a/src/api/resources/fileStorage/resources/auditTrail/client/Client.ts b/src/api/resources/fileStorage/resources/auditTrail/client/Client.ts new file mode 100644 index 000000000..ccc4fc381 --- /dev/null +++ b/src/api/resources/fileStorage/resources/auditTrail/client/Client.ts @@ -0,0 +1,123 @@ +// This file was auto-generated by Fern from our API Definition. + +import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; +import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; +import * as core from "../../../../../../core"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; +import * as environments from "../../../../../../environments"; +import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; +import * as errors from "../../../../../../errors/index"; +import * as serializers from "../../../../../../serialization/index"; +import type * as Merge from "../../../../../index"; + +export declare namespace AuditTrailClient { + export type Options = BaseClientOptions; + + export interface RequestOptions extends BaseRequestOptions {} +} + +export class AuditTrailClient { + protected readonly _options: NormalizedClientOptionsWithAuth; + + constructor(options: AuditTrailClient.Options) { + this._options = normalizeClientOptionsWithAuth(options); + } + + /** + * Gets a list of audit trail events. + * + * @param {Merge.fileStorage.AuditTrailListRequest} request + * @param {AuditTrailClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.auditTrail.list({ + * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + * endDate: "end_date", + * eventType: "event_type", + * pageSize: 1, + * startDate: "start_date", + * userEmail: "user_email" + * }) + */ + public async list( + request: Merge.fileStorage.AuditTrailListRequest = {}, + requestOptions?: AuditTrailClient.RequestOptions, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.AuditTrailListRequest, + ): Promise> => { + const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; + const _queryParams: Record = { + cursor, + end_date: endDate, + event_type: eventType, + page_size: pageSize, + start_date: startDate, + user_email: userEmail, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/audit-trail", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedAuditLogEventList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/audit-trail", + ); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }); + } +} diff --git a/src/api/resources/accounting/resources/expenseReports/client/index.ts b/src/api/resources/fileStorage/resources/auditTrail/client/index.ts similarity index 100% rename from src/api/resources/accounting/resources/expenseReports/client/index.ts rename to src/api/resources/fileStorage/resources/auditTrail/client/index.ts diff --git a/src/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/fileStorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts rename to src/api/resources/fileStorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts diff --git a/src/api/resources/filestorage/resources/auditTrail/client/requests/index.ts b/src/api/resources/fileStorage/resources/auditTrail/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/auditTrail/client/requests/index.ts rename to src/api/resources/fileStorage/resources/auditTrail/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/auditTrail/exports.ts b/src/api/resources/fileStorage/resources/auditTrail/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/auditTrail/exports.ts rename to src/api/resources/fileStorage/resources/auditTrail/exports.ts diff --git a/src/api/resources/filestorage/resources/auditTrail/index.ts b/src/api/resources/fileStorage/resources/auditTrail/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/auditTrail/index.ts rename to src/api/resources/fileStorage/resources/auditTrail/index.ts diff --git a/src/api/resources/filestorage/resources/availableActions/client/Client.ts b/src/api/resources/fileStorage/resources/availableActions/client/Client.ts similarity index 93% rename from src/api/resources/filestorage/resources/availableActions/client/Client.ts rename to src/api/resources/fileStorage/resources/availableActions/client/Client.ts index 69c185e46..c0bb5a32a 100644 --- a/src/api/resources/filestorage/resources/availableActions/client/Client.ts +++ b/src/api/resources/fileStorage/resources/availableActions/client/Client.ts @@ -29,17 +29,17 @@ export class AvailableActionsClient { * @param {AvailableActionsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.availableActions.retrieve() + * await client.fileStorage.availableActions.retrieve() */ public retrieve( requestOptions?: AvailableActionsClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__retrieve(requestOptions)); } private async __retrieve( requestOptions?: AvailableActionsClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -65,7 +65,7 @@ export class AvailableActionsClient { }); if (_response.ok) { return { - data: serializers.filestorage.AvailableActions.parseOrThrow(_response.body, { + data: serializers.fileStorage.AvailableActions.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/availableActions/client/index.ts b/src/api/resources/fileStorage/resources/availableActions/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/availableActions/client/index.ts rename to src/api/resources/fileStorage/resources/availableActions/client/index.ts diff --git a/src/api/resources/filestorage/resources/availableActions/exports.ts b/src/api/resources/fileStorage/resources/availableActions/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/availableActions/exports.ts rename to src/api/resources/fileStorage/resources/availableActions/exports.ts diff --git a/src/api/resources/filestorage/resources/availableActions/index.ts b/src/api/resources/fileStorage/resources/availableActions/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/availableActions/index.ts rename to src/api/resources/fileStorage/resources/availableActions/index.ts diff --git a/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts b/src/api/resources/fileStorage/resources/deleteAccount/client/Client.ts similarity index 98% rename from src/api/resources/filestorage/resources/deleteAccount/client/Client.ts rename to src/api/resources/fileStorage/resources/deleteAccount/client/Client.ts index 82b57e12c..0c03ceabf 100644 --- a/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/fileStorage/resources/deleteAccount/client/Client.ts @@ -27,7 +27,7 @@ export class DeleteAccountClient { * @param {DeleteAccountClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.deleteAccount.delete() + * await client.fileStorage.deleteAccount.delete() */ public delete(requestOptions?: DeleteAccountClient.RequestOptions): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__delete(requestOptions)); diff --git a/src/api/resources/filestorage/resources/deleteAccount/client/index.ts b/src/api/resources/fileStorage/resources/deleteAccount/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/deleteAccount/client/index.ts rename to src/api/resources/fileStorage/resources/deleteAccount/client/index.ts diff --git a/src/api/resources/filestorage/resources/deleteAccount/exports.ts b/src/api/resources/fileStorage/resources/deleteAccount/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/deleteAccount/exports.ts rename to src/api/resources/fileStorage/resources/deleteAccount/exports.ts diff --git a/src/api/resources/filestorage/resources/deleteAccount/index.ts b/src/api/resources/fileStorage/resources/deleteAccount/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/deleteAccount/index.ts rename to src/api/resources/fileStorage/resources/deleteAccount/index.ts diff --git a/src/api/resources/fileStorage/resources/drives/client/Client.ts b/src/api/resources/fileStorage/resources/drives/client/Client.ts new file mode 100644 index 000000000..f8e953267 --- /dev/null +++ b/src/api/resources/fileStorage/resources/drives/client/Client.ts @@ -0,0 +1,223 @@ +// This file was auto-generated by Fern from our API Definition. + +import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; +import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; +import * as core from "../../../../../../core"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; +import * as environments from "../../../../../../environments"; +import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; +import * as errors from "../../../../../../errors/index"; +import * as serializers from "../../../../../../serialization/index"; +import type * as Merge from "../../../../../index"; + +export declare namespace DrivesClient { + export type Options = BaseClientOptions; + + export interface RequestOptions extends BaseRequestOptions {} +} + +export class DrivesClient { + protected readonly _options: NormalizedClientOptionsWithAuth; + + constructor(options: DrivesClient.Options) { + this._options = normalizeClientOptionsWithAuth(options); + } + + /** + * Returns a list of `Drive` objects. + * + * @param {Merge.fileStorage.DrivesListRequest} request + * @param {DrivesClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.drives.list({ + * createdAfter: new Date("2024-01-15T09:30:00.000Z"), + * createdBefore: new Date("2024-01-15T09:30:00.000Z"), + * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + * includeDeletedData: true, + * includeRemoteData: true, + * includeShellData: true, + * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + * name: "name", + * pageSize: 1, + * remoteId: "remote_id" + * }) + */ + public async list( + request: Merge.fileStorage.DrivesListRequest = {}, + requestOptions?: DrivesClient.RequestOptions, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.DrivesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/drives", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedDriveList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/drives", + ); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }); + } + + /** + * Returns a `Drive` object with the given `id`. + * + * @param {string} id + * @param {Merge.fileStorage.DrivesRetrieveRequest} request + * @param {DrivesClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.drives.retrieve("id", { + * includeRemoteData: true, + * includeShellData: true + * }) + */ + public retrieve( + id: string, + request: Merge.fileStorage.DrivesRetrieveRequest = {}, + requestOptions?: DrivesClient.RequestOptions, + ): core.HttpResponsePromise { + return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); + } + + private async __retrieve( + id: string, + request: Merge.fileStorage.DrivesRetrieveRequest = {}, + requestOptions?: DrivesClient.RequestOptions, + ): Promise> { + const { includeRemoteData, includeShellData } = request; + const _queryParams: Record = { + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `filestorage/v1/drives/${core.url.encodePathParam(id)}`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.Drive.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/drives/{id}"); + } +} diff --git a/src/api/resources/filestorage/resources/auditTrail/client/index.ts b/src/api/resources/fileStorage/resources/drives/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/auditTrail/client/index.ts rename to src/api/resources/fileStorage/resources/drives/client/index.ts diff --git a/src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts b/src/api/resources/fileStorage/resources/drives/client/requests/DrivesListRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts rename to src/api/resources/fileStorage/resources/drives/client/requests/DrivesListRequest.ts diff --git a/src/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.ts b/src/api/resources/fileStorage/resources/drives/client/requests/DrivesRetrieveRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/drives/client/requests/DrivesRetrieveRequest.ts diff --git a/src/api/resources/filestorage/resources/drives/client/requests/index.ts b/src/api/resources/fileStorage/resources/drives/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/drives/client/requests/index.ts rename to src/api/resources/fileStorage/resources/drives/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/drives/exports.ts b/src/api/resources/fileStorage/resources/drives/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/drives/exports.ts rename to src/api/resources/fileStorage/resources/drives/exports.ts diff --git a/src/api/resources/filestorage/resources/drives/index.ts b/src/api/resources/fileStorage/resources/drives/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/drives/index.ts rename to src/api/resources/fileStorage/resources/drives/index.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/Client.ts b/src/api/resources/fileStorage/resources/fieldMapping/client/Client.ts similarity index 89% rename from src/api/resources/filestorage/resources/fieldMapping/client/Client.ts rename to src/api/resources/fileStorage/resources/fieldMapping/client/Client.ts index 565abcd0b..8a1f127fd 100644 --- a/src/api/resources/filestorage/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/fileStorage/resources/fieldMapping/client/Client.ts @@ -26,25 +26,25 @@ export class FieldMappingClient { /** * Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). * - * @param {Merge.filestorage.FieldMappingsRetrieveRequest} request + * @param {Merge.fileStorage.FieldMappingsRetrieveRequest} request * @param {FieldMappingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.fieldMapping.fieldMappingsRetrieve({ + * await client.fileStorage.fieldMapping.fieldMappingsRetrieve({ * excludeRemoteFieldMetadata: true * }) */ public fieldMappingsRetrieve( - request: Merge.filestorage.FieldMappingsRetrieveRequest = {}, + request: Merge.fileStorage.FieldMappingsRetrieveRequest = {}, requestOptions?: FieldMappingClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__fieldMappingsRetrieve(request, requestOptions)); } private async __fieldMappingsRetrieve( - request: Merge.filestorage.FieldMappingsRetrieveRequest = {}, + request: Merge.fileStorage.FieldMappingsRetrieveRequest = {}, requestOptions?: FieldMappingClient.RequestOptions, - ): Promise> { + ): Promise> { const { excludeRemoteFieldMetadata } = request; const _queryParams: Record = { exclude_remote_field_metadata: excludeRemoteFieldMetadata, @@ -74,7 +74,7 @@ export class FieldMappingClient { }); if (_response.ok) { return { - data: serializers.filestorage.FieldMappingApiInstanceResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.FieldMappingApiInstanceResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -104,11 +104,11 @@ export class FieldMappingClient { /** * Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. * - * @param {Merge.filestorage.CreateFieldMappingRequest} request + * @param {Merge.fileStorage.CreateFieldMappingRequest} request * @param {FieldMappingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.fieldMapping.fieldMappingsCreate({ + * await client.fileStorage.fieldMapping.fieldMappingsCreate({ * excludeRemoteFieldMetadata: true, * targetFieldName: "example_target_field_name", * targetFieldDescription: "this is a example description of the target field", @@ -119,16 +119,16 @@ export class FieldMappingClient { * }) */ public fieldMappingsCreate( - request: Merge.filestorage.CreateFieldMappingRequest, + request: Merge.fileStorage.CreateFieldMappingRequest, requestOptions?: FieldMappingClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__fieldMappingsCreate(request, requestOptions)); } private async __fieldMappingsCreate( - request: Merge.filestorage.CreateFieldMappingRequest, + request: Merge.fileStorage.CreateFieldMappingRequest, requestOptions?: FieldMappingClient.RequestOptions, - ): Promise> { + ): Promise> { const { excludeRemoteFieldMetadata, ..._body } = request; const _queryParams: Record = { exclude_remote_field_metadata: excludeRemoteFieldMetadata, @@ -152,7 +152,7 @@ export class FieldMappingClient { contentType: "application/json", queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, requestType: "json", - body: serializers.filestorage.CreateFieldMappingRequest.jsonOrThrow(_body, { + body: serializers.fileStorage.CreateFieldMappingRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -163,7 +163,7 @@ export class FieldMappingClient { }); if (_response.ok) { return { - data: serializers.filestorage.FieldMappingInstanceResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.FieldMappingInstanceResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -197,19 +197,19 @@ export class FieldMappingClient { * @param {FieldMappingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id") + * await client.fileStorage.fieldMapping.fieldMappingsDestroy("field_mapping_id") */ public fieldMappingsDestroy( field_mapping_id: string, requestOptions?: FieldMappingClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__fieldMappingsDestroy(field_mapping_id, requestOptions)); } private async __fieldMappingsDestroy( field_mapping_id: string, requestOptions?: FieldMappingClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -235,7 +235,7 @@ export class FieldMappingClient { }); if (_response.ok) { return { - data: serializers.filestorage.FieldMappingInstanceResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.FieldMappingInstanceResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -266,17 +266,17 @@ export class FieldMappingClient { * Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. * * @param {string} field_mapping_id - * @param {Merge.filestorage.PatchedEditFieldMappingRequest} request + * @param {Merge.fileStorage.PatchedEditFieldMappingRequest} request * @param {FieldMappingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id") + * await client.fileStorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id") */ public fieldMappingsPartialUpdate( field_mapping_id: string, - request: Merge.filestorage.PatchedEditFieldMappingRequest = {}, + request: Merge.fileStorage.PatchedEditFieldMappingRequest = {}, requestOptions?: FieldMappingClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( this.__fieldMappingsPartialUpdate(field_mapping_id, request, requestOptions), ); @@ -284,9 +284,9 @@ export class FieldMappingClient { private async __fieldMappingsPartialUpdate( field_mapping_id: string, - request: Merge.filestorage.PatchedEditFieldMappingRequest = {}, + request: Merge.fileStorage.PatchedEditFieldMappingRequest = {}, requestOptions?: FieldMappingClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -306,7 +306,7 @@ export class FieldMappingClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.PatchedEditFieldMappingRequest.jsonOrThrow(request, { + body: serializers.fileStorage.PatchedEditFieldMappingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -317,7 +317,7 @@ export class FieldMappingClient { }); if (_response.ok) { return { - data: serializers.filestorage.FieldMappingInstanceResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.FieldMappingInstanceResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -347,26 +347,26 @@ export class FieldMappingClient { /** * Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). * - * @param {Merge.filestorage.RemoteFieldsRetrieveRequest} request + * @param {Merge.fileStorage.RemoteFieldsRetrieveRequest} request * @param {FieldMappingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.fieldMapping.remoteFieldsRetrieve({ + * await client.fileStorage.fieldMapping.remoteFieldsRetrieve({ * commonModels: "common_models", * includeExampleValues: "include_example_values" * }) */ public remoteFieldsRetrieve( - request: Merge.filestorage.RemoteFieldsRetrieveRequest = {}, + request: Merge.fileStorage.RemoteFieldsRetrieveRequest = {}, requestOptions?: FieldMappingClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__remoteFieldsRetrieve(request, requestOptions)); } private async __remoteFieldsRetrieve( - request: Merge.filestorage.RemoteFieldsRetrieveRequest = {}, + request: Merge.fileStorage.RemoteFieldsRetrieveRequest = {}, requestOptions?: FieldMappingClient.RequestOptions, - ): Promise> { + ): Promise> { const { commonModels, includeExampleValues } = request; const _queryParams: Record = { common_models: commonModels, @@ -397,7 +397,7 @@ export class FieldMappingClient { }); if (_response.ok) { return { - data: serializers.filestorage.RemoteFieldApiResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.RemoteFieldApiResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -425,17 +425,17 @@ export class FieldMappingClient { * @param {FieldMappingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.fieldMapping.targetFieldsRetrieve() + * await client.fileStorage.fieldMapping.targetFieldsRetrieve() */ public targetFieldsRetrieve( requestOptions?: FieldMappingClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__targetFieldsRetrieve(requestOptions)); } private async __targetFieldsRetrieve( requestOptions?: FieldMappingClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -461,7 +461,7 @@ export class FieldMappingClient { }); if (_response.ok) { return { - data: serializers.filestorage.ExternalTargetFieldApiResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.ExternalTargetFieldApiResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/drives/client/index.ts b/src/api/resources/fileStorage/resources/fieldMapping/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/drives/client/index.ts rename to src/api/resources/fileStorage/resources/fieldMapping/client/index.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts b/src/api/resources/fileStorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts rename to src/api/resources/fileStorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.ts b/src/api/resources/fileStorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts b/src/api/resources/fileStorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts rename to src/api/resources/fileStorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.ts b/src/api/resources/fileStorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/requests/index.ts b/src/api/resources/fileStorage/resources/fieldMapping/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/client/requests/index.ts rename to src/api/resources/fileStorage/resources/fieldMapping/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/exports.ts b/src/api/resources/fileStorage/resources/fieldMapping/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/exports.ts rename to src/api/resources/fileStorage/resources/fieldMapping/exports.ts diff --git a/src/api/resources/filestorage/resources/fieldMapping/index.ts b/src/api/resources/fileStorage/resources/fieldMapping/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/index.ts rename to src/api/resources/fileStorage/resources/fieldMapping/index.ts diff --git a/src/api/resources/filestorage/resources/files/client/Client.ts b/src/api/resources/fileStorage/resources/files/client/Client.ts similarity index 56% rename from src/api/resources/filestorage/resources/files/client/Client.ts rename to src/api/resources/fileStorage/resources/files/client/Client.ts index 188291c05..827e8cb62 100644 --- a/src/api/resources/filestorage/resources/files/client/Client.ts +++ b/src/api/resources/fileStorage/resources/files/client/Client.ts @@ -27,16 +27,15 @@ export class FilesClient { /** * Returns a list of `File` objects. * - * @param {Merge.filestorage.FilesListRequest} request + * @param {Merge.fileStorage.FilesListRequest} request * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.files.list({ + * await client.fileStorage.files.list({ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * driveId: "drive_id", - * expand: "drive", * folderId: "folder_id", * includeDeletedData: true, * includeRemoteData: true, @@ -47,143 +46,152 @@ export class FilesClient { * name: "name", * orderBy: "-created_at", * pageSize: 1, - * remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - * remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), * remoteId: "remote_id" * }) */ - public list( - request: Merge.filestorage.FilesListRequest = {}, + public async list( + request: Merge.fileStorage.FilesListRequest = {}, requestOptions?: FilesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.FilesListRequest = {}, - requestOptions?: FilesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - driveId, - expand, - folderId, - includeDeletedData, - includeRemoteData, - includeShellData, - mimeType, - modifiedAfter, - modifiedBefore, - name, - orderBy, - pageSize, - remoteCreatedAfter, - remoteCreatedBefore, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - drive_id: driveId, - expand: - expand != null - ? serializers.filestorage.FilesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - folder_id: folderId, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - mime_type: mimeType, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - order_by: - orderBy != null - ? serializers.filestorage.FilesListRequestOrderBy.jsonOrThrow(orderBy, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - page_size: pageSize, - remote_created_after: remoteCreatedAfter?.toISOString(), - remote_created_before: remoteCreatedBefore?.toISOString(), - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.FilesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + driveId, + expand, + folderId, + includeDeletedData, + includeRemoteData, + includeShellData, + mimeType, + modifiedAfter, + modifiedBefore, + name, + orderBy, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + drive_id: driveId, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.fileStorage.FilesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.fileStorage.FilesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + folder_id: folderId, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + mime_type: mimeType, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + order_by: + orderBy != null + ? serializers.fileStorage.FilesListRequestOrderBy.jsonOrThrow(orderBy, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/files", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedFileList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/files"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/files", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedFileList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/files"); } /** * Creates a `File` object with the given values. * - * @param {Merge.filestorage.FileStorageFileEndpointRequest} request + * @param {Merge.fileStorage.FileStorageFileEndpointRequest} request * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.files.create({ + * await client.fileStorage.files.create({ * isDebugMode: true, * runAsync: true, * model: {} * }) */ public create( - request: Merge.filestorage.FileStorageFileEndpointRequest, + request: Merge.fileStorage.FileStorageFileEndpointRequest, requestOptions?: FilesClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.FileStorageFileEndpointRequest, + request: Merge.fileStorage.FileStorageFileEndpointRequest, requestOptions?: FilesClient.RequestOptions, - ): Promise> { + ): Promise> { const { isDebugMode, runAsync, ..._body } = request; const _queryParams: Record = { is_debug_mode: isDebugMode, @@ -208,7 +216,7 @@ export class FilesClient { contentType: "application/json", queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, requestType: "json", - body: serializers.filestorage.FileStorageFileEndpointRequest.jsonOrThrow(_body, { + body: serializers.fileStorage.FileStorageFileEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -219,7 +227,7 @@ export class FilesClient { }); if (_response.ok) { return { - data: serializers.filestorage.FileStorageFileResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.FileStorageFileResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -245,37 +253,41 @@ export class FilesClient { * Returns a `File` object with the given `id`. * * @param {string} id - * @param {Merge.filestorage.FilesRetrieveRequest} request + * @param {Merge.fileStorage.FilesRetrieveRequest} request * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.files.retrieve("id", { - * expand: "drive", + * await client.fileStorage.files.retrieve("id", { * includeRemoteData: true, * includeShellData: true * }) */ public retrieve( id: string, - request: Merge.filestorage.FilesRetrieveRequest = {}, + request: Merge.fileStorage.FilesRetrieveRequest = {}, requestOptions?: FilesClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); } private async __retrieve( id: string, - request: Merge.filestorage.FilesRetrieveRequest = {}, + request: Merge.fileStorage.FilesRetrieveRequest = {}, requestOptions?: FilesClient.RequestOptions, - ): Promise> { + ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.filestorage.FilesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.fileStorage.FilesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.fileStorage.FilesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; @@ -304,7 +316,7 @@ export class FilesClient { }); if (_response.ok) { return { - data: serializers.filestorage.File_.parseOrThrow(_response.body, { + data: serializers.fileStorage.File_.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -331,7 +343,7 @@ export class FilesClient { */ public downloadRetrieve( id: string, - request: Merge.filestorage.FilesDownloadRetrieveRequest = {}, + request: Merge.fileStorage.FilesDownloadRetrieveRequest = {}, requestOptions?: FilesClient.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__downloadRetrieve(id, request, requestOptions)); @@ -339,7 +351,7 @@ export class FilesClient { private async __downloadRetrieve( id: string, - request: Merge.filestorage.FilesDownloadRetrieveRequest = {}, + request: Merge.fileStorage.FilesDownloadRetrieveRequest = {}, requestOptions?: FilesClient.RequestOptions, ): Promise> { const { includeShellData, mimeType } = request; @@ -395,27 +407,27 @@ export class FilesClient { * Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. * * @param {string} id - * @param {Merge.filestorage.FilesDownloadRequestMetaRetrieveRequest} request + * @param {Merge.fileStorage.FilesDownloadRequestMetaRetrieveRequest} request * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.files.downloadRequestMetaRetrieve("id", { + * await client.fileStorage.files.downloadRequestMetaRetrieve("id", { * mimeType: "mime_type" * }) */ public downloadRequestMetaRetrieve( id: string, - request: Merge.filestorage.FilesDownloadRequestMetaRetrieveRequest = {}, + request: Merge.fileStorage.FilesDownloadRequestMetaRetrieveRequest = {}, requestOptions?: FilesClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__downloadRequestMetaRetrieve(id, request, requestOptions)); } private async __downloadRequestMetaRetrieve( id: string, - request: Merge.filestorage.FilesDownloadRequestMetaRetrieveRequest = {}, + request: Merge.fileStorage.FilesDownloadRequestMetaRetrieveRequest = {}, requestOptions?: FilesClient.RequestOptions, - ): Promise> { + ): Promise> { const { mimeType } = request; const _queryParams: Record = { mime_type: mimeType, @@ -445,7 +457,7 @@ export class FilesClient { }); if (_response.ok) { return { - data: serializers.filestorage.DownloadRequestMeta.parseOrThrow(_response.body, { + data: serializers.fileStorage.DownloadRequestMeta.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -475,11 +487,11 @@ export class FilesClient { /** * Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. * - * @param {Merge.filestorage.FilesDownloadRequestMetaListRequest} request + * @param {Merge.fileStorage.FilesDownloadRequestMetaListRequest} request * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.files.downloadRequestMetaList({ + * await client.fileStorage.files.downloadRequestMetaList({ * createdAfter: "created_after", * createdBefore: "created_before", * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -491,95 +503,105 @@ export class FilesClient { * pageSize: 1 * }) */ - public downloadRequestMetaList( - request: Merge.filestorage.FilesDownloadRequestMetaListRequest = {}, + public async downloadRequestMetaList( + request: Merge.fileStorage.FilesDownloadRequestMetaListRequest = {}, requestOptions?: FilesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__downloadRequestMetaList(request, requestOptions)); - } - - private async __downloadRequestMetaList( - request: Merge.filestorage.FilesDownloadRequestMetaListRequest = {}, - requestOptions?: FilesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - ids, - includeDeletedData, - mimeTypes, - modifiedAfter, - modifiedBefore, - orderBy, - pageSize, - } = request; - const _queryParams: Record = { - created_after: createdAfter, - created_before: createdBefore, - cursor, - ids, - include_deleted_data: includeDeletedData, - mime_types: mimeTypes, - modified_after: modifiedAfter, - modified_before: modifiedBefore, - order_by: - orderBy != null - ? serializers.filestorage.FilesDownloadRequestMetaListRequestOrderBy.jsonOrThrow(orderBy, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.FilesDownloadRequestMetaListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + mimeTypes, + modifiedAfter, + modifiedBefore, + orderBy, + pageSize, + } = request; + const _queryParams: Record = { + created_after: createdAfter, + created_before: createdBefore, + cursor, + include_deleted_data: includeDeletedData, + mime_types: mimeTypes, + modified_after: modifiedAfter, + modified_before: modifiedBefore, + order_by: + orderBy != null + ? serializers.fileStorage.FilesDownloadRequestMetaListRequestOrderBy.jsonOrThrow(orderBy, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/files/download/request-meta", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedDownloadRequestMetaList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/files/download/request-meta", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/files/download/request-meta", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedDownloadRequestMetaList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/filestorage/v1/files/download/request-meta", + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page( + { + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }, ); } @@ -589,17 +611,17 @@ export class FilesClient { * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.files.metaPostRetrieve() + * await client.fileStorage.files.metaPostRetrieve() */ public metaPostRetrieve( requestOptions?: FilesClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__metaPostRetrieve(requestOptions)); } private async __metaPostRetrieve( requestOptions?: FilesClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -625,7 +647,7 @@ export class FilesClient { }); if (_response.ok) { return { - data: serializers.filestorage.MetaResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.MetaResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/index.ts b/src/api/resources/fileStorage/resources/files/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/fieldMapping/client/index.ts rename to src/api/resources/fileStorage/resources/files/client/index.ts diff --git a/src/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts b/src/api/resources/fileStorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts similarity index 92% rename from src/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts rename to src/api/resources/fileStorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts index b967c3f06..1c3c1b46b 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts +++ b/src/api/resources/fileStorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts @@ -15,5 +15,5 @@ export interface FileStorageFileEndpointRequest { isDebugMode?: boolean; /** Whether or not third-party updates should be run asynchronously. */ runAsync?: boolean; - model: Merge.filestorage.FileRequest; + model: Merge.fileStorage.FileRequest; } diff --git a/src/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.ts b/src/api/resources/fileStorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.ts similarity index 91% rename from src/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.ts rename to src/api/resources/fileStorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.ts index 66d050328..009082dc4 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.ts +++ b/src/api/resources/fileStorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.ts @@ -23,8 +23,6 @@ export interface FilesDownloadRequestMetaListRequest { createdBefore?: string; /** The pagination cursor value. */ cursor?: string; - /** If provided, will only return objects with the given IDs. Comma-separated list of strings. */ - ids?: string | string[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. */ @@ -34,7 +32,7 @@ export interface FilesDownloadRequestMetaListRequest { /** If provided, will only return objects modified before this datetime. */ modifiedBefore?: string; /** Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. */ - orderBy?: Merge.filestorage.FilesDownloadRequestMetaListRequestOrderBy; + orderBy?: Merge.fileStorage.FilesDownloadRequestMetaListRequestOrderBy; /** Number of results to return per page. */ pageSize?: number; } diff --git a/src/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.ts b/src/api/resources/fileStorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.ts diff --git a/src/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.ts b/src/api/resources/fileStorage/resources/files/client/requests/FilesDownloadRetrieveRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/files/client/requests/FilesDownloadRetrieveRequest.ts diff --git a/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts b/src/api/resources/fileStorage/resources/files/client/requests/FilesListRequest.ts similarity index 84% rename from src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts rename to src/api/resources/fileStorage/resources/files/client/requests/FilesListRequest.ts index 5ad43d02a..154315336 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts +++ b/src/api/resources/fileStorage/resources/files/client/requests/FilesListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * driveId: "drive_id", - * expand: "drive", * folderId: "folder_id", * includeDeletedData: true, * includeRemoteData: true, @@ -20,8 +19,6 @@ import type * as Merge from "../../../../../../index"; * name: "name", * orderBy: "-created_at", * pageSize: 1, - * remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - * remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), * remoteId: "remote_id" * } */ @@ -35,7 +32,7 @@ export interface FilesListRequest { /** Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. */ driveId?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.filestorage.FilesListRequestExpand; + expand?: Merge.fileStorage.FilesListRequestExpandItem | Merge.fileStorage.FilesListRequestExpandItem[]; /** Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. */ folderId?: string; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ @@ -53,13 +50,9 @@ export interface FilesListRequest { /** If provided, will only return files with this name. This performs an exact match. */ name?: string; /** Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. */ - orderBy?: Merge.filestorage.FilesListRequestOrderBy; + orderBy?: Merge.fileStorage.FilesListRequestOrderBy; /** Number of results to return per page. */ pageSize?: number; - /** If provided, will only return files created in the third party platform after this datetime. */ - remoteCreatedAfter?: Date; - /** If provided, will only return files created in the third party platform before this datetime. */ - remoteCreatedBefore?: Date; /** The API provider's ID for the given object. */ remoteId?: string; } diff --git a/src/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.ts b/src/api/resources/fileStorage/resources/files/client/requests/FilesRetrieveRequest.ts similarity index 86% rename from src/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/files/client/requests/FilesRetrieveRequest.ts index b7286e489..94f576ffa 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.ts +++ b/src/api/resources/fileStorage/resources/files/client/requests/FilesRetrieveRequest.ts @@ -5,14 +5,13 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "drive", * includeRemoteData: true, * includeShellData: true * } */ export interface FilesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.filestorage.FilesRetrieveRequestExpand; + expand?: Merge.fileStorage.FilesRetrieveRequestExpandItem | Merge.fileStorage.FilesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/filestorage/resources/files/client/requests/index.ts b/src/api/resources/fileStorage/resources/files/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/client/requests/index.ts rename to src/api/resources/fileStorage/resources/files/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/files/exports.ts b/src/api/resources/fileStorage/resources/files/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/exports.ts rename to src/api/resources/fileStorage/resources/files/exports.ts diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/index.ts b/src/api/resources/fileStorage/resources/files/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/asyncPassthrough/index.ts rename to src/api/resources/fileStorage/resources/files/index.ts diff --git a/src/api/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts b/src/api/resources/fileStorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts rename to src/api/resources/fileStorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts diff --git a/src/api/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts b/src/api/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts new file mode 100644 index 000000000..ed4bbe1d4 --- /dev/null +++ b/src/api/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const FilesListRequestExpandItem = { + Drive: "drive", + Folder: "folder", + Permissions: "permissions", +} as const; +export type FilesListRequestExpandItem = (typeof FilesListRequestExpandItem)[keyof typeof FilesListRequestExpandItem]; diff --git a/src/api/resources/filestorage/resources/files/types/FilesListRequestOrderBy.ts b/src/api/resources/fileStorage/resources/files/types/FilesListRequestOrderBy.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/types/FilesListRequestOrderBy.ts rename to src/api/resources/fileStorage/resources/files/types/FilesListRequestOrderBy.ts diff --git a/src/api/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts b/src/api/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..101ffb7f5 --- /dev/null +++ b/src/api/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const FilesRetrieveRequestExpandItem = { + Drive: "drive", + Folder: "folder", + Permissions: "permissions", +} as const; +export type FilesRetrieveRequestExpandItem = + (typeof FilesRetrieveRequestExpandItem)[keyof typeof FilesRetrieveRequestExpandItem]; diff --git a/src/serialization/resources/filestorage/resources/files/types/index.ts b/src/api/resources/fileStorage/resources/files/types/index.ts similarity index 52% rename from src/serialization/resources/filestorage/resources/files/types/index.ts rename to src/api/resources/fileStorage/resources/files/types/index.ts index 5c705d3d6..0183b907e 100644 --- a/src/serialization/resources/filestorage/resources/files/types/index.ts +++ b/src/api/resources/fileStorage/resources/files/types/index.ts @@ -1,4 +1,4 @@ export * from "./FilesDownloadRequestMetaListRequestOrderBy"; -export * from "./FilesListRequestExpand"; +export * from "./FilesListRequestExpandItem"; export * from "./FilesListRequestOrderBy"; -export * from "./FilesRetrieveRequestExpand"; +export * from "./FilesRetrieveRequestExpandItem"; diff --git a/src/api/resources/filestorage/resources/folders/client/Client.ts b/src/api/resources/fileStorage/resources/folders/client/Client.ts similarity index 59% rename from src/api/resources/filestorage/resources/folders/client/Client.ts rename to src/api/resources/fileStorage/resources/folders/client/Client.ts index 717516274..760270879 100644 --- a/src/api/resources/filestorage/resources/folders/client/Client.ts +++ b/src/api/resources/fileStorage/resources/folders/client/Client.ts @@ -26,16 +26,15 @@ export class FoldersClient { /** * Returns a list of `Folder` objects. * - * @param {Merge.filestorage.FoldersListRequest} request + * @param {Merge.fileStorage.FoldersListRequest} request * @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.folders.list({ + * await client.fileStorage.folders.list({ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * driveId: "drive_id", - * expand: "drive", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,125 +46,145 @@ export class FoldersClient { * remoteId: "remote_id" * }) */ - public list( - request: Merge.filestorage.FoldersListRequest = {}, + public async list( + request: Merge.fileStorage.FoldersListRequest = {}, requestOptions?: FoldersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.FoldersListRequest = {}, - requestOptions?: FoldersClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - driveId, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - pageSize, - parentFolderId, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - drive_id: driveId, - expand: - expand != null - ? serializers.filestorage.FoldersListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - parent_folder_id: parentFolderId, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.FoldersListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + driveId, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + pageSize, + parentFolderId, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + drive_id: driveId, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.fileStorage.FoldersListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.fileStorage.FoldersListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + parent_folder_id: parentFolderId, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/folders", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedFolderList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/folders", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/folders", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedFolderList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/folders"); } /** * Creates a `Folder` object with the given values. * - * @param {Merge.filestorage.FileStorageFolderEndpointRequest} request + * @param {Merge.fileStorage.FileStorageFolderEndpointRequest} request * @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.folders.create({ + * await client.fileStorage.folders.create({ * isDebugMode: true, * runAsync: true, * model: {} * }) */ public create( - request: Merge.filestorage.FileStorageFolderEndpointRequest, + request: Merge.fileStorage.FileStorageFolderEndpointRequest, requestOptions?: FoldersClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.FileStorageFolderEndpointRequest, + request: Merge.fileStorage.FileStorageFolderEndpointRequest, requestOptions?: FoldersClient.RequestOptions, - ): Promise> { + ): Promise> { const { isDebugMode, runAsync, ..._body } = request; const _queryParams: Record = { is_debug_mode: isDebugMode, @@ -190,7 +209,7 @@ export class FoldersClient { contentType: "application/json", queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, requestType: "json", - body: serializers.filestorage.FileStorageFolderEndpointRequest.jsonOrThrow(_body, { + body: serializers.fileStorage.FileStorageFolderEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -201,7 +220,7 @@ export class FoldersClient { }); if (_response.ok) { return { - data: serializers.filestorage.FileStorageFolderResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.FileStorageFolderResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -227,37 +246,41 @@ export class FoldersClient { * Returns a `Folder` object with the given `id`. * * @param {string} id - * @param {Merge.filestorage.FoldersRetrieveRequest} request + * @param {Merge.fileStorage.FoldersRetrieveRequest} request * @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.folders.retrieve("id", { - * expand: "drive", + * await client.fileStorage.folders.retrieve("id", { * includeRemoteData: true, * includeShellData: true * }) */ public retrieve( id: string, - request: Merge.filestorage.FoldersRetrieveRequest = {}, + request: Merge.fileStorage.FoldersRetrieveRequest = {}, requestOptions?: FoldersClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); } private async __retrieve( id: string, - request: Merge.filestorage.FoldersRetrieveRequest = {}, + request: Merge.fileStorage.FoldersRetrieveRequest = {}, requestOptions?: FoldersClient.RequestOptions, - ): Promise> { + ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.filestorage.FoldersRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.fileStorage.FoldersRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.fileStorage.FoldersRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; @@ -286,7 +309,7 @@ export class FoldersClient { }); if (_response.ok) { return { - data: serializers.filestorage.Folder.parseOrThrow(_response.body, { + data: serializers.fileStorage.Folder.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -314,17 +337,17 @@ export class FoldersClient { * @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.folders.metaPostRetrieve() + * await client.fileStorage.folders.metaPostRetrieve() */ public metaPostRetrieve( requestOptions?: FoldersClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__metaPostRetrieve(requestOptions)); } private async __metaPostRetrieve( requestOptions?: FoldersClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -350,7 +373,7 @@ export class FoldersClient { }); if (_response.ok) { return { - data: serializers.filestorage.MetaResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.MetaResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/files/client/index.ts b/src/api/resources/fileStorage/resources/folders/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/client/index.ts rename to src/api/resources/fileStorage/resources/folders/client/index.ts diff --git a/src/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts b/src/api/resources/fileStorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts similarity index 91% rename from src/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts rename to src/api/resources/fileStorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts index 449d045e0..bd622e10c 100644 --- a/src/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts +++ b/src/api/resources/fileStorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts @@ -15,5 +15,5 @@ export interface FileStorageFolderEndpointRequest { isDebugMode?: boolean; /** Whether or not third-party updates should be run asynchronously. */ runAsync?: boolean; - model: Merge.filestorage.FolderRequest; + model: Merge.fileStorage.FolderRequest; } diff --git a/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts b/src/api/resources/fileStorage/resources/folders/client/requests/FoldersListRequest.ts similarity index 95% rename from src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts rename to src/api/resources/fileStorage/resources/folders/client/requests/FoldersListRequest.ts index 921a1af8e..4f45a9d0b 100644 --- a/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts +++ b/src/api/resources/fileStorage/resources/folders/client/requests/FoldersListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * driveId: "drive_id", - * expand: "drive", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -31,7 +30,7 @@ export interface FoldersListRequest { /** If provided, will only return folders in this drive. */ driveId?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.filestorage.FoldersListRequestExpand; + expand?: Merge.fileStorage.FoldersListRequestExpandItem | Merge.fileStorage.FoldersListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.ts b/src/api/resources/fileStorage/resources/folders/client/requests/FoldersRetrieveRequest.ts similarity index 85% rename from src/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/folders/client/requests/FoldersRetrieveRequest.ts index a2959c714..8b7f72d43 100644 --- a/src/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.ts +++ b/src/api/resources/fileStorage/resources/folders/client/requests/FoldersRetrieveRequest.ts @@ -5,14 +5,13 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "drive", * includeRemoteData: true, * includeShellData: true * } */ export interface FoldersRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.filestorage.FoldersRetrieveRequestExpand; + expand?: Merge.fileStorage.FoldersRetrieveRequestExpandItem | Merge.fileStorage.FoldersRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/filestorage/resources/folders/client/requests/index.ts b/src/api/resources/fileStorage/resources/folders/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/folders/client/requests/index.ts rename to src/api/resources/fileStorage/resources/folders/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/folders/exports.ts b/src/api/resources/fileStorage/resources/folders/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/folders/exports.ts rename to src/api/resources/fileStorage/resources/folders/exports.ts diff --git a/src/api/resources/filestorage/resources/files/index.ts b/src/api/resources/fileStorage/resources/folders/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/files/index.ts rename to src/api/resources/fileStorage/resources/folders/index.ts diff --git a/src/api/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts b/src/api/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts new file mode 100644 index 000000000..404cab17c --- /dev/null +++ b/src/api/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const FoldersListRequestExpandItem = { + Drive: "drive", + ParentFolder: "parent_folder", + Permissions: "permissions", +} as const; +export type FoldersListRequestExpandItem = + (typeof FoldersListRequestExpandItem)[keyof typeof FoldersListRequestExpandItem]; diff --git a/src/api/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts b/src/api/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..aef0b69a5 --- /dev/null +++ b/src/api/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const FoldersRetrieveRequestExpandItem = { + Drive: "drive", + ParentFolder: "parent_folder", + Permissions: "permissions", +} as const; +export type FoldersRetrieveRequestExpandItem = + (typeof FoldersRetrieveRequestExpandItem)[keyof typeof FoldersRetrieveRequestExpandItem]; diff --git a/src/api/resources/fileStorage/resources/folders/types/index.ts b/src/api/resources/fileStorage/resources/folders/types/index.ts new file mode 100644 index 000000000..19290772a --- /dev/null +++ b/src/api/resources/fileStorage/resources/folders/types/index.ts @@ -0,0 +1,2 @@ +export * from "./FoldersListRequestExpandItem"; +export * from "./FoldersRetrieveRequestExpandItem"; diff --git a/src/api/resources/filestorage/resources/forceResync/client/Client.ts b/src/api/resources/fileStorage/resources/forceResync/client/Client.ts similarity index 94% rename from src/api/resources/filestorage/resources/forceResync/client/Client.ts rename to src/api/resources/fileStorage/resources/forceResync/client/Client.ts index ee4cef85b..df3af9776 100644 --- a/src/api/resources/filestorage/resources/forceResync/client/Client.ts +++ b/src/api/resources/fileStorage/resources/forceResync/client/Client.ts @@ -29,17 +29,17 @@ export class ForceResyncClient { * @param {ForceResyncClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.forceResync.syncStatusResyncCreate() + * await client.fileStorage.forceResync.syncStatusResyncCreate() */ public syncStatusResyncCreate( requestOptions?: ForceResyncClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__syncStatusResyncCreate(requestOptions)); } private async __syncStatusResyncCreate( requestOptions?: ForceResyncClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -65,7 +65,7 @@ export class ForceResyncClient { }); if (_response.ok) { return { - data: serializers.filestorage.forceResync.syncStatusResyncCreate.Response.parseOrThrow(_response.body, { + data: serializers.fileStorage.forceResync.syncStatusResyncCreate.Response.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/forceResync/client/index.ts b/src/api/resources/fileStorage/resources/forceResync/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/forceResync/client/index.ts rename to src/api/resources/fileStorage/resources/forceResync/client/index.ts diff --git a/src/api/resources/filestorage/resources/forceResync/exports.ts b/src/api/resources/fileStorage/resources/forceResync/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/forceResync/exports.ts rename to src/api/resources/fileStorage/resources/forceResync/exports.ts diff --git a/src/api/resources/filestorage/resources/forceResync/index.ts b/src/api/resources/fileStorage/resources/forceResync/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/forceResync/index.ts rename to src/api/resources/fileStorage/resources/forceResync/index.ts diff --git a/src/api/resources/filestorage/resources/generateKey/client/Client.ts b/src/api/resources/fileStorage/resources/generateKey/client/Client.ts similarity index 88% rename from src/api/resources/filestorage/resources/generateKey/client/Client.ts rename to src/api/resources/fileStorage/resources/generateKey/client/Client.ts index 3da9e7d3a..f2ca6b41b 100644 --- a/src/api/resources/filestorage/resources/generateKey/client/Client.ts +++ b/src/api/resources/fileStorage/resources/generateKey/client/Client.ts @@ -26,25 +26,25 @@ export class GenerateKeyClient { /** * Create a remote key. * - * @param {Merge.filestorage.GenerateRemoteKeyRequest} request + * @param {Merge.fileStorage.GenerateRemoteKeyRequest} request * @param {GenerateKeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.generateKey.create({ + * await client.fileStorage.generateKey.create({ * name: "Remote Deployment Key 1" * }) */ public create( - request: Merge.filestorage.GenerateRemoteKeyRequest, + request: Merge.fileStorage.GenerateRemoteKeyRequest, requestOptions?: GenerateKeyClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.GenerateRemoteKeyRequest, + request: Merge.fileStorage.GenerateRemoteKeyRequest, requestOptions?: GenerateKeyClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -64,7 +64,7 @@ export class GenerateKeyClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.GenerateRemoteKeyRequest.jsonOrThrow(request, { + body: serializers.fileStorage.GenerateRemoteKeyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -75,7 +75,7 @@ export class GenerateKeyClient { }); if (_response.ok) { return { - data: serializers.filestorage.RemoteKey.parseOrThrow(_response.body, { + data: serializers.fileStorage.RemoteKey.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/folders/client/index.ts b/src/api/resources/fileStorage/resources/generateKey/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/folders/client/index.ts rename to src/api/resources/fileStorage/resources/generateKey/client/index.ts diff --git a/src/api/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/api/resources/fileStorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts rename to src/api/resources/fileStorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts diff --git a/src/api/resources/filestorage/resources/generateKey/client/requests/index.ts b/src/api/resources/fileStorage/resources/generateKey/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/generateKey/client/requests/index.ts rename to src/api/resources/fileStorage/resources/generateKey/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/generateKey/exports.ts b/src/api/resources/fileStorage/resources/generateKey/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/generateKey/exports.ts rename to src/api/resources/fileStorage/resources/generateKey/exports.ts diff --git a/src/api/resources/filestorage/resources/generateKey/index.ts b/src/api/resources/fileStorage/resources/generateKey/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/generateKey/index.ts rename to src/api/resources/fileStorage/resources/generateKey/index.ts diff --git a/src/api/resources/fileStorage/resources/groups/client/Client.ts b/src/api/resources/fileStorage/resources/groups/client/Client.ts new file mode 100644 index 000000000..27bcf31b9 --- /dev/null +++ b/src/api/resources/fileStorage/resources/groups/client/Client.ts @@ -0,0 +1,243 @@ +// This file was auto-generated by Fern from our API Definition. + +import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; +import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; +import * as core from "../../../../../../core"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; +import * as environments from "../../../../../../environments"; +import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; +import * as errors from "../../../../../../errors/index"; +import * as serializers from "../../../../../../serialization/index"; +import type * as Merge from "../../../../../index"; + +export declare namespace GroupsClient { + export type Options = BaseClientOptions; + + export interface RequestOptions extends BaseRequestOptions {} +} + +export class GroupsClient { + protected readonly _options: NormalizedClientOptionsWithAuth; + + constructor(options: GroupsClient.Options) { + this._options = normalizeClientOptionsWithAuth(options); + } + + /** + * Returns a list of `Group` objects. + * + * @param {Merge.fileStorage.GroupsListRequest} request + * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.groups.list({ + * createdAfter: new Date("2024-01-15T09:30:00.000Z"), + * createdBefore: new Date("2024-01-15T09:30:00.000Z"), + * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + * includeDeletedData: true, + * includeRemoteData: true, + * includeShellData: true, + * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + * pageSize: 1, + * remoteId: "remote_id" + * }) + */ + public async list( + request: Merge.fileStorage.GroupsListRequest = {}, + requestOptions?: GroupsClient.RequestOptions, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.GroupsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.fileStorage.GroupsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.fileStorage.GroupsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/groups", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedGroupList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/groups", + ); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }); + } + + /** + * Returns a `Group` object with the given `id`. + * + * @param {string} id + * @param {Merge.fileStorage.GroupsRetrieveRequest} request + * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.groups.retrieve("id", { + * includeRemoteData: true, + * includeShellData: true + * }) + */ + public retrieve( + id: string, + request: Merge.fileStorage.GroupsRetrieveRequest = {}, + requestOptions?: GroupsClient.RequestOptions, + ): core.HttpResponsePromise { + return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); + } + + private async __retrieve( + id: string, + request: Merge.fileStorage.GroupsRetrieveRequest = {}, + requestOptions?: GroupsClient.RequestOptions, + ): Promise> { + const { expand, includeRemoteData, includeShellData } = request; + const _queryParams: Record = { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.fileStorage.GroupsRetrieveRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.fileStorage.GroupsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `filestorage/v1/groups/${core.url.encodePathParam(id)}`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.Group.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/groups/{id}"); + } +} diff --git a/src/api/resources/filestorage/resources/generateKey/client/index.ts b/src/api/resources/fileStorage/resources/groups/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/generateKey/client/index.ts rename to src/api/resources/fileStorage/resources/groups/client/index.ts diff --git a/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts b/src/api/resources/fileStorage/resources/groups/client/requests/GroupsListRequest.ts similarity index 92% rename from src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts rename to src/api/resources/fileStorage/resources/groups/client/requests/GroupsListRequest.ts index bdbe59fe8..51000a228 100644 --- a/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts +++ b/src/api/resources/fileStorage/resources/groups/client/requests/GroupsListRequest.ts @@ -1,12 +1,13 @@ // This file was auto-generated by Fern from our API Definition. +import type * as Merge from "../../../../../../index"; + /** * @example * { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "child_groups", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -24,7 +25,7 @@ export interface GroupsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "child_groups"; + expand?: Merge.fileStorage.GroupsListRequestExpandItem | Merge.fileStorage.GroupsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.ts b/src/api/resources/fileStorage/resources/groups/client/requests/GroupsRetrieveRequest.ts similarity index 79% rename from src/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/groups/client/requests/GroupsRetrieveRequest.ts index 4d3e5b5af..119c6b101 100644 --- a/src/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.ts +++ b/src/api/resources/fileStorage/resources/groups/client/requests/GroupsRetrieveRequest.ts @@ -1,16 +1,17 @@ // This file was auto-generated by Fern from our API Definition. +import type * as Merge from "../../../../../../index"; + /** * @example * { - * expand: "child_groups", * includeRemoteData: true, * includeShellData: true * } */ export interface GroupsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "child_groups"; + expand?: Merge.fileStorage.GroupsRetrieveRequestExpandItem | Merge.fileStorage.GroupsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/filestorage/resources/groups/client/requests/index.ts b/src/api/resources/fileStorage/resources/groups/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/groups/client/requests/index.ts rename to src/api/resources/fileStorage/resources/groups/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/groups/exports.ts b/src/api/resources/fileStorage/resources/groups/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/groups/exports.ts rename to src/api/resources/fileStorage/resources/groups/exports.ts diff --git a/src/api/resources/filestorage/resources/folders/index.ts b/src/api/resources/fileStorage/resources/groups/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/folders/index.ts rename to src/api/resources/fileStorage/resources/groups/index.ts diff --git a/src/api/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts b/src/api/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts new file mode 100644 index 000000000..64a7cb2af --- /dev/null +++ b/src/api/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const GroupsListRequestExpandItem = { + ChildGroups: "child_groups", + Users: "users", +} as const; +export type GroupsListRequestExpandItem = + (typeof GroupsListRequestExpandItem)[keyof typeof GroupsListRequestExpandItem]; diff --git a/src/api/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts b/src/api/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..17eb871f7 --- /dev/null +++ b/src/api/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const GroupsRetrieveRequestExpandItem = { + ChildGroups: "child_groups", + Users: "users", +} as const; +export type GroupsRetrieveRequestExpandItem = + (typeof GroupsRetrieveRequestExpandItem)[keyof typeof GroupsRetrieveRequestExpandItem]; diff --git a/src/api/resources/fileStorage/resources/groups/types/index.ts b/src/api/resources/fileStorage/resources/groups/types/index.ts new file mode 100644 index 000000000..f5785eaaf --- /dev/null +++ b/src/api/resources/fileStorage/resources/groups/types/index.ts @@ -0,0 +1,2 @@ +export * from "./GroupsListRequestExpandItem"; +export * from "./GroupsRetrieveRequestExpandItem"; diff --git a/src/api/resources/filestorage/resources/index.ts b/src/api/resources/fileStorage/resources/index.ts similarity index 96% rename from src/api/resources/filestorage/resources/index.ts rename to src/api/resources/fileStorage/resources/index.ts index ecfd1bf0a..edcd95786 100644 --- a/src/api/resources/filestorage/resources/index.ts +++ b/src/api/resources/fileStorage/resources/index.ts @@ -21,6 +21,7 @@ export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; export * as groups from "./groups"; export * from "./groups/client/requests"; +export * from "./groups/types"; export * as issues from "./issues"; export * from "./issues/client/requests"; export * from "./issues/types"; @@ -29,6 +30,7 @@ export * from "./linkedAccounts/client/requests"; export * from "./linkedAccounts/types"; export * as linkToken from "./linkToken"; export * from "./linkToken/client/requests"; +export * from "./linkToken/types"; export * as passthrough from "./passthrough"; export * as regenerateKey from "./regenerateKey"; export * from "./regenerateKey/client/requests"; diff --git a/src/api/resources/fileStorage/resources/issues/client/Client.ts b/src/api/resources/fileStorage/resources/issues/client/Client.ts new file mode 100644 index 000000000..56b20306a --- /dev/null +++ b/src/api/resources/fileStorage/resources/issues/client/Client.ts @@ -0,0 +1,226 @@ +// This file was auto-generated by Fern from our API Definition. + +import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; +import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; +import * as core from "../../../../../../core"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; +import * as environments from "../../../../../../environments"; +import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; +import * as errors from "../../../../../../errors/index"; +import * as serializers from "../../../../../../serialization/index"; +import type * as Merge from "../../../../../index"; + +export declare namespace IssuesClient { + export type Options = BaseClientOptions; + + export interface RequestOptions extends BaseRequestOptions {} +} + +export class IssuesClient { + protected readonly _options: NormalizedClientOptionsWithAuth; + + constructor(options: IssuesClient.Options) { + this._options = normalizeClientOptionsWithAuth(options); + } + + /** + * Gets all issues for Organization. + * + * @param {Merge.fileStorage.IssuesListRequest} request + * @param {IssuesClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.issues.list({ + * accountToken: "account_token", + * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + * endDate: "end_date", + * endUserOrganizationName: "end_user_organization_name", + * firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + * firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + * includeMuted: "include_muted", + * integrationName: "integration_name", + * lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + * lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + * linkedAccountId: "linked_account_id", + * pageSize: 1, + * startDate: "start_date", + * status: "ONGOING" + * }) + */ + public async list( + request: Merge.fileStorage.IssuesListRequest = {}, + requestOptions?: IssuesClient.RequestOptions, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.IssuesListRequest, + ): Promise> => { + const { + accountToken, + cursor, + endDate, + endUserOrganizationName, + firstIncidentTimeAfter, + firstIncidentTimeBefore, + includeMuted, + integrationName, + lastIncidentTimeAfter, + lastIncidentTimeBefore, + linkedAccountId, + pageSize, + startDate, + status, + } = request; + const _queryParams: Record = { + account_token: accountToken, + cursor, + end_date: endDate, + end_user_organization_name: endUserOrganizationName, + first_incident_time_after: firstIncidentTimeAfter?.toISOString(), + first_incident_time_before: firstIncidentTimeBefore?.toISOString(), + include_muted: includeMuted, + integration_name: integrationName, + last_incident_time_after: lastIncidentTimeAfter?.toISOString(), + last_incident_time_before: lastIncidentTimeBefore?.toISOString(), + linked_account_id: linkedAccountId, + page_size: pageSize, + start_date: startDate, + status: + status != null + ? serializers.fileStorage.IssuesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/issues", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedIssueList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/issues", + ); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }); + } + + /** + * Get a specific issue. + * + * @param {string} id + * @param {IssuesClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.issues.retrieve("id") + */ + public retrieve( + id: string, + requestOptions?: IssuesClient.RequestOptions, + ): core.HttpResponsePromise { + return core.HttpResponsePromise.fromPromise(this.__retrieve(id, requestOptions)); + } + + private async __retrieve( + id: string, + requestOptions?: IssuesClient.RequestOptions, + ): Promise> { + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `filestorage/v1/issues/${core.url.encodePathParam(id)}`, + ), + method: "GET", + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.Issue.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/issues/{id}"); + } +} diff --git a/src/api/resources/filestorage/resources/groups/client/index.ts b/src/api/resources/fileStorage/resources/issues/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/groups/client/index.ts rename to src/api/resources/fileStorage/resources/issues/client/index.ts diff --git a/src/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/fileStorage/resources/issues/client/requests/IssuesListRequest.ts similarity index 97% rename from src/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.ts rename to src/api/resources/fileStorage/resources/issues/client/requests/IssuesListRequest.ts index be45ff0bd..5bfaabe6c 100644 --- a/src/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/fileStorage/resources/issues/client/requests/IssuesListRequest.ts @@ -51,5 +51,5 @@ export interface IssuesListRequest { * * `ONGOING` - ONGOING * * `RESOLVED` - RESOLVED */ - status?: Merge.filestorage.IssuesListRequestStatus; + status?: Merge.fileStorage.IssuesListRequestStatus; } diff --git a/src/api/resources/filestorage/resources/issues/client/requests/index.ts b/src/api/resources/fileStorage/resources/issues/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/issues/client/requests/index.ts rename to src/api/resources/fileStorage/resources/issues/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/issues/exports.ts b/src/api/resources/fileStorage/resources/issues/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/issues/exports.ts rename to src/api/resources/fileStorage/resources/issues/exports.ts diff --git a/src/api/resources/filestorage/resources/issues/index.ts b/src/api/resources/fileStorage/resources/issues/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/issues/index.ts rename to src/api/resources/fileStorage/resources/issues/index.ts diff --git a/src/api/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts b/src/api/resources/fileStorage/resources/issues/types/IssuesListRequestStatus.ts similarity index 100% rename from src/api/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts rename to src/api/resources/fileStorage/resources/issues/types/IssuesListRequestStatus.ts diff --git a/src/api/resources/filestorage/resources/issues/types/index.ts b/src/api/resources/fileStorage/resources/issues/types/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/issues/types/index.ts rename to src/api/resources/fileStorage/resources/issues/types/index.ts diff --git a/src/api/resources/filestorage/resources/linkToken/client/Client.ts b/src/api/resources/fileStorage/resources/linkToken/client/Client.ts similarity index 89% rename from src/api/resources/filestorage/resources/linkToken/client/Client.ts rename to src/api/resources/fileStorage/resources/linkToken/client/Client.ts index eb955f53a..59ff3c35b 100644 --- a/src/api/resources/filestorage/resources/linkToken/client/Client.ts +++ b/src/api/resources/fileStorage/resources/linkToken/client/Client.ts @@ -26,11 +26,11 @@ export class LinkTokenClient { /** * Creates a link token to be used when linking a new end user. * - * @param {Merge.filestorage.EndUserDetailsRequest} request + * @param {Merge.fileStorage.EndUserDetailsRequest} request * @param {LinkTokenClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.linkToken.create({ + * await client.fileStorage.linkToken.create({ * endUserEmailAddress: "example@gmail.com", * endUserOrganizationName: "Test Organization", * endUserOriginId: "12345", @@ -38,16 +38,16 @@ export class LinkTokenClient { * }) */ public create( - request: Merge.filestorage.EndUserDetailsRequest, + request: Merge.fileStorage.EndUserDetailsRequest, requestOptions?: LinkTokenClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.EndUserDetailsRequest, + request: Merge.fileStorage.EndUserDetailsRequest, requestOptions?: LinkTokenClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -67,7 +67,7 @@ export class LinkTokenClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.EndUserDetailsRequest.jsonOrThrow(request, { + body: serializers.fileStorage.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -78,7 +78,7 @@ export class LinkTokenClient { }); if (_response.ok) { return { - data: serializers.filestorage.LinkToken.parseOrThrow(_response.body, { + data: serializers.fileStorage.LinkToken.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/issues/client/index.ts b/src/api/resources/fileStorage/resources/linkToken/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/issues/client/index.ts rename to src/api/resources/fileStorage/resources/linkToken/client/index.ts diff --git a/src/api/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/fileStorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts similarity index 91% rename from src/api/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts rename to src/api/resources/fileStorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 1bce5dd30..9e5f942e8 100644 --- a/src/api/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/fileStorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -19,7 +19,7 @@ export interface EndUserDetailsRequest { /** This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. */ endUserOriginId: string; /** The integration categories to show in Merge Link. */ - categories: Merge.filestorage.CategoriesEnum[]; + categories: Merge.fileStorage.CategoriesEnum[]; /** The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. */ integration?: string; /** An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. */ @@ -29,11 +29,11 @@ export interface EndUserDetailsRequest { /** Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. */ hideAdminMagicLink?: boolean; /** An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. */ - commonModels?: Merge.filestorage.CommonModelScopesBodyRequest[]; + commonModels?: Merge.fileStorage.CommonModelScopesBodyRequest[]; /** When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. */ categoryCommonModelScopes?: Record< string, - Merge.filestorage.IndividualCommonModelScopeDeserializerRequest[] | undefined + Merge.fileStorage.IndividualCommonModelScopeDeserializerRequest[] | undefined >; /** * The following subset of IETF language tags can be used to configure localization. @@ -41,7 +41,7 @@ export interface EndUserDetailsRequest { * * `en` - en * * `de` - de */ - language?: Merge.filestorage.LanguageEnum; + language?: Merge.fileStorage.EndUserDetailsRequestLanguage; /** The boolean that indicates whether initial, periodic, and force syncs will be disabled. */ areSyncsDisabled?: boolean; /** A JSON object containing integration-specific configuration options. */ diff --git a/src/api/resources/filestorage/resources/linkToken/client/requests/index.ts b/src/api/resources/fileStorage/resources/linkToken/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkToken/client/requests/index.ts rename to src/api/resources/fileStorage/resources/linkToken/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/linkToken/exports.ts b/src/api/resources/fileStorage/resources/linkToken/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkToken/exports.ts rename to src/api/resources/fileStorage/resources/linkToken/exports.ts diff --git a/src/api/resources/filestorage/resources/linkedAccounts/index.ts b/src/api/resources/fileStorage/resources/linkToken/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkedAccounts/index.ts rename to src/api/resources/fileStorage/resources/linkToken/index.ts diff --git a/src/api/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts b/src/api/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts new file mode 100644 index 000000000..a65a7eabf --- /dev/null +++ b/src/api/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../index"; + +/** + * The following subset of IETF language tags can be used to configure localization. + * + * * `en` - en + * * `de` - de + */ +export type EndUserDetailsRequestLanguage = Merge.fileStorage.LanguageEnum | string; diff --git a/src/api/resources/fileStorage/resources/linkToken/types/index.ts b/src/api/resources/fileStorage/resources/linkToken/types/index.ts new file mode 100644 index 000000000..c90e13c37 --- /dev/null +++ b/src/api/resources/fileStorage/resources/linkToken/types/index.ts @@ -0,0 +1 @@ +export * from "./EndUserDetailsRequestLanguage"; diff --git a/src/api/resources/fileStorage/resources/linkedAccounts/client/Client.ts b/src/api/resources/fileStorage/resources/linkedAccounts/client/Client.ts new file mode 100644 index 000000000..a31b101c6 --- /dev/null +++ b/src/api/resources/fileStorage/resources/linkedAccounts/client/Client.ts @@ -0,0 +1,164 @@ +// This file was auto-generated by Fern from our API Definition. + +import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; +import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; +import * as core from "../../../../../../core"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; +import * as environments from "../../../../../../environments"; +import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; +import * as errors from "../../../../../../errors/index"; +import * as serializers from "../../../../../../serialization/index"; +import type * as Merge from "../../../../../index"; + +export declare namespace LinkedAccountsClient { + export type Options = BaseClientOptions; + + export interface RequestOptions extends BaseRequestOptions {} +} + +export class LinkedAccountsClient { + protected readonly _options: NormalizedClientOptionsWithAuth; + + constructor(options: LinkedAccountsClient.Options) { + this._options = normalizeClientOptionsWithAuth(options); + } + + /** + * List linked accounts for your organization. + * + * @param {Merge.fileStorage.LinkedAccountsListRequest} request + * @param {LinkedAccountsClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.linkedAccounts.list({ + * category: "accounting", + * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + * endUserEmailAddress: "end_user_email_address", + * endUserOrganizationName: "end_user_organization_name", + * endUserOriginId: "end_user_origin_id", + * endUserOriginIds: "end_user_origin_ids", + * id: "id", + * ids: "ids", + * includeDuplicates: true, + * integrationName: "integration_name", + * isTestAccount: "is_test_account", + * pageSize: 1, + * status: "status" + * }) + */ + public async list( + request: Merge.fileStorage.LinkedAccountsListRequest = {}, + requestOptions?: LinkedAccountsClient.RequestOptions, + ): Promise< + core.Page + > { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.LinkedAccountsListRequest, + ): Promise> => { + const { + category, + cursor, + endUserEmailAddress, + endUserOrganizationName, + endUserOriginId, + endUserOriginIds, + id, + ids, + includeDuplicates, + integrationName, + isTestAccount, + pageSize, + status, + } = request; + const _queryParams: Record = { + category: + category != null + ? serializers.fileStorage.LinkedAccountsListRequestCategory.jsonOrThrow(category, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + cursor, + end_user_email_address: endUserEmailAddress, + end_user_organization_name: endUserOrganizationName, + end_user_origin_id: endUserOriginId, + end_user_origin_ids: endUserOriginIds, + id, + ids, + include_duplicates: includeDuplicates, + integration_name: integrationName, + is_test_account: isTestAccount, + page_size: pageSize, + status, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/linked-accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedAccountDetailsAndActionsList.parseOrThrow( + _response.body, + { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }, + ), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/linked-accounts", + ); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page< + Merge.fileStorage.AccountDetailsAndActions, + Merge.fileStorage.PaginatedAccountDetailsAndActionsList + >({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }); + } +} diff --git a/src/api/resources/filestorage/resources/linkToken/client/index.ts b/src/api/resources/fileStorage/resources/linkedAccounts/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkToken/client/index.ts rename to src/api/resources/fileStorage/resources/linkedAccounts/client/index.ts diff --git a/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/fileStorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts similarity index 97% rename from src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts rename to src/api/resources/fileStorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index b55d4d434..44a8c5ec7 100644 --- a/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/fileStorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -32,7 +32,7 @@ export interface LinkedAccountsListRequest { * * `mktg` - mktg * * `filestorage` - filestorage */ - category?: Merge.filestorage.LinkedAccountsListRequestCategory; + category?: Merge.fileStorage.LinkedAccountsListRequestCategory; /** The pagination cursor value. */ cursor?: string; /** If provided, will only return linked accounts associated with the given email address. */ diff --git a/src/api/resources/filestorage/resources/linkedAccounts/client/requests/index.ts b/src/api/resources/fileStorage/resources/linkedAccounts/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkedAccounts/client/requests/index.ts rename to src/api/resources/fileStorage/resources/linkedAccounts/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/linkedAccounts/exports.ts b/src/api/resources/fileStorage/resources/linkedAccounts/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkedAccounts/exports.ts rename to src/api/resources/fileStorage/resources/linkedAccounts/exports.ts diff --git a/src/serialization/resources/accounting/resources/expenseReports/index.ts b/src/api/resources/fileStorage/resources/linkedAccounts/index.ts similarity index 100% rename from src/serialization/resources/accounting/resources/expenseReports/index.ts rename to src/api/resources/fileStorage/resources/linkedAccounts/index.ts diff --git a/src/api/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts b/src/api/resources/fileStorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts rename to src/api/resources/fileStorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts diff --git a/src/api/resources/filestorage/resources/linkedAccounts/types/index.ts b/src/api/resources/fileStorage/resources/linkedAccounts/types/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkedAccounts/types/index.ts rename to src/api/resources/fileStorage/resources/linkedAccounts/types/index.ts diff --git a/src/api/resources/filestorage/resources/passthrough/client/Client.ts b/src/api/resources/fileStorage/resources/passthrough/client/Client.ts similarity index 88% rename from src/api/resources/filestorage/resources/passthrough/client/Client.ts rename to src/api/resources/fileStorage/resources/passthrough/client/Client.ts index c1b8e52e8..6e14c7106 100644 --- a/src/api/resources/filestorage/resources/passthrough/client/Client.ts +++ b/src/api/resources/fileStorage/resources/passthrough/client/Client.ts @@ -26,26 +26,26 @@ export class PassthroughClient { /** * Pull data from an endpoint not currently supported by Merge. * - * @param {Merge.filestorage.DataPassthroughRequest} request + * @param {Merge.fileStorage.DataPassthroughRequest} request * @param {PassthroughClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.passthrough.create({ + * await client.fileStorage.passthrough.create({ * method: "GET", * path: "/scooters" * }) */ public create( - request: Merge.filestorage.DataPassthroughRequest, + request: Merge.fileStorage.DataPassthroughRequest, requestOptions?: PassthroughClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.DataPassthroughRequest, + request: Merge.fileStorage.DataPassthroughRequest, requestOptions?: PassthroughClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -65,7 +65,7 @@ export class PassthroughClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.DataPassthroughRequest.jsonOrThrow(request, { + body: serializers.fileStorage.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -76,7 +76,7 @@ export class PassthroughClient { }); if (_response.ok) { return { - data: serializers.filestorage.RemoteResponse.parseOrThrow(_response.body, { + data: serializers.fileStorage.RemoteResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/passthrough/client/index.ts b/src/api/resources/fileStorage/resources/passthrough/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/passthrough/client/index.ts rename to src/api/resources/fileStorage/resources/passthrough/client/index.ts diff --git a/src/api/resources/filestorage/resources/passthrough/exports.ts b/src/api/resources/fileStorage/resources/passthrough/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/passthrough/exports.ts rename to src/api/resources/fileStorage/resources/passthrough/exports.ts diff --git a/src/api/resources/filestorage/resources/groups/index.ts b/src/api/resources/fileStorage/resources/passthrough/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/groups/index.ts rename to src/api/resources/fileStorage/resources/passthrough/index.ts diff --git a/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts b/src/api/resources/fileStorage/resources/regenerateKey/client/Client.ts similarity index 88% rename from src/api/resources/filestorage/resources/regenerateKey/client/Client.ts rename to src/api/resources/fileStorage/resources/regenerateKey/client/Client.ts index d08f93519..e221640cc 100644 --- a/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/fileStorage/resources/regenerateKey/client/Client.ts @@ -26,25 +26,25 @@ export class RegenerateKeyClient { /** * Exchange remote keys. * - * @param {Merge.filestorage.RemoteKeyForRegenerationRequest} request + * @param {Merge.fileStorage.RemoteKeyForRegenerationRequest} request * @param {RegenerateKeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.regenerateKey.create({ + * await client.fileStorage.regenerateKey.create({ * name: "Remote Deployment Key 1" * }) */ public create( - request: Merge.filestorage.RemoteKeyForRegenerationRequest, + request: Merge.fileStorage.RemoteKeyForRegenerationRequest, requestOptions?: RegenerateKeyClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.RemoteKeyForRegenerationRequest, + request: Merge.fileStorage.RemoteKeyForRegenerationRequest, requestOptions?: RegenerateKeyClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -64,7 +64,7 @@ export class RegenerateKeyClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { + body: serializers.fileStorage.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -75,7 +75,7 @@ export class RegenerateKeyClient { }); if (_response.ok) { return { - data: serializers.filestorage.RemoteKey.parseOrThrow(_response.body, { + data: serializers.fileStorage.RemoteKey.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/linkedAccounts/client/index.ts b/src/api/resources/fileStorage/resources/regenerateKey/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkedAccounts/client/index.ts rename to src/api/resources/fileStorage/resources/regenerateKey/client/index.ts diff --git a/src/api/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/api/resources/fileStorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts rename to src/api/resources/fileStorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts diff --git a/src/api/resources/filestorage/resources/regenerateKey/client/requests/index.ts b/src/api/resources/fileStorage/resources/regenerateKey/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/regenerateKey/client/requests/index.ts rename to src/api/resources/fileStorage/resources/regenerateKey/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/regenerateKey/exports.ts b/src/api/resources/fileStorage/resources/regenerateKey/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/regenerateKey/exports.ts rename to src/api/resources/fileStorage/resources/regenerateKey/exports.ts diff --git a/src/api/resources/filestorage/resources/linkToken/index.ts b/src/api/resources/fileStorage/resources/regenerateKey/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/linkToken/index.ts rename to src/api/resources/fileStorage/resources/regenerateKey/index.ts diff --git a/src/api/resources/filestorage/resources/scopes/client/Client.ts b/src/api/resources/fileStorage/resources/scopes/client/Client.ts similarity index 91% rename from src/api/resources/filestorage/resources/scopes/client/Client.ts rename to src/api/resources/fileStorage/resources/scopes/client/Client.ts index 6b6810308..f4d954020 100644 --- a/src/api/resources/filestorage/resources/scopes/client/Client.ts +++ b/src/api/resources/fileStorage/resources/scopes/client/Client.ts @@ -29,17 +29,17 @@ export class ScopesClient { * @param {ScopesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.scopes.defaultScopesRetrieve() + * await client.fileStorage.scopes.defaultScopesRetrieve() */ public defaultScopesRetrieve( requestOptions?: ScopesClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__defaultScopesRetrieve(requestOptions)); } private async __defaultScopesRetrieve( requestOptions?: ScopesClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -65,7 +65,7 @@ export class ScopesClient { }); if (_response.ok) { return { - data: serializers.filestorage.CommonModelScopeApi.parseOrThrow(_response.body, { + data: serializers.fileStorage.CommonModelScopeApi.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -98,17 +98,17 @@ export class ScopesClient { * @param {ScopesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.scopes.linkedAccountScopesRetrieve() + * await client.fileStorage.scopes.linkedAccountScopesRetrieve() */ public linkedAccountScopesRetrieve( requestOptions?: ScopesClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__linkedAccountScopesRetrieve(requestOptions)); } private async __linkedAccountScopesRetrieve( requestOptions?: ScopesClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -134,7 +134,7 @@ export class ScopesClient { }); if (_response.ok) { return { - data: serializers.filestorage.CommonModelScopeApi.parseOrThrow(_response.body, { + data: serializers.fileStorage.CommonModelScopeApi.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -164,11 +164,11 @@ export class ScopesClient { /** * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) * - * @param {Merge.filestorage.LinkedAccountCommonModelScopeDeserializerRequest} request + * @param {Merge.fileStorage.LinkedAccountCommonModelScopeDeserializerRequest} request * @param {ScopesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.scopes.linkedAccountScopesCreate({ + * await client.fileStorage.scopes.linkedAccountScopesCreate({ * commonModels: [{ * modelName: "Employee", * modelPermissions: { @@ -194,16 +194,16 @@ export class ScopesClient { * }) */ public linkedAccountScopesCreate( - request: Merge.filestorage.LinkedAccountCommonModelScopeDeserializerRequest, + request: Merge.fileStorage.LinkedAccountCommonModelScopeDeserializerRequest, requestOptions?: ScopesClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__linkedAccountScopesCreate(request, requestOptions)); } private async __linkedAccountScopesCreate( - request: Merge.filestorage.LinkedAccountCommonModelScopeDeserializerRequest, + request: Merge.fileStorage.LinkedAccountCommonModelScopeDeserializerRequest, requestOptions?: ScopesClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -223,7 +223,7 @@ export class ScopesClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { + body: serializers.fileStorage.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -234,7 +234,7 @@ export class ScopesClient { }); if (_response.ok) { return { - data: serializers.filestorage.CommonModelScopeApi.parseOrThrow(_response.body, { + data: serializers.fileStorage.CommonModelScopeApi.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/regenerateKey/client/index.ts b/src/api/resources/fileStorage/resources/scopes/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/regenerateKey/client/index.ts rename to src/api/resources/fileStorage/resources/scopes/client/index.ts diff --git a/src/api/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts b/src/api/resources/fileStorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts similarity index 94% rename from src/api/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts rename to src/api/resources/fileStorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts index d44b3f2fb..4aa014624 100644 --- a/src/api/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts +++ b/src/api/resources/fileStorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts @@ -31,5 +31,5 @@ import type * as Merge from "../../../../../../index"; */ export interface LinkedAccountCommonModelScopeDeserializerRequest { /** The common models you want to update the scopes for */ - commonModels: Merge.filestorage.IndividualCommonModelScopeDeserializerRequest[]; + commonModels: Merge.fileStorage.IndividualCommonModelScopeDeserializerRequest[]; } diff --git a/src/api/resources/filestorage/resources/scopes/client/requests/index.ts b/src/api/resources/fileStorage/resources/scopes/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/scopes/client/requests/index.ts rename to src/api/resources/fileStorage/resources/scopes/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/scopes/exports.ts b/src/api/resources/fileStorage/resources/scopes/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/scopes/exports.ts rename to src/api/resources/fileStorage/resources/scopes/exports.ts diff --git a/src/api/resources/filestorage/resources/passthrough/index.ts b/src/api/resources/fileStorage/resources/scopes/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/passthrough/index.ts rename to src/api/resources/fileStorage/resources/scopes/index.ts diff --git a/src/api/resources/fileStorage/resources/syncStatus/client/Client.ts b/src/api/resources/fileStorage/resources/syncStatus/client/Client.ts new file mode 100644 index 000000000..d25458704 --- /dev/null +++ b/src/api/resources/fileStorage/resources/syncStatus/client/Client.ts @@ -0,0 +1,115 @@ +// This file was auto-generated by Fern from our API Definition. + +import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; +import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; +import * as core from "../../../../../../core"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; +import * as environments from "../../../../../../environments"; +import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; +import * as errors from "../../../../../../errors/index"; +import * as serializers from "../../../../../../serialization/index"; +import type * as Merge from "../../../../../index"; + +export declare namespace SyncStatusClient { + export type Options = BaseClientOptions; + + export interface RequestOptions extends BaseRequestOptions {} +} + +export class SyncStatusClient { + protected readonly _options: NormalizedClientOptionsWithAuth; + + constructor(options: SyncStatusClient.Options) { + this._options = normalizeClientOptionsWithAuth(options); + } + + /** + * Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + * + * @param {Merge.fileStorage.SyncStatusListRequest} request + * @param {SyncStatusClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.syncStatus.list({ + * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + * pageSize: 1 + * }) + */ + public async list( + request: Merge.fileStorage.SyncStatusListRequest = {}, + requestOptions?: SyncStatusClient.RequestOptions, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.SyncStatusListRequest, + ): Promise> => { + const { cursor, pageSize } = request; + const _queryParams: Record = { + cursor, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/sync-status", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedSyncStatusList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/filestorage/v1/sync-status", + ); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }); + } +} diff --git a/src/api/resources/filestorage/resources/scopes/client/index.ts b/src/api/resources/fileStorage/resources/syncStatus/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/scopes/client/index.ts rename to src/api/resources/fileStorage/resources/syncStatus/client/index.ts diff --git a/src/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/fileStorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts rename to src/api/resources/fileStorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts diff --git a/src/api/resources/filestorage/resources/syncStatus/client/requests/index.ts b/src/api/resources/fileStorage/resources/syncStatus/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/syncStatus/client/requests/index.ts rename to src/api/resources/fileStorage/resources/syncStatus/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/syncStatus/exports.ts b/src/api/resources/fileStorage/resources/syncStatus/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/syncStatus/exports.ts rename to src/api/resources/fileStorage/resources/syncStatus/exports.ts diff --git a/src/api/resources/filestorage/resources/regenerateKey/index.ts b/src/api/resources/fileStorage/resources/syncStatus/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/regenerateKey/index.ts rename to src/api/resources/fileStorage/resources/syncStatus/index.ts diff --git a/src/api/resources/fileStorage/resources/users/client/Client.ts b/src/api/resources/fileStorage/resources/users/client/Client.ts new file mode 100644 index 000000000..0186433d3 --- /dev/null +++ b/src/api/resources/fileStorage/resources/users/client/Client.ts @@ -0,0 +1,218 @@ +// This file was auto-generated by Fern from our API Definition. + +import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; +import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; +import * as core from "../../../../../../core"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; +import * as environments from "../../../../../../environments"; +import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; +import * as errors from "../../../../../../errors/index"; +import * as serializers from "../../../../../../serialization/index"; +import type * as Merge from "../../../../../index"; + +export declare namespace UsersClient { + export type Options = BaseClientOptions; + + export interface RequestOptions extends BaseRequestOptions {} +} + +export class UsersClient { + protected readonly _options: NormalizedClientOptionsWithAuth; + + constructor(options: UsersClient.Options) { + this._options = normalizeClientOptionsWithAuth(options); + } + + /** + * Returns a list of `User` objects. + * + * @param {Merge.fileStorage.UsersListRequest} request + * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.users.list({ + * createdAfter: new Date("2024-01-15T09:30:00.000Z"), + * createdBefore: new Date("2024-01-15T09:30:00.000Z"), + * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + * includeDeletedData: true, + * includeRemoteData: true, + * includeShellData: true, + * isMe: "is_me", + * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + * pageSize: 1, + * remoteId: "remote_id" + * }) + */ + public async list( + request: Merge.fileStorage.UsersListRequest = {}, + requestOptions?: UsersClient.RequestOptions, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.fileStorage.UsersListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isMe, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_me: isMe, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "filestorage/v1/users", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.PaginatedUserList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/users"); + }, + ); + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, + }); + } + + /** + * Returns a `User` object with the given `id`. + * + * @param {string} id + * @param {Merge.fileStorage.UsersRetrieveRequest} request + * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration. + * + * @example + * await client.fileStorage.users.retrieve("id", { + * includeRemoteData: true, + * includeShellData: true + * }) + */ + public retrieve( + id: string, + request: Merge.fileStorage.UsersRetrieveRequest = {}, + requestOptions?: UsersClient.RequestOptions, + ): core.HttpResponsePromise { + return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); + } + + private async __retrieve( + id: string, + request: Merge.fileStorage.UsersRetrieveRequest = {}, + requestOptions?: UsersClient.RequestOptions, + ): Promise> { + const { includeRemoteData, includeShellData } = request; + const _queryParams: Record = { + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `filestorage/v1/users/${core.url.encodePathParam(id)}`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.fileStorage.User.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/users/{id}"); + } +} diff --git a/src/api/resources/filestorage/resources/syncStatus/client/index.ts b/src/api/resources/fileStorage/resources/users/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/syncStatus/client/index.ts rename to src/api/resources/fileStorage/resources/users/client/index.ts diff --git a/src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts b/src/api/resources/fileStorage/resources/users/client/requests/UsersListRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts rename to src/api/resources/fileStorage/resources/users/client/requests/UsersListRequest.ts diff --git a/src/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.ts b/src/api/resources/fileStorage/resources/users/client/requests/UsersRetrieveRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.ts rename to src/api/resources/fileStorage/resources/users/client/requests/UsersRetrieveRequest.ts diff --git a/src/api/resources/filestorage/resources/users/client/requests/index.ts b/src/api/resources/fileStorage/resources/users/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/users/client/requests/index.ts rename to src/api/resources/fileStorage/resources/users/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/users/exports.ts b/src/api/resources/fileStorage/resources/users/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/users/exports.ts rename to src/api/resources/fileStorage/resources/users/exports.ts diff --git a/src/api/resources/filestorage/resources/scopes/index.ts b/src/api/resources/fileStorage/resources/users/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/scopes/index.ts rename to src/api/resources/fileStorage/resources/users/index.ts diff --git a/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts b/src/api/resources/fileStorage/resources/webhookReceivers/client/Client.ts similarity index 89% rename from src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts rename to src/api/resources/fileStorage/resources/webhookReceivers/client/Client.ts index 6dda8cc4c..d53ea2dbd 100644 --- a/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/fileStorage/resources/webhookReceivers/client/Client.ts @@ -29,17 +29,17 @@ export class WebhookReceiversClient { * @param {WebhookReceiversClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.webhookReceivers.list() + * await client.fileStorage.webhookReceivers.list() */ public list( requestOptions?: WebhookReceiversClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__list(requestOptions)); } private async __list( requestOptions?: WebhookReceiversClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -65,7 +65,7 @@ export class WebhookReceiversClient { }); if (_response.ok) { return { - data: serializers.filestorage.webhookReceivers.list.Response.parseOrThrow(_response.body, { + data: serializers.fileStorage.webhookReceivers.list.Response.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -95,26 +95,26 @@ export class WebhookReceiversClient { /** * Creates a `WebhookReceiver` object with the given values. * - * @param {Merge.filestorage.WebhookReceiverRequest} request + * @param {Merge.fileStorage.WebhookReceiverRequest} request * @param {WebhookReceiversClient.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.filestorage.webhookReceivers.create({ + * await client.fileStorage.webhookReceivers.create({ * event: "event", * isActive: true * }) */ public create( - request: Merge.filestorage.WebhookReceiverRequest, + request: Merge.fileStorage.WebhookReceiverRequest, requestOptions?: WebhookReceiversClient.RequestOptions, - ): core.HttpResponsePromise { + ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions)); } private async __create( - request: Merge.filestorage.WebhookReceiverRequest, + request: Merge.fileStorage.WebhookReceiverRequest, requestOptions?: WebhookReceiversClient.RequestOptions, - ): Promise> { + ): Promise> { const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -134,7 +134,7 @@ export class WebhookReceiversClient { contentType: "application/json", queryParameters: requestOptions?.queryParams, requestType: "json", - body: serializers.filestorage.WebhookReceiverRequest.jsonOrThrow(request, { + body: serializers.fileStorage.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, @@ -145,7 +145,7 @@ export class WebhookReceiversClient { }); if (_response.ok) { return { - data: serializers.filestorage.WebhookReceiver.parseOrThrow(_response.body, { + data: serializers.fileStorage.WebhookReceiver.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/filestorage/resources/users/client/index.ts b/src/api/resources/fileStorage/resources/webhookReceivers/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/users/client/index.ts rename to src/api/resources/fileStorage/resources/webhookReceivers/client/index.ts diff --git a/src/api/resources/filestorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts b/src/api/resources/fileStorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts similarity index 100% rename from src/api/resources/filestorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts rename to src/api/resources/fileStorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts diff --git a/src/api/resources/filestorage/resources/webhookReceivers/client/requests/index.ts b/src/api/resources/fileStorage/resources/webhookReceivers/client/requests/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/webhookReceivers/client/requests/index.ts rename to src/api/resources/fileStorage/resources/webhookReceivers/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/webhookReceivers/exports.ts b/src/api/resources/fileStorage/resources/webhookReceivers/exports.ts similarity index 100% rename from src/api/resources/filestorage/resources/webhookReceivers/exports.ts rename to src/api/resources/fileStorage/resources/webhookReceivers/exports.ts diff --git a/src/api/resources/filestorage/resources/syncStatus/index.ts b/src/api/resources/fileStorage/resources/webhookReceivers/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/syncStatus/index.ts rename to src/api/resources/fileStorage/resources/webhookReceivers/index.ts diff --git a/src/api/resources/filestorage/types/AccountDetails.ts b/src/api/resources/fileStorage/types/AccountDetails.ts similarity index 93% rename from src/api/resources/filestorage/types/AccountDetails.ts rename to src/api/resources/fileStorage/types/AccountDetails.ts index 964b97d4e..90f862741 100644 --- a/src/api/resources/filestorage/types/AccountDetails.ts +++ b/src/api/resources/fileStorage/types/AccountDetails.ts @@ -6,7 +6,7 @@ export interface AccountDetails { id?: string; integration?: string; integrationSlug?: string; - category?: Merge.filestorage.CategoryEnum; + category?: Merge.fileStorage.AccountDetailsCategory; endUserOriginId?: string; endUserOrganizationName?: string; endUserEmailAddress?: string; diff --git a/src/api/resources/filestorage/types/AccountDetailsAndActions.ts b/src/api/resources/fileStorage/types/AccountDetailsAndActions.ts similarity index 81% rename from src/api/resources/filestorage/types/AccountDetailsAndActions.ts rename to src/api/resources/fileStorage/types/AccountDetailsAndActions.ts index 5f127b73a..9fb82b80b 100644 --- a/src/api/resources/filestorage/types/AccountDetailsAndActions.ts +++ b/src/api/resources/fileStorage/types/AccountDetailsAndActions.ts @@ -12,8 +12,8 @@ import type * as Merge from "../../../index"; */ export interface AccountDetailsAndActions { id: string; - category?: Merge.filestorage.CategoryEnum; - status: Merge.filestorage.AccountDetailsAndActionsStatusEnum; + category?: Merge.fileStorage.AccountDetailsAndActionsCategory; + status: Merge.fileStorage.AccountDetailsAndActionsStatus; statusDetail?: string; endUserOriginId?: string; endUserOrganizationName: string; @@ -23,8 +23,7 @@ export interface AccountDetailsAndActions { webhookListenerUrl: string; /** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */ isDuplicate?: boolean; - integration?: Merge.filestorage.AccountDetailsAndActionsIntegration; + integration?: Merge.fileStorage.AccountDetailsAndActionsIntegration; accountType: string; completedAt: Date; - integrationSpecificFields?: Record; } diff --git a/src/api/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts b/src/api/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts new file mode 100644 index 000000000..387287b3c --- /dev/null +++ b/src/api/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export type AccountDetailsAndActionsCategory = Merge.fileStorage.CategoryEnum | string; diff --git a/src/api/resources/filestorage/types/AccountDetailsAndActionsIntegration.ts b/src/api/resources/fileStorage/types/AccountDetailsAndActionsIntegration.ts similarity index 72% rename from src/api/resources/filestorage/types/AccountDetailsAndActionsIntegration.ts rename to src/api/resources/fileStorage/types/AccountDetailsAndActionsIntegration.ts index 073f1d10d..ba358eb0d 100644 --- a/src/api/resources/filestorage/types/AccountDetailsAndActionsIntegration.ts +++ b/src/api/resources/fileStorage/types/AccountDetailsAndActionsIntegration.ts @@ -4,11 +4,11 @@ import type * as Merge from "../../../index"; export interface AccountDetailsAndActionsIntegration { name: string; - categories: Merge.filestorage.CategoriesEnum[]; + categories: Merge.fileStorage.CategoriesEnum[]; image?: string; squareImage?: string; color: string; slug: string; passthroughAvailable: boolean; - availableModelOperations?: Merge.filestorage.ModelOperation[]; + availableModelOperations?: Merge.fileStorage.ModelOperation[]; } diff --git a/src/api/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts b/src/api/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts new file mode 100644 index 000000000..94ddaf86a --- /dev/null +++ b/src/api/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export type AccountDetailsAndActionsStatus = Merge.fileStorage.AccountDetailsAndActionsStatusEnum | string; diff --git a/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/fileStorage/types/AccountDetailsAndActionsStatusEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts rename to src/api/resources/fileStorage/types/AccountDetailsAndActionsStatusEnum.ts diff --git a/src/api/resources/accounting/types/AccountDetailsCategory.ts b/src/api/resources/fileStorage/types/AccountDetailsCategory.ts similarity index 59% rename from src/api/resources/accounting/types/AccountDetailsCategory.ts rename to src/api/resources/fileStorage/types/AccountDetailsCategory.ts index 2cfca4046..89d4a808f 100644 --- a/src/api/resources/accounting/types/AccountDetailsCategory.ts +++ b/src/api/resources/fileStorage/types/AccountDetailsCategory.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type AccountDetailsCategory = Merge.accounting.CategoryEnum | string; +export type AccountDetailsCategory = Merge.fileStorage.CategoryEnum | string; diff --git a/src/api/resources/filestorage/types/AccountIntegration.ts b/src/api/resources/fileStorage/types/AccountIntegration.ts similarity index 96% rename from src/api/resources/filestorage/types/AccountIntegration.ts rename to src/api/resources/fileStorage/types/AccountIntegration.ts index 43a592b27..a6655f146 100644 --- a/src/api/resources/filestorage/types/AccountIntegration.ts +++ b/src/api/resources/fileStorage/types/AccountIntegration.ts @@ -8,7 +8,7 @@ export interface AccountIntegration { /** Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) */ abbreviatedName?: string; /** Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. */ - categories?: Merge.filestorage.CategoriesEnum[]; + categories?: Merge.fileStorage.CategoriesEnum[]; /** Company logo in rectangular shape. */ image?: string; /** Company logo in square shape. */ diff --git a/src/api/resources/filestorage/types/AccountToken.ts b/src/api/resources/fileStorage/types/AccountToken.ts similarity index 77% rename from src/api/resources/filestorage/types/AccountToken.ts rename to src/api/resources/fileStorage/types/AccountToken.ts index 1f3b61eb6..856ce2413 100644 --- a/src/api/resources/filestorage/types/AccountToken.ts +++ b/src/api/resources/fileStorage/types/AccountToken.ts @@ -4,6 +4,6 @@ import type * as Merge from "../../../index"; export interface AccountToken { accountToken: string; - integration: Merge.filestorage.AccountIntegration; + integration: Merge.fileStorage.AccountIntegration; id: string; } diff --git a/src/api/resources/filestorage/types/AdvancedMetadata.ts b/src/api/resources/fileStorage/types/AdvancedMetadata.ts similarity index 100% rename from src/api/resources/filestorage/types/AdvancedMetadata.ts rename to src/api/resources/fileStorage/types/AdvancedMetadata.ts diff --git a/src/api/resources/filestorage/types/AsyncPassthroughReciept.ts b/src/api/resources/fileStorage/types/AsyncPassthroughReciept.ts similarity index 100% rename from src/api/resources/filestorage/types/AsyncPassthroughReciept.ts rename to src/api/resources/fileStorage/types/AsyncPassthroughReciept.ts diff --git a/src/api/resources/filestorage/types/AuditLogEvent.ts b/src/api/resources/fileStorage/types/AuditLogEvent.ts similarity index 97% rename from src/api/resources/filestorage/types/AuditLogEvent.ts rename to src/api/resources/fileStorage/types/AuditLogEvent.ts index f38c5c5b8..8227438bd 100644 --- a/src/api/resources/filestorage/types/AuditLogEvent.ts +++ b/src/api/resources/fileStorage/types/AuditLogEvent.ts @@ -18,7 +18,7 @@ export interface AuditLogEvent { * * `SYSTEM` - SYSTEM * * `MERGE_TEAM` - MERGE_TEAM */ - role: Merge.filestorage.AuditLogEventRole; + role: Merge.fileStorage.AuditLogEventRole; ipAddress: string; /** * Designates the type of event that occurred. @@ -67,7 +67,7 @@ export interface AuditLogEvent { * * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED * * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED */ - eventType: Merge.filestorage.AuditLogEventEventType; + eventType: Merge.fileStorage.AuditLogEventEventType; eventDescription: string; createdAt?: Date; } diff --git a/src/api/resources/filestorage/types/AuditLogEventEventType.ts b/src/api/resources/fileStorage/types/AuditLogEventEventType.ts similarity index 97% rename from src/api/resources/filestorage/types/AuditLogEventEventType.ts rename to src/api/resources/fileStorage/types/AuditLogEventEventType.ts index a96cca7d1..2688e95aa 100644 --- a/src/api/resources/filestorage/types/AuditLogEventEventType.ts +++ b/src/api/resources/fileStorage/types/AuditLogEventEventType.ts @@ -49,4 +49,4 @@ import type * as Merge from "../../../index"; * * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED * * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED */ -export type AuditLogEventEventType = Merge.filestorage.EventTypeEnum | string; +export type AuditLogEventEventType = Merge.fileStorage.EventTypeEnum | string; diff --git a/src/api/resources/filestorage/types/AuditLogEventRole.ts b/src/api/resources/fileStorage/types/AuditLogEventRole.ts similarity index 85% rename from src/api/resources/filestorage/types/AuditLogEventRole.ts rename to src/api/resources/fileStorage/types/AuditLogEventRole.ts index 4e2875a56..8940adc20 100644 --- a/src/api/resources/filestorage/types/AuditLogEventRole.ts +++ b/src/api/resources/fileStorage/types/AuditLogEventRole.ts @@ -12,4 +12,4 @@ import type * as Merge from "../../../index"; * * `SYSTEM` - SYSTEM * * `MERGE_TEAM` - MERGE_TEAM */ -export type AuditLogEventRole = Merge.filestorage.RoleEnum | string; +export type AuditLogEventRole = Merge.fileStorage.RoleEnum | string; diff --git a/src/api/resources/filestorage/types/AvailableActions.ts b/src/api/resources/fileStorage/types/AvailableActions.ts similarity index 78% rename from src/api/resources/filestorage/types/AvailableActions.ts rename to src/api/resources/fileStorage/types/AvailableActions.ts index 873b63bc1..5d9122538 100644 --- a/src/api/resources/filestorage/types/AvailableActions.ts +++ b/src/api/resources/fileStorage/types/AvailableActions.ts @@ -11,7 +11,7 @@ import type * as Merge from "../../../index"; * Fetch all the actions available for the `Zenefits` integration. */ export interface AvailableActions { - integration: Merge.filestorage.AccountIntegration; + integration: Merge.fileStorage.AccountIntegration; passthroughAvailable: boolean; - availableModelOperations?: Merge.filestorage.ModelOperation[]; + availableModelOperations?: Merge.fileStorage.ModelOperation[]; } diff --git a/src/api/resources/filestorage/types/CategoriesEnum.ts b/src/api/resources/fileStorage/types/CategoriesEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/CategoriesEnum.ts rename to src/api/resources/fileStorage/types/CategoriesEnum.ts diff --git a/src/api/resources/filestorage/types/CategoryEnum.ts b/src/api/resources/fileStorage/types/CategoryEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/CategoryEnum.ts rename to src/api/resources/fileStorage/types/CategoryEnum.ts diff --git a/src/api/resources/filestorage/types/CommonModelScopeApi.ts b/src/api/resources/fileStorage/types/CommonModelScopeApi.ts similarity index 78% rename from src/api/resources/filestorage/types/CommonModelScopeApi.ts rename to src/api/resources/fileStorage/types/CommonModelScopeApi.ts index a3320621f..0142337ab 100644 --- a/src/api/resources/filestorage/types/CommonModelScopeApi.ts +++ b/src/api/resources/fileStorage/types/CommonModelScopeApi.ts @@ -4,5 +4,5 @@ import type * as Merge from "../../../index"; export interface CommonModelScopeApi { /** The common models you want to update the scopes for */ - commonModels: Merge.filestorage.IndividualCommonModelScopeDeserializer[]; + commonModels: Merge.fileStorage.IndividualCommonModelScopeDeserializer[]; } diff --git a/src/api/resources/filestorage/types/CommonModelScopesBodyRequest.ts b/src/api/resources/fileStorage/types/CommonModelScopesBodyRequest.ts similarity index 78% rename from src/api/resources/filestorage/types/CommonModelScopesBodyRequest.ts rename to src/api/resources/fileStorage/types/CommonModelScopesBodyRequest.ts index 954748299..59db99ac9 100644 --- a/src/api/resources/filestorage/types/CommonModelScopesBodyRequest.ts +++ b/src/api/resources/fileStorage/types/CommonModelScopesBodyRequest.ts @@ -4,6 +4,6 @@ import type * as Merge from "../../../index"; export interface CommonModelScopesBodyRequest { modelId: string; - enabledActions: Merge.filestorage.EnabledActionsEnum[]; + enabledActions: Merge.fileStorage.EnabledActionsEnum[]; disabledFields: string[]; } diff --git a/src/api/resources/filestorage/types/DataPassthroughRequest.ts b/src/api/resources/fileStorage/types/DataPassthroughRequest.ts similarity index 89% rename from src/api/resources/filestorage/types/DataPassthroughRequest.ts rename to src/api/resources/fileStorage/types/DataPassthroughRequest.ts index fcad91de3..f83fe6659 100644 --- a/src/api/resources/filestorage/types/DataPassthroughRequest.ts +++ b/src/api/resources/fileStorage/types/DataPassthroughRequest.ts @@ -11,7 +11,7 @@ import type * as Merge from "../../../index"; * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { - method: Merge.filestorage.MethodEnum; + method: Merge.fileStorage.MethodEnum; /** The path of the request in the third party's platform. */ path: string; /** An optional override of the third party's base url for the request. */ @@ -19,10 +19,10 @@ export interface DataPassthroughRequest { /** The data with the request. You must include a `request_format` parameter matching the data's format */ data?: string; /** Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. */ - multipartFormData?: Merge.filestorage.MultipartFormFieldRequest[]; + multipartFormData?: Merge.fileStorage.MultipartFormFieldRequest[]; /** The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. */ headers?: Record; - requestFormat?: Merge.filestorage.RequestFormatEnum; + requestFormat?: Merge.fileStorage.RequestFormatEnum; /** Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. */ normalizeResponse?: boolean; } diff --git a/src/api/resources/filestorage/types/DebugModeLog.ts b/src/api/resources/fileStorage/types/DebugModeLog.ts similarity index 77% rename from src/api/resources/filestorage/types/DebugModeLog.ts rename to src/api/resources/fileStorage/types/DebugModeLog.ts index a3b7aa457..f80436d37 100644 --- a/src/api/resources/filestorage/types/DebugModeLog.ts +++ b/src/api/resources/fileStorage/types/DebugModeLog.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface DebugModeLog { logId: string; dashboardView: string; - logSummary: Merge.filestorage.DebugModelLogSummary; + logSummary: Merge.fileStorage.DebugModelLogSummary; } diff --git a/src/api/resources/filestorage/types/DebugModelLogSummary.ts b/src/api/resources/fileStorage/types/DebugModelLogSummary.ts similarity index 100% rename from src/api/resources/filestorage/types/DebugModelLogSummary.ts rename to src/api/resources/fileStorage/types/DebugModelLogSummary.ts diff --git a/src/api/resources/filestorage/types/DownloadRequestMeta.ts b/src/api/resources/fileStorage/types/DownloadRequestMeta.ts similarity index 100% rename from src/api/resources/filestorage/types/DownloadRequestMeta.ts rename to src/api/resources/fileStorage/types/DownloadRequestMeta.ts diff --git a/src/api/resources/filestorage/types/Drive.ts b/src/api/resources/fileStorage/types/Drive.ts similarity index 96% rename from src/api/resources/filestorage/types/Drive.ts rename to src/api/resources/fileStorage/types/Drive.ts index f1e566be9..9603f71ce 100644 --- a/src/api/resources/filestorage/types/Drive.ts +++ b/src/api/resources/fileStorage/types/Drive.ts @@ -26,5 +26,5 @@ export interface Drive { /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; - remoteData?: Merge.filestorage.RemoteData[]; + remoteData?: Merge.fileStorage.RemoteData[]; } diff --git a/src/api/resources/filestorage/types/EnabledActionsEnum.ts b/src/api/resources/fileStorage/types/EnabledActionsEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/EnabledActionsEnum.ts rename to src/api/resources/fileStorage/types/EnabledActionsEnum.ts diff --git a/src/api/resources/filestorage/types/EncodingEnum.ts b/src/api/resources/fileStorage/types/EncodingEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/EncodingEnum.ts rename to src/api/resources/fileStorage/types/EncodingEnum.ts diff --git a/src/api/resources/filestorage/types/ErrorValidationProblem.ts b/src/api/resources/fileStorage/types/ErrorValidationProblem.ts similarity index 79% rename from src/api/resources/filestorage/types/ErrorValidationProblem.ts rename to src/api/resources/fileStorage/types/ErrorValidationProblem.ts index a66e0d542..7b2c81455 100644 --- a/src/api/resources/filestorage/types/ErrorValidationProblem.ts +++ b/src/api/resources/fileStorage/types/ErrorValidationProblem.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../index"; export interface ErrorValidationProblem { - source?: Merge.filestorage.ValidationProblemSource; + source?: Merge.fileStorage.ValidationProblemSource; title: string; detail: string; problemType: string; diff --git a/src/api/resources/filestorage/types/EventTypeEnum.ts b/src/api/resources/fileStorage/types/EventTypeEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/EventTypeEnum.ts rename to src/api/resources/fileStorage/types/EventTypeEnum.ts diff --git a/src/api/resources/filestorage/types/ExternalTargetFieldApi.ts b/src/api/resources/fileStorage/types/ExternalTargetFieldApi.ts similarity index 100% rename from src/api/resources/filestorage/types/ExternalTargetFieldApi.ts rename to src/api/resources/fileStorage/types/ExternalTargetFieldApi.ts diff --git a/src/api/resources/fileStorage/types/ExternalTargetFieldApiResponse.ts b/src/api/resources/fileStorage/types/ExternalTargetFieldApiResponse.ts new file mode 100644 index 000000000..8bca8cc9d --- /dev/null +++ b/src/api/resources/fileStorage/types/ExternalTargetFieldApiResponse.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export interface ExternalTargetFieldApiResponse { + file?: Merge.fileStorage.ExternalTargetFieldApi[]; + folder?: Merge.fileStorage.ExternalTargetFieldApi[]; + drive?: Merge.fileStorage.ExternalTargetFieldApi[]; + group?: Merge.fileStorage.ExternalTargetFieldApi[]; + user?: Merge.fileStorage.ExternalTargetFieldApi[]; +} diff --git a/src/api/resources/filestorage/types/FieldMappingApiInstance.ts b/src/api/resources/fileStorage/types/FieldMappingApiInstance.ts similarity index 63% rename from src/api/resources/filestorage/types/FieldMappingApiInstance.ts rename to src/api/resources/fileStorage/types/FieldMappingApiInstance.ts index d9d3be4cd..9098115b3 100644 --- a/src/api/resources/filestorage/types/FieldMappingApiInstance.ts +++ b/src/api/resources/fileStorage/types/FieldMappingApiInstance.ts @@ -5,6 +5,6 @@ import type * as Merge from "../../../index"; export interface FieldMappingApiInstance { id?: string; isIntegrationWide?: boolean; - targetField?: Merge.filestorage.FieldMappingApiInstanceTargetField; - remoteField?: Merge.filestorage.FieldMappingApiInstanceRemoteField; + targetField?: Merge.fileStorage.FieldMappingApiInstanceTargetField; + remoteField?: Merge.fileStorage.FieldMappingApiInstanceRemoteField; } diff --git a/src/api/resources/filestorage/types/FieldMappingApiInstanceRemoteField.ts b/src/api/resources/fileStorage/types/FieldMappingApiInstanceRemoteField.ts similarity index 80% rename from src/api/resources/filestorage/types/FieldMappingApiInstanceRemoteField.ts rename to src/api/resources/fileStorage/types/FieldMappingApiInstanceRemoteField.ts index 1a2ae4fa9..669eb8ea0 100644 --- a/src/api/resources/filestorage/types/FieldMappingApiInstanceRemoteField.ts +++ b/src/api/resources/fileStorage/types/FieldMappingApiInstanceRemoteField.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface FieldMappingApiInstanceRemoteField { remoteKeyName?: string; schema?: Record; - remoteEndpointInfo: Merge.filestorage.FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo; + remoteEndpointInfo: Merge.fileStorage.FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo; } diff --git a/src/api/resources/filestorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts b/src/api/resources/fileStorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts similarity index 100% rename from src/api/resources/filestorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts rename to src/api/resources/fileStorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts diff --git a/src/api/resources/fileStorage/types/FieldMappingApiInstanceResponse.ts b/src/api/resources/fileStorage/types/FieldMappingApiInstanceResponse.ts new file mode 100644 index 000000000..5caa365e6 --- /dev/null +++ b/src/api/resources/fileStorage/types/FieldMappingApiInstanceResponse.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export interface FieldMappingApiInstanceResponse { + file?: Merge.fileStorage.FieldMappingApiInstance[]; + folder?: Merge.fileStorage.FieldMappingApiInstance[]; + drive?: Merge.fileStorage.FieldMappingApiInstance[]; + group?: Merge.fileStorage.FieldMappingApiInstance[]; + user?: Merge.fileStorage.FieldMappingApiInstance[]; +} diff --git a/src/api/resources/filestorage/types/FieldMappingApiInstanceTargetField.ts b/src/api/resources/fileStorage/types/FieldMappingApiInstanceTargetField.ts similarity index 100% rename from src/api/resources/filestorage/types/FieldMappingApiInstanceTargetField.ts rename to src/api/resources/fileStorage/types/FieldMappingApiInstanceTargetField.ts diff --git a/src/api/resources/fileStorage/types/FieldMappingInstanceResponse.ts b/src/api/resources/fileStorage/types/FieldMappingInstanceResponse.ts new file mode 100644 index 000000000..5cc727e66 --- /dev/null +++ b/src/api/resources/fileStorage/types/FieldMappingInstanceResponse.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export interface FieldMappingInstanceResponse { + model: Merge.fileStorage.FieldMappingApiInstance; + warnings: Merge.fileStorage.WarningValidationProblem[]; + errors: Merge.fileStorage.ErrorValidationProblem[]; + logs?: Merge.fileStorage.DebugModeLog[]; +} diff --git a/src/api/resources/filestorage/types/FieldPermissionDeserializer.ts b/src/api/resources/fileStorage/types/FieldPermissionDeserializer.ts similarity index 100% rename from src/api/resources/filestorage/types/FieldPermissionDeserializer.ts rename to src/api/resources/fileStorage/types/FieldPermissionDeserializer.ts diff --git a/src/api/resources/filestorage/types/FieldPermissionDeserializerRequest.ts b/src/api/resources/fileStorage/types/FieldPermissionDeserializerRequest.ts similarity index 100% rename from src/api/resources/filestorage/types/FieldPermissionDeserializerRequest.ts rename to src/api/resources/fileStorage/types/FieldPermissionDeserializerRequest.ts diff --git a/src/api/resources/filestorage/types/FileDrive.ts b/src/api/resources/fileStorage/types/FileDrive.ts similarity index 73% rename from src/api/resources/filestorage/types/FileDrive.ts rename to src/api/resources/fileStorage/types/FileDrive.ts index e5b43dd71..a0f2fae03 100644 --- a/src/api/resources/filestorage/types/FileDrive.ts +++ b/src/api/resources/fileStorage/types/FileDrive.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The drive that the file belongs to. */ -export type FileDrive = string | Merge.filestorage.Drive; +export type FileDrive = string | Merge.fileStorage.Drive; diff --git a/src/api/resources/filestorage/types/FileFolder.ts b/src/api/resources/fileStorage/types/FileFolder.ts similarity index 72% rename from src/api/resources/filestorage/types/FileFolder.ts rename to src/api/resources/fileStorage/types/FileFolder.ts index e490163a2..b98976745 100644 --- a/src/api/resources/filestorage/types/FileFolder.ts +++ b/src/api/resources/fileStorage/types/FileFolder.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The folder that the file belongs to. */ -export type FileFolder = string | Merge.filestorage.Folder; +export type FileFolder = string | Merge.fileStorage.Folder; diff --git a/src/api/resources/filestorage/types/FilePermissions.ts b/src/api/resources/fileStorage/types/FilePermissions.ts similarity index 74% rename from src/api/resources/filestorage/types/FilePermissions.ts rename to src/api/resources/fileStorage/types/FilePermissions.ts index 8f5941955..cd09a918b 100644 --- a/src/api/resources/filestorage/types/FilePermissions.ts +++ b/src/api/resources/fileStorage/types/FilePermissions.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details under `GET /files`. */ -export type FilePermissions = string | Merge.filestorage.Permission | Merge.filestorage.FilePermissionsItem[]; +export type FilePermissions = string | Merge.fileStorage.Permission | Merge.fileStorage.FilePermissionsTwoItem[]; diff --git a/src/api/resources/accounting/types/ExpenseReportLineTaxRate.ts b/src/api/resources/fileStorage/types/FilePermissionsTwoItem.ts similarity index 59% rename from src/api/resources/accounting/types/ExpenseReportLineTaxRate.ts rename to src/api/resources/fileStorage/types/FilePermissionsTwoItem.ts index 83088724f..58c12cd58 100644 --- a/src/api/resources/accounting/types/ExpenseReportLineTaxRate.ts +++ b/src/api/resources/fileStorage/types/FilePermissionsTwoItem.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type ExpenseReportLineTaxRate = string | Merge.accounting.TaxRate; +export type FilePermissionsTwoItem = string | Merge.fileStorage.Permission; diff --git a/src/api/resources/filestorage/types/FileRequest.ts b/src/api/resources/fileStorage/types/FileRequest.ts similarity index 90% rename from src/api/resources/filestorage/types/FileRequest.ts rename to src/api/resources/fileStorage/types/FileRequest.ts index d8cd24286..1f5c6512e 100644 --- a/src/api/resources/filestorage/types/FileRequest.ts +++ b/src/api/resources/fileStorage/types/FileRequest.ts @@ -23,13 +23,13 @@ export interface FileRequest { /** The file's description. */ description?: string; /** The folder that the file belongs to. */ - folder?: Merge.filestorage.FileRequestFolder; + folder?: Merge.fileStorage.FileRequestFolder; /** This field stores file checksum data. 'type' indicates the algorithm (e.g. crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is the unique hash used to verify file integrity and detect alterations. */ checksum?: Record; /** The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details under `GET /files`. */ - permissions?: Merge.filestorage.FileRequestPermissions; + permissions?: Merge.fileStorage.FileRequestPermissions; /** The drive that the file belongs to. */ - drive?: Merge.filestorage.FileRequestDrive; + drive?: Merge.fileStorage.FileRequestDrive; integrationParams?: Record; linkedAccountParams?: Record; } diff --git a/src/api/resources/filestorage/types/FileRequestDrive.ts b/src/api/resources/fileStorage/types/FileRequestDrive.ts similarity index 71% rename from src/api/resources/filestorage/types/FileRequestDrive.ts rename to src/api/resources/fileStorage/types/FileRequestDrive.ts index 51b03f937..b6580657f 100644 --- a/src/api/resources/filestorage/types/FileRequestDrive.ts +++ b/src/api/resources/fileStorage/types/FileRequestDrive.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The drive that the file belongs to. */ -export type FileRequestDrive = string | Merge.filestorage.Drive; +export type FileRequestDrive = string | Merge.fileStorage.Drive; diff --git a/src/api/resources/filestorage/types/FileRequestFolder.ts b/src/api/resources/fileStorage/types/FileRequestFolder.ts similarity index 71% rename from src/api/resources/filestorage/types/FileRequestFolder.ts rename to src/api/resources/fileStorage/types/FileRequestFolder.ts index eeb778e07..158b2812f 100644 --- a/src/api/resources/filestorage/types/FileRequestFolder.ts +++ b/src/api/resources/fileStorage/types/FileRequestFolder.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The folder that the file belongs to. */ -export type FileRequestFolder = string | Merge.filestorage.Folder; +export type FileRequestFolder = string | Merge.fileStorage.Folder; diff --git a/src/api/resources/filestorage/types/FileRequestPermissions.ts b/src/api/resources/fileStorage/types/FileRequestPermissions.ts similarity index 79% rename from src/api/resources/filestorage/types/FileRequestPermissions.ts rename to src/api/resources/fileStorage/types/FileRequestPermissions.ts index caf29354f..67c4497b7 100644 --- a/src/api/resources/filestorage/types/FileRequestPermissions.ts +++ b/src/api/resources/fileStorage/types/FileRequestPermissions.ts @@ -7,5 +7,5 @@ import type * as Merge from "../../../index"; */ export type FileRequestPermissions = | string - | Merge.filestorage.PermissionRequest - | Merge.filestorage.FileRequestPermissionsItem[]; + | Merge.fileStorage.PermissionRequest + | Merge.fileStorage.FileRequestPermissionsTwoItem[]; diff --git a/src/api/resources/fileStorage/types/FileRequestPermissionsTwoItem.ts b/src/api/resources/fileStorage/types/FileRequestPermissionsTwoItem.ts new file mode 100644 index 000000000..8e7d4df67 --- /dev/null +++ b/src/api/resources/fileStorage/types/FileRequestPermissionsTwoItem.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export type FileRequestPermissionsTwoItem = string | Merge.fileStorage.PermissionRequest; diff --git a/src/api/resources/fileStorage/types/FileStorageFileResponse.ts b/src/api/resources/fileStorage/types/FileStorageFileResponse.ts new file mode 100644 index 000000000..a7fd7aacb --- /dev/null +++ b/src/api/resources/fileStorage/types/FileStorageFileResponse.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export interface FileStorageFileResponse { + model: Merge.fileStorage.File_; + warnings: Merge.fileStorage.WarningValidationProblem[]; + errors: Merge.fileStorage.ErrorValidationProblem[]; + logs?: Merge.fileStorage.DebugModeLog[]; +} diff --git a/src/api/resources/fileStorage/types/FileStorageFolderResponse.ts b/src/api/resources/fileStorage/types/FileStorageFolderResponse.ts new file mode 100644 index 000000000..8934c6955 --- /dev/null +++ b/src/api/resources/fileStorage/types/FileStorageFolderResponse.ts @@ -0,0 +1,10 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export interface FileStorageFolderResponse { + model: Merge.fileStorage.Folder; + warnings: Merge.fileStorage.WarningValidationProblem[]; + errors: Merge.fileStorage.ErrorValidationProblem[]; + logs?: Merge.fileStorage.DebugModeLog[]; +} diff --git a/src/api/resources/filestorage/types/File_.ts b/src/api/resources/fileStorage/types/File_.ts similarity index 92% rename from src/api/resources/filestorage/types/File_.ts rename to src/api/resources/fileStorage/types/File_.ts index fd914f3c4..7f3eaef81 100644 --- a/src/api/resources/filestorage/types/File_.ts +++ b/src/api/resources/fileStorage/types/File_.ts @@ -30,13 +30,13 @@ export interface File_ { /** The file's description. */ description?: string; /** The folder that the file belongs to. */ - folder?: Merge.filestorage.FileFolder; + folder?: Merge.fileStorage.FileFolder; /** This field stores file checksum data. 'type' indicates the algorithm (e.g. crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is the unique hash used to verify file integrity and detect alterations. */ checksum?: Record; /** The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details under `GET /files`. */ - permissions?: Merge.filestorage.FilePermissions; + permissions?: Merge.fileStorage.FilePermissions; /** The drive that the file belongs to. */ - drive?: Merge.filestorage.FileDrive; + drive?: Merge.fileStorage.FileDrive; /** When the third party's file was created. */ remoteCreatedAt?: Date; /** When the third party's file was updated. */ @@ -44,5 +44,5 @@ export interface File_ { /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; - remoteData?: Merge.filestorage.RemoteData[]; + remoteData?: Merge.fileStorage.RemoteData[]; } diff --git a/src/api/resources/filestorage/types/Folder.ts b/src/api/resources/fileStorage/types/Folder.ts similarity index 89% rename from src/api/resources/filestorage/types/Folder.ts rename to src/api/resources/fileStorage/types/Folder.ts index 7e77497ab..1c24f1fa6 100644 --- a/src/api/resources/filestorage/types/Folder.ts +++ b/src/api/resources/fileStorage/types/Folder.ts @@ -26,11 +26,11 @@ export interface Folder { /** The folder's description. */ description?: string; /** The folder that the folder belongs to. */ - parentFolder?: Merge.filestorage.FolderParentFolder; + parentFolder?: Merge.fileStorage.FolderParentFolder; /** The drive that the folder belongs to. */ - drive?: Merge.filestorage.FolderDrive; + drive?: Merge.fileStorage.FolderDrive; /** The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details under `GET /folders`. */ - permissions?: Merge.filestorage.FolderPermissions; + permissions?: Merge.fileStorage.FolderPermissions; /** When the third party's folder was created. */ remoteCreatedAt?: Date; /** When the third party's folder was updated. */ @@ -38,5 +38,5 @@ export interface Folder { /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; - remoteData?: Merge.filestorage.RemoteData[]; + remoteData?: Merge.fileStorage.RemoteData[]; } diff --git a/src/api/resources/filestorage/types/FolderDrive.ts b/src/api/resources/fileStorage/types/FolderDrive.ts similarity index 72% rename from src/api/resources/filestorage/types/FolderDrive.ts rename to src/api/resources/fileStorage/types/FolderDrive.ts index 65917245c..d878475da 100644 --- a/src/api/resources/filestorage/types/FolderDrive.ts +++ b/src/api/resources/fileStorage/types/FolderDrive.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The drive that the folder belongs to. */ -export type FolderDrive = string | Merge.filestorage.Drive; +export type FolderDrive = string | Merge.fileStorage.Drive; diff --git a/src/api/resources/filestorage/types/FolderParentFolder.ts b/src/api/resources/fileStorage/types/FolderParentFolder.ts similarity index 72% rename from src/api/resources/filestorage/types/FolderParentFolder.ts rename to src/api/resources/fileStorage/types/FolderParentFolder.ts index 481195632..31811f63e 100644 --- a/src/api/resources/filestorage/types/FolderParentFolder.ts +++ b/src/api/resources/fileStorage/types/FolderParentFolder.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The folder that the folder belongs to. */ -export type FolderParentFolder = string | Merge.filestorage.Folder; +export type FolderParentFolder = string | Merge.fileStorage.Folder; diff --git a/src/api/resources/filestorage/types/FolderPermissions.ts b/src/api/resources/fileStorage/types/FolderPermissions.ts similarity index 74% rename from src/api/resources/filestorage/types/FolderPermissions.ts rename to src/api/resources/fileStorage/types/FolderPermissions.ts index 898bb693c..5873c671c 100644 --- a/src/api/resources/filestorage/types/FolderPermissions.ts +++ b/src/api/resources/fileStorage/types/FolderPermissions.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details under `GET /folders`. */ -export type FolderPermissions = string | Merge.filestorage.Permission | Merge.filestorage.FolderPermissionsItem[]; +export type FolderPermissions = string | Merge.fileStorage.Permission | Merge.fileStorage.FolderPermissionsTwoItem[]; diff --git a/src/api/resources/fileStorage/types/FolderPermissionsTwoItem.ts b/src/api/resources/fileStorage/types/FolderPermissionsTwoItem.ts new file mode 100644 index 000000000..fff77f286 --- /dev/null +++ b/src/api/resources/fileStorage/types/FolderPermissionsTwoItem.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export type FolderPermissionsTwoItem = string | Merge.fileStorage.Permission; diff --git a/src/api/resources/filestorage/types/FolderRequest.ts b/src/api/resources/fileStorage/types/FolderRequest.ts similarity index 86% rename from src/api/resources/filestorage/types/FolderRequest.ts rename to src/api/resources/fileStorage/types/FolderRequest.ts index f1f6ccaa2..0dfe748f2 100644 --- a/src/api/resources/filestorage/types/FolderRequest.ts +++ b/src/api/resources/fileStorage/types/FolderRequest.ts @@ -19,11 +19,11 @@ export interface FolderRequest { /** The folder's description. */ description?: string; /** The folder that the folder belongs to. */ - parentFolder?: Merge.filestorage.FolderRequestParentFolder; + parentFolder?: Merge.fileStorage.FolderRequestParentFolder; /** The drive that the folder belongs to. */ - drive?: Merge.filestorage.FolderRequestDrive; + drive?: Merge.fileStorage.FolderRequestDrive; /** The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details under `GET /folders`. */ - permissions?: Merge.filestorage.FolderRequestPermissions; + permissions?: Merge.fileStorage.FolderRequestPermissions; integrationParams?: Record; linkedAccountParams?: Record; } diff --git a/src/api/resources/filestorage/types/FolderRequestDrive.ts b/src/api/resources/fileStorage/types/FolderRequestDrive.ts similarity index 72% rename from src/api/resources/filestorage/types/FolderRequestDrive.ts rename to src/api/resources/fileStorage/types/FolderRequestDrive.ts index 9ca9305bb..1d1610e7e 100644 --- a/src/api/resources/filestorage/types/FolderRequestDrive.ts +++ b/src/api/resources/fileStorage/types/FolderRequestDrive.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The drive that the folder belongs to. */ -export type FolderRequestDrive = string | Merge.filestorage.Drive; +export type FolderRequestDrive = string | Merge.fileStorage.Drive; diff --git a/src/api/resources/filestorage/types/FolderRequestParentFolder.ts b/src/api/resources/fileStorage/types/FolderRequestParentFolder.ts similarity index 73% rename from src/api/resources/filestorage/types/FolderRequestParentFolder.ts rename to src/api/resources/fileStorage/types/FolderRequestParentFolder.ts index ae89363ee..5f3c86f66 100644 --- a/src/api/resources/filestorage/types/FolderRequestParentFolder.ts +++ b/src/api/resources/fileStorage/types/FolderRequestParentFolder.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The folder that the folder belongs to. */ -export type FolderRequestParentFolder = string | Merge.filestorage.Folder; +export type FolderRequestParentFolder = string | Merge.fileStorage.Folder; diff --git a/src/api/resources/filestorage/types/FolderRequestPermissions.ts b/src/api/resources/fileStorage/types/FolderRequestPermissions.ts similarity index 79% rename from src/api/resources/filestorage/types/FolderRequestPermissions.ts rename to src/api/resources/fileStorage/types/FolderRequestPermissions.ts index 0b4497b1e..573c8f5dd 100644 --- a/src/api/resources/filestorage/types/FolderRequestPermissions.ts +++ b/src/api/resources/fileStorage/types/FolderRequestPermissions.ts @@ -7,5 +7,5 @@ import type * as Merge from "../../../index"; */ export type FolderRequestPermissions = | string - | Merge.filestorage.PermissionRequest - | Merge.filestorage.FolderRequestPermissionsItem[]; + | Merge.fileStorage.PermissionRequest + | Merge.fileStorage.FolderRequestPermissionsTwoItem[]; diff --git a/src/api/resources/fileStorage/types/FolderRequestPermissionsTwoItem.ts b/src/api/resources/fileStorage/types/FolderRequestPermissionsTwoItem.ts new file mode 100644 index 000000000..02985e8ec --- /dev/null +++ b/src/api/resources/fileStorage/types/FolderRequestPermissionsTwoItem.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export type FolderRequestPermissionsTwoItem = string | Merge.fileStorage.PermissionRequest; diff --git a/src/api/resources/filestorage/types/Group.ts b/src/api/resources/fileStorage/types/Group.ts similarity index 92% rename from src/api/resources/filestorage/types/Group.ts rename to src/api/resources/fileStorage/types/Group.ts index 232a1c4d2..89e097d5e 100644 --- a/src/api/resources/filestorage/types/Group.ts +++ b/src/api/resources/fileStorage/types/Group.ts @@ -22,9 +22,9 @@ export interface Group { /** The users that belong in the group. If null, this typically means it's either a domain or the third-party platform does not surface this information. */ users: string[]; /** Groups that inherit the permissions of the parent group. */ - childGroups?: Merge.filestorage.GroupChildGroupsItem[]; + childGroups?: Merge.fileStorage.GroupChildGroupsItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; - remoteData?: Merge.filestorage.RemoteData[]; + remoteData?: Merge.fileStorage.RemoteData[]; } diff --git a/src/api/resources/filestorage/types/GroupChildGroupsItem.ts b/src/api/resources/fileStorage/types/GroupChildGroupsItem.ts similarity index 64% rename from src/api/resources/filestorage/types/GroupChildGroupsItem.ts rename to src/api/resources/fileStorage/types/GroupChildGroupsItem.ts index 8f80bde5b..79eb2fe81 100644 --- a/src/api/resources/filestorage/types/GroupChildGroupsItem.ts +++ b/src/api/resources/fileStorage/types/GroupChildGroupsItem.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type GroupChildGroupsItem = string | Merge.filestorage.Group; +export type GroupChildGroupsItem = string | Merge.fileStorage.Group; diff --git a/src/api/resources/filestorage/types/IndividualCommonModelScopeDeserializer.ts b/src/api/resources/fileStorage/types/IndividualCommonModelScopeDeserializer.ts similarity index 63% rename from src/api/resources/filestorage/types/IndividualCommonModelScopeDeserializer.ts rename to src/api/resources/fileStorage/types/IndividualCommonModelScopeDeserializer.ts index e4a67b433..2b8e9c153 100644 --- a/src/api/resources/filestorage/types/IndividualCommonModelScopeDeserializer.ts +++ b/src/api/resources/fileStorage/types/IndividualCommonModelScopeDeserializer.ts @@ -4,6 +4,6 @@ import type * as Merge from "../../../index"; export interface IndividualCommonModelScopeDeserializer { modelName: string; - modelPermissions?: Record; - fieldPermissions?: Merge.filestorage.FieldPermissionDeserializer; + modelPermissions?: Record; + fieldPermissions?: Merge.fileStorage.FieldPermissionDeserializer; } diff --git a/src/api/resources/filestorage/types/IndividualCommonModelScopeDeserializerRequest.ts b/src/api/resources/fileStorage/types/IndividualCommonModelScopeDeserializerRequest.ts similarity index 65% rename from src/api/resources/filestorage/types/IndividualCommonModelScopeDeserializerRequest.ts rename to src/api/resources/fileStorage/types/IndividualCommonModelScopeDeserializerRequest.ts index 9e9db7afe..1fdf3a2b8 100644 --- a/src/api/resources/filestorage/types/IndividualCommonModelScopeDeserializerRequest.ts +++ b/src/api/resources/fileStorage/types/IndividualCommonModelScopeDeserializerRequest.ts @@ -4,6 +4,6 @@ import type * as Merge from "../../../index"; export interface IndividualCommonModelScopeDeserializerRequest { modelName: string; - modelPermissions?: Record; - fieldPermissions?: Merge.filestorage.FieldPermissionDeserializerRequest; + modelPermissions?: Record; + fieldPermissions?: Merge.fileStorage.FieldPermissionDeserializerRequest; } diff --git a/src/api/resources/filestorage/types/Issue.ts b/src/api/resources/fileStorage/types/Issue.ts similarity index 91% rename from src/api/resources/filestorage/types/Issue.ts rename to src/api/resources/fileStorage/types/Issue.ts index 29de58b17..c3ec99b32 100644 --- a/src/api/resources/filestorage/types/Issue.ts +++ b/src/api/resources/fileStorage/types/Issue.ts @@ -10,7 +10,7 @@ export interface Issue { * * `ONGOING` - ONGOING * * `RESOLVED` - RESOLVED */ - status?: Merge.filestorage.IssueStatus; + status?: Merge.fileStorage.IssueStatus; errorDescription: string; endUser?: Record; firstIncidentTime?: Date; diff --git a/src/api/resources/filestorage/types/IssueStatus.ts b/src/api/resources/fileStorage/types/IssueStatus.ts similarity index 78% rename from src/api/resources/filestorage/types/IssueStatus.ts rename to src/api/resources/fileStorage/types/IssueStatus.ts index c7bef15e0..06e159fca 100644 --- a/src/api/resources/filestorage/types/IssueStatus.ts +++ b/src/api/resources/fileStorage/types/IssueStatus.ts @@ -8,4 +8,4 @@ import type * as Merge from "../../../index"; * * `ONGOING` - ONGOING * * `RESOLVED` - RESOLVED */ -export type IssueStatus = Merge.filestorage.IssueStatusEnum | string; +export type IssueStatus = Merge.fileStorage.IssueStatusEnum | string; diff --git a/src/api/resources/filestorage/types/IssueStatusEnum.ts b/src/api/resources/fileStorage/types/IssueStatusEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/IssueStatusEnum.ts rename to src/api/resources/fileStorage/types/IssueStatusEnum.ts diff --git a/src/api/resources/filestorage/types/LanguageEnum.ts b/src/api/resources/fileStorage/types/LanguageEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/LanguageEnum.ts rename to src/api/resources/fileStorage/types/LanguageEnum.ts diff --git a/src/api/resources/filestorage/types/LastSyncResultEnum.ts b/src/api/resources/fileStorage/types/LastSyncResultEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/LastSyncResultEnum.ts rename to src/api/resources/fileStorage/types/LastSyncResultEnum.ts diff --git a/src/api/resources/filestorage/types/LinkToken.ts b/src/api/resources/fileStorage/types/LinkToken.ts similarity index 100% rename from src/api/resources/filestorage/types/LinkToken.ts rename to src/api/resources/fileStorage/types/LinkToken.ts diff --git a/src/api/resources/filestorage/types/LinkedAccountStatus.ts b/src/api/resources/fileStorage/types/LinkedAccountStatus.ts similarity index 100% rename from src/api/resources/filestorage/types/LinkedAccountStatus.ts rename to src/api/resources/fileStorage/types/LinkedAccountStatus.ts diff --git a/src/api/resources/filestorage/types/MetaResponse.ts b/src/api/resources/fileStorage/types/MetaResponse.ts similarity index 86% rename from src/api/resources/filestorage/types/MetaResponse.ts rename to src/api/resources/fileStorage/types/MetaResponse.ts index 8adc5b6b8..b203067e1 100644 --- a/src/api/resources/filestorage/types/MetaResponse.ts +++ b/src/api/resources/fileStorage/types/MetaResponse.ts @@ -5,7 +5,7 @@ import type * as Merge from "../../../index"; export interface MetaResponse { requestSchema: Record; remoteFieldClasses?: Record; - status?: Merge.filestorage.LinkedAccountStatus; + status?: Merge.fileStorage.LinkedAccountStatus; hasConditionalParams: boolean; hasRequiredLinkedAccountParams: boolean; } diff --git a/src/api/resources/filestorage/types/MethodEnum.ts b/src/api/resources/fileStorage/types/MethodEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/MethodEnum.ts rename to src/api/resources/fileStorage/types/MethodEnum.ts diff --git a/src/api/resources/filestorage/types/ModelOperation.ts b/src/api/resources/fileStorage/types/ModelOperation.ts similarity index 100% rename from src/api/resources/filestorage/types/ModelOperation.ts rename to src/api/resources/fileStorage/types/ModelOperation.ts diff --git a/src/api/resources/filestorage/types/ModelPermissionDeserializer.ts b/src/api/resources/fileStorage/types/ModelPermissionDeserializer.ts similarity index 100% rename from src/api/resources/filestorage/types/ModelPermissionDeserializer.ts rename to src/api/resources/fileStorage/types/ModelPermissionDeserializer.ts diff --git a/src/api/resources/filestorage/types/ModelPermissionDeserializerRequest.ts b/src/api/resources/fileStorage/types/ModelPermissionDeserializerRequest.ts similarity index 100% rename from src/api/resources/filestorage/types/ModelPermissionDeserializerRequest.ts rename to src/api/resources/fileStorage/types/ModelPermissionDeserializerRequest.ts diff --git a/src/api/resources/filestorage/types/MultipartFormFieldRequest.ts b/src/api/resources/fileStorage/types/MultipartFormFieldRequest.ts similarity index 93% rename from src/api/resources/filestorage/types/MultipartFormFieldRequest.ts rename to src/api/resources/fileStorage/types/MultipartFormFieldRequest.ts index 0534a4c49..d1a5c5f3b 100644 --- a/src/api/resources/filestorage/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/fileStorage/types/MultipartFormFieldRequest.ts @@ -22,7 +22,7 @@ export interface MultipartFormFieldRequest { * * `BASE64` - BASE64 * * `GZIP_BASE64` - GZIP_BASE64 */ - encoding?: Merge.filestorage.MultipartFormFieldRequestEncoding; + encoding?: Merge.fileStorage.MultipartFormFieldRequestEncoding; /** The file name of the form field, if the field is for a file. */ fileName?: string; /** The MIME type of the file, if the field is for a file. */ diff --git a/src/api/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/fileStorage/types/MultipartFormFieldRequestEncoding.ts similarity index 82% rename from src/api/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts rename to src/api/resources/fileStorage/types/MultipartFormFieldRequestEncoding.ts index 29f0beba2..a2754f878 100644 --- a/src/api/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts +++ b/src/api/resources/fileStorage/types/MultipartFormFieldRequestEncoding.ts @@ -9,4 +9,4 @@ import type * as Merge from "../../../index"; * * `BASE64` - BASE64 * * `GZIP_BASE64` - GZIP_BASE64 */ -export type MultipartFormFieldRequestEncoding = Merge.filestorage.EncodingEnum | string; +export type MultipartFormFieldRequestEncoding = Merge.fileStorage.EncodingEnum | string; diff --git a/src/api/resources/filestorage/types/PaginatedAccountDetailsAndActionsList.ts b/src/api/resources/fileStorage/types/PaginatedAccountDetailsAndActionsList.ts similarity index 78% rename from src/api/resources/filestorage/types/PaginatedAccountDetailsAndActionsList.ts rename to src/api/resources/fileStorage/types/PaginatedAccountDetailsAndActionsList.ts index b46ada773..bf4dce5c7 100644 --- a/src/api/resources/filestorage/types/PaginatedAccountDetailsAndActionsList.ts +++ b/src/api/resources/fileStorage/types/PaginatedAccountDetailsAndActionsList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedAccountDetailsAndActionsList { next?: string; previous?: string; - results?: Merge.filestorage.AccountDetailsAndActions[]; + results?: Merge.fileStorage.AccountDetailsAndActions[]; } diff --git a/src/api/resources/filestorage/types/PaginatedAuditLogEventList.ts b/src/api/resources/fileStorage/types/PaginatedAuditLogEventList.ts similarity index 80% rename from src/api/resources/filestorage/types/PaginatedAuditLogEventList.ts rename to src/api/resources/fileStorage/types/PaginatedAuditLogEventList.ts index c9d5a119b..5161f540f 100644 --- a/src/api/resources/filestorage/types/PaginatedAuditLogEventList.ts +++ b/src/api/resources/fileStorage/types/PaginatedAuditLogEventList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedAuditLogEventList { next?: string; previous?: string; - results?: Merge.filestorage.AuditLogEvent[]; + results?: Merge.fileStorage.AuditLogEvent[]; } diff --git a/src/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.ts b/src/api/resources/fileStorage/types/PaginatedDownloadRequestMetaList.ts similarity index 79% rename from src/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.ts rename to src/api/resources/fileStorage/types/PaginatedDownloadRequestMetaList.ts index 9526a562f..77977be8c 100644 --- a/src/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.ts +++ b/src/api/resources/fileStorage/types/PaginatedDownloadRequestMetaList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedDownloadRequestMetaList { next?: string; previous?: string; - results?: Merge.filestorage.DownloadRequestMeta[]; + results?: Merge.fileStorage.DownloadRequestMeta[]; } diff --git a/src/api/resources/filestorage/types/PaginatedDriveList.ts b/src/api/resources/fileStorage/types/PaginatedDriveList.ts similarity index 82% rename from src/api/resources/filestorage/types/PaginatedDriveList.ts rename to src/api/resources/fileStorage/types/PaginatedDriveList.ts index 0e9d78350..3cebbceb5 100644 --- a/src/api/resources/filestorage/types/PaginatedDriveList.ts +++ b/src/api/resources/fileStorage/types/PaginatedDriveList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedDriveList { next?: string; previous?: string; - results?: Merge.filestorage.Drive[]; + results?: Merge.fileStorage.Drive[]; } diff --git a/src/api/resources/filestorage/types/PaginatedFileList.ts b/src/api/resources/fileStorage/types/PaginatedFileList.ts similarity index 82% rename from src/api/resources/filestorage/types/PaginatedFileList.ts rename to src/api/resources/fileStorage/types/PaginatedFileList.ts index 6d9be8b3f..fe1f0c6f7 100644 --- a/src/api/resources/filestorage/types/PaginatedFileList.ts +++ b/src/api/resources/fileStorage/types/PaginatedFileList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedFileList { next?: string; previous?: string; - results?: Merge.filestorage.File_[]; + results?: Merge.fileStorage.File_[]; } diff --git a/src/api/resources/filestorage/types/PaginatedFolderList.ts b/src/api/resources/fileStorage/types/PaginatedFolderList.ts similarity index 82% rename from src/api/resources/filestorage/types/PaginatedFolderList.ts rename to src/api/resources/fileStorage/types/PaginatedFolderList.ts index 0c43a65ef..a3a22229d 100644 --- a/src/api/resources/filestorage/types/PaginatedFolderList.ts +++ b/src/api/resources/fileStorage/types/PaginatedFolderList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedFolderList { next?: string; previous?: string; - results?: Merge.filestorage.Folder[]; + results?: Merge.fileStorage.Folder[]; } diff --git a/src/api/resources/filestorage/types/PaginatedGroupList.ts b/src/api/resources/fileStorage/types/PaginatedGroupList.ts similarity index 82% rename from src/api/resources/filestorage/types/PaginatedGroupList.ts rename to src/api/resources/fileStorage/types/PaginatedGroupList.ts index e7ae1e22c..e425267c1 100644 --- a/src/api/resources/filestorage/types/PaginatedGroupList.ts +++ b/src/api/resources/fileStorage/types/PaginatedGroupList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedGroupList { next?: string; previous?: string; - results?: Merge.filestorage.Group[]; + results?: Merge.fileStorage.Group[]; } diff --git a/src/api/resources/filestorage/types/PaginatedIssueList.ts b/src/api/resources/fileStorage/types/PaginatedIssueList.ts similarity index 82% rename from src/api/resources/filestorage/types/PaginatedIssueList.ts rename to src/api/resources/fileStorage/types/PaginatedIssueList.ts index 6d27ee653..d0d9f9a27 100644 --- a/src/api/resources/filestorage/types/PaginatedIssueList.ts +++ b/src/api/resources/fileStorage/types/PaginatedIssueList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedIssueList { next?: string; previous?: string; - results?: Merge.filestorage.Issue[]; + results?: Merge.fileStorage.Issue[]; } diff --git a/src/api/resources/filestorage/types/PaginatedSyncStatusList.ts b/src/api/resources/fileStorage/types/PaginatedSyncStatusList.ts similarity index 81% rename from src/api/resources/filestorage/types/PaginatedSyncStatusList.ts rename to src/api/resources/fileStorage/types/PaginatedSyncStatusList.ts index 79ba44c76..0c0cfccf5 100644 --- a/src/api/resources/filestorage/types/PaginatedSyncStatusList.ts +++ b/src/api/resources/fileStorage/types/PaginatedSyncStatusList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedSyncStatusList { next?: string; previous?: string; - results?: Merge.filestorage.SyncStatus[]; + results?: Merge.fileStorage.SyncStatus[]; } diff --git a/src/api/resources/filestorage/types/PaginatedUserList.ts b/src/api/resources/fileStorage/types/PaginatedUserList.ts similarity index 82% rename from src/api/resources/filestorage/types/PaginatedUserList.ts rename to src/api/resources/fileStorage/types/PaginatedUserList.ts index cba843c46..6d046ce4a 100644 --- a/src/api/resources/filestorage/types/PaginatedUserList.ts +++ b/src/api/resources/fileStorage/types/PaginatedUserList.ts @@ -5,5 +5,5 @@ import type * as Merge from "../../../index"; export interface PaginatedUserList { next?: string; previous?: string; - results?: Merge.filestorage.User[]; + results?: Merge.fileStorage.User[]; } diff --git a/src/api/resources/filestorage/types/Permission.ts b/src/api/resources/fileStorage/types/Permission.ts similarity index 88% rename from src/api/resources/filestorage/types/Permission.ts rename to src/api/resources/fileStorage/types/Permission.ts index 5a5420992..0f6ac1e09 100644 --- a/src/api/resources/filestorage/types/Permission.ts +++ b/src/api/resources/fileStorage/types/Permission.ts @@ -19,9 +19,9 @@ export interface Permission { /** The datetime that this object was modified by Merge. */ modifiedAt?: Date; /** The user that is granted this permission. This will only be populated if the type is `USER`. */ - user?: Merge.filestorage.PermissionUser; + user?: Merge.fileStorage.PermissionUser; /** The group that is granted this permission. This will only be populated if the type is `GROUP`. */ - group?: Merge.filestorage.PermissionGroup; + group?: Merge.fileStorage.PermissionGroup; /** * Denotes what type of people have access to the file. * @@ -30,7 +30,7 @@ export interface Permission { * * `COMPANY` - COMPANY * * `ANYONE` - ANYONE */ - type?: Merge.filestorage.PermissionType; + type?: Merge.fileStorage.PermissionType; /** The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. */ - roles?: (Merge.filestorage.PermissionRolesItem | undefined)[]; + roles?: (Merge.fileStorage.PermissionRolesItem | undefined)[]; } diff --git a/src/api/resources/filestorage/types/PermissionGroup.ts b/src/api/resources/fileStorage/types/PermissionGroup.ts similarity index 77% rename from src/api/resources/filestorage/types/PermissionGroup.ts rename to src/api/resources/fileStorage/types/PermissionGroup.ts index 14ee25138..bfb7f7f5d 100644 --- a/src/api/resources/filestorage/types/PermissionGroup.ts +++ b/src/api/resources/fileStorage/types/PermissionGroup.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The group that is granted this permission. This will only be populated if the type is `GROUP`. */ -export type PermissionGroup = string | Merge.filestorage.Group; +export type PermissionGroup = string | Merge.fileStorage.Group; diff --git a/src/api/resources/filestorage/types/PermissionRequest.ts b/src/api/resources/fileStorage/types/PermissionRequest.ts similarity index 86% rename from src/api/resources/filestorage/types/PermissionRequest.ts rename to src/api/resources/fileStorage/types/PermissionRequest.ts index 7eb90b1c2..d940e4fc1 100644 --- a/src/api/resources/filestorage/types/PermissionRequest.ts +++ b/src/api/resources/fileStorage/types/PermissionRequest.ts @@ -14,9 +14,9 @@ export interface PermissionRequest { /** The third-party API ID of the matching object. */ remoteId?: string; /** The user that is granted this permission. This will only be populated if the type is `USER`. */ - user?: Merge.filestorage.PermissionRequestUser; + user?: Merge.fileStorage.PermissionRequestUser; /** The group that is granted this permission. This will only be populated if the type is `GROUP`. */ - group?: Merge.filestorage.PermissionRequestGroup; + group?: Merge.fileStorage.PermissionRequestGroup; /** * Denotes what type of people have access to the file. * @@ -25,9 +25,9 @@ export interface PermissionRequest { * * `COMPANY` - COMPANY * * `ANYONE` - ANYONE */ - type?: Merge.filestorage.PermissionRequestType; + type?: Merge.fileStorage.PermissionRequestType; /** The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. */ - roles?: (Merge.filestorage.PermissionRequestRolesItem | undefined)[]; + roles?: (Merge.fileStorage.PermissionRequestRolesItem | undefined)[]; integrationParams?: Record; linkedAccountParams?: Record; } diff --git a/src/api/resources/filestorage/types/PermissionRequestGroup.ts b/src/api/resources/fileStorage/types/PermissionRequestGroup.ts similarity index 77% rename from src/api/resources/filestorage/types/PermissionRequestGroup.ts rename to src/api/resources/fileStorage/types/PermissionRequestGroup.ts index fa0c9c161..021e74140 100644 --- a/src/api/resources/filestorage/types/PermissionRequestGroup.ts +++ b/src/api/resources/fileStorage/types/PermissionRequestGroup.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The group that is granted this permission. This will only be populated if the type is `GROUP`. */ -export type PermissionRequestGroup = string | Merge.filestorage.Group; +export type PermissionRequestGroup = string | Merge.fileStorage.Group; diff --git a/src/api/resources/filestorage/types/PermissionRequestRolesItem.ts b/src/api/resources/fileStorage/types/PermissionRequestRolesItem.ts similarity index 80% rename from src/api/resources/filestorage/types/PermissionRequestRolesItem.ts rename to src/api/resources/fileStorage/types/PermissionRequestRolesItem.ts index 73740bbe5..63a5ad6fa 100644 --- a/src/api/resources/filestorage/types/PermissionRequestRolesItem.ts +++ b/src/api/resources/fileStorage/types/PermissionRequestRolesItem.ts @@ -9,4 +9,4 @@ import type * as Merge from "../../../index"; * * `WRITE` - WRITE * * `OWNER` - OWNER */ -export type PermissionRequestRolesItem = Merge.filestorage.RolesEnum | string; +export type PermissionRequestRolesItem = Merge.fileStorage.RolesEnum | string; diff --git a/src/api/resources/filestorage/types/PermissionRequestType.ts b/src/api/resources/fileStorage/types/PermissionRequestType.ts similarity index 81% rename from src/api/resources/filestorage/types/PermissionRequestType.ts rename to src/api/resources/fileStorage/types/PermissionRequestType.ts index 696c0d618..dfb93ea08 100644 --- a/src/api/resources/filestorage/types/PermissionRequestType.ts +++ b/src/api/resources/fileStorage/types/PermissionRequestType.ts @@ -10,4 +10,4 @@ import type * as Merge from "../../../index"; * * `COMPANY` - COMPANY * * `ANYONE` - ANYONE */ -export type PermissionRequestType = Merge.filestorage.TypeEnum | string; +export type PermissionRequestType = Merge.fileStorage.TypeEnum | string; diff --git a/src/api/resources/filestorage/types/PermissionRequestUser.ts b/src/api/resources/fileStorage/types/PermissionRequestUser.ts similarity index 77% rename from src/api/resources/filestorage/types/PermissionRequestUser.ts rename to src/api/resources/fileStorage/types/PermissionRequestUser.ts index 5618e6f8e..43fb065fc 100644 --- a/src/api/resources/filestorage/types/PermissionRequestUser.ts +++ b/src/api/resources/fileStorage/types/PermissionRequestUser.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The user that is granted this permission. This will only be populated if the type is `USER`. */ -export type PermissionRequestUser = string | Merge.filestorage.User; +export type PermissionRequestUser = string | Merge.fileStorage.User; diff --git a/src/api/resources/filestorage/types/PermissionRolesItem.ts b/src/api/resources/fileStorage/types/PermissionRolesItem.ts similarity index 80% rename from src/api/resources/filestorage/types/PermissionRolesItem.ts rename to src/api/resources/fileStorage/types/PermissionRolesItem.ts index 2fdd667ea..7509ca8cc 100644 --- a/src/api/resources/filestorage/types/PermissionRolesItem.ts +++ b/src/api/resources/fileStorage/types/PermissionRolesItem.ts @@ -9,4 +9,4 @@ import type * as Merge from "../../../index"; * * `WRITE` - WRITE * * `OWNER` - OWNER */ -export type PermissionRolesItem = Merge.filestorage.RolesEnum | string; +export type PermissionRolesItem = Merge.fileStorage.RolesEnum | string; diff --git a/src/api/resources/filestorage/types/PermissionType.ts b/src/api/resources/fileStorage/types/PermissionType.ts similarity index 80% rename from src/api/resources/filestorage/types/PermissionType.ts rename to src/api/resources/fileStorage/types/PermissionType.ts index 51523fbff..b47484955 100644 --- a/src/api/resources/filestorage/types/PermissionType.ts +++ b/src/api/resources/fileStorage/types/PermissionType.ts @@ -10,4 +10,4 @@ import type * as Merge from "../../../index"; * * `COMPANY` - COMPANY * * `ANYONE` - ANYONE */ -export type PermissionType = Merge.filestorage.TypeEnum | string; +export type PermissionType = Merge.fileStorage.TypeEnum | string; diff --git a/src/api/resources/filestorage/types/PermissionUser.ts b/src/api/resources/fileStorage/types/PermissionUser.ts similarity index 77% rename from src/api/resources/filestorage/types/PermissionUser.ts rename to src/api/resources/fileStorage/types/PermissionUser.ts index dc86a3cd8..975dad039 100644 --- a/src/api/resources/filestorage/types/PermissionUser.ts +++ b/src/api/resources/fileStorage/types/PermissionUser.ts @@ -5,4 +5,4 @@ import type * as Merge from "../../../index"; /** * The user that is granted this permission. This will only be populated if the type is `USER`. */ -export type PermissionUser = string | Merge.filestorage.User; +export type PermissionUser = string | Merge.fileStorage.User; diff --git a/src/api/resources/filestorage/types/RemoteData.ts b/src/api/resources/fileStorage/types/RemoteData.ts similarity index 100% rename from src/api/resources/filestorage/types/RemoteData.ts rename to src/api/resources/fileStorage/types/RemoteData.ts diff --git a/src/api/resources/filestorage/types/RemoteEndpointInfo.ts b/src/api/resources/fileStorage/types/RemoteEndpointInfo.ts similarity index 100% rename from src/api/resources/filestorage/types/RemoteEndpointInfo.ts rename to src/api/resources/fileStorage/types/RemoteEndpointInfo.ts diff --git a/src/api/resources/filestorage/types/RemoteFieldApi.ts b/src/api/resources/fileStorage/types/RemoteFieldApi.ts similarity index 57% rename from src/api/resources/filestorage/types/RemoteFieldApi.ts rename to src/api/resources/fileStorage/types/RemoteFieldApi.ts index 5b40dc8ac..d84ee0016 100644 --- a/src/api/resources/filestorage/types/RemoteFieldApi.ts +++ b/src/api/resources/fileStorage/types/RemoteFieldApi.ts @@ -5,8 +5,8 @@ import type * as Merge from "../../../index"; export interface RemoteFieldApi { schema: Record; remoteKeyName: string; - remoteEndpointInfo: Merge.filestorage.RemoteEndpointInfo; + remoteEndpointInfo: Merge.fileStorage.RemoteEndpointInfo; exampleValues?: unknown[]; - advancedMetadata?: Merge.filestorage.AdvancedMetadata; - coverage?: Merge.filestorage.RemoteFieldApiCoverage; + advancedMetadata?: Merge.fileStorage.AdvancedMetadata; + coverage?: Merge.fileStorage.RemoteFieldApiCoverage; } diff --git a/src/api/resources/filestorage/types/RemoteFieldApiCoverage.ts b/src/api/resources/fileStorage/types/RemoteFieldApiCoverage.ts similarity index 100% rename from src/api/resources/filestorage/types/RemoteFieldApiCoverage.ts rename to src/api/resources/fileStorage/types/RemoteFieldApiCoverage.ts diff --git a/src/api/resources/fileStorage/types/RemoteFieldApiResponse.ts b/src/api/resources/fileStorage/types/RemoteFieldApiResponse.ts new file mode 100644 index 000000000..72b4ad1db --- /dev/null +++ b/src/api/resources/fileStorage/types/RemoteFieldApiResponse.ts @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export interface RemoteFieldApiResponse { + file?: Merge.fileStorage.RemoteFieldApi[]; + folder?: Merge.fileStorage.RemoteFieldApi[]; + drive?: Merge.fileStorage.RemoteFieldApi[]; + group?: Merge.fileStorage.RemoteFieldApi[]; + user?: Merge.fileStorage.RemoteFieldApi[]; +} diff --git a/src/api/resources/filestorage/types/RemoteKey.ts b/src/api/resources/fileStorage/types/RemoteKey.ts similarity index 100% rename from src/api/resources/filestorage/types/RemoteKey.ts rename to src/api/resources/fileStorage/types/RemoteKey.ts diff --git a/src/api/resources/filestorage/types/RemoteResponse.ts b/src/api/resources/fileStorage/types/RemoteResponse.ts similarity index 89% rename from src/api/resources/filestorage/types/RemoteResponse.ts rename to src/api/resources/fileStorage/types/RemoteResponse.ts index e026d3641..3381930a8 100644 --- a/src/api/resources/filestorage/types/RemoteResponse.ts +++ b/src/api/resources/fileStorage/types/RemoteResponse.ts @@ -16,6 +16,6 @@ export interface RemoteResponse { status: number; response?: unknown; responseHeaders?: Record; - responseType?: Merge.filestorage.ResponseTypeEnum; + responseType?: Merge.fileStorage.RemoteResponseResponseType; headers?: Record; } diff --git a/src/api/resources/fileStorage/types/RemoteResponseResponseType.ts b/src/api/resources/fileStorage/types/RemoteResponseResponseType.ts new file mode 100644 index 000000000..bf9b5c400 --- /dev/null +++ b/src/api/resources/fileStorage/types/RemoteResponseResponseType.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../index"; + +export type RemoteResponseResponseType = Merge.fileStorage.ResponseTypeEnum | string; diff --git a/src/api/resources/filestorage/types/RequestFormatEnum.ts b/src/api/resources/fileStorage/types/RequestFormatEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/RequestFormatEnum.ts rename to src/api/resources/fileStorage/types/RequestFormatEnum.ts diff --git a/src/api/resources/filestorage/types/ResponseTypeEnum.ts b/src/api/resources/fileStorage/types/ResponseTypeEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/ResponseTypeEnum.ts rename to src/api/resources/fileStorage/types/ResponseTypeEnum.ts diff --git a/src/api/resources/filestorage/types/RoleEnum.ts b/src/api/resources/fileStorage/types/RoleEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/RoleEnum.ts rename to src/api/resources/fileStorage/types/RoleEnum.ts diff --git a/src/api/resources/filestorage/types/RolesEnum.ts b/src/api/resources/fileStorage/types/RolesEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/RolesEnum.ts rename to src/api/resources/fileStorage/types/RolesEnum.ts diff --git a/src/api/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/api/resources/fileStorage/types/SelectiveSyncConfigurationsUsageEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts rename to src/api/resources/fileStorage/types/SelectiveSyncConfigurationsUsageEnum.ts diff --git a/src/api/resources/filestorage/types/StatusFd5Enum.ts b/src/api/resources/fileStorage/types/StatusFd5Enum.ts similarity index 100% rename from src/api/resources/filestorage/types/StatusFd5Enum.ts rename to src/api/resources/fileStorage/types/StatusFd5Enum.ts diff --git a/src/api/resources/filestorage/types/SyncStatus.ts b/src/api/resources/fileStorage/types/SyncStatus.ts similarity index 76% rename from src/api/resources/filestorage/types/SyncStatus.ts rename to src/api/resources/fileStorage/types/SyncStatus.ts index c021b9b82..c5fa76ef3 100644 --- a/src/api/resources/filestorage/types/SyncStatus.ts +++ b/src/api/resources/fileStorage/types/SyncStatus.ts @@ -15,9 +15,9 @@ export interface SyncStatus { modelId: string; lastSyncStart?: Date; nextSyncStart?: Date; - lastSyncResult?: Merge.filestorage.SyncStatusLastSyncResult; + lastSyncResult?: Merge.fileStorage.SyncStatusLastSyncResult; lastSyncFinished?: Date; - status: Merge.filestorage.StatusFd5Enum; + status: Merge.fileStorage.SyncStatusStatus; isInitialSync: boolean; - selectiveSyncConfigurationsUsage?: Merge.filestorage.SelectiveSyncConfigurationsUsageEnum; + selectiveSyncConfigurationsUsage?: Merge.fileStorage.SelectiveSyncConfigurationsUsageEnum; } diff --git a/src/api/resources/filestorage/types/SyncStatusLastSyncResult.ts b/src/api/resources/fileStorage/types/SyncStatusLastSyncResult.ts similarity index 67% rename from src/api/resources/filestorage/types/SyncStatusLastSyncResult.ts rename to src/api/resources/fileStorage/types/SyncStatusLastSyncResult.ts index 13cab1440..a49f388cf 100644 --- a/src/api/resources/filestorage/types/SyncStatusLastSyncResult.ts +++ b/src/api/resources/fileStorage/types/SyncStatusLastSyncResult.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type SyncStatusLastSyncResult = Merge.filestorage.LastSyncResultEnum | string; +export type SyncStatusLastSyncResult = Merge.fileStorage.LastSyncResultEnum | string; diff --git a/src/api/resources/accounting/types/ExpenseReportLineAccount.ts b/src/api/resources/fileStorage/types/SyncStatusStatus.ts similarity index 60% rename from src/api/resources/accounting/types/ExpenseReportLineAccount.ts rename to src/api/resources/fileStorage/types/SyncStatusStatus.ts index 5f17a21fe..6600eea9e 100644 --- a/src/api/resources/accounting/types/ExpenseReportLineAccount.ts +++ b/src/api/resources/fileStorage/types/SyncStatusStatus.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type ExpenseReportLineAccount = string | Merge.accounting.Account; +export type SyncStatusStatus = Merge.fileStorage.StatusFd5Enum | string; diff --git a/src/api/resources/filestorage/types/TypeEnum.ts b/src/api/resources/fileStorage/types/TypeEnum.ts similarity index 100% rename from src/api/resources/filestorage/types/TypeEnum.ts rename to src/api/resources/fileStorage/types/TypeEnum.ts diff --git a/src/api/resources/filestorage/types/User.ts b/src/api/resources/fileStorage/types/User.ts similarity index 96% rename from src/api/resources/filestorage/types/User.ts rename to src/api/resources/fileStorage/types/User.ts index 6c5fa2924..5573be559 100644 --- a/src/api/resources/filestorage/types/User.ts +++ b/src/api/resources/fileStorage/types/User.ts @@ -26,5 +26,5 @@ export interface User { /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; - remoteData?: Merge.filestorage.RemoteData[]; + remoteData?: Merge.fileStorage.RemoteData[]; } diff --git a/src/api/resources/filestorage/types/ValidationProblemSource.ts b/src/api/resources/fileStorage/types/ValidationProblemSource.ts similarity index 100% rename from src/api/resources/filestorage/types/ValidationProblemSource.ts rename to src/api/resources/fileStorage/types/ValidationProblemSource.ts diff --git a/src/api/resources/filestorage/types/WarningValidationProblem.ts b/src/api/resources/fileStorage/types/WarningValidationProblem.ts similarity index 79% rename from src/api/resources/filestorage/types/WarningValidationProblem.ts rename to src/api/resources/fileStorage/types/WarningValidationProblem.ts index 1e0e6b013..2cc998b5c 100644 --- a/src/api/resources/filestorage/types/WarningValidationProblem.ts +++ b/src/api/resources/fileStorage/types/WarningValidationProblem.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../index"; export interface WarningValidationProblem { - source?: Merge.filestorage.ValidationProblemSource; + source?: Merge.fileStorage.ValidationProblemSource; title: string; detail: string; problemType: string; diff --git a/src/api/resources/filestorage/types/WebhookReceiver.ts b/src/api/resources/fileStorage/types/WebhookReceiver.ts similarity index 100% rename from src/api/resources/filestorage/types/WebhookReceiver.ts rename to src/api/resources/fileStorage/types/WebhookReceiver.ts diff --git a/src/serialization/resources/filestorage/types/index.ts b/src/api/resources/fileStorage/types/index.ts similarity index 91% rename from src/serialization/resources/filestorage/types/index.ts rename to src/api/resources/fileStorage/types/index.ts index 80763bb71..167814e8e 100644 --- a/src/serialization/resources/filestorage/types/index.ts +++ b/src/api/resources/fileStorage/types/index.ts @@ -1,7 +1,10 @@ export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; +export * from "./AccountDetailsAndActionsCategory"; export * from "./AccountDetailsAndActionsIntegration"; +export * from "./AccountDetailsAndActionsStatus"; export * from "./AccountDetailsAndActionsStatusEnum"; +export * from "./AccountDetailsCategory"; export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AdvancedMetadata"; @@ -37,24 +40,24 @@ export * from "./File_"; export * from "./FileDrive"; export * from "./FileFolder"; export * from "./FilePermissions"; -export * from "./FilePermissionsItem"; +export * from "./FilePermissionsTwoItem"; export * from "./FileRequest"; export * from "./FileRequestDrive"; export * from "./FileRequestFolder"; export * from "./FileRequestPermissions"; -export * from "./FileRequestPermissionsItem"; +export * from "./FileRequestPermissionsTwoItem"; export * from "./FileStorageFileResponse"; export * from "./FileStorageFolderResponse"; export * from "./Folder"; export * from "./FolderDrive"; export * from "./FolderParentFolder"; export * from "./FolderPermissions"; -export * from "./FolderPermissionsItem"; +export * from "./FolderPermissionsTwoItem"; export * from "./FolderRequest"; export * from "./FolderRequestDrive"; export * from "./FolderRequestParentFolder"; export * from "./FolderRequestPermissions"; -export * from "./FolderRequestPermissionsItem"; +export * from "./FolderRequestPermissionsTwoItem"; export * from "./Group"; export * from "./GroupChildGroupsItem"; export * from "./IndividualCommonModelScopeDeserializer"; @@ -100,6 +103,7 @@ export * from "./RemoteFieldApiCoverage"; export * from "./RemoteFieldApiResponse"; export * from "./RemoteKey"; export * from "./RemoteResponse"; +export * from "./RemoteResponseResponseType"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./RoleEnum"; @@ -108,6 +112,7 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; export * from "./SyncStatusLastSyncResult"; +export * from "./SyncStatusStatus"; export * from "./TypeEnum"; export * from "./User"; export * from "./ValidationProblemSource"; diff --git a/src/api/resources/filestorage/resources/auditTrail/client/Client.ts b/src/api/resources/filestorage/resources/auditTrail/client/Client.ts deleted file mode 100644 index 4f7c365f0..000000000 --- a/src/api/resources/filestorage/resources/auditTrail/client/Client.ts +++ /dev/null @@ -1,108 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace AuditTrailClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class AuditTrailClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: AuditTrailClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * Gets a list of audit trail events. - * - * @param {Merge.filestorage.AuditTrailListRequest} request - * @param {AuditTrailClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.auditTrail.list({ - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * endDate: "end_date", - * eventType: "event_type", - * pageSize: 1, - * startDate: "start_date", - * userEmail: "user_email" - * }) - */ - public list( - request: Merge.filestorage.AuditTrailListRequest = {}, - requestOptions?: AuditTrailClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.AuditTrailListRequest = {}, - requestOptions?: AuditTrailClient.RequestOptions, - ): Promise> { - const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams: Record = { - cursor, - end_date: endDate, - event_type: eventType, - page_size: pageSize, - start_date: startDate, - user_email: userEmail, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/audit-trail", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedAuditLogEventList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/audit-trail"); - } -} diff --git a/src/api/resources/filestorage/resources/drives/client/Client.ts b/src/api/resources/filestorage/resources/drives/client/Client.ts deleted file mode 100644 index 3bbd02557..000000000 --- a/src/api/resources/filestorage/resources/drives/client/Client.ts +++ /dev/null @@ -1,208 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace DrivesClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class DrivesClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: DrivesClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * Returns a list of `Drive` objects. - * - * @param {Merge.filestorage.DrivesListRequest} request - * @param {DrivesClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.drives.list({ - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * includeDeletedData: true, - * includeRemoteData: true, - * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * name: "name", - * pageSize: 1, - * remoteId: "remote_id" - * }) - */ - public list( - request: Merge.filestorage.DrivesListRequest = {}, - requestOptions?: DrivesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.DrivesListRequest = {}, - requestOptions?: DrivesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/drives", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedDriveList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/drives"); - } - - /** - * Returns a `Drive` object with the given `id`. - * - * @param {string} id - * @param {Merge.filestorage.DrivesRetrieveRequest} request - * @param {DrivesClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.drives.retrieve("id", { - * includeRemoteData: true, - * includeShellData: true - * }) - */ - public retrieve( - id: string, - request: Merge.filestorage.DrivesRetrieveRequest = {}, - requestOptions?: DrivesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); - } - - private async __retrieve( - id: string, - request: Merge.filestorage.DrivesRetrieveRequest = {}, - requestOptions?: DrivesClient.RequestOptions, - ): Promise> { - const { includeRemoteData, includeShellData } = request; - const _queryParams: Record = { - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `filestorage/v1/drives/${core.url.encodePathParam(id)}`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.Drive.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/drives/{id}"); - } -} diff --git a/src/api/resources/filestorage/resources/files/types/FilesListRequestExpand.ts b/src/api/resources/filestorage/resources/files/types/FilesListRequestExpand.ts deleted file mode 100644 index 60920c212..000000000 --- a/src/api/resources/filestorage/resources/files/types/FilesListRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const FilesListRequestExpand = { - Drive: "drive", - Folder: "folder", - FolderDrive: "folder,drive", - Permissions: "permissions", - PermissionsDrive: "permissions,drive", - PermissionsFolder: "permissions,folder", - PermissionsFolderDrive: "permissions,folder,drive", -} as const; -export type FilesListRequestExpand = (typeof FilesListRequestExpand)[keyof typeof FilesListRequestExpand]; diff --git a/src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts b/src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts deleted file mode 100644 index 7c07b6e42..000000000 --- a/src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const FilesRetrieveRequestExpand = { - Drive: "drive", - Folder: "folder", - FolderDrive: "folder,drive", - Permissions: "permissions", - PermissionsDrive: "permissions,drive", - PermissionsFolder: "permissions,folder", - PermissionsFolderDrive: "permissions,folder,drive", -} as const; -export type FilesRetrieveRequestExpand = (typeof FilesRetrieveRequestExpand)[keyof typeof FilesRetrieveRequestExpand]; diff --git a/src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts b/src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts deleted file mode 100644 index d1cb693c1..000000000 --- a/src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const FoldersListRequestExpand = { - Drive: "drive", - ParentFolder: "parent_folder", - ParentFolderDrive: "parent_folder,drive", - Permissions: "permissions", - PermissionsDrive: "permissions,drive", - PermissionsParentFolder: "permissions,parent_folder", - PermissionsParentFolderDrive: "permissions,parent_folder,drive", -} as const; -export type FoldersListRequestExpand = (typeof FoldersListRequestExpand)[keyof typeof FoldersListRequestExpand]; diff --git a/src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts b/src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts deleted file mode 100644 index 874ae2608..000000000 --- a/src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const FoldersRetrieveRequestExpand = { - Drive: "drive", - ParentFolder: "parent_folder", - ParentFolderDrive: "parent_folder,drive", - Permissions: "permissions", - PermissionsDrive: "permissions,drive", - PermissionsParentFolder: "permissions,parent_folder", - PermissionsParentFolderDrive: "permissions,parent_folder,drive", -} as const; -export type FoldersRetrieveRequestExpand = - (typeof FoldersRetrieveRequestExpand)[keyof typeof FoldersRetrieveRequestExpand]; diff --git a/src/api/resources/filestorage/resources/folders/types/index.ts b/src/api/resources/filestorage/resources/folders/types/index.ts deleted file mode 100644 index 855f5754e..000000000 --- a/src/api/resources/filestorage/resources/folders/types/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./FoldersListRequestExpand"; -export * from "./FoldersRetrieveRequestExpand"; diff --git a/src/api/resources/filestorage/resources/groups/client/Client.ts b/src/api/resources/filestorage/resources/groups/client/Client.ts deleted file mode 100644 index 8a65f4605..000000000 --- a/src/api/resources/filestorage/resources/groups/client/Client.ts +++ /dev/null @@ -1,210 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace GroupsClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class GroupsClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: GroupsClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * Returns a list of `Group` objects. - * - * @param {Merge.filestorage.GroupsListRequest} request - * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.groups.list({ - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "child_groups", - * includeDeletedData: true, - * includeRemoteData: true, - * includeShellData: true, - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" - * }) - */ - public list( - request: Merge.filestorage.GroupsListRequest = {}, - requestOptions?: GroupsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.GroupsListRequest = {}, - requestOptions?: GroupsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/groups", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedGroupList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/groups"); - } - - /** - * Returns a `Group` object with the given `id`. - * - * @param {string} id - * @param {Merge.filestorage.GroupsRetrieveRequest} request - * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.groups.retrieve("id", { - * expand: "child_groups", - * includeRemoteData: true, - * includeShellData: true - * }) - */ - public retrieve( - id: string, - request: Merge.filestorage.GroupsRetrieveRequest = {}, - requestOptions?: GroupsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); - } - - private async __retrieve( - id: string, - request: Merge.filestorage.GroupsRetrieveRequest = {}, - requestOptions?: GroupsClient.RequestOptions, - ): Promise> { - const { expand, includeRemoteData, includeShellData } = request; - const _queryParams: Record = { - expand: expand != null ? expand : undefined, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `filestorage/v1/groups/${core.url.encodePathParam(id)}`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.Group.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/groups/{id}"); - } -} diff --git a/src/api/resources/filestorage/resources/issues/client/Client.ts b/src/api/resources/filestorage/resources/issues/client/Client.ts deleted file mode 100644 index b3e3be0a9..000000000 --- a/src/api/resources/filestorage/resources/issues/client/Client.ts +++ /dev/null @@ -1,211 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace IssuesClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class IssuesClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: IssuesClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * Gets all issues for Organization. - * - * @param {Merge.filestorage.IssuesListRequest} request - * @param {IssuesClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.issues.list({ - * accountToken: "account_token", - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * endDate: "end_date", - * endUserOrganizationName: "end_user_organization_name", - * firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - * firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - * includeMuted: "include_muted", - * integrationName: "integration_name", - * lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - * lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - * linkedAccountId: "linked_account_id", - * pageSize: 1, - * startDate: "start_date", - * status: "ONGOING" - * }) - */ - public list( - request: Merge.filestorage.IssuesListRequest = {}, - requestOptions?: IssuesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.IssuesListRequest = {}, - requestOptions?: IssuesClient.RequestOptions, - ): Promise> { - const { - accountToken, - cursor, - endDate, - endUserOrganizationName, - firstIncidentTimeAfter, - firstIncidentTimeBefore, - includeMuted, - integrationName, - lastIncidentTimeAfter, - lastIncidentTimeBefore, - linkedAccountId, - pageSize, - startDate, - status, - } = request; - const _queryParams: Record = { - account_token: accountToken, - cursor, - end_date: endDate, - end_user_organization_name: endUserOrganizationName, - first_incident_time_after: firstIncidentTimeAfter?.toISOString(), - first_incident_time_before: firstIncidentTimeBefore?.toISOString(), - include_muted: includeMuted, - integration_name: integrationName, - last_incident_time_after: lastIncidentTimeAfter?.toISOString(), - last_incident_time_before: lastIncidentTimeBefore?.toISOString(), - linked_account_id: linkedAccountId, - page_size: pageSize, - start_date: startDate, - status: - status != null - ? serializers.filestorage.IssuesListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/issues", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedIssueList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/issues"); - } - - /** - * Get a specific issue. - * - * @param {string} id - * @param {IssuesClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.issues.retrieve("id") - */ - public retrieve( - id: string, - requestOptions?: IssuesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__retrieve(id, requestOptions)); - } - - private async __retrieve( - id: string, - requestOptions?: IssuesClient.RequestOptions, - ): Promise> { - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `filestorage/v1/issues/${core.url.encodePathParam(id)}`, - ), - method: "GET", - headers: _headers, - queryParameters: requestOptions?.queryParams, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.Issue.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/issues/{id}"); - } -} diff --git a/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts b/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts deleted file mode 100644 index 095f40be9..000000000 --- a/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts +++ /dev/null @@ -1,146 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace LinkedAccountsClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class LinkedAccountsClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: LinkedAccountsClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * List linked accounts for your organization. - * - * @param {Merge.filestorage.LinkedAccountsListRequest} request - * @param {LinkedAccountsClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.linkedAccounts.list({ - * category: "accounting", - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * endUserEmailAddress: "end_user_email_address", - * endUserOrganizationName: "end_user_organization_name", - * endUserOriginId: "end_user_origin_id", - * endUserOriginIds: "end_user_origin_ids", - * id: "id", - * ids: "ids", - * includeDuplicates: true, - * integrationName: "integration_name", - * isTestAccount: "is_test_account", - * pageSize: 1, - * status: "status" - * }) - */ - public list( - request: Merge.filestorage.LinkedAccountsListRequest = {}, - requestOptions?: LinkedAccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.LinkedAccountsListRequest = {}, - requestOptions?: LinkedAccountsClient.RequestOptions, - ): Promise> { - const { - category, - cursor, - endUserEmailAddress, - endUserOrganizationName, - endUserOriginId, - endUserOriginIds, - id, - ids, - includeDuplicates, - integrationName, - isTestAccount, - pageSize, - status, - } = request; - const _queryParams: Record = { - category: - category != null - ? serializers.filestorage.LinkedAccountsListRequestCategory.jsonOrThrow(category, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - cursor, - end_user_email_address: endUserEmailAddress, - end_user_organization_name: endUserOrganizationName, - end_user_origin_id: endUserOriginId, - end_user_origin_ids: endUserOriginIds, - id, - ids, - include_duplicates: includeDuplicates, - integration_name: integrationName, - is_test_account: isTestAccount, - page_size: pageSize, - status, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/linked-accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/filestorage/v1/linked-accounts", - ); - } -} diff --git a/src/api/resources/filestorage/resources/syncStatus/client/Client.ts b/src/api/resources/filestorage/resources/syncStatus/client/Client.ts deleted file mode 100644 index cd6ed0da4..000000000 --- a/src/api/resources/filestorage/resources/syncStatus/client/Client.ts +++ /dev/null @@ -1,100 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace SyncStatusClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class SyncStatusClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: SyncStatusClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - * - * @param {Merge.filestorage.SyncStatusListRequest} request - * @param {SyncStatusClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.syncStatus.list({ - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * pageSize: 1 - * }) - */ - public list( - request: Merge.filestorage.SyncStatusListRequest = {}, - requestOptions?: SyncStatusClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.SyncStatusListRequest = {}, - requestOptions?: SyncStatusClient.RequestOptions, - ): Promise> { - const { cursor, pageSize } = request; - const _queryParams: Record = { - cursor, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/sync-status", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedSyncStatusList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/sync-status"); - } -} diff --git a/src/api/resources/filestorage/resources/users/client/Client.ts b/src/api/resources/filestorage/resources/users/client/Client.ts deleted file mode 100644 index a831193c8..000000000 --- a/src/api/resources/filestorage/resources/users/client/Client.ts +++ /dev/null @@ -1,208 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient"; -import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../../../BaseClient"; -import * as core from "../../../../../../core"; -import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers"; -import * as environments from "../../../../../../environments"; -import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError"; -import * as errors from "../../../../../../errors/index"; -import * as serializers from "../../../../../../serialization/index"; -import type * as Merge from "../../../../../index"; - -export declare namespace UsersClient { - export type Options = BaseClientOptions; - - export interface RequestOptions extends BaseRequestOptions {} -} - -export class UsersClient { - protected readonly _options: NormalizedClientOptionsWithAuth; - - constructor(options: UsersClient.Options) { - this._options = normalizeClientOptionsWithAuth(options); - } - - /** - * Returns a list of `User` objects. - * - * @param {Merge.filestorage.UsersListRequest} request - * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.users.list({ - * createdAfter: new Date("2024-01-15T09:30:00.000Z"), - * createdBefore: new Date("2024-01-15T09:30:00.000Z"), - * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * includeDeletedData: true, - * includeRemoteData: true, - * includeShellData: true, - * isMe: "is_me", - * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - * pageSize: 1, - * remoteId: "remote_id" - * }) - */ - public list( - request: Merge.filestorage.UsersListRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.filestorage.UsersListRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isMe, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_me: isMe, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "filestorage/v1/users", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.PaginatedUserList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/users"); - } - - /** - * Returns a `User` object with the given `id`. - * - * @param {string} id - * @param {Merge.filestorage.UsersRetrieveRequest} request - * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.filestorage.users.retrieve("id", { - * includeRemoteData: true, - * includeShellData: true - * }) - */ - public retrieve( - id: string, - request: Merge.filestorage.UsersRetrieveRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__retrieve(id, request, requestOptions)); - } - - private async __retrieve( - id: string, - request: Merge.filestorage.UsersRetrieveRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): Promise> { - const { includeRemoteData, includeShellData } = request; - const _queryParams: Record = { - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, - ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `filestorage/v1/users/${core.url.encodePathParam(id)}`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, - }); - if (_response.ok) { - return { - data: serializers.filestorage.User.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/filestorage/v1/users/{id}"); - } -} diff --git a/src/api/resources/filestorage/types/ExternalTargetFieldApiResponse.ts b/src/api/resources/filestorage/types/ExternalTargetFieldApiResponse.ts deleted file mode 100644 index 2f45f7f54..000000000 --- a/src/api/resources/filestorage/types/ExternalTargetFieldApiResponse.ts +++ /dev/null @@ -1,11 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface ExternalTargetFieldApiResponse { - file?: Merge.filestorage.ExternalTargetFieldApi[]; - folder?: Merge.filestorage.ExternalTargetFieldApi[]; - drive?: Merge.filestorage.ExternalTargetFieldApi[]; - group?: Merge.filestorage.ExternalTargetFieldApi[]; - user?: Merge.filestorage.ExternalTargetFieldApi[]; -} diff --git a/src/api/resources/filestorage/types/FieldMappingApiInstanceResponse.ts b/src/api/resources/filestorage/types/FieldMappingApiInstanceResponse.ts deleted file mode 100644 index 156d60610..000000000 --- a/src/api/resources/filestorage/types/FieldMappingApiInstanceResponse.ts +++ /dev/null @@ -1,11 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface FieldMappingApiInstanceResponse { - file?: Merge.filestorage.FieldMappingApiInstance[]; - folder?: Merge.filestorage.FieldMappingApiInstance[]; - drive?: Merge.filestorage.FieldMappingApiInstance[]; - group?: Merge.filestorage.FieldMappingApiInstance[]; - user?: Merge.filestorage.FieldMappingApiInstance[]; -} diff --git a/src/api/resources/filestorage/types/FieldMappingInstanceResponse.ts b/src/api/resources/filestorage/types/FieldMappingInstanceResponse.ts deleted file mode 100644 index c30084636..000000000 --- a/src/api/resources/filestorage/types/FieldMappingInstanceResponse.ts +++ /dev/null @@ -1,10 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface FieldMappingInstanceResponse { - model: Merge.filestorage.FieldMappingApiInstance; - warnings: Merge.filestorage.WarningValidationProblem[]; - errors: Merge.filestorage.ErrorValidationProblem[]; - logs?: Merge.filestorage.DebugModeLog[]; -} diff --git a/src/api/resources/filestorage/types/FilePermissionsItem.ts b/src/api/resources/filestorage/types/FilePermissionsItem.ts deleted file mode 100644 index a69603433..000000000 --- a/src/api/resources/filestorage/types/FilePermissionsItem.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * A single permission item that can be either a UUID reference or a full Permission object. - */ -export type FilePermissionsItem = string | Merge.filestorage.Permission; diff --git a/src/api/resources/filestorage/types/FileRequestPermissionsItem.ts b/src/api/resources/filestorage/types/FileRequestPermissionsItem.ts deleted file mode 100644 index f61fa97df..000000000 --- a/src/api/resources/filestorage/types/FileRequestPermissionsItem.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * A single permission item for requests that can be either a UUID reference or a full PermissionRequest object. - */ -export type FileRequestPermissionsItem = string | Merge.filestorage.PermissionRequest; diff --git a/src/api/resources/filestorage/types/FileStorageFileResponse.ts b/src/api/resources/filestorage/types/FileStorageFileResponse.ts deleted file mode 100644 index cd50d58dd..000000000 --- a/src/api/resources/filestorage/types/FileStorageFileResponse.ts +++ /dev/null @@ -1,10 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface FileStorageFileResponse { - model: Merge.filestorage.File_; - warnings: Merge.filestorage.WarningValidationProblem[]; - errors: Merge.filestorage.ErrorValidationProblem[]; - logs?: Merge.filestorage.DebugModeLog[]; -} diff --git a/src/api/resources/filestorage/types/FileStorageFolderResponse.ts b/src/api/resources/filestorage/types/FileStorageFolderResponse.ts deleted file mode 100644 index 4d8d7e44c..000000000 --- a/src/api/resources/filestorage/types/FileStorageFolderResponse.ts +++ /dev/null @@ -1,10 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface FileStorageFolderResponse { - model: Merge.filestorage.Folder; - warnings: Merge.filestorage.WarningValidationProblem[]; - errors: Merge.filestorage.ErrorValidationProblem[]; - logs?: Merge.filestorage.DebugModeLog[]; -} diff --git a/src/api/resources/filestorage/types/FolderPermissionsItem.ts b/src/api/resources/filestorage/types/FolderPermissionsItem.ts deleted file mode 100644 index f2e61583f..000000000 --- a/src/api/resources/filestorage/types/FolderPermissionsItem.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * A single permission item that can be either a UUID reference or a full Permission object. - */ -export type FolderPermissionsItem = string | Merge.filestorage.Permission; diff --git a/src/api/resources/filestorage/types/FolderRequestPermissionsItem.ts b/src/api/resources/filestorage/types/FolderRequestPermissionsItem.ts deleted file mode 100644 index 6624bf89c..000000000 --- a/src/api/resources/filestorage/types/FolderRequestPermissionsItem.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * A single permission item for requests that can be either a UUID reference or a full PermissionRequest object. - */ -export type FolderRequestPermissionsItem = string | Merge.filestorage.PermissionRequest; diff --git a/src/api/resources/filestorage/types/RemoteFieldApiResponse.ts b/src/api/resources/filestorage/types/RemoteFieldApiResponse.ts deleted file mode 100644 index 82c1d1d10..000000000 --- a/src/api/resources/filestorage/types/RemoteFieldApiResponse.ts +++ /dev/null @@ -1,11 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export interface RemoteFieldApiResponse { - file?: Merge.filestorage.RemoteFieldApi[]; - folder?: Merge.filestorage.RemoteFieldApi[]; - drive?: Merge.filestorage.RemoteFieldApi[]; - group?: Merge.filestorage.RemoteFieldApi[]; - user?: Merge.filestorage.RemoteFieldApi[]; -} diff --git a/src/api/resources/hris/resources/auditTrail/client/Client.ts b/src/api/resources/hris/resources/auditTrail/client/Client.ts index 4a0832d33..553863619 100644 --- a/src/api/resources/hris/resources/auditTrail/client/Client.ts +++ b/src/api/resources/hris/resources/auditTrail/client/Client.ts @@ -39,70 +39,80 @@ export class AuditTrailClient { * userEmail: "user_email" * }) */ - public list( + public async list( request: Merge.hris.AuditTrailListRequest = {}, requestOptions?: AuditTrailClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.AuditTrailListRequest = {}, - requestOptions?: AuditTrailClient.RequestOptions, - ): Promise> { - const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams: Record = { - cursor, - end_date: endDate, - event_type: eventType, - page_size: pageSize, - start_date: startDate, - user_email: userEmail, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.AuditTrailListRequest, + ): Promise> => { + const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; + const _queryParams: Record = { + cursor, + end_date: endDate, + event_type: eventType, + page_size: pageSize, + start_date: startDate, + user_email: userEmail, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/audit-trail", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedAuditLogEventList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/audit-trail"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/audit-trail", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedAuditLogEventList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/audit-trail"); } } diff --git a/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts index 65216f96c..bc3a5b5df 100644 --- a/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -16,7 +16,7 @@ export interface AuditTrailListRequest { cursor?: string; /** If included, will only include audit trail events that occurred before this time */ endDate?: string; - /** If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` */ + /** If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` */ eventType?: string; /** Number of results to return per page. */ pageSize?: number; diff --git a/src/api/resources/hris/resources/bankInfo/client/Client.ts b/src/api/resources/hris/resources/bankInfo/client/Client.ts index 164117b86..23cf4e517 100644 --- a/src/api/resources/hris/resources/bankInfo/client/Client.ts +++ b/src/api/resources/hris/resources/bankInfo/client/Client.ts @@ -37,7 +37,6 @@ export class BankInfoClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -50,110 +49,120 @@ export class BankInfoClient { * showEnumOrigins: "account_type" * }) */ - public list( + public async list( request: Merge.hris.BankInfoListRequest = {}, requestOptions?: BankInfoClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.BankInfoListRequest = {}, - requestOptions?: BankInfoClient.RequestOptions, - ): Promise> { - const { - accountType, - bankName, - createdAfter, - createdBefore, - cursor, - employeeId, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - orderBy, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - account_type: - accountType != null - ? serializers.hris.BankInfoListRequestAccountType.jsonOrThrow(accountType, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - bank_name: bankName, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - order_by: - orderBy != null - ? serializers.hris.BankInfoListRequestOrderBy.jsonOrThrow(orderBy, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.BankInfoListRequest, + ): Promise> => { + const { + accountType, + bankName, + createdAfter, + createdBefore, + cursor, + employeeId, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + orderBy, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + account_type: + accountType != null + ? serializers.hris.BankInfoListRequestAccountType.jsonOrThrow(accountType, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + bank_name: bankName, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + employee_id: employeeId, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + order_by: + orderBy != null + ? serializers.hris.BankInfoListRequestOrderBy.jsonOrThrow(orderBy, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/bank-info", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedBankInfoList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/bank-info"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/bank-info", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedBankInfoList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/bank-info"); } /** @@ -165,7 +174,6 @@ export class BankInfoClient { * * @example * await client.hris.bankInfo.retrieve("id", { - * expand: "employee", * includeRemoteData: true, * includeShellData: true, * remoteFields: "account_type", @@ -187,7 +195,7 @@ export class BankInfoClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts index 835c764b1..386cbd0d9 100644 --- a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts +++ b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts @@ -11,7 +11,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -43,7 +42,7 @@ export interface BankInfoListRequest { /** If provided, will only return bank accounts for this employee. */ employeeId?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -56,7 +55,7 @@ export interface BankInfoListRequest { modifiedBefore?: Date; /** Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. */ orderBy?: Merge.hris.BankInfoListRequestOrderBy; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Deprecated. Use show_enum_origins. */ remoteFields?: "account_type"; diff --git a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts index 40b686525..412c9f0b8 100644 --- a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts +++ b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts @@ -3,7 +3,6 @@ /** * @example * { - * expand: "employee", * includeRemoteData: true, * includeShellData: true, * remoteFields: "account_type", @@ -12,7 +11,7 @@ */ export interface BankInfoRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/resources/benefits/client/Client.ts b/src/api/resources/hris/resources/benefits/client/Client.ts index ac955b314..36ce449e4 100644 --- a/src/api/resources/hris/resources/benefits/client/Client.ts +++ b/src/api/resources/hris/resources/benefits/client/Client.ts @@ -35,7 +35,6 @@ export class BenefitsClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,90 +44,100 @@ export class BenefitsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.hris.BenefitsListRequest = {}, requestOptions?: BenefitsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.BenefitsListRequest = {}, - requestOptions?: BenefitsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - employeeId, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.BenefitsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + employeeId, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + employee_id: employeeId, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/benefits", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedBenefitList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/benefits"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/benefits", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedBenefitList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/benefits"); } /** @@ -140,7 +149,6 @@ export class BenefitsClient { * * @example * await client.hris.benefits.retrieve("id", { - * expand: "employee", * includeRemoteData: true, * includeShellData: true * }) @@ -160,7 +168,7 @@ export class BenefitsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts b/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts index 4b1f60a22..cf8813eab 100644 --- a/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts +++ b/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts @@ -7,7 +7,6 @@ * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -27,7 +26,7 @@ export interface BenefitsListRequest { /** If provided, will return the benefits associated with the employee. */ employeeId?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -38,7 +37,7 @@ export interface BenefitsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts b/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts index 66e794081..098cecdcc 100644 --- a/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "employee", * includeRemoteData: true, * includeShellData: true * } */ export interface BenefitsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/resources/companies/client/Client.ts b/src/api/resources/hris/resources/companies/client/Client.ts index fdf3f82fd..e8f73400f 100644 --- a/src/api/resources/hris/resources/companies/client/Client.ts +++ b/src/api/resources/hris/resources/companies/client/Client.ts @@ -43,86 +43,96 @@ export class CompaniesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.hris.CompaniesListRequest = {}, requestOptions?: CompaniesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.CompaniesListRequest = {}, - requestOptions?: CompaniesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.CompaniesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/companies", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedCompanyList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/companies"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/companies", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedCompanyList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/companies"); } /** diff --git a/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts b/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts index c8a40fa7d..0767744d1 100644 --- a/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts +++ b/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts @@ -32,7 +32,7 @@ export interface CompaniesListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/hris/resources/dependents/client/Client.ts b/src/api/resources/hris/resources/dependents/client/Client.ts index 7913e3fd5..d2b5be222 100644 --- a/src/api/resources/hris/resources/dependents/client/Client.ts +++ b/src/api/resources/hris/resources/dependents/client/Client.ts @@ -34,7 +34,6 @@ export class DependentsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * employeeId: "employee_id", * includeDeletedData: true, * includeRemoteData: true, * includeSensitiveFields: true, @@ -45,90 +44,98 @@ export class DependentsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.hris.DependentsListRequest = {}, requestOptions?: DependentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.DependentsListRequest = {}, - requestOptions?: DependentsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - employeeId, - includeDeletedData, - includeRemoteData, - includeSensitiveFields, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_sensitive_fields: includeSensitiveFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.DependentsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeSensitiveFields, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_sensitive_fields: includeSensitiveFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/dependents", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedDependentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/dependents"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/dependents", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedDependentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/dependents"); } /** diff --git a/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts b/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts index 3c4dfbb04..bbb67063c 100644 --- a/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts +++ b/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * employeeId: "employee_id", * includeDeletedData: true, * includeRemoteData: true, * includeSensitiveFields: true, @@ -24,8 +23,6 @@ export interface DependentsListRequest { createdBefore?: Date; /** The pagination cursor value. */ cursor?: string; - /** If provided, will only return dependents for this employee. */ - employeeId?: string; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -38,7 +35,7 @@ export interface DependentsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts b/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts index 87494a0b0..c474889d8 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts @@ -37,7 +37,6 @@ export class EmployeePayrollRunsClient { * employeeId: "employee_id", * endedAfter: new Date("2024-01-15T09:30:00.000Z"), * endedBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -50,110 +49,125 @@ export class EmployeePayrollRunsClient { * startedBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.hris.EmployeePayrollRunsListRequest = {}, requestOptions?: EmployeePayrollRunsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.EmployeePayrollRunsListRequest = {}, - requestOptions?: EmployeePayrollRunsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - employeeId, - endedAfter, - endedBefore, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - payrollRunId, - remoteId, - startedAfter, - startedBefore, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - ended_after: endedAfter?.toISOString(), - ended_before: endedBefore?.toISOString(), - expand: - expand != null - ? serializers.hris.EmployeePayrollRunsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - payroll_run_id: payrollRunId, - remote_id: remoteId, - started_after: startedAfter?.toISOString(), - started_before: startedBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.EmployeePayrollRunsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + employeeId, + endedAfter, + endedBefore, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + payrollRunId, + remoteId, + startedAfter, + startedBefore, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + employee_id: employeeId, + ended_after: endedAfter?.toISOString(), + ended_before: endedBefore?.toISOString(), + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.EmployeePayrollRunsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.hris.EmployeePayrollRunsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + payroll_run_id: payrollRunId, + remote_id: remoteId, + started_after: startedAfter?.toISOString(), + started_before: startedBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/employee-payroll-runs", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedEmployeePayrollRunList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/hris/v1/employee-payroll-runs", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/employee-payroll-runs", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedEmployeePayrollRunList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/hris/v1/employee-payroll-runs", - ); } /** @@ -165,7 +179,6 @@ export class EmployeePayrollRunsClient { * * @example * await client.hris.employeePayrollRuns.retrieve("id", { - * expand: "employee", * includeRemoteData: true, * includeShellData: true * }) @@ -185,12 +198,17 @@ export class EmployeePayrollRunsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.hris.EmployeePayrollRunsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.EmployeePayrollRunsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.hris.EmployeePayrollRunsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts index 5e890cb6b..f846fa0dc 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts @@ -11,7 +11,6 @@ import type * as Merge from "../../../../../../index"; * employeeId: "employee_id", * endedAfter: new Date("2024-01-15T09:30:00.000Z"), * endedBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -38,7 +37,9 @@ export interface EmployeePayrollRunsListRequest { /** If provided, will only return employee payroll runs ended before this datetime. */ endedBefore?: Date; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.EmployeePayrollRunsListRequestExpand; + expand?: + | Merge.hris.EmployeePayrollRunsListRequestExpandItem + | Merge.hris.EmployeePayrollRunsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -49,7 +50,7 @@ export interface EmployeePayrollRunsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If provided, will only return employee payroll runs for this employee. */ payrollRunId?: string; diff --git a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts index d20d82e13..04ef0857c 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts @@ -5,14 +5,15 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "employee", * includeRemoteData: true, * includeShellData: true * } */ export interface EmployeePayrollRunsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.EmployeePayrollRunsRetrieveRequestExpand; + expand?: + | Merge.hris.EmployeePayrollRunsRetrieveRequestExpandItem + | Merge.hris.EmployeePayrollRunsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts deleted file mode 100644 index 8f0dbd079..000000000 --- a/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EmployeePayrollRunsListRequestExpand = { - Employee: "employee", - EmployeePayrollRun: "employee,payroll_run", - PayrollRun: "payroll_run", -} as const; -export type EmployeePayrollRunsListRequestExpand = - (typeof EmployeePayrollRunsListRequestExpand)[keyof typeof EmployeePayrollRunsListRequestExpand]; diff --git a/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts new file mode 100644 index 000000000..7671ad842 --- /dev/null +++ b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EmployeePayrollRunsListRequestExpandItem = { + Employee: "employee", + PayrollRun: "payroll_run", +} as const; +export type EmployeePayrollRunsListRequestExpandItem = + (typeof EmployeePayrollRunsListRequestExpandItem)[keyof typeof EmployeePayrollRunsListRequestExpandItem]; diff --git a/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts deleted file mode 100644 index 90e9a956b..000000000 --- a/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EmployeePayrollRunsRetrieveRequestExpand = { - Employee: "employee", - EmployeePayrollRun: "employee,payroll_run", - PayrollRun: "payroll_run", -} as const; -export type EmployeePayrollRunsRetrieveRequestExpand = - (typeof EmployeePayrollRunsRetrieveRequestExpand)[keyof typeof EmployeePayrollRunsRetrieveRequestExpand]; diff --git a/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..da48dd560 --- /dev/null +++ b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EmployeePayrollRunsRetrieveRequestExpandItem = { + Employee: "employee", + PayrollRun: "payroll_run", +} as const; +export type EmployeePayrollRunsRetrieveRequestExpandItem = + (typeof EmployeePayrollRunsRetrieveRequestExpandItem)[keyof typeof EmployeePayrollRunsRetrieveRequestExpandItem]; diff --git a/src/api/resources/hris/resources/employeePayrollRuns/types/index.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/index.ts index 7adf16728..adee6252a 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/types/index.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/types/index.ts @@ -1,2 +1,2 @@ -export * from "./EmployeePayrollRunsListRequestExpand"; -export * from "./EmployeePayrollRunsRetrieveRequestExpand"; +export * from "./EmployeePayrollRunsListRequestExpandItem"; +export * from "./EmployeePayrollRunsRetrieveRequestExpandItem"; diff --git a/src/api/resources/hris/resources/employees/client/Client.ts b/src/api/resources/hris/resources/employees/client/Client.ts index 6cabbf055..c713ccb73 100644 --- a/src/api/resources/hris/resources/employees/client/Client.ts +++ b/src/api/resources/hris/resources/employees/client/Client.ts @@ -36,10 +36,8 @@ export class EmployeesClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * displayFullName: "display_full_name", - * employeeNumber: "employee_number", * employmentStatus: "ACTIVE", * employmentType: "employment_type", - * expand: "company", * firstName: "first_name", * groups: "groups", * homeLocationId: "home_location_id", @@ -67,154 +65,167 @@ export class EmployeesClient { * workLocationId: "work_location_id" * }) */ - public list( + public async list( request: Merge.hris.EmployeesListRequest = {}, requestOptions?: EmployeesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.EmployeesListRequest = {}, - requestOptions?: EmployeesClient.RequestOptions, - ): Promise> { - const { - companyId, - createdAfter, - createdBefore, - cursor, - displayFullName, - employeeNumber, - employmentStatus, - employmentType, - expand, - firstName, - groups, - homeLocationId, - includeDeletedData, - includeRemoteData, - includeSensitiveFields, - includeShellData, - jobTitle, - lastName, - managerId, - modifiedAfter, - modifiedBefore, - pageSize, - payGroupId, - personalEmail, - remoteFields, - remoteId, - showEnumOrigins, - startedAfter, - startedBefore, - teamId, - terminatedAfter, - terminatedBefore, - workEmail, - workLocationId, - } = request; - const _queryParams: Record = { - company_id: companyId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - display_full_name: displayFullName, - employee_number: employeeNumber, - employment_status: - employmentStatus != null - ? serializers.hris.EmployeesListRequestEmploymentStatus.jsonOrThrow(employmentStatus, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - employment_type: employmentType, - expand: - expand != null - ? serializers.hris.EmployeesListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - first_name: firstName, - groups, - home_location_id: homeLocationId, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_sensitive_fields: includeSensitiveFields, - include_shell_data: includeShellData, - job_title: jobTitle, - last_name: lastName, - manager_id: managerId, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - pay_group_id: payGroupId, - personal_email: personalEmail, - remote_fields: - remoteFields != null - ? serializers.hris.EmployeesListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - show_enum_origins: - showEnumOrigins != null - ? serializers.hris.EmployeesListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - started_after: startedAfter?.toISOString(), - started_before: startedBefore?.toISOString(), - team_id: teamId, - terminated_after: terminatedAfter?.toISOString(), - terminated_before: terminatedBefore?.toISOString(), - work_email: workEmail, - work_location_id: workLocationId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.EmployeesListRequest, + ): Promise> => { + const { + companyId, + createdAfter, + createdBefore, + cursor, + displayFullName, + employmentStatus, + employmentType, + expand, + firstName, + groups, + homeLocationId, + includeDeletedData, + includeRemoteData, + includeSensitiveFields, + includeShellData, + jobTitle, + lastName, + managerId, + modifiedAfter, + modifiedBefore, + pageSize, + payGroupId, + personalEmail, + remoteFields, + remoteId, + showEnumOrigins, + startedAfter, + startedBefore, + teamId, + terminatedAfter, + terminatedBefore, + workEmail, + workLocationId, + } = request; + const _queryParams: Record = { + company_id: companyId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + display_full_name: displayFullName, + employment_status: + employmentStatus != null + ? serializers.hris.EmployeesListRequestEmploymentStatus.jsonOrThrow(employmentStatus, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + employment_type: employmentType, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.EmployeesListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.hris.EmployeesListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + first_name: firstName, + groups, + home_location_id: homeLocationId, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_sensitive_fields: includeSensitiveFields, + include_shell_data: includeShellData, + job_title: jobTitle, + last_name: lastName, + manager_id: managerId, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + pay_group_id: payGroupId, + personal_email: personalEmail, + remote_fields: + remoteFields != null + ? serializers.hris.EmployeesListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + show_enum_origins: + showEnumOrigins != null + ? serializers.hris.EmployeesListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + started_after: startedAfter?.toISOString(), + started_before: startedBefore?.toISOString(), + team_id: teamId, + terminated_after: terminatedAfter?.toISOString(), + terminated_before: terminatedBefore?.toISOString(), + work_email: workEmail, + work_location_id: workLocationId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/employees", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedEmployeeList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/employees"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/employees", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedEmployeeList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/employees"); } /** @@ -305,7 +316,6 @@ export class EmployeesClient { * * @example * await client.hris.employees.retrieve("id", { - * expand: "company", * includeRemoteData: true, * includeSensitiveFields: true, * includeShellData: true, @@ -329,12 +339,17 @@ export class EmployeesClient { const { expand, includeRemoteData, includeSensitiveFields, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.hris.EmployeesRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.EmployeesRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.hris.EmployeesRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_sensitive_fields: includeSensitiveFields, include_shell_data: includeShellData, diff --git a/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts b/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts index 3d2ca2708..7ee37d0bc 100644 --- a/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts +++ b/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts @@ -10,10 +10,8 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * displayFullName: "display_full_name", - * employeeNumber: "employee_number", * employmentStatus: "ACTIVE", * employmentType: "employment_type", - * expand: "company", * firstName: "first_name", * groups: "groups", * homeLocationId: "home_location_id", @@ -52,8 +50,6 @@ export interface EmployeesListRequest { cursor?: string; /** If provided, will only return employees with this display name. */ displayFullName?: string; - /** If provided, will only return employees with this employee number. */ - employeeNumber?: string; /** * If provided, will only return employees with this employment status. * @@ -62,10 +58,10 @@ export interface EmployeesListRequest { * * `INACTIVE` - INACTIVE */ employmentStatus?: Merge.hris.EmployeesListRequestEmploymentStatus; - /** If provided, will only return employees that have an employment of the specified employment type. */ + /** If provided, will only return employees that have an employment of the specified employment_type. */ employmentType?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.EmployeesListRequestExpand; + expand?: Merge.hris.EmployeesListRequestExpandItem | Merge.hris.EmployeesListRequestExpandItem[]; /** If provided, will only return employees with this first name. */ firstName?: string; /** If provided, will only return employees matching the group ids; multiple groups can be separated by commas. */ @@ -80,7 +76,7 @@ export interface EmployeesListRequest { includeSensitiveFields?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ includeShellData?: boolean; - /** If provided, will only return employees that have an employment of the specified job title. */ + /** If provided, will only return employees that have an employment of the specified job_title. */ jobTitle?: string; /** If provided, will only return employees with this last name. */ lastName?: string; diff --git a/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts b/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts index e5c82e932..5aa05000a 100644 --- a/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts +++ b/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "company", * includeRemoteData: true, * includeSensitiveFields: true, * includeShellData: true, @@ -15,7 +14,7 @@ import type * as Merge from "../../../../../../index"; */ export interface EmployeesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.EmployeesRetrieveRequestExpand; + expand?: Merge.hris.EmployeesRetrieveRequestExpandItem | Merge.hris.EmployeesRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include sensitive fields (such as social security numbers) in the response. */ diff --git a/src/api/resources/hris/resources/employees/client/requests/index.ts b/src/api/resources/hris/resources/employees/client/requests/index.ts index 0cb7a6252..b76e2e807 100644 --- a/src/api/resources/hris/resources/employees/client/requests/index.ts +++ b/src/api/resources/hris/resources/employees/client/requests/index.ts @@ -1,4 +1,3 @@ export type { EmployeeEndpointRequest } from "./EmployeeEndpointRequest"; export type { EmployeesListRequest } from "./EmployeesListRequest"; export type { EmployeesRetrieveRequest } from "./EmployeesRetrieveRequest"; -export type { IgnoreCommonModelRequest } from "./IgnoreCommonModelRequest"; diff --git a/src/api/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts b/src/api/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts deleted file mode 100644 index 1452f74cf..000000000 --- a/src/api/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts +++ /dev/null @@ -1,278 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EmployeesListRequestExpand = { - Company: "company", - CompanyPayGroup: "company,pay_group", - Employments: "employments", - EmploymentsCompany: "employments,company", - EmploymentsCompanyPayGroup: "employments,company,pay_group", - EmploymentsGroups: "employments,groups", - EmploymentsGroupsCompany: "employments,groups,company", - EmploymentsGroupsCompanyPayGroup: "employments,groups,company,pay_group", - EmploymentsGroupsHomeLocation: "employments,groups,home_location", - EmploymentsGroupsHomeLocationCompany: "employments,groups,home_location,company", - EmploymentsGroupsHomeLocationCompanyPayGroup: "employments,groups,home_location,company,pay_group", - EmploymentsGroupsHomeLocationManager: "employments,groups,home_location,manager", - EmploymentsGroupsHomeLocationManagerCompany: "employments,groups,home_location,manager,company", - EmploymentsGroupsHomeLocationManagerCompanyPayGroup: "employments,groups,home_location,manager,company,pay_group", - EmploymentsGroupsHomeLocationManagerPayGroup: "employments,groups,home_location,manager,pay_group", - EmploymentsGroupsHomeLocationManagerTeam: "employments,groups,home_location,manager,team", - EmploymentsGroupsHomeLocationManagerTeamCompany: "employments,groups,home_location,manager,team,company", - EmploymentsGroupsHomeLocationManagerTeamCompanyPayGroup: - "employments,groups,home_location,manager,team,company,pay_group", - EmploymentsGroupsHomeLocationManagerTeamPayGroup: "employments,groups,home_location,manager,team,pay_group", - EmploymentsGroupsHomeLocationPayGroup: "employments,groups,home_location,pay_group", - EmploymentsGroupsHomeLocationTeam: "employments,groups,home_location,team", - EmploymentsGroupsHomeLocationTeamCompany: "employments,groups,home_location,team,company", - EmploymentsGroupsHomeLocationTeamCompanyPayGroup: "employments,groups,home_location,team,company,pay_group", - EmploymentsGroupsHomeLocationTeamPayGroup: "employments,groups,home_location,team,pay_group", - EmploymentsGroupsHomeLocationWorkLocation: "employments,groups,home_location,work_location", - EmploymentsGroupsHomeLocationWorkLocationCompany: "employments,groups,home_location,work_location,company", - EmploymentsGroupsHomeLocationWorkLocationCompanyPayGroup: - "employments,groups,home_location,work_location,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManager: "employments,groups,home_location,work_location,manager", - EmploymentsGroupsHomeLocationWorkLocationManagerCompany: - "employments,groups,home_location,work_location,manager,company", - EmploymentsGroupsHomeLocationWorkLocationManagerCompanyPayGroup: - "employments,groups,home_location,work_location,manager,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManagerPayGroup: - "employments,groups,home_location,work_location,manager,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManagerTeam: "employments,groups,home_location,work_location,manager,team", - EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompany: - "employments,groups,home_location,work_location,manager,team,company", - EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup: - "employments,groups,home_location,work_location,manager,team,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManagerTeamPayGroup: - "employments,groups,home_location,work_location,manager,team,pay_group", - EmploymentsGroupsHomeLocationWorkLocationPayGroup: "employments,groups,home_location,work_location,pay_group", - EmploymentsGroupsHomeLocationWorkLocationTeam: "employments,groups,home_location,work_location,team", - EmploymentsGroupsHomeLocationWorkLocationTeamCompany: "employments,groups,home_location,work_location,team,company", - EmploymentsGroupsHomeLocationWorkLocationTeamCompanyPayGroup: - "employments,groups,home_location,work_location,team,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationTeamPayGroup: - "employments,groups,home_location,work_location,team,pay_group", - EmploymentsGroupsManager: "employments,groups,manager", - EmploymentsGroupsManagerCompany: "employments,groups,manager,company", - EmploymentsGroupsManagerCompanyPayGroup: "employments,groups,manager,company,pay_group", - EmploymentsGroupsManagerPayGroup: "employments,groups,manager,pay_group", - EmploymentsGroupsManagerTeam: "employments,groups,manager,team", - EmploymentsGroupsManagerTeamCompany: "employments,groups,manager,team,company", - EmploymentsGroupsManagerTeamCompanyPayGroup: "employments,groups,manager,team,company,pay_group", - EmploymentsGroupsManagerTeamPayGroup: "employments,groups,manager,team,pay_group", - EmploymentsGroupsPayGroup: "employments,groups,pay_group", - EmploymentsGroupsTeam: "employments,groups,team", - EmploymentsGroupsTeamCompany: "employments,groups,team,company", - EmploymentsGroupsTeamCompanyPayGroup: "employments,groups,team,company,pay_group", - EmploymentsGroupsTeamPayGroup: "employments,groups,team,pay_group", - EmploymentsGroupsWorkLocation: "employments,groups,work_location", - EmploymentsGroupsWorkLocationCompany: "employments,groups,work_location,company", - EmploymentsGroupsWorkLocationCompanyPayGroup: "employments,groups,work_location,company,pay_group", - EmploymentsGroupsWorkLocationManager: "employments,groups,work_location,manager", - EmploymentsGroupsWorkLocationManagerCompany: "employments,groups,work_location,manager,company", - EmploymentsGroupsWorkLocationManagerCompanyPayGroup: "employments,groups,work_location,manager,company,pay_group", - EmploymentsGroupsWorkLocationManagerPayGroup: "employments,groups,work_location,manager,pay_group", - EmploymentsGroupsWorkLocationManagerTeam: "employments,groups,work_location,manager,team", - EmploymentsGroupsWorkLocationManagerTeamCompany: "employments,groups,work_location,manager,team,company", - EmploymentsGroupsWorkLocationManagerTeamCompanyPayGroup: - "employments,groups,work_location,manager,team,company,pay_group", - EmploymentsGroupsWorkLocationManagerTeamPayGroup: "employments,groups,work_location,manager,team,pay_group", - EmploymentsGroupsWorkLocationPayGroup: "employments,groups,work_location,pay_group", - EmploymentsGroupsWorkLocationTeam: "employments,groups,work_location,team", - EmploymentsGroupsWorkLocationTeamCompany: "employments,groups,work_location,team,company", - EmploymentsGroupsWorkLocationTeamCompanyPayGroup: "employments,groups,work_location,team,company,pay_group", - EmploymentsGroupsWorkLocationTeamPayGroup: "employments,groups,work_location,team,pay_group", - EmploymentsHomeLocation: "employments,home_location", - EmploymentsHomeLocationCompany: "employments,home_location,company", - EmploymentsHomeLocationCompanyPayGroup: "employments,home_location,company,pay_group", - EmploymentsHomeLocationManager: "employments,home_location,manager", - EmploymentsHomeLocationManagerCompany: "employments,home_location,manager,company", - EmploymentsHomeLocationManagerCompanyPayGroup: "employments,home_location,manager,company,pay_group", - EmploymentsHomeLocationManagerPayGroup: "employments,home_location,manager,pay_group", - EmploymentsHomeLocationManagerTeam: "employments,home_location,manager,team", - EmploymentsHomeLocationManagerTeamCompany: "employments,home_location,manager,team,company", - EmploymentsHomeLocationManagerTeamCompanyPayGroup: "employments,home_location,manager,team,company,pay_group", - EmploymentsHomeLocationManagerTeamPayGroup: "employments,home_location,manager,team,pay_group", - EmploymentsHomeLocationPayGroup: "employments,home_location,pay_group", - EmploymentsHomeLocationTeam: "employments,home_location,team", - EmploymentsHomeLocationTeamCompany: "employments,home_location,team,company", - EmploymentsHomeLocationTeamCompanyPayGroup: "employments,home_location,team,company,pay_group", - EmploymentsHomeLocationTeamPayGroup: "employments,home_location,team,pay_group", - EmploymentsHomeLocationWorkLocation: "employments,home_location,work_location", - EmploymentsHomeLocationWorkLocationCompany: "employments,home_location,work_location,company", - EmploymentsHomeLocationWorkLocationCompanyPayGroup: "employments,home_location,work_location,company,pay_group", - EmploymentsHomeLocationWorkLocationManager: "employments,home_location,work_location,manager", - EmploymentsHomeLocationWorkLocationManagerCompany: "employments,home_location,work_location,manager,company", - EmploymentsHomeLocationWorkLocationManagerCompanyPayGroup: - "employments,home_location,work_location,manager,company,pay_group", - EmploymentsHomeLocationWorkLocationManagerPayGroup: "employments,home_location,work_location,manager,pay_group", - EmploymentsHomeLocationWorkLocationManagerTeam: "employments,home_location,work_location,manager,team", - EmploymentsHomeLocationWorkLocationManagerTeamCompany: - "employments,home_location,work_location,manager,team,company", - EmploymentsHomeLocationWorkLocationManagerTeamCompanyPayGroup: - "employments,home_location,work_location,manager,team,company,pay_group", - EmploymentsHomeLocationWorkLocationManagerTeamPayGroup: - "employments,home_location,work_location,manager,team,pay_group", - EmploymentsHomeLocationWorkLocationPayGroup: "employments,home_location,work_location,pay_group", - EmploymentsHomeLocationWorkLocationTeam: "employments,home_location,work_location,team", - EmploymentsHomeLocationWorkLocationTeamCompany: "employments,home_location,work_location,team,company", - EmploymentsHomeLocationWorkLocationTeamCompanyPayGroup: - "employments,home_location,work_location,team,company,pay_group", - EmploymentsHomeLocationWorkLocationTeamPayGroup: "employments,home_location,work_location,team,pay_group", - EmploymentsManager: "employments,manager", - EmploymentsManagerCompany: "employments,manager,company", - EmploymentsManagerCompanyPayGroup: "employments,manager,company,pay_group", - EmploymentsManagerPayGroup: "employments,manager,pay_group", - EmploymentsManagerTeam: "employments,manager,team", - EmploymentsManagerTeamCompany: "employments,manager,team,company", - EmploymentsManagerTeamCompanyPayGroup: "employments,manager,team,company,pay_group", - EmploymentsManagerTeamPayGroup: "employments,manager,team,pay_group", - EmploymentsPayGroup: "employments,pay_group", - EmploymentsTeam: "employments,team", - EmploymentsTeamCompany: "employments,team,company", - EmploymentsTeamCompanyPayGroup: "employments,team,company,pay_group", - EmploymentsTeamPayGroup: "employments,team,pay_group", - EmploymentsWorkLocation: "employments,work_location", - EmploymentsWorkLocationCompany: "employments,work_location,company", - EmploymentsWorkLocationCompanyPayGroup: "employments,work_location,company,pay_group", - EmploymentsWorkLocationManager: "employments,work_location,manager", - EmploymentsWorkLocationManagerCompany: "employments,work_location,manager,company", - EmploymentsWorkLocationManagerCompanyPayGroup: "employments,work_location,manager,company,pay_group", - EmploymentsWorkLocationManagerPayGroup: "employments,work_location,manager,pay_group", - EmploymentsWorkLocationManagerTeam: "employments,work_location,manager,team", - EmploymentsWorkLocationManagerTeamCompany: "employments,work_location,manager,team,company", - EmploymentsWorkLocationManagerTeamCompanyPayGroup: "employments,work_location,manager,team,company,pay_group", - EmploymentsWorkLocationManagerTeamPayGroup: "employments,work_location,manager,team,pay_group", - EmploymentsWorkLocationPayGroup: "employments,work_location,pay_group", - EmploymentsWorkLocationTeam: "employments,work_location,team", - EmploymentsWorkLocationTeamCompany: "employments,work_location,team,company", - EmploymentsWorkLocationTeamCompanyPayGroup: "employments,work_location,team,company,pay_group", - EmploymentsWorkLocationTeamPayGroup: "employments,work_location,team,pay_group", - Groups: "groups", - GroupsCompany: "groups,company", - GroupsCompanyPayGroup: "groups,company,pay_group", - GroupsHomeLocation: "groups,home_location", - GroupsHomeLocationCompany: "groups,home_location,company", - GroupsHomeLocationCompanyPayGroup: "groups,home_location,company,pay_group", - GroupsHomeLocationManager: "groups,home_location,manager", - GroupsHomeLocationManagerCompany: "groups,home_location,manager,company", - GroupsHomeLocationManagerCompanyPayGroup: "groups,home_location,manager,company,pay_group", - GroupsHomeLocationManagerPayGroup: "groups,home_location,manager,pay_group", - GroupsHomeLocationManagerTeam: "groups,home_location,manager,team", - GroupsHomeLocationManagerTeamCompany: "groups,home_location,manager,team,company", - GroupsHomeLocationManagerTeamCompanyPayGroup: "groups,home_location,manager,team,company,pay_group", - GroupsHomeLocationManagerTeamPayGroup: "groups,home_location,manager,team,pay_group", - GroupsHomeLocationPayGroup: "groups,home_location,pay_group", - GroupsHomeLocationTeam: "groups,home_location,team", - GroupsHomeLocationTeamCompany: "groups,home_location,team,company", - GroupsHomeLocationTeamCompanyPayGroup: "groups,home_location,team,company,pay_group", - GroupsHomeLocationTeamPayGroup: "groups,home_location,team,pay_group", - GroupsHomeLocationWorkLocation: "groups,home_location,work_location", - GroupsHomeLocationWorkLocationCompany: "groups,home_location,work_location,company", - GroupsHomeLocationWorkLocationCompanyPayGroup: "groups,home_location,work_location,company,pay_group", - GroupsHomeLocationWorkLocationManager: "groups,home_location,work_location,manager", - GroupsHomeLocationWorkLocationManagerCompany: "groups,home_location,work_location,manager,company", - GroupsHomeLocationWorkLocationManagerCompanyPayGroup: - "groups,home_location,work_location,manager,company,pay_group", - GroupsHomeLocationWorkLocationManagerPayGroup: "groups,home_location,work_location,manager,pay_group", - GroupsHomeLocationWorkLocationManagerTeam: "groups,home_location,work_location,manager,team", - GroupsHomeLocationWorkLocationManagerTeamCompany: "groups,home_location,work_location,manager,team,company", - GroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup: - "groups,home_location,work_location,manager,team,company,pay_group", - GroupsHomeLocationWorkLocationManagerTeamPayGroup: "groups,home_location,work_location,manager,team,pay_group", - GroupsHomeLocationWorkLocationPayGroup: "groups,home_location,work_location,pay_group", - GroupsHomeLocationWorkLocationTeam: "groups,home_location,work_location,team", - GroupsHomeLocationWorkLocationTeamCompany: "groups,home_location,work_location,team,company", - GroupsHomeLocationWorkLocationTeamCompanyPayGroup: "groups,home_location,work_location,team,company,pay_group", - GroupsHomeLocationWorkLocationTeamPayGroup: "groups,home_location,work_location,team,pay_group", - GroupsManager: "groups,manager", - GroupsManagerCompany: "groups,manager,company", - GroupsManagerCompanyPayGroup: "groups,manager,company,pay_group", - GroupsManagerPayGroup: "groups,manager,pay_group", - GroupsManagerTeam: "groups,manager,team", - GroupsManagerTeamCompany: "groups,manager,team,company", - GroupsManagerTeamCompanyPayGroup: "groups,manager,team,company,pay_group", - GroupsManagerTeamPayGroup: "groups,manager,team,pay_group", - GroupsPayGroup: "groups,pay_group", - GroupsTeam: "groups,team", - GroupsTeamCompany: "groups,team,company", - GroupsTeamCompanyPayGroup: "groups,team,company,pay_group", - GroupsTeamPayGroup: "groups,team,pay_group", - GroupsWorkLocation: "groups,work_location", - GroupsWorkLocationCompany: "groups,work_location,company", - GroupsWorkLocationCompanyPayGroup: "groups,work_location,company,pay_group", - GroupsWorkLocationManager: "groups,work_location,manager", - GroupsWorkLocationManagerCompany: "groups,work_location,manager,company", - GroupsWorkLocationManagerCompanyPayGroup: "groups,work_location,manager,company,pay_group", - GroupsWorkLocationManagerPayGroup: "groups,work_location,manager,pay_group", - GroupsWorkLocationManagerTeam: "groups,work_location,manager,team", - GroupsWorkLocationManagerTeamCompany: "groups,work_location,manager,team,company", - GroupsWorkLocationManagerTeamCompanyPayGroup: "groups,work_location,manager,team,company,pay_group", - GroupsWorkLocationManagerTeamPayGroup: "groups,work_location,manager,team,pay_group", - GroupsWorkLocationPayGroup: "groups,work_location,pay_group", - GroupsWorkLocationTeam: "groups,work_location,team", - GroupsWorkLocationTeamCompany: "groups,work_location,team,company", - GroupsWorkLocationTeamCompanyPayGroup: "groups,work_location,team,company,pay_group", - GroupsWorkLocationTeamPayGroup: "groups,work_location,team,pay_group", - HomeLocation: "home_location", - HomeLocationCompany: "home_location,company", - HomeLocationCompanyPayGroup: "home_location,company,pay_group", - HomeLocationManager: "home_location,manager", - HomeLocationManagerCompany: "home_location,manager,company", - HomeLocationManagerCompanyPayGroup: "home_location,manager,company,pay_group", - HomeLocationManagerPayGroup: "home_location,manager,pay_group", - HomeLocationManagerTeam: "home_location,manager,team", - HomeLocationManagerTeamCompany: "home_location,manager,team,company", - HomeLocationManagerTeamCompanyPayGroup: "home_location,manager,team,company,pay_group", - HomeLocationManagerTeamPayGroup: "home_location,manager,team,pay_group", - HomeLocationPayGroup: "home_location,pay_group", - HomeLocationTeam: "home_location,team", - HomeLocationTeamCompany: "home_location,team,company", - HomeLocationTeamCompanyPayGroup: "home_location,team,company,pay_group", - HomeLocationTeamPayGroup: "home_location,team,pay_group", - HomeLocationWorkLocation: "home_location,work_location", - HomeLocationWorkLocationCompany: "home_location,work_location,company", - HomeLocationWorkLocationCompanyPayGroup: "home_location,work_location,company,pay_group", - HomeLocationWorkLocationManager: "home_location,work_location,manager", - HomeLocationWorkLocationManagerCompany: "home_location,work_location,manager,company", - HomeLocationWorkLocationManagerCompanyPayGroup: "home_location,work_location,manager,company,pay_group", - HomeLocationWorkLocationManagerPayGroup: "home_location,work_location,manager,pay_group", - HomeLocationWorkLocationManagerTeam: "home_location,work_location,manager,team", - HomeLocationWorkLocationManagerTeamCompany: "home_location,work_location,manager,team,company", - HomeLocationWorkLocationManagerTeamCompanyPayGroup: "home_location,work_location,manager,team,company,pay_group", - HomeLocationWorkLocationManagerTeamPayGroup: "home_location,work_location,manager,team,pay_group", - HomeLocationWorkLocationPayGroup: "home_location,work_location,pay_group", - HomeLocationWorkLocationTeam: "home_location,work_location,team", - HomeLocationWorkLocationTeamCompany: "home_location,work_location,team,company", - HomeLocationWorkLocationTeamCompanyPayGroup: "home_location,work_location,team,company,pay_group", - HomeLocationWorkLocationTeamPayGroup: "home_location,work_location,team,pay_group", - Manager: "manager", - ManagerCompany: "manager,company", - ManagerCompanyPayGroup: "manager,company,pay_group", - ManagerPayGroup: "manager,pay_group", - ManagerTeam: "manager,team", - ManagerTeamCompany: "manager,team,company", - ManagerTeamCompanyPayGroup: "manager,team,company,pay_group", - ManagerTeamPayGroup: "manager,team,pay_group", - PayGroup: "pay_group", - Team: "team", - TeamCompany: "team,company", - TeamCompanyPayGroup: "team,company,pay_group", - TeamPayGroup: "team,pay_group", - WorkLocation: "work_location", - WorkLocationCompany: "work_location,company", - WorkLocationCompanyPayGroup: "work_location,company,pay_group", - WorkLocationManager: "work_location,manager", - WorkLocationManagerCompany: "work_location,manager,company", - WorkLocationManagerCompanyPayGroup: "work_location,manager,company,pay_group", - WorkLocationManagerPayGroup: "work_location,manager,pay_group", - WorkLocationManagerTeam: "work_location,manager,team", - WorkLocationManagerTeamCompany: "work_location,manager,team,company", - WorkLocationManagerTeamCompanyPayGroup: "work_location,manager,team,company,pay_group", - WorkLocationManagerTeamPayGroup: "work_location,manager,team,pay_group", - WorkLocationPayGroup: "work_location,pay_group", - WorkLocationTeam: "work_location,team", - WorkLocationTeamCompany: "work_location,team,company", - WorkLocationTeamCompanyPayGroup: "work_location,team,company,pay_group", - WorkLocationTeamPayGroup: "work_location,team,pay_group", -} as const; -export type EmployeesListRequestExpand = (typeof EmployeesListRequestExpand)[keyof typeof EmployeesListRequestExpand]; diff --git a/src/api/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts b/src/api/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts new file mode 100644 index 000000000..b70177e5f --- /dev/null +++ b/src/api/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EmployeesListRequestExpandItem = { + Company: "company", + Employments: "employments", + Groups: "groups", + HomeLocation: "home_location", + Manager: "manager", + PayGroup: "pay_group", + Team: "team", + WorkLocation: "work_location", +} as const; +export type EmployeesListRequestExpandItem = + (typeof EmployeesListRequestExpandItem)[keyof typeof EmployeesListRequestExpandItem]; diff --git a/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts b/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts deleted file mode 100644 index 6ab66b7b1..000000000 --- a/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts +++ /dev/null @@ -1,279 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EmployeesRetrieveRequestExpand = { - Company: "company", - CompanyPayGroup: "company,pay_group", - Employments: "employments", - EmploymentsCompany: "employments,company", - EmploymentsCompanyPayGroup: "employments,company,pay_group", - EmploymentsGroups: "employments,groups", - EmploymentsGroupsCompany: "employments,groups,company", - EmploymentsGroupsCompanyPayGroup: "employments,groups,company,pay_group", - EmploymentsGroupsHomeLocation: "employments,groups,home_location", - EmploymentsGroupsHomeLocationCompany: "employments,groups,home_location,company", - EmploymentsGroupsHomeLocationCompanyPayGroup: "employments,groups,home_location,company,pay_group", - EmploymentsGroupsHomeLocationManager: "employments,groups,home_location,manager", - EmploymentsGroupsHomeLocationManagerCompany: "employments,groups,home_location,manager,company", - EmploymentsGroupsHomeLocationManagerCompanyPayGroup: "employments,groups,home_location,manager,company,pay_group", - EmploymentsGroupsHomeLocationManagerPayGroup: "employments,groups,home_location,manager,pay_group", - EmploymentsGroupsHomeLocationManagerTeam: "employments,groups,home_location,manager,team", - EmploymentsGroupsHomeLocationManagerTeamCompany: "employments,groups,home_location,manager,team,company", - EmploymentsGroupsHomeLocationManagerTeamCompanyPayGroup: - "employments,groups,home_location,manager,team,company,pay_group", - EmploymentsGroupsHomeLocationManagerTeamPayGroup: "employments,groups,home_location,manager,team,pay_group", - EmploymentsGroupsHomeLocationPayGroup: "employments,groups,home_location,pay_group", - EmploymentsGroupsHomeLocationTeam: "employments,groups,home_location,team", - EmploymentsGroupsHomeLocationTeamCompany: "employments,groups,home_location,team,company", - EmploymentsGroupsHomeLocationTeamCompanyPayGroup: "employments,groups,home_location,team,company,pay_group", - EmploymentsGroupsHomeLocationTeamPayGroup: "employments,groups,home_location,team,pay_group", - EmploymentsGroupsHomeLocationWorkLocation: "employments,groups,home_location,work_location", - EmploymentsGroupsHomeLocationWorkLocationCompany: "employments,groups,home_location,work_location,company", - EmploymentsGroupsHomeLocationWorkLocationCompanyPayGroup: - "employments,groups,home_location,work_location,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManager: "employments,groups,home_location,work_location,manager", - EmploymentsGroupsHomeLocationWorkLocationManagerCompany: - "employments,groups,home_location,work_location,manager,company", - EmploymentsGroupsHomeLocationWorkLocationManagerCompanyPayGroup: - "employments,groups,home_location,work_location,manager,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManagerPayGroup: - "employments,groups,home_location,work_location,manager,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManagerTeam: "employments,groups,home_location,work_location,manager,team", - EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompany: - "employments,groups,home_location,work_location,manager,team,company", - EmploymentsGroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup: - "employments,groups,home_location,work_location,manager,team,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationManagerTeamPayGroup: - "employments,groups,home_location,work_location,manager,team,pay_group", - EmploymentsGroupsHomeLocationWorkLocationPayGroup: "employments,groups,home_location,work_location,pay_group", - EmploymentsGroupsHomeLocationWorkLocationTeam: "employments,groups,home_location,work_location,team", - EmploymentsGroupsHomeLocationWorkLocationTeamCompany: "employments,groups,home_location,work_location,team,company", - EmploymentsGroupsHomeLocationWorkLocationTeamCompanyPayGroup: - "employments,groups,home_location,work_location,team,company,pay_group", - EmploymentsGroupsHomeLocationWorkLocationTeamPayGroup: - "employments,groups,home_location,work_location,team,pay_group", - EmploymentsGroupsManager: "employments,groups,manager", - EmploymentsGroupsManagerCompany: "employments,groups,manager,company", - EmploymentsGroupsManagerCompanyPayGroup: "employments,groups,manager,company,pay_group", - EmploymentsGroupsManagerPayGroup: "employments,groups,manager,pay_group", - EmploymentsGroupsManagerTeam: "employments,groups,manager,team", - EmploymentsGroupsManagerTeamCompany: "employments,groups,manager,team,company", - EmploymentsGroupsManagerTeamCompanyPayGroup: "employments,groups,manager,team,company,pay_group", - EmploymentsGroupsManagerTeamPayGroup: "employments,groups,manager,team,pay_group", - EmploymentsGroupsPayGroup: "employments,groups,pay_group", - EmploymentsGroupsTeam: "employments,groups,team", - EmploymentsGroupsTeamCompany: "employments,groups,team,company", - EmploymentsGroupsTeamCompanyPayGroup: "employments,groups,team,company,pay_group", - EmploymentsGroupsTeamPayGroup: "employments,groups,team,pay_group", - EmploymentsGroupsWorkLocation: "employments,groups,work_location", - EmploymentsGroupsWorkLocationCompany: "employments,groups,work_location,company", - EmploymentsGroupsWorkLocationCompanyPayGroup: "employments,groups,work_location,company,pay_group", - EmploymentsGroupsWorkLocationManager: "employments,groups,work_location,manager", - EmploymentsGroupsWorkLocationManagerCompany: "employments,groups,work_location,manager,company", - EmploymentsGroupsWorkLocationManagerCompanyPayGroup: "employments,groups,work_location,manager,company,pay_group", - EmploymentsGroupsWorkLocationManagerPayGroup: "employments,groups,work_location,manager,pay_group", - EmploymentsGroupsWorkLocationManagerTeam: "employments,groups,work_location,manager,team", - EmploymentsGroupsWorkLocationManagerTeamCompany: "employments,groups,work_location,manager,team,company", - EmploymentsGroupsWorkLocationManagerTeamCompanyPayGroup: - "employments,groups,work_location,manager,team,company,pay_group", - EmploymentsGroupsWorkLocationManagerTeamPayGroup: "employments,groups,work_location,manager,team,pay_group", - EmploymentsGroupsWorkLocationPayGroup: "employments,groups,work_location,pay_group", - EmploymentsGroupsWorkLocationTeam: "employments,groups,work_location,team", - EmploymentsGroupsWorkLocationTeamCompany: "employments,groups,work_location,team,company", - EmploymentsGroupsWorkLocationTeamCompanyPayGroup: "employments,groups,work_location,team,company,pay_group", - EmploymentsGroupsWorkLocationTeamPayGroup: "employments,groups,work_location,team,pay_group", - EmploymentsHomeLocation: "employments,home_location", - EmploymentsHomeLocationCompany: "employments,home_location,company", - EmploymentsHomeLocationCompanyPayGroup: "employments,home_location,company,pay_group", - EmploymentsHomeLocationManager: "employments,home_location,manager", - EmploymentsHomeLocationManagerCompany: "employments,home_location,manager,company", - EmploymentsHomeLocationManagerCompanyPayGroup: "employments,home_location,manager,company,pay_group", - EmploymentsHomeLocationManagerPayGroup: "employments,home_location,manager,pay_group", - EmploymentsHomeLocationManagerTeam: "employments,home_location,manager,team", - EmploymentsHomeLocationManagerTeamCompany: "employments,home_location,manager,team,company", - EmploymentsHomeLocationManagerTeamCompanyPayGroup: "employments,home_location,manager,team,company,pay_group", - EmploymentsHomeLocationManagerTeamPayGroup: "employments,home_location,manager,team,pay_group", - EmploymentsHomeLocationPayGroup: "employments,home_location,pay_group", - EmploymentsHomeLocationTeam: "employments,home_location,team", - EmploymentsHomeLocationTeamCompany: "employments,home_location,team,company", - EmploymentsHomeLocationTeamCompanyPayGroup: "employments,home_location,team,company,pay_group", - EmploymentsHomeLocationTeamPayGroup: "employments,home_location,team,pay_group", - EmploymentsHomeLocationWorkLocation: "employments,home_location,work_location", - EmploymentsHomeLocationWorkLocationCompany: "employments,home_location,work_location,company", - EmploymentsHomeLocationWorkLocationCompanyPayGroup: "employments,home_location,work_location,company,pay_group", - EmploymentsHomeLocationWorkLocationManager: "employments,home_location,work_location,manager", - EmploymentsHomeLocationWorkLocationManagerCompany: "employments,home_location,work_location,manager,company", - EmploymentsHomeLocationWorkLocationManagerCompanyPayGroup: - "employments,home_location,work_location,manager,company,pay_group", - EmploymentsHomeLocationWorkLocationManagerPayGroup: "employments,home_location,work_location,manager,pay_group", - EmploymentsHomeLocationWorkLocationManagerTeam: "employments,home_location,work_location,manager,team", - EmploymentsHomeLocationWorkLocationManagerTeamCompany: - "employments,home_location,work_location,manager,team,company", - EmploymentsHomeLocationWorkLocationManagerTeamCompanyPayGroup: - "employments,home_location,work_location,manager,team,company,pay_group", - EmploymentsHomeLocationWorkLocationManagerTeamPayGroup: - "employments,home_location,work_location,manager,team,pay_group", - EmploymentsHomeLocationWorkLocationPayGroup: "employments,home_location,work_location,pay_group", - EmploymentsHomeLocationWorkLocationTeam: "employments,home_location,work_location,team", - EmploymentsHomeLocationWorkLocationTeamCompany: "employments,home_location,work_location,team,company", - EmploymentsHomeLocationWorkLocationTeamCompanyPayGroup: - "employments,home_location,work_location,team,company,pay_group", - EmploymentsHomeLocationWorkLocationTeamPayGroup: "employments,home_location,work_location,team,pay_group", - EmploymentsManager: "employments,manager", - EmploymentsManagerCompany: "employments,manager,company", - EmploymentsManagerCompanyPayGroup: "employments,manager,company,pay_group", - EmploymentsManagerPayGroup: "employments,manager,pay_group", - EmploymentsManagerTeam: "employments,manager,team", - EmploymentsManagerTeamCompany: "employments,manager,team,company", - EmploymentsManagerTeamCompanyPayGroup: "employments,manager,team,company,pay_group", - EmploymentsManagerTeamPayGroup: "employments,manager,team,pay_group", - EmploymentsPayGroup: "employments,pay_group", - EmploymentsTeam: "employments,team", - EmploymentsTeamCompany: "employments,team,company", - EmploymentsTeamCompanyPayGroup: "employments,team,company,pay_group", - EmploymentsTeamPayGroup: "employments,team,pay_group", - EmploymentsWorkLocation: "employments,work_location", - EmploymentsWorkLocationCompany: "employments,work_location,company", - EmploymentsWorkLocationCompanyPayGroup: "employments,work_location,company,pay_group", - EmploymentsWorkLocationManager: "employments,work_location,manager", - EmploymentsWorkLocationManagerCompany: "employments,work_location,manager,company", - EmploymentsWorkLocationManagerCompanyPayGroup: "employments,work_location,manager,company,pay_group", - EmploymentsWorkLocationManagerPayGroup: "employments,work_location,manager,pay_group", - EmploymentsWorkLocationManagerTeam: "employments,work_location,manager,team", - EmploymentsWorkLocationManagerTeamCompany: "employments,work_location,manager,team,company", - EmploymentsWorkLocationManagerTeamCompanyPayGroup: "employments,work_location,manager,team,company,pay_group", - EmploymentsWorkLocationManagerTeamPayGroup: "employments,work_location,manager,team,pay_group", - EmploymentsWorkLocationPayGroup: "employments,work_location,pay_group", - EmploymentsWorkLocationTeam: "employments,work_location,team", - EmploymentsWorkLocationTeamCompany: "employments,work_location,team,company", - EmploymentsWorkLocationTeamCompanyPayGroup: "employments,work_location,team,company,pay_group", - EmploymentsWorkLocationTeamPayGroup: "employments,work_location,team,pay_group", - Groups: "groups", - GroupsCompany: "groups,company", - GroupsCompanyPayGroup: "groups,company,pay_group", - GroupsHomeLocation: "groups,home_location", - GroupsHomeLocationCompany: "groups,home_location,company", - GroupsHomeLocationCompanyPayGroup: "groups,home_location,company,pay_group", - GroupsHomeLocationManager: "groups,home_location,manager", - GroupsHomeLocationManagerCompany: "groups,home_location,manager,company", - GroupsHomeLocationManagerCompanyPayGroup: "groups,home_location,manager,company,pay_group", - GroupsHomeLocationManagerPayGroup: "groups,home_location,manager,pay_group", - GroupsHomeLocationManagerTeam: "groups,home_location,manager,team", - GroupsHomeLocationManagerTeamCompany: "groups,home_location,manager,team,company", - GroupsHomeLocationManagerTeamCompanyPayGroup: "groups,home_location,manager,team,company,pay_group", - GroupsHomeLocationManagerTeamPayGroup: "groups,home_location,manager,team,pay_group", - GroupsHomeLocationPayGroup: "groups,home_location,pay_group", - GroupsHomeLocationTeam: "groups,home_location,team", - GroupsHomeLocationTeamCompany: "groups,home_location,team,company", - GroupsHomeLocationTeamCompanyPayGroup: "groups,home_location,team,company,pay_group", - GroupsHomeLocationTeamPayGroup: "groups,home_location,team,pay_group", - GroupsHomeLocationWorkLocation: "groups,home_location,work_location", - GroupsHomeLocationWorkLocationCompany: "groups,home_location,work_location,company", - GroupsHomeLocationWorkLocationCompanyPayGroup: "groups,home_location,work_location,company,pay_group", - GroupsHomeLocationWorkLocationManager: "groups,home_location,work_location,manager", - GroupsHomeLocationWorkLocationManagerCompany: "groups,home_location,work_location,manager,company", - GroupsHomeLocationWorkLocationManagerCompanyPayGroup: - "groups,home_location,work_location,manager,company,pay_group", - GroupsHomeLocationWorkLocationManagerPayGroup: "groups,home_location,work_location,manager,pay_group", - GroupsHomeLocationWorkLocationManagerTeam: "groups,home_location,work_location,manager,team", - GroupsHomeLocationWorkLocationManagerTeamCompany: "groups,home_location,work_location,manager,team,company", - GroupsHomeLocationWorkLocationManagerTeamCompanyPayGroup: - "groups,home_location,work_location,manager,team,company,pay_group", - GroupsHomeLocationWorkLocationManagerTeamPayGroup: "groups,home_location,work_location,manager,team,pay_group", - GroupsHomeLocationWorkLocationPayGroup: "groups,home_location,work_location,pay_group", - GroupsHomeLocationWorkLocationTeam: "groups,home_location,work_location,team", - GroupsHomeLocationWorkLocationTeamCompany: "groups,home_location,work_location,team,company", - GroupsHomeLocationWorkLocationTeamCompanyPayGroup: "groups,home_location,work_location,team,company,pay_group", - GroupsHomeLocationWorkLocationTeamPayGroup: "groups,home_location,work_location,team,pay_group", - GroupsManager: "groups,manager", - GroupsManagerCompany: "groups,manager,company", - GroupsManagerCompanyPayGroup: "groups,manager,company,pay_group", - GroupsManagerPayGroup: "groups,manager,pay_group", - GroupsManagerTeam: "groups,manager,team", - GroupsManagerTeamCompany: "groups,manager,team,company", - GroupsManagerTeamCompanyPayGroup: "groups,manager,team,company,pay_group", - GroupsManagerTeamPayGroup: "groups,manager,team,pay_group", - GroupsPayGroup: "groups,pay_group", - GroupsTeam: "groups,team", - GroupsTeamCompany: "groups,team,company", - GroupsTeamCompanyPayGroup: "groups,team,company,pay_group", - GroupsTeamPayGroup: "groups,team,pay_group", - GroupsWorkLocation: "groups,work_location", - GroupsWorkLocationCompany: "groups,work_location,company", - GroupsWorkLocationCompanyPayGroup: "groups,work_location,company,pay_group", - GroupsWorkLocationManager: "groups,work_location,manager", - GroupsWorkLocationManagerCompany: "groups,work_location,manager,company", - GroupsWorkLocationManagerCompanyPayGroup: "groups,work_location,manager,company,pay_group", - GroupsWorkLocationManagerPayGroup: "groups,work_location,manager,pay_group", - GroupsWorkLocationManagerTeam: "groups,work_location,manager,team", - GroupsWorkLocationManagerTeamCompany: "groups,work_location,manager,team,company", - GroupsWorkLocationManagerTeamCompanyPayGroup: "groups,work_location,manager,team,company,pay_group", - GroupsWorkLocationManagerTeamPayGroup: "groups,work_location,manager,team,pay_group", - GroupsWorkLocationPayGroup: "groups,work_location,pay_group", - GroupsWorkLocationTeam: "groups,work_location,team", - GroupsWorkLocationTeamCompany: "groups,work_location,team,company", - GroupsWorkLocationTeamCompanyPayGroup: "groups,work_location,team,company,pay_group", - GroupsWorkLocationTeamPayGroup: "groups,work_location,team,pay_group", - HomeLocation: "home_location", - HomeLocationCompany: "home_location,company", - HomeLocationCompanyPayGroup: "home_location,company,pay_group", - HomeLocationManager: "home_location,manager", - HomeLocationManagerCompany: "home_location,manager,company", - HomeLocationManagerCompanyPayGroup: "home_location,manager,company,pay_group", - HomeLocationManagerPayGroup: "home_location,manager,pay_group", - HomeLocationManagerTeam: "home_location,manager,team", - HomeLocationManagerTeamCompany: "home_location,manager,team,company", - HomeLocationManagerTeamCompanyPayGroup: "home_location,manager,team,company,pay_group", - HomeLocationManagerTeamPayGroup: "home_location,manager,team,pay_group", - HomeLocationPayGroup: "home_location,pay_group", - HomeLocationTeam: "home_location,team", - HomeLocationTeamCompany: "home_location,team,company", - HomeLocationTeamCompanyPayGroup: "home_location,team,company,pay_group", - HomeLocationTeamPayGroup: "home_location,team,pay_group", - HomeLocationWorkLocation: "home_location,work_location", - HomeLocationWorkLocationCompany: "home_location,work_location,company", - HomeLocationWorkLocationCompanyPayGroup: "home_location,work_location,company,pay_group", - HomeLocationWorkLocationManager: "home_location,work_location,manager", - HomeLocationWorkLocationManagerCompany: "home_location,work_location,manager,company", - HomeLocationWorkLocationManagerCompanyPayGroup: "home_location,work_location,manager,company,pay_group", - HomeLocationWorkLocationManagerPayGroup: "home_location,work_location,manager,pay_group", - HomeLocationWorkLocationManagerTeam: "home_location,work_location,manager,team", - HomeLocationWorkLocationManagerTeamCompany: "home_location,work_location,manager,team,company", - HomeLocationWorkLocationManagerTeamCompanyPayGroup: "home_location,work_location,manager,team,company,pay_group", - HomeLocationWorkLocationManagerTeamPayGroup: "home_location,work_location,manager,team,pay_group", - HomeLocationWorkLocationPayGroup: "home_location,work_location,pay_group", - HomeLocationWorkLocationTeam: "home_location,work_location,team", - HomeLocationWorkLocationTeamCompany: "home_location,work_location,team,company", - HomeLocationWorkLocationTeamCompanyPayGroup: "home_location,work_location,team,company,pay_group", - HomeLocationWorkLocationTeamPayGroup: "home_location,work_location,team,pay_group", - Manager: "manager", - ManagerCompany: "manager,company", - ManagerCompanyPayGroup: "manager,company,pay_group", - ManagerPayGroup: "manager,pay_group", - ManagerTeam: "manager,team", - ManagerTeamCompany: "manager,team,company", - ManagerTeamCompanyPayGroup: "manager,team,company,pay_group", - ManagerTeamPayGroup: "manager,team,pay_group", - PayGroup: "pay_group", - Team: "team", - TeamCompany: "team,company", - TeamCompanyPayGroup: "team,company,pay_group", - TeamPayGroup: "team,pay_group", - WorkLocation: "work_location", - WorkLocationCompany: "work_location,company", - WorkLocationCompanyPayGroup: "work_location,company,pay_group", - WorkLocationManager: "work_location,manager", - WorkLocationManagerCompany: "work_location,manager,company", - WorkLocationManagerCompanyPayGroup: "work_location,manager,company,pay_group", - WorkLocationManagerPayGroup: "work_location,manager,pay_group", - WorkLocationManagerTeam: "work_location,manager,team", - WorkLocationManagerTeamCompany: "work_location,manager,team,company", - WorkLocationManagerTeamCompanyPayGroup: "work_location,manager,team,company,pay_group", - WorkLocationManagerTeamPayGroup: "work_location,manager,team,pay_group", - WorkLocationPayGroup: "work_location,pay_group", - WorkLocationTeam: "work_location,team", - WorkLocationTeamCompany: "work_location,team,company", - WorkLocationTeamCompanyPayGroup: "work_location,team,company,pay_group", - WorkLocationTeamPayGroup: "work_location,team,pay_group", -} as const; -export type EmployeesRetrieveRequestExpand = - (typeof EmployeesRetrieveRequestExpand)[keyof typeof EmployeesRetrieveRequestExpand]; diff --git a/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts b/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..3b00dbd85 --- /dev/null +++ b/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EmployeesRetrieveRequestExpandItem = { + Company: "company", + Employments: "employments", + Groups: "groups", + HomeLocation: "home_location", + Manager: "manager", + PayGroup: "pay_group", + Team: "team", + WorkLocation: "work_location", +} as const; +export type EmployeesRetrieveRequestExpandItem = + (typeof EmployeesRetrieveRequestExpandItem)[keyof typeof EmployeesRetrieveRequestExpandItem]; diff --git a/src/api/resources/hris/resources/employees/types/index.ts b/src/api/resources/hris/resources/employees/types/index.ts index 86b6c6805..23a52c088 100644 --- a/src/api/resources/hris/resources/employees/types/index.ts +++ b/src/api/resources/hris/resources/employees/types/index.ts @@ -1,8 +1,7 @@ export * from "./EmployeesListRequestEmploymentStatus"; -export * from "./EmployeesListRequestExpand"; +export * from "./EmployeesListRequestExpandItem"; export * from "./EmployeesListRequestRemoteFields"; export * from "./EmployeesListRequestShowEnumOrigins"; -export * from "./EmployeesRetrieveRequestExpand"; +export * from "./EmployeesRetrieveRequestExpandItem"; export * from "./EmployeesRetrieveRequestRemoteFields"; export * from "./EmployeesRetrieveRequestShowEnumOrigins"; -export * from "./IgnoreCommonModelRequestReason"; diff --git a/src/api/resources/hris/resources/employerBenefits/client/Client.ts b/src/api/resources/hris/resources/employerBenefits/client/Client.ts index a25d5c458..15766714e 100644 --- a/src/api/resources/hris/resources/employerBenefits/client/Client.ts +++ b/src/api/resources/hris/resources/employerBenefits/client/Client.ts @@ -43,86 +43,101 @@ export class EmployerBenefitsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.hris.EmployerBenefitsListRequest = {}, requestOptions?: EmployerBenefitsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.EmployerBenefitsListRequest = {}, - requestOptions?: EmployerBenefitsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.EmployerBenefitsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/employer-benefits", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedEmployerBenefitList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/hris/v1/employer-benefits", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/employer-benefits", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedEmployerBenefitList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/employer-benefits"); } /** diff --git a/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts b/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts index 9997b8ef7..e282b201a 100644 --- a/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts +++ b/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts @@ -32,7 +32,7 @@ export interface EmployerBenefitsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/hris/resources/employments/client/Client.ts b/src/api/resources/hris/resources/employments/client/Client.ts index 18961e7e4..78f1a74a0 100644 --- a/src/api/resources/hris/resources/employments/client/Client.ts +++ b/src/api/resources/hris/resources/employments/client/Client.ts @@ -35,7 +35,6 @@ export class EmploymentsClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -48,116 +47,131 @@ export class EmploymentsClient { * showEnumOrigins: "employment_type" * }) */ - public list( + public async list( request: Merge.hris.EmploymentsListRequest = {}, requestOptions?: EmploymentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.EmploymentsListRequest = {}, - requestOptions?: EmploymentsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - employeeId, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - orderBy, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - expand: - expand != null - ? serializers.hris.EmploymentsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - order_by: - orderBy != null - ? serializers.hris.EmploymentsListRequestOrderBy.jsonOrThrow(orderBy, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.hris.EmploymentsListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - show_enum_origins: - showEnumOrigins != null - ? serializers.hris.EmploymentsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.EmploymentsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + employeeId, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + orderBy, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + employee_id: employeeId, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.EmploymentsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.hris.EmploymentsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + order_by: + orderBy != null + ? serializers.hris.EmploymentsListRequestOrderBy.jsonOrThrow(orderBy, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.hris.EmploymentsListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + show_enum_origins: + showEnumOrigins != null + ? serializers.hris.EmploymentsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/employments", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedEmploymentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/employments"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/employments", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedEmploymentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/employments"); } /** @@ -169,7 +183,6 @@ export class EmploymentsClient { * * @example * await client.hris.employments.retrieve("id", { - * expand: "employee", * includeRemoteData: true, * includeShellData: true, * remoteFields: "employment_type", @@ -191,12 +204,17 @@ export class EmploymentsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.hris.EmploymentsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.EmploymentsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.hris.EmploymentsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: diff --git a/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts b/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts index e94ef2352..68c3d92fb 100644 --- a/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts +++ b/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -32,7 +31,7 @@ export interface EmploymentsListRequest { /** If provided, will only return employments for this employee. */ employeeId?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.EmploymentsListRequestExpand; + expand?: Merge.hris.EmploymentsListRequestExpandItem | Merge.hris.EmploymentsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -45,7 +44,7 @@ export interface EmploymentsListRequest { modifiedBefore?: Date; /** Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. */ orderBy?: Merge.hris.EmploymentsListRequestOrderBy; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Deprecated. Use show_enum_origins. */ remoteFields?: Merge.hris.EmploymentsListRequestRemoteFields; diff --git a/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts b/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts index 866db5bbe..21d266c3e 100644 --- a/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "employee", * includeRemoteData: true, * includeShellData: true, * remoteFields: "employment_type", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface EmploymentsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.EmploymentsRetrieveRequestExpand; + expand?: Merge.hris.EmploymentsRetrieveRequestExpandItem | Merge.hris.EmploymentsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts b/src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts deleted file mode 100644 index c37d90b8e..000000000 --- a/src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EmploymentsListRequestExpand = { - Employee: "employee", - EmployeePayGroup: "employee,pay_group", - PayGroup: "pay_group", -} as const; -export type EmploymentsListRequestExpand = - (typeof EmploymentsListRequestExpand)[keyof typeof EmploymentsListRequestExpand]; diff --git a/src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts b/src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts new file mode 100644 index 000000000..979fe5d90 --- /dev/null +++ b/src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EmploymentsListRequestExpandItem = { + Employee: "employee", + PayGroup: "pay_group", +} as const; +export type EmploymentsListRequestExpandItem = + (typeof EmploymentsListRequestExpandItem)[keyof typeof EmploymentsListRequestExpandItem]; diff --git a/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts b/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts deleted file mode 100644 index 653f869aa..000000000 --- a/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const EmploymentsRetrieveRequestExpand = { - Employee: "employee", - EmployeePayGroup: "employee,pay_group", - PayGroup: "pay_group", -} as const; -export type EmploymentsRetrieveRequestExpand = - (typeof EmploymentsRetrieveRequestExpand)[keyof typeof EmploymentsRetrieveRequestExpand]; diff --git a/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts b/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..36e0c0269 --- /dev/null +++ b/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const EmploymentsRetrieveRequestExpandItem = { + Employee: "employee", + PayGroup: "pay_group", +} as const; +export type EmploymentsRetrieveRequestExpandItem = + (typeof EmploymentsRetrieveRequestExpandItem)[keyof typeof EmploymentsRetrieveRequestExpandItem]; diff --git a/src/api/resources/hris/resources/employments/types/index.ts b/src/api/resources/hris/resources/employments/types/index.ts index 4d767a4f5..b37f6e136 100644 --- a/src/api/resources/hris/resources/employments/types/index.ts +++ b/src/api/resources/hris/resources/employments/types/index.ts @@ -1,7 +1,7 @@ -export * from "./EmploymentsListRequestExpand"; +export * from "./EmploymentsListRequestExpandItem"; export * from "./EmploymentsListRequestOrderBy"; export * from "./EmploymentsListRequestRemoteFields"; export * from "./EmploymentsListRequestShowEnumOrigins"; -export * from "./EmploymentsRetrieveRequestExpand"; +export * from "./EmploymentsRetrieveRequestExpandItem"; export * from "./EmploymentsRetrieveRequestRemoteFields"; export * from "./EmploymentsRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts b/src/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts index 64683cd2f..e711ea5fc 100644 --- a/src/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts +++ b/src/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts @@ -27,6 +27,4 @@ export interface CreateFieldMappingRequest { remoteUrlPath: string; /** The name of the Common Model that the remote field corresponds to in a given category. */ commonModelName: string; - /** JMES path to specify json query expression to be used on field mapping. */ - jmesPath?: string; } diff --git a/src/api/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts b/src/api/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts index 5ca4a0560..0efe65466 100644 --- a/src/api/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts +++ b/src/api/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts @@ -11,6 +11,4 @@ export interface PatchedEditFieldMappingRequest { remoteMethod?: string; /** The path of the remote endpoint where the remote field is coming from. */ remoteUrlPath?: string; - /** JMES path to specify json query expression to be used on field mapping. */ - jmesPath?: string; } diff --git a/src/api/resources/hris/resources/groups/client/Client.ts b/src/api/resources/hris/resources/groups/client/Client.ts index 7e0e0d717..0049019d7 100644 --- a/src/api/resources/hris/resources/groups/client/Client.ts +++ b/src/api/resources/hris/resources/groups/client/Client.ts @@ -48,96 +48,106 @@ export class GroupsClient { * types: "types" * }) */ - public list( + public async list( request: Merge.hris.GroupsListRequest = {}, requestOptions?: GroupsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.GroupsListRequest = {}, - requestOptions?: GroupsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonlyUsedAsTeam, - modifiedAfter, - modifiedBefore, - names, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - types, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_commonly_used_as_team: isCommonlyUsedAsTeam, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - names, - page_size: pageSize, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - types, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.GroupsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonlyUsedAsTeam, + modifiedAfter, + modifiedBefore, + names, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + types, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_commonly_used_as_team: isCommonlyUsedAsTeam, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + names, + page_size: pageSize, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + types, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/groups", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedGroupList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/groups"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/groups", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedGroupList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/groups"); } /** diff --git a/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts b/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts index 9c24ad125..0e0b6dc5a 100644 --- a/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts +++ b/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts @@ -41,7 +41,7 @@ export interface GroupsListRequest { modifiedBefore?: Date; /** If provided, will only return groups with these names. Multiple values can be separated by commas. */ names?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Deprecated. Use show_enum_origins. */ remoteFields?: "type"; diff --git a/src/api/resources/hris/resources/issues/client/Client.ts b/src/api/resources/hris/resources/issues/client/Client.ts index 1d7a8a2f0..0c36d8931 100644 --- a/src/api/resources/hris/resources/issues/client/Client.ts +++ b/src/api/resources/hris/resources/issues/client/Client.ts @@ -47,97 +47,109 @@ export class IssuesClient { * status: "ONGOING" * }) */ - public list( + public async list( request: Merge.hris.IssuesListRequest = {}, requestOptions?: IssuesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.IssuesListRequest = {}, - requestOptions?: IssuesClient.RequestOptions, - ): Promise> { - const { - accountToken, - cursor, - endDate, - endUserOrganizationName, - firstIncidentTimeAfter, - firstIncidentTimeBefore, - includeMuted, - integrationName, - lastIncidentTimeAfter, - lastIncidentTimeBefore, - linkedAccountId, - pageSize, - startDate, - status, - } = request; - const _queryParams: Record = { - account_token: accountToken, - cursor, - end_date: endDate, - end_user_organization_name: endUserOrganizationName, - first_incident_time_after: firstIncidentTimeAfter?.toISOString(), - first_incident_time_before: firstIncidentTimeBefore?.toISOString(), - include_muted: includeMuted, - integration_name: integrationName, - last_incident_time_after: lastIncidentTimeAfter?.toISOString(), - last_incident_time_before: lastIncidentTimeBefore?.toISOString(), - linked_account_id: linkedAccountId, - page_size: pageSize, - start_date: startDate, - status: - status != null - ? serializers.hris.IssuesListRequestStatus.jsonOrThrow(status, { unrecognizedObjectKeys: "strip" }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.IssuesListRequest, + ): Promise> => { + const { + accountToken, + cursor, + endDate, + endUserOrganizationName, + firstIncidentTimeAfter, + firstIncidentTimeBefore, + includeMuted, + integrationName, + lastIncidentTimeAfter, + lastIncidentTimeBefore, + linkedAccountId, + pageSize, + startDate, + status, + } = request; + const _queryParams: Record = { + account_token: accountToken, + cursor, + end_date: endDate, + end_user_organization_name: endUserOrganizationName, + first_incident_time_after: firstIncidentTimeAfter?.toISOString(), + first_incident_time_before: firstIncidentTimeBefore?.toISOString(), + include_muted: includeMuted, + integration_name: integrationName, + last_incident_time_after: lastIncidentTimeAfter?.toISOString(), + last_incident_time_before: lastIncidentTimeBefore?.toISOString(), + linked_account_id: linkedAccountId, + page_size: pageSize, + start_date: startDate, + status: + status != null + ? serializers.hris.IssuesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/issues", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedIssueList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/issues"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/issues", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedIssueList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/issues"); } /** diff --git a/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts index bbc3675dc..f9daae019 100644 --- a/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts @@ -41,7 +41,7 @@ export interface IssuesListRequest { lastIncidentTimeBefore?: Date; /** If provided, will only include issues pertaining to the linked account passed in. */ linkedAccountId?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If included, will only include issues whose most recent action occurred after this time */ startDate?: string; diff --git a/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 7ca286e3e..20a7d9e84 100644 --- a/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -43,10 +43,4 @@ export interface EndUserDetailsRequest { areSyncsDisabled?: boolean; /** A JSON object containing integration-specific configuration options. */ integrationSpecificConfig?: Record; - /** - * When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - * - * * `SELECTIVE_SYNC` - SELECTIVE_SYNC - */ - completedAccountInitialScreen?: Merge.hris.EndUserDetailsRequestCompletedAccountInitialScreen; } diff --git a/src/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts b/src/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts deleted file mode 100644 index ee4be3374..000000000 --- a/src/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts +++ /dev/null @@ -1,10 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../index"; - -/** - * When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - * - * * `SELECTIVE_SYNC` - SELECTIVE_SYNC - */ -export type EndUserDetailsRequestCompletedAccountInitialScreen = Merge.hris.CompletedAccountInitialScreenEnum | string; diff --git a/src/api/resources/hris/resources/linkToken/types/index.ts b/src/api/resources/hris/resources/linkToken/types/index.ts index 7aed25cb1..c90e13c37 100644 --- a/src/api/resources/hris/resources/linkToken/types/index.ts +++ b/src/api/resources/hris/resources/linkToken/types/index.ts @@ -1,2 +1 @@ -export * from "./EndUserDetailsRequestCompletedAccountInitialScreen"; export * from "./EndUserDetailsRequestLanguage"; diff --git a/src/api/resources/hris/resources/linkedAccounts/client/Client.ts b/src/api/resources/hris/resources/linkedAccounts/client/Client.ts index 0aedfaf79..fa5853b34 100644 --- a/src/api/resources/hris/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/hris/resources/linkedAccounts/client/Client.ts @@ -46,96 +46,111 @@ export class LinkedAccountsClient { * status: "status" * }) */ - public list( + public async list( request: Merge.hris.LinkedAccountsListRequest = {}, requestOptions?: LinkedAccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.LinkedAccountsListRequest = {}, - requestOptions?: LinkedAccountsClient.RequestOptions, - ): Promise> { - const { - category, - cursor, - endUserEmailAddress, - endUserOrganizationName, - endUserOriginId, - endUserOriginIds, - id, - ids, - includeDuplicates, - integrationName, - isTestAccount, - pageSize, - status, - } = request; - const _queryParams: Record = { - category: - category != null - ? serializers.hris.LinkedAccountsListRequestCategory.jsonOrThrow(category, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - cursor, - end_user_email_address: endUserEmailAddress, - end_user_organization_name: endUserOrganizationName, - end_user_origin_id: endUserOriginId, - end_user_origin_ids: endUserOriginIds, - id, - ids, - include_duplicates: includeDuplicates, - integration_name: integrationName, - is_test_account: isTestAccount, - page_size: pageSize, - status, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.LinkedAccountsListRequest, + ): Promise> => { + const { + category, + cursor, + endUserEmailAddress, + endUserOrganizationName, + endUserOriginId, + endUserOriginIds, + id, + ids, + includeDuplicates, + integrationName, + isTestAccount, + pageSize, + status, + } = request; + const _queryParams: Record = { + category: + category != null + ? serializers.hris.LinkedAccountsListRequestCategory.jsonOrThrow(category, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + cursor, + end_user_email_address: endUserEmailAddress, + end_user_organization_name: endUserOrganizationName, + end_user_origin_id: endUserOriginId, + end_user_origin_ids: endUserOriginIds, + id, + ids, + include_duplicates: includeDuplicates, + integration_name: integrationName, + is_test_account: isTestAccount, + page_size: pageSize, + status, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/linked-accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/hris/v1/linked-accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/linked-accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/linked-accounts"); } } diff --git a/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index b63e19335..107f4674b 100644 --- a/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -52,7 +52,7 @@ export interface LinkedAccountsListRequest { integrationName?: string; /** If included, will only include test linked accounts. If not included, will only include non-test linked accounts. */ isTestAccount?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` */ status?: string; diff --git a/src/api/resources/hris/resources/locations/client/Client.ts b/src/api/resources/hris/resources/locations/client/Client.ts index b6065d159..5c318c7ad 100644 --- a/src/api/resources/hris/resources/locations/client/Client.ts +++ b/src/api/resources/hris/resources/locations/client/Client.ts @@ -46,107 +46,117 @@ export class LocationsClient { * showEnumOrigins: "country" * }) */ - public list( + public async list( request: Merge.hris.LocationsListRequest = {}, requestOptions?: LocationsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.LocationsListRequest = {}, - requestOptions?: LocationsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - locationType, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - location_type: - locationType != null - ? serializers.hris.LocationsListRequestLocationType.jsonOrThrow(locationType, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.hris.LocationsListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - show_enum_origins: - showEnumOrigins != null - ? serializers.hris.LocationsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.LocationsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + locationType, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + location_type: + locationType != null + ? serializers.hris.LocationsListRequestLocationType.jsonOrThrow(locationType, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.hris.LocationsListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + show_enum_origins: + showEnumOrigins != null + ? serializers.hris.LocationsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/locations", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedLocationList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/locations"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/locations", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedLocationList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/locations"); } /** diff --git a/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts b/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts index 9741f2af9..5f2b2d08b 100644 --- a/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts +++ b/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts @@ -34,7 +34,7 @@ export interface LocationsListRequest { /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ includeShellData?: boolean; /** - * If provided, will only return locations with this location type + * If provided, will only return locations with this location_type * * * `HOME` - HOME * * `WORK` - WORK @@ -44,7 +44,7 @@ export interface LocationsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Deprecated. Use show_enum_origins. */ remoteFields?: Merge.hris.LocationsListRequestRemoteFields; diff --git a/src/api/resources/hris/resources/payGroups/client/Client.ts b/src/api/resources/hris/resources/payGroups/client/Client.ts index d6ad54fc0..39d93d089 100644 --- a/src/api/resources/hris/resources/payGroups/client/Client.ts +++ b/src/api/resources/hris/resources/payGroups/client/Client.ts @@ -43,86 +43,96 @@ export class PayGroupsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.hris.PayGroupsListRequest = {}, requestOptions?: PayGroupsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.PayGroupsListRequest = {}, - requestOptions?: PayGroupsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.PayGroupsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/pay-groups", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedPayGroupList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/pay-groups"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/pay-groups", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedPayGroupList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/pay-groups"); } /** diff --git a/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts b/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts index 3c517484e..4ee88536f 100644 --- a/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts +++ b/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts @@ -32,7 +32,7 @@ export interface PayGroupsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/hris/resources/payrollRuns/client/Client.ts b/src/api/resources/hris/resources/payrollRuns/client/Client.ts index acbcf36c3..60e78b728 100644 --- a/src/api/resources/hris/resources/payrollRuns/client/Client.ts +++ b/src/api/resources/hris/resources/payrollRuns/client/Client.ts @@ -50,115 +50,125 @@ export class PayrollRunsClient { * startedBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.hris.PayrollRunsListRequest = {}, requestOptions?: PayrollRunsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.PayrollRunsListRequest = {}, - requestOptions?: PayrollRunsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - endedAfter, - endedBefore, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - runType, - showEnumOrigins, - startedAfter, - startedBefore, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - ended_after: endedAfter?.toISOString(), - ended_before: endedBefore?.toISOString(), - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.hris.PayrollRunsListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - run_type: - runType != null - ? serializers.hris.PayrollRunsListRequestRunType.jsonOrThrow(runType, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - show_enum_origins: - showEnumOrigins != null - ? serializers.hris.PayrollRunsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - started_after: startedAfter?.toISOString(), - started_before: startedBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.PayrollRunsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + endedAfter, + endedBefore, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + runType, + showEnumOrigins, + startedAfter, + startedBefore, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + ended_after: endedAfter?.toISOString(), + ended_before: endedBefore?.toISOString(), + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.hris.PayrollRunsListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + run_type: + runType != null + ? serializers.hris.PayrollRunsListRequestRunType.jsonOrThrow(runType, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + show_enum_origins: + showEnumOrigins != null + ? serializers.hris.PayrollRunsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + started_after: startedAfter?.toISOString(), + started_before: startedBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/payroll-runs", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedPayrollRunList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/payroll-runs"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/payroll-runs", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedPayrollRunList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/payroll-runs"); } /** diff --git a/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts b/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts index 39fcd47bc..6f7d7776c 100644 --- a/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts +++ b/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts @@ -45,7 +45,7 @@ export interface PayrollRunsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Deprecated. Use show_enum_origins. */ remoteFields?: Merge.hris.PayrollRunsListRequestRemoteFields; diff --git a/src/api/resources/hris/resources/syncStatus/client/Client.ts b/src/api/resources/hris/resources/syncStatus/client/Client.ts index 9b19d8ce4..e2c2c577b 100644 --- a/src/api/resources/hris/resources/syncStatus/client/Client.ts +++ b/src/api/resources/hris/resources/syncStatus/client/Client.ts @@ -35,66 +35,76 @@ export class SyncStatusClient { * pageSize: 1 * }) */ - public list( + public async list( request: Merge.hris.SyncStatusListRequest = {}, requestOptions?: SyncStatusClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.SyncStatusListRequest = {}, - requestOptions?: SyncStatusClient.RequestOptions, - ): Promise> { - const { cursor, pageSize } = request; - const _queryParams: Record = { - cursor, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.SyncStatusListRequest, + ): Promise> => { + const { cursor, pageSize } = request; + const _queryParams: Record = { + cursor, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/sync-status", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedSyncStatusList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/sync-status"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/sync-status", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedSyncStatusList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/sync-status"); } } diff --git a/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts index 94e1240fc..2bbace517 100644 --- a/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -10,6 +10,6 @@ export interface SyncStatusListRequest { /** The pagination cursor value. */ cursor?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; } diff --git a/src/api/resources/hris/resources/teams/client/Client.ts b/src/api/resources/hris/resources/teams/client/Client.ts index e6f160c0b..2fb4373e7 100644 --- a/src/api/resources/hris/resources/teams/client/Client.ts +++ b/src/api/resources/hris/resources/teams/client/Client.ts @@ -34,7 +34,6 @@ export class TeamsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "parent_team", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,90 +44,100 @@ export class TeamsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.hris.TeamsListRequest = {}, requestOptions?: TeamsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.TeamsListRequest = {}, - requestOptions?: TeamsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - parentTeamId, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - parent_team_id: parentTeamId, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.TeamsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + parentTeamId, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + parent_team_id: parentTeamId, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/teams", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedTeamList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/teams"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/teams", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedTeamList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/teams"); } /** @@ -140,7 +149,6 @@ export class TeamsClient { * * @example * await client.hris.teams.retrieve("id", { - * expand: "parent_team", * includeRemoteData: true, * includeShellData: true * }) @@ -160,7 +168,7 @@ export class TeamsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts b/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts index 5bcaf83a9..142aae51a 100644 --- a/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts +++ b/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "parent_team", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -25,7 +24,7 @@ export interface TeamsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "parent_team"; + expand?: "parent_team" | "parent_team"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -36,7 +35,7 @@ export interface TeamsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If provided, will only return teams with this parent team. */ parentTeamId?: string; diff --git a/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts b/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts index 0ce33d724..f60dace65 100644 --- a/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "parent_team", * includeRemoteData: true, * includeShellData: true * } */ export interface TeamsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "parent_team"; + expand?: "parent_team" | "parent_team"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/resources/timeOff/client/Client.ts b/src/api/resources/hris/resources/timeOff/client/Client.ts index c8244b1e8..b4991c772 100644 --- a/src/api/resources/hris/resources/timeOff/client/Client.ts +++ b/src/api/resources/hris/resources/timeOff/client/Client.ts @@ -38,7 +38,6 @@ export class TimeOffClient { * employeeId: "employee_id", * endedAfter: new Date("2024-01-15T09:30:00.000Z"), * endedBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "approver", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -54,129 +53,148 @@ export class TimeOffClient { * status: "APPROVED" * }) */ - public list( + public async list( request: Merge.hris.TimeOffListRequest = {}, requestOptions?: TimeOffClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.TimeOffListRequest = {}, - requestOptions?: TimeOffClient.RequestOptions, - ): Promise> { - const { - approverId, - createdAfter, - createdBefore, - cursor, - employeeId, - endedAfter, - endedBefore, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteFields, - remoteId, - requestType, - showEnumOrigins, - startedAfter, - startedBefore, - status, - } = request; - const _queryParams: Record = { - approver_id: approverId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - ended_after: endedAfter?.toISOString(), - ended_before: endedBefore?.toISOString(), - expand: - expand != null - ? serializers.hris.TimeOffListRequestExpand.jsonOrThrow(expand, { unrecognizedObjectKeys: "strip" }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_fields: - remoteFields != null - ? serializers.hris.TimeOffListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - request_type: - requestType != null - ? serializers.hris.TimeOffListRequestRequestType.jsonOrThrow(requestType, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - show_enum_origins: - showEnumOrigins != null - ? serializers.hris.TimeOffListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - started_after: startedAfter?.toISOString(), - started_before: startedBefore?.toISOString(), - status: - status != null - ? serializers.hris.TimeOffListRequestStatus.jsonOrThrow(status, { unrecognizedObjectKeys: "strip" }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.TimeOffListRequest, + ): Promise> => { + const { + approverId, + createdAfter, + createdBefore, + cursor, + employeeId, + endedAfter, + endedBefore, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteFields, + remoteId, + requestType, + showEnumOrigins, + startedAfter, + startedBefore, + status, + } = request; + const _queryParams: Record = { + approver_id: approverId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + employee_id: employeeId, + ended_after: endedAfter?.toISOString(), + ended_before: endedBefore?.toISOString(), + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.TimeOffListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.hris.TimeOffListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_fields: + remoteFields != null + ? serializers.hris.TimeOffListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + request_type: + requestType != null + ? serializers.hris.TimeOffListRequestRequestType.jsonOrThrow(requestType, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + show_enum_origins: + showEnumOrigins != null + ? serializers.hris.TimeOffListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + started_after: startedAfter?.toISOString(), + started_before: startedBefore?.toISOString(), + status: + status != null + ? serializers.hris.TimeOffListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/time-off", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedTimeOffList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/time-off"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/time-off", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedTimeOffList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/time-off"); } /** @@ -267,7 +285,6 @@ export class TimeOffClient { * * @example * await client.hris.timeOff.retrieve("id", { - * expand: "approver", * includeRemoteData: true, * includeShellData: true, * remoteFields: "request_type", @@ -289,12 +306,17 @@ export class TimeOffClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.hris.TimeOffRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.hris.TimeOffRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.hris.TimeOffRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: diff --git a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts index bd8bbe246..f461d8aa4 100644 --- a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts +++ b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts @@ -12,7 +12,6 @@ import type * as Merge from "../../../../../../index"; * employeeId: "employee_id", * endedAfter: new Date("2024-01-15T09:30:00.000Z"), * endedBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "approver", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -44,7 +43,7 @@ export interface TimeOffListRequest { /** If provided, will only return time-offs that ended before this datetime. */ endedBefore?: Date; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.TimeOffListRequestExpand; + expand?: Merge.hris.TimeOffListRequestExpandItem | Merge.hris.TimeOffListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -55,7 +54,7 @@ export interface TimeOffListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Deprecated. Use show_enum_origins. */ remoteFields?: Merge.hris.TimeOffListRequestRemoteFields; diff --git a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts index 57fccef06..5bbc87178 100644 --- a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts +++ b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "approver", * includeRemoteData: true, * includeShellData: true, * remoteFields: "request_type", @@ -14,7 +13,7 @@ import type * as Merge from "../../../../../../index"; */ export interface TimeOffRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.hris.TimeOffRetrieveRequestExpand; + expand?: Merge.hris.TimeOffRetrieveRequestExpandItem | Merge.hris.TimeOffRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts deleted file mode 100644 index 397870e19..000000000 --- a/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TimeOffListRequestExpand = { - Approver: "approver", - Employee: "employee", - EmployeeApprover: "employee,approver", -} as const; -export type TimeOffListRequestExpand = (typeof TimeOffListRequestExpand)[keyof typeof TimeOffListRequestExpand]; diff --git a/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts new file mode 100644 index 000000000..7a71d9dac --- /dev/null +++ b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TimeOffListRequestExpandItem = { + Approver: "approver", + Employee: "employee", +} as const; +export type TimeOffListRequestExpandItem = + (typeof TimeOffListRequestExpandItem)[keyof typeof TimeOffListRequestExpandItem]; diff --git a/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts deleted file mode 100644 index 288c5188b..000000000 --- a/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TimeOffRetrieveRequestExpand = { - Approver: "approver", - Employee: "employee", - EmployeeApprover: "employee,approver", -} as const; -export type TimeOffRetrieveRequestExpand = - (typeof TimeOffRetrieveRequestExpand)[keyof typeof TimeOffRetrieveRequestExpand]; diff --git a/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..7bf878380 --- /dev/null +++ b/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TimeOffRetrieveRequestExpandItem = { + Approver: "approver", + Employee: "employee", +} as const; +export type TimeOffRetrieveRequestExpandItem = + (typeof TimeOffRetrieveRequestExpandItem)[keyof typeof TimeOffRetrieveRequestExpandItem]; diff --git a/src/api/resources/hris/resources/timeOff/types/index.ts b/src/api/resources/hris/resources/timeOff/types/index.ts index da891165f..5ccb53437 100644 --- a/src/api/resources/hris/resources/timeOff/types/index.ts +++ b/src/api/resources/hris/resources/timeOff/types/index.ts @@ -1,8 +1,8 @@ -export * from "./TimeOffListRequestExpand"; +export * from "./TimeOffListRequestExpandItem"; export * from "./TimeOffListRequestRemoteFields"; export * from "./TimeOffListRequestRequestType"; export * from "./TimeOffListRequestShowEnumOrigins"; export * from "./TimeOffListRequestStatus"; -export * from "./TimeOffRetrieveRequestExpand"; +export * from "./TimeOffRetrieveRequestExpandItem"; export * from "./TimeOffRetrieveRequestRemoteFields"; export * from "./TimeOffRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/hris/resources/timeOffBalances/client/Client.ts b/src/api/resources/hris/resources/timeOffBalances/client/Client.ts index 6f1b60938..06bdc427f 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/Client.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/Client.ts @@ -35,7 +35,6 @@ export class TimeOffBalancesClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -48,101 +47,116 @@ export class TimeOffBalancesClient { * showEnumOrigins: "policy_type" * }) */ - public list( + public async list( request: Merge.hris.TimeOffBalancesListRequest = {}, requestOptions?: TimeOffBalancesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.TimeOffBalancesListRequest = {}, - requestOptions?: TimeOffBalancesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - employeeId, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - policyType, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - policy_type: - policyType != null - ? serializers.hris.TimeOffBalancesListRequestPolicyType.jsonOrThrow(policyType, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.TimeOffBalancesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + employeeId, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + policyType, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + employee_id: employeeId, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + policy_type: + policyType != null + ? serializers.hris.TimeOffBalancesListRequestPolicyType.jsonOrThrow(policyType, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/time-off-balances", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedTimeOffBalanceList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/hris/v1/time-off-balances", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/time-off-balances", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedTimeOffBalanceList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/time-off-balances"); } /** @@ -154,7 +168,6 @@ export class TimeOffBalancesClient { * * @example * await client.hris.timeOffBalances.retrieve("id", { - * expand: "employee", * includeRemoteData: true, * includeShellData: true, * remoteFields: "policy_type", @@ -176,7 +189,7 @@ export class TimeOffBalancesClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts index 7cddca79b..3261f917e 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * employeeId: "employee_id", - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -32,7 +31,7 @@ export interface TimeOffBalancesListRequest { /** If provided, will only return time off balances for this employee. */ employeeId?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -43,7 +42,7 @@ export interface TimeOffBalancesListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** * If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') diff --git a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts index c2a71146f..1f7469239 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts @@ -3,7 +3,6 @@ /** * @example * { - * expand: "employee", * includeRemoteData: true, * includeShellData: true, * remoteFields: "policy_type", @@ -12,7 +11,7 @@ */ export interface TimeOffBalancesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/resources/timesheetEntries/client/Client.ts b/src/api/resources/hris/resources/timesheetEntries/client/Client.ts index f70b5334c..6534bf01f 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/Client.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/Client.ts @@ -37,7 +37,6 @@ export class TimesheetEntriesClient { * employeeId: "employee_id", * endedAfter: new Date("2024-01-15T09:30:00.000Z"), * endedBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -50,105 +49,120 @@ export class TimesheetEntriesClient { * startedBefore: new Date("2024-01-15T09:30:00.000Z") * }) */ - public list( + public async list( request: Merge.hris.TimesheetEntriesListRequest = {}, requestOptions?: TimesheetEntriesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.hris.TimesheetEntriesListRequest = {}, - requestOptions?: TimesheetEntriesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - employeeId, - endedAfter, - endedBefore, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - orderBy, - pageSize, - remoteId, - startedAfter, - startedBefore, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - employee_id: employeeId, - ended_after: endedAfter?.toISOString(), - ended_before: endedBefore?.toISOString(), - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - order_by: - orderBy != null - ? serializers.hris.TimesheetEntriesListRequestOrderBy.jsonOrThrow(orderBy, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - page_size: pageSize, - remote_id: remoteId, - started_after: startedAfter?.toISOString(), - started_before: startedBefore?.toISOString(), - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.hris.TimesheetEntriesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + employeeId, + endedAfter, + endedBefore, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + orderBy, + pageSize, + remoteId, + startedAfter, + startedBefore, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + employee_id: employeeId, + ended_after: endedAfter?.toISOString(), + ended_before: endedBefore?.toISOString(), + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + order_by: + orderBy != null + ? serializers.hris.TimesheetEntriesListRequestOrderBy.jsonOrThrow(orderBy, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + page_size: pageSize, + remote_id: remoteId, + started_after: startedAfter?.toISOString(), + started_before: startedBefore?.toISOString(), + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "hris/v1/timesheet-entries", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.hris.PaginatedTimesheetEntryList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/hris/v1/timesheet-entries", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "hris/v1/timesheet-entries", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.hris.PaginatedTimesheetEntryList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/hris/v1/timesheet-entries"); } /** @@ -241,7 +255,6 @@ export class TimesheetEntriesClient { * * @example * await client.hris.timesheetEntries.retrieve("id", { - * expand: "employee", * includeRemoteData: true, * includeShellData: true * }) @@ -261,7 +274,7 @@ export class TimesheetEntriesClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts index 56efd5fd7..90fea4de7 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts @@ -11,7 +11,6 @@ import type * as Merge from "../../../../../../index"; * employeeId: "employee_id", * endedAfter: new Date("2024-01-15T09:30:00.000Z"), * endedBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "employee", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -38,7 +37,7 @@ export interface TimesheetEntriesListRequest { /** If provided, will only return timesheet entries ended before this datetime. */ endedBefore?: Date; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -51,7 +50,7 @@ export interface TimesheetEntriesListRequest { modifiedBefore?: Date; /** Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. */ orderBy?: Merge.hris.TimesheetEntriesListRequestOrderBy; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts index af7403b4c..9a91583dc 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "employee", * includeRemoteData: true, * includeShellData: true * } */ export interface TimesheetEntriesRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "employee"; + expand?: "employee" | "employee"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/hris/types/AccountDetailsAndActions.ts b/src/api/resources/hris/types/AccountDetailsAndActions.ts index f0687a73d..db2ed5321 100644 --- a/src/api/resources/hris/types/AccountDetailsAndActions.ts +++ b/src/api/resources/hris/types/AccountDetailsAndActions.ts @@ -26,5 +26,4 @@ export interface AccountDetailsAndActions { integration?: Merge.hris.AccountDetailsAndActionsIntegration; accountType: string; completedAt: Date; - integrationSpecificFields?: Record; } diff --git a/src/api/resources/hris/types/Benefit.ts b/src/api/resources/hris/types/Benefit.ts index 8dd8f087c..6c4fe9a3c 100644 --- a/src/api/resources/hris/types/Benefit.ts +++ b/src/api/resources/hris/types/Benefit.ts @@ -32,10 +32,10 @@ export interface Benefit { startDate?: Date; /** The day and time the benefit ended. */ endDate?: Date; - /** The employer benefit plan the employee is enrolled in. */ - employerBenefit?: string; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; + /** The employer benefit plan the employee is enrolled in. */ + employerBenefit?: string; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; } diff --git a/src/api/resources/hris/types/CompletedAccountInitialScreenEnum.ts b/src/api/resources/hris/types/CompletedAccountInitialScreenEnum.ts deleted file mode 100644 index cfe34d1e7..000000000 --- a/src/api/resources/hris/types/CompletedAccountInitialScreenEnum.ts +++ /dev/null @@ -1,6 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -/** - * * `SELECTIVE_SYNC` - SELECTIVE_SYNC - */ -export type CompletedAccountInitialScreenEnum = "SELECTIVE_SYNC"; diff --git a/src/api/resources/hris/types/FieldMappingApiInstance.ts b/src/api/resources/hris/types/FieldMappingApiInstance.ts index b04a51a1c..dc87d1416 100644 --- a/src/api/resources/hris/types/FieldMappingApiInstance.ts +++ b/src/api/resources/hris/types/FieldMappingApiInstance.ts @@ -7,5 +7,4 @@ export interface FieldMappingApiInstance { isIntegrationWide?: boolean; targetField?: Merge.hris.FieldMappingApiInstanceTargetField; remoteField?: Merge.hris.FieldMappingApiInstanceRemoteField; - jmesPath?: string; } diff --git a/src/api/resources/hris/resources/employees/client/requests/IgnoreCommonModelRequest.ts b/src/api/resources/hris/types/IgnoreCommonModelRequest.ts similarity index 57% rename from src/api/resources/hris/resources/employees/client/requests/IgnoreCommonModelRequest.ts rename to src/api/resources/hris/types/IgnoreCommonModelRequest.ts index e39d178bb..87a9c6069 100644 --- a/src/api/resources/hris/resources/employees/client/requests/IgnoreCommonModelRequest.ts +++ b/src/api/resources/hris/types/IgnoreCommonModelRequest.ts @@ -1,13 +1,7 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../../index"; +import type * as Merge from "../../../index"; -/** - * @example - * { - * reason: "GENERAL_CUSTOMER_REQUEST" - * } - */ export interface IgnoreCommonModelRequest { reason: Merge.hris.IgnoreCommonModelRequestReason; message?: string; diff --git a/src/api/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts b/src/api/resources/hris/types/IgnoreCommonModelRequestReason.ts similarity index 73% rename from src/api/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts rename to src/api/resources/hris/types/IgnoreCommonModelRequestReason.ts index 5dd850bd3..8c2f367a1 100644 --- a/src/api/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts +++ b/src/api/resources/hris/types/IgnoreCommonModelRequestReason.ts @@ -1,5 +1,5 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../index"; +import type * as Merge from "../../../index"; export type IgnoreCommonModelRequestReason = Merge.hris.ReasonEnum | string; diff --git a/src/api/resources/hris/types/MultipartFormFieldRequest.ts b/src/api/resources/hris/types/MultipartFormFieldRequest.ts index 6e4dc5330..8db4f9d2b 100644 --- a/src/api/resources/hris/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/hris/types/MultipartFormFieldRequest.ts @@ -22,7 +22,7 @@ export interface MultipartFormFieldRequest { * * `BASE64` - BASE64 * * `GZIP_BASE64` - GZIP_BASE64 */ - encoding?: Merge.hris.MultipartFormFieldRequestEncoding; + encoding?: Merge.hris.EncodingEnum; /** The file name of the form field, if the field is for a file. */ fileName?: string; /** The MIME type of the file, if the field is for a file. */ diff --git a/src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts deleted file mode 100644 index 626389b9d..000000000 --- a/src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The encoding of the value of `data`. Defaults to `RAW` if not defined. - * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 - */ -export type MultipartFormFieldRequestEncoding = Merge.hris.EncodingEnum | string; diff --git a/src/api/resources/hris/types/SyncStatus.ts b/src/api/resources/hris/types/SyncStatus.ts index a77c829b4..9b29e9417 100644 --- a/src/api/resources/hris/types/SyncStatus.ts +++ b/src/api/resources/hris/types/SyncStatus.ts @@ -17,7 +17,7 @@ export interface SyncStatus { nextSyncStart?: Date; lastSyncResult?: Merge.hris.SyncStatusLastSyncResult; lastSyncFinished?: Date; - status: Merge.hris.StatusFd5Enum; + status: Merge.hris.SyncStatusStatus; isInitialSync: boolean; selectiveSyncConfigurationsUsage?: Merge.hris.SelectiveSyncConfigurationsUsageEnum; } diff --git a/src/api/resources/accounting/types/ExpenseReportLineContact.ts b/src/api/resources/hris/types/SyncStatusStatus.ts similarity index 60% rename from src/api/resources/accounting/types/ExpenseReportLineContact.ts rename to src/api/resources/hris/types/SyncStatusStatus.ts index 3cef85957..d0f18b534 100644 --- a/src/api/resources/accounting/types/ExpenseReportLineContact.ts +++ b/src/api/resources/hris/types/SyncStatusStatus.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type ExpenseReportLineContact = string | Merge.accounting.Contact; +export type SyncStatusStatus = Merge.hris.StatusFd5Enum | string; diff --git a/src/api/resources/hris/types/index.ts b/src/api/resources/hris/types/index.ts index 92f0860a7..cef886e8d 100644 --- a/src/api/resources/hris/types/index.ts +++ b/src/api/resources/hris/types/index.ts @@ -25,7 +25,6 @@ export * from "./CategoryEnum"; export * from "./CommonModelScopeApi"; export * from "./CommonModelScopesBodyRequest"; export * from "./Company"; -export * from "./CompletedAccountInitialScreenEnum"; export * from "./CountryEnum"; export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; @@ -99,6 +98,8 @@ export * from "./GenderEnum"; export * from "./Group"; export * from "./GroupType"; export * from "./GroupTypeEnum"; +export * from "./IgnoreCommonModelRequest"; +export * from "./IgnoreCommonModelRequestReason"; export * from "./IndividualCommonModelScopeDeserializer"; export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./Issue"; @@ -119,7 +120,6 @@ export * from "./ModelOperation"; export * from "./ModelPermissionDeserializer"; export * from "./ModelPermissionDeserializerRequest"; export * from "./MultipartFormFieldRequest"; -export * from "./MultipartFormFieldRequestEncoding"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAuditLogEventList"; export * from "./PaginatedBankInfoList"; @@ -168,6 +168,7 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; export * from "./SyncStatusLastSyncResult"; +export * from "./SyncStatusStatus"; export * from "./Tax"; export * from "./Team"; export * from "./TeamParentTeam"; diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index 759acc241..8ce0ef329 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -1,6 +1,6 @@ export * as accounting from "./accounting"; export * as ats from "./ats"; export * as crm from "./crm"; -export * as filestorage from "./filestorage"; +export * as fileStorage from "./fileStorage"; export * as hris from "./hris"; export * as ticketing from "./ticketing"; diff --git a/src/api/resources/ticketing/resources/accounts/client/Client.ts b/src/api/resources/ticketing/resources/accounts/client/Client.ts index 59d5c3274..ba0733da4 100644 --- a/src/api/resources/ticketing/resources/accounts/client/Client.ts +++ b/src/api/resources/ticketing/resources/accounts/client/Client.ts @@ -43,86 +43,101 @@ export class AccountsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ticketing.AccountsListRequest = {}, requestOptions?: AccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.AccountsListRequest = {}, - requestOptions?: AccountsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.AccountsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedAccountList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedAccountList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/accounts"); } /** diff --git a/src/api/resources/ticketing/resources/attachments/client/Client.ts b/src/api/resources/ticketing/resources/attachments/client/Client.ts index fc52722ca..d066c8124 100644 --- a/src/api/resources/ticketing/resources/attachments/client/Client.ts +++ b/src/api/resources/ticketing/resources/attachments/client/Client.ts @@ -35,7 +35,6 @@ export class AttachmentsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "ticket", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -47,92 +46,107 @@ export class AttachmentsClient { * ticketId: "ticket_id" * }) */ - public list( + public async list( request: Merge.ticketing.AttachmentsListRequest = {}, requestOptions?: AttachmentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.AttachmentsListRequest = {}, - requestOptions?: AttachmentsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteCreatedAfter, - remoteId, - ticketId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_created_after: remoteCreatedAfter?.toISOString(), - remote_id: remoteId, - ticket_id: ticketId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.AttachmentsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteCreatedAfter, + remoteId, + ticketId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_created_after: remoteCreatedAfter?.toISOString(), + remote_id: remoteId, + ticket_id: ticketId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/attachments", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedAttachmentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/attachments", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/attachments", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedAttachmentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/attachments"); } /** @@ -225,7 +239,6 @@ export class AttachmentsClient { * * @example * await client.ticketing.attachments.retrieve("id", { - * expand: "ticket", * includeRemoteData: true, * includeShellData: true * }) @@ -245,7 +258,7 @@ export class AttachmentsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts index 40f1d8b71..1a75a2a82 100644 --- a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts +++ b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts @@ -6,7 +6,6 @@ * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "ticket", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -26,7 +25,7 @@ export interface AttachmentsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "ticket"; + expand?: "ticket" | "ticket"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -37,7 +36,7 @@ export interface AttachmentsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If provided, will only return attachments created in the third party platform after this datetime. */ remoteCreatedAfter?: Date; diff --git a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts index 889e4d930..dd576d168 100644 --- a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "ticket", * includeRemoteData: true, * includeShellData: true * } */ export interface AttachmentsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "ticket"; + expand?: "ticket" | "ticket"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ticketing/resources/auditTrail/client/Client.ts b/src/api/resources/ticketing/resources/auditTrail/client/Client.ts index a23d1bd09..607b41ff5 100644 --- a/src/api/resources/ticketing/resources/auditTrail/client/Client.ts +++ b/src/api/resources/ticketing/resources/auditTrail/client/Client.ts @@ -39,70 +39,85 @@ export class AuditTrailClient { * userEmail: "user_email" * }) */ - public list( + public async list( request: Merge.ticketing.AuditTrailListRequest = {}, requestOptions?: AuditTrailClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.AuditTrailListRequest = {}, - requestOptions?: AuditTrailClient.RequestOptions, - ): Promise> { - const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams: Record = { - cursor, - end_date: endDate, - event_type: eventType, - page_size: pageSize, - start_date: startDate, - user_email: userEmail, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.AuditTrailListRequest, + ): Promise> => { + const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; + const _queryParams: Record = { + cursor, + end_date: endDate, + event_type: eventType, + page_size: pageSize, + start_date: startDate, + user_email: userEmail, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/audit-trail", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedAuditLogEventList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/audit-trail", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/audit-trail", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedAuditLogEventList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/audit-trail"); } } diff --git a/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts index b188a570e..65216f96c 100644 --- a/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -18,7 +18,7 @@ export interface AuditTrailListRequest { endDate?: string; /** If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` */ eventType?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If included, will only include audit trail events that occurred after this time */ startDate?: string; diff --git a/src/api/resources/ticketing/resources/collections/client/Client.ts b/src/api/resources/ticketing/resources/collections/client/Client.ts index fd6d247b9..8d5e7f574 100644 --- a/src/api/resources/ticketing/resources/collections/client/Client.ts +++ b/src/api/resources/ticketing/resources/collections/client/Client.ts @@ -35,7 +35,6 @@ export class CollectionsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "parent_collection", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -49,103 +48,118 @@ export class CollectionsClient { * showEnumOrigins: "collection_type" * }) */ - public list( + public async list( request: Merge.ticketing.CollectionsListRequest = {}, requestOptions?: CollectionsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.CollectionsListRequest = {}, - requestOptions?: CollectionsClient.RequestOptions, - ): Promise> { - const { - collectionType, - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - pageSize, - parentCollectionId, - remoteFields, - remoteId, - showEnumOrigins, - } = request; - const _queryParams: Record = { - collection_type: - collectionType != null - ? serializers.ticketing.CollectionsListRequestCollectionType.jsonOrThrow(collectionType, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - parent_collection_id: parentCollectionId, - remote_fields: remoteFields != null ? remoteFields : undefined, - remote_id: remoteId, - show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.CollectionsListRequest, + ): Promise> => { + const { + collectionType, + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + pageSize, + parentCollectionId, + remoteFields, + remoteId, + showEnumOrigins, + } = request; + const _queryParams: Record = { + collection_type: + collectionType != null + ? serializers.ticketing.CollectionsListRequestCollectionType.jsonOrThrow(collectionType, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + parent_collection_id: parentCollectionId, + remote_fields: remoteFields != null ? remoteFields : undefined, + remote_id: remoteId, + show_enum_origins: showEnumOrigins != null ? showEnumOrigins : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/collections", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedCollectionList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/collections", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/collections", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedCollectionList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/collections"); } /** @@ -158,90 +172,103 @@ export class CollectionsClient { * @example * await client.ticketing.collections.viewersList("collection_id", { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "team", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, * pageSize: 1 * }) */ - public viewersList( - collection_id: string, - request: Merge.ticketing.CollectionsViewersListRequest = {}, - requestOptions?: CollectionsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__viewersList(collection_id, request, requestOptions)); - } - - private async __viewersList( + public async viewersList( collection_id: string, request: Merge.ticketing.CollectionsViewersListRequest = {}, requestOptions?: CollectionsClient.RequestOptions, - ): Promise> { - const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - expand: - expand != null - ? serializers.ticketing.CollectionsViewersListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.CollectionsViewersListRequest, + ): Promise> => { + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.CollectionsViewersListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ticketing.CollectionsViewersListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `ticketing/v1/collections/${core.url.encodePathParam(collection_id)}/viewers`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedViewerList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/collections/{collection_id}/viewers", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `ticketing/v1/collections/${core.url.encodePathParam(collection_id)}/viewers`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedViewerList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/ticketing/v1/collections/{collection_id}/viewers", - ); } /** @@ -253,7 +280,6 @@ export class CollectionsClient { * * @example * await client.ticketing.collections.retrieve("id", { - * expand: "parent_collection", * includeRemoteData: true, * includeShellData: true, * remoteFields: "collection_type", @@ -275,7 +301,7 @@ export class CollectionsClient { ): Promise> { const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, remote_fields: remoteFields != null ? remoteFields : undefined, diff --git a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts index 7f11cd592..dd458dab5 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "parent_collection", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -33,7 +32,7 @@ export interface CollectionsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "parent_collection"; + expand?: "parent_collection" | "parent_collection"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -46,7 +45,7 @@ export interface CollectionsListRequest { modifiedBefore?: Date; /** If provided, will only return collections with this name. */ name?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If provided, will only return collections whose parent collection matches the given id. */ parentCollectionId?: string; diff --git a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts index 9cb9ed8f3..6900712ce 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts @@ -3,7 +3,6 @@ /** * @example * { - * expand: "parent_collection", * includeRemoteData: true, * includeShellData: true, * remoteFields: "collection_type", @@ -12,7 +11,7 @@ */ export interface CollectionsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "parent_collection"; + expand?: "parent_collection" | "parent_collection"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.ts b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.ts index ce3eea657..30434e9a9 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.ts @@ -6,7 +6,6 @@ import type * as Merge from "../../../../../../index"; * @example * { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "team", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -17,7 +16,9 @@ export interface CollectionsViewersListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.CollectionsViewersListRequestExpand; + expand?: + | Merge.ticketing.CollectionsViewersListRequestExpandItem + | Merge.ticketing.CollectionsViewersListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ diff --git a/src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts b/src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts deleted file mode 100644 index 9fb5535b0..000000000 --- a/src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CollectionsViewersListRequestExpand = { - Team: "team", - User: "user", - UserTeam: "user,team", -} as const; -export type CollectionsViewersListRequestExpand = - (typeof CollectionsViewersListRequestExpand)[keyof typeof CollectionsViewersListRequestExpand]; diff --git a/src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts b/src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts new file mode 100644 index 000000000..92523f6e3 --- /dev/null +++ b/src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CollectionsViewersListRequestExpandItem = { + Team: "team", + User: "user", +} as const; +export type CollectionsViewersListRequestExpandItem = + (typeof CollectionsViewersListRequestExpandItem)[keyof typeof CollectionsViewersListRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/collections/types/index.ts b/src/api/resources/ticketing/resources/collections/types/index.ts index fa9590b69..b1b11522e 100644 --- a/src/api/resources/ticketing/resources/collections/types/index.ts +++ b/src/api/resources/ticketing/resources/collections/types/index.ts @@ -1,2 +1,2 @@ export * from "./CollectionsListRequestCollectionType"; -export * from "./CollectionsViewersListRequestExpand"; +export * from "./CollectionsViewersListRequestExpandItem"; diff --git a/src/api/resources/ticketing/resources/comments/client/Client.ts b/src/api/resources/ticketing/resources/comments/client/Client.ts index 358270d10..3444cd202 100644 --- a/src/api/resources/ticketing/resources/comments/client/Client.ts +++ b/src/api/resources/ticketing/resources/comments/client/Client.ts @@ -34,7 +34,6 @@ export class CommentsClient { * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "contact", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -46,97 +45,117 @@ export class CommentsClient { * ticketId: "ticket_id" * }) */ - public list( + public async list( request: Merge.ticketing.CommentsListRequest = {}, requestOptions?: CommentsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.CommentsListRequest = {}, - requestOptions?: CommentsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteCreatedAfter, - remoteId, - ticketId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - expand: - expand != null - ? serializers.ticketing.CommentsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_created_after: remoteCreatedAfter?.toISOString(), - remote_id: remoteId, - ticket_id: ticketId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.CommentsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteCreatedAfter, + remoteId, + ticketId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.CommentsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ticketing.CommentsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_created_after: remoteCreatedAfter?.toISOString(), + remote_id: remoteId, + ticket_id: ticketId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/comments", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedCommentList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/comments", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/comments", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedCommentList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/comments"); } /** @@ -227,7 +246,6 @@ export class CommentsClient { * * @example * await client.ticketing.comments.retrieve("id", { - * expand: "contact", * includeRemoteData: true, * includeShellData: true * }) @@ -247,12 +265,17 @@ export class CommentsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ticketing.CommentsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.CommentsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ticketing.CommentsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts b/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts index 3a0acee64..393c54486 100644 --- a/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts +++ b/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts @@ -8,7 +8,6 @@ import type * as Merge from "../../../../../../index"; * createdAfter: new Date("2024-01-15T09:30:00.000Z"), * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "contact", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -28,7 +27,7 @@ export interface CommentsListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.CommentsListRequestExpand; + expand?: Merge.ticketing.CommentsListRequestExpandItem | Merge.ticketing.CommentsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -39,7 +38,7 @@ export interface CommentsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If provided, will only return Comments created in the third party platform after this datetime. */ remoteCreatedAfter?: Date; diff --git a/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts b/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts index 7ca458c61..e504e1fb6 100644 --- a/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts @@ -5,14 +5,13 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "contact", * includeRemoteData: true, * includeShellData: true * } */ export interface CommentsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.CommentsRetrieveRequestExpand; + expand?: Merge.ticketing.CommentsRetrieveRequestExpandItem | Merge.ticketing.CommentsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts b/src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts deleted file mode 100644 index 0332c5eeb..000000000 --- a/src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CommentsListRequestExpand = { - Contact: "contact", - ContactTicket: "contact,ticket", - Ticket: "ticket", - User: "user", - UserContact: "user,contact", - UserContactTicket: "user,contact,ticket", - UserTicket: "user,ticket", -} as const; -export type CommentsListRequestExpand = (typeof CommentsListRequestExpand)[keyof typeof CommentsListRequestExpand]; diff --git a/src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts b/src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts new file mode 100644 index 000000000..ea3ffac30 --- /dev/null +++ b/src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CommentsListRequestExpandItem = { + Contact: "contact", + Ticket: "ticket", + User: "user", +} as const; +export type CommentsListRequestExpandItem = + (typeof CommentsListRequestExpandItem)[keyof typeof CommentsListRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts b/src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts deleted file mode 100644 index 2b188fef4..000000000 --- a/src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const CommentsRetrieveRequestExpand = { - Contact: "contact", - ContactTicket: "contact,ticket", - Ticket: "ticket", - User: "user", - UserContact: "user,contact", - UserContactTicket: "user,contact,ticket", - UserTicket: "user,ticket", -} as const; -export type CommentsRetrieveRequestExpand = - (typeof CommentsRetrieveRequestExpand)[keyof typeof CommentsRetrieveRequestExpand]; diff --git a/src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts b/src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..e9f3e31ca --- /dev/null +++ b/src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const CommentsRetrieveRequestExpandItem = { + Contact: "contact", + Ticket: "ticket", + User: "user", +} as const; +export type CommentsRetrieveRequestExpandItem = + (typeof CommentsRetrieveRequestExpandItem)[keyof typeof CommentsRetrieveRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/comments/types/index.ts b/src/api/resources/ticketing/resources/comments/types/index.ts index cbff3a9fc..9df4e0118 100644 --- a/src/api/resources/ticketing/resources/comments/types/index.ts +++ b/src/api/resources/ticketing/resources/comments/types/index.ts @@ -1,2 +1,2 @@ -export * from "./CommentsListRequestExpand"; -export * from "./CommentsRetrieveRequestExpand"; +export * from "./CommentsListRequestExpandItem"; +export * from "./CommentsRetrieveRequestExpandItem"; diff --git a/src/api/resources/ticketing/resources/contacts/client/Client.ts b/src/api/resources/ticketing/resources/contacts/client/Client.ts index 8b9db9987..e4b76e571 100644 --- a/src/api/resources/ticketing/resources/contacts/client/Client.ts +++ b/src/api/resources/ticketing/resources/contacts/client/Client.ts @@ -35,7 +35,6 @@ export class ContactsClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddress: "email_address", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -45,90 +44,105 @@ export class ContactsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ticketing.ContactsListRequest = {}, requestOptions?: ContactsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.ContactsListRequest = {}, - requestOptions?: ContactsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - emailAddress, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email_address: emailAddress, - expand: expand != null ? expand : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.ContactsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + emailAddress, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email_address: emailAddress, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/contacts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedContactList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/contacts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/contacts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedContactList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/contacts"); } /** @@ -221,7 +235,6 @@ export class ContactsClient { * * @example * await client.ticketing.contacts.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeShellData: true * }) @@ -241,7 +254,7 @@ export class ContactsClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: expand != null ? expand : undefined, + expand: Array.isArray(expand) ? expand.map((item) => item) : expand != null ? expand : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts index eb9e96bf6..9aaf78b9c 100644 --- a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts @@ -7,7 +7,6 @@ * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddress: "email_address", - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -27,7 +26,7 @@ export interface ContactsListRequest { /** If provided, will only return Contacts that match this email. */ emailAddress?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "account"; + expand?: "account" | "account"[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -38,7 +37,7 @@ export interface ContactsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts index 6cf7be736..7196e0f97 100644 --- a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts @@ -3,14 +3,13 @@ /** * @example * { - * expand: "account", * includeRemoteData: true, * includeShellData: true * } */ export interface ContactsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: "account"; + expand?: "account" | "account"[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts b/src/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts index 64683cd2f..e711ea5fc 100644 --- a/src/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts +++ b/src/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts @@ -27,6 +27,4 @@ export interface CreateFieldMappingRequest { remoteUrlPath: string; /** The name of the Common Model that the remote field corresponds to in a given category. */ commonModelName: string; - /** JMES path to specify json query expression to be used on field mapping. */ - jmesPath?: string; } diff --git a/src/api/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts b/src/api/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts index 5ca4a0560..0efe65466 100644 --- a/src/api/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts +++ b/src/api/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts @@ -11,6 +11,4 @@ export interface PatchedEditFieldMappingRequest { remoteMethod?: string; /** The path of the remote endpoint where the remote field is coming from. */ remoteUrlPath?: string; - /** JMES path to specify json query expression to be used on field mapping. */ - jmesPath?: string; } diff --git a/src/api/resources/ticketing/resources/issues/client/Client.ts b/src/api/resources/ticketing/resources/issues/client/Client.ts index dd254c7d9..75ede4c12 100644 --- a/src/api/resources/ticketing/resources/issues/client/Client.ts +++ b/src/api/resources/ticketing/resources/issues/client/Client.ts @@ -47,99 +47,109 @@ export class IssuesClient { * status: "ONGOING" * }) */ - public list( + public async list( request: Merge.ticketing.IssuesListRequest = {}, requestOptions?: IssuesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.IssuesListRequest = {}, - requestOptions?: IssuesClient.RequestOptions, - ): Promise> { - const { - accountToken, - cursor, - endDate, - endUserOrganizationName, - firstIncidentTimeAfter, - firstIncidentTimeBefore, - includeMuted, - integrationName, - lastIncidentTimeAfter, - lastIncidentTimeBefore, - linkedAccountId, - pageSize, - startDate, - status, - } = request; - const _queryParams: Record = { - account_token: accountToken, - cursor, - end_date: endDate, - end_user_organization_name: endUserOrganizationName, - first_incident_time_after: firstIncidentTimeAfter?.toISOString(), - first_incident_time_before: firstIncidentTimeBefore?.toISOString(), - include_muted: includeMuted, - integration_name: integrationName, - last_incident_time_after: lastIncidentTimeAfter?.toISOString(), - last_incident_time_before: lastIncidentTimeBefore?.toISOString(), - linked_account_id: linkedAccountId, - page_size: pageSize, - start_date: startDate, - status: - status != null - ? serializers.ticketing.IssuesListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.IssuesListRequest, + ): Promise> => { + const { + accountToken, + cursor, + endDate, + endUserOrganizationName, + firstIncidentTimeAfter, + firstIncidentTimeBefore, + includeMuted, + integrationName, + lastIncidentTimeAfter, + lastIncidentTimeBefore, + linkedAccountId, + pageSize, + startDate, + status, + } = request; + const _queryParams: Record = { + account_token: accountToken, + cursor, + end_date: endDate, + end_user_organization_name: endUserOrganizationName, + first_incident_time_after: firstIncidentTimeAfter?.toISOString(), + first_incident_time_before: firstIncidentTimeBefore?.toISOString(), + include_muted: includeMuted, + integration_name: integrationName, + last_incident_time_after: lastIncidentTimeAfter?.toISOString(), + last_incident_time_before: lastIncidentTimeBefore?.toISOString(), + linked_account_id: linkedAccountId, + page_size: pageSize, + start_date: startDate, + status: + status != null + ? serializers.ticketing.IssuesListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/issues", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedIssueList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/issues"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/issues", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedIssueList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/issues"); } /** diff --git a/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts index 7f42a2a8a..41845ad16 100644 --- a/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts @@ -41,7 +41,7 @@ export interface IssuesListRequest { lastIncidentTimeBefore?: Date; /** If provided, will only include issues pertaining to the linked account passed in. */ linkedAccountId?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If included, will only include issues whose most recent action occurred after this time */ startDate?: string; diff --git a/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 3d3f8d253..96646e6b3 100644 --- a/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -46,10 +46,4 @@ export interface EndUserDetailsRequest { areSyncsDisabled?: boolean; /** A JSON object containing integration-specific configuration options. */ integrationSpecificConfig?: Record; - /** - * When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - * - * * `SELECTIVE_SYNC` - SELECTIVE_SYNC - */ - completedAccountInitialScreen?: Merge.ticketing.EndUserDetailsRequestCompletedAccountInitialScreen; } diff --git a/src/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts b/src/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts deleted file mode 100644 index e2f489eac..000000000 --- a/src/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../index"; - -/** - * When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - * - * * `SELECTIVE_SYNC` - SELECTIVE_SYNC - */ -export type EndUserDetailsRequestCompletedAccountInitialScreen = - | Merge.ticketing.CompletedAccountInitialScreenEnum - | string; diff --git a/src/api/resources/ticketing/resources/linkToken/types/index.ts b/src/api/resources/ticketing/resources/linkToken/types/index.ts index 7aed25cb1..c90e13c37 100644 --- a/src/api/resources/ticketing/resources/linkToken/types/index.ts +++ b/src/api/resources/ticketing/resources/linkToken/types/index.ts @@ -1,2 +1 @@ -export * from "./EndUserDetailsRequestCompletedAccountInitialScreen"; export * from "./EndUserDetailsRequestLanguage"; diff --git a/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts b/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts index e77195b07..95d7e65e2 100644 --- a/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts @@ -46,96 +46,116 @@ export class LinkedAccountsClient { * status: "status" * }) */ - public list( + public async list( request: Merge.ticketing.LinkedAccountsListRequest = {}, requestOptions?: LinkedAccountsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.LinkedAccountsListRequest = {}, - requestOptions?: LinkedAccountsClient.RequestOptions, - ): Promise> { - const { - category, - cursor, - endUserEmailAddress, - endUserOrganizationName, - endUserOriginId, - endUserOriginIds, - id, - ids, - includeDuplicates, - integrationName, - isTestAccount, - pageSize, - status, - } = request; - const _queryParams: Record = { - category: - category != null - ? serializers.ticketing.LinkedAccountsListRequestCategory.jsonOrThrow(category, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - cursor, - end_user_email_address: endUserEmailAddress, - end_user_organization_name: endUserOrganizationName, - end_user_origin_id: endUserOriginId, - end_user_origin_ids: endUserOriginIds, - id, - ids, - include_duplicates: includeDuplicates, - integration_name: integrationName, - is_test_account: isTestAccount, - page_size: pageSize, - status, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise< + core.Page + > { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.LinkedAccountsListRequest, + ): Promise> => { + const { + category, + cursor, + endUserEmailAddress, + endUserOrganizationName, + endUserOriginId, + endUserOriginIds, + id, + ids, + includeDuplicates, + integrationName, + isTestAccount, + pageSize, + status, + } = request; + const _queryParams: Record = { + category: + category != null + ? serializers.ticketing.LinkedAccountsListRequestCategory.jsonOrThrow(category, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + cursor, + end_user_email_address: endUserEmailAddress, + end_user_organization_name: endUserOrganizationName, + end_user_origin_id: endUserOriginId, + end_user_origin_ids: endUserOriginIds, + id, + ids, + include_duplicates: includeDuplicates, + integration_name: integrationName, + is_test_account: isTestAccount, + page_size: pageSize, + status, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/linked-accounts", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/linked-accounts", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/linked-accounts", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page< + Merge.ticketing.AccountDetailsAndActions, + Merge.ticketing.PaginatedAccountDetailsAndActionsList + >({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/linked-accounts"); } } diff --git a/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index 884694cc2..e6f4648ec 100644 --- a/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -52,7 +52,7 @@ export interface LinkedAccountsListRequest { integrationName?: string; /** If included, will only include test linked accounts. If not included, will only include non-test linked accounts. */ isTestAccount?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` */ status?: string; diff --git a/src/api/resources/ticketing/resources/projects/client/Client.ts b/src/api/resources/ticketing/resources/projects/client/Client.ts index 378f77cc6..928270bab 100644 --- a/src/api/resources/ticketing/resources/projects/client/Client.ts +++ b/src/api/resources/ticketing/resources/projects/client/Client.ts @@ -43,86 +43,101 @@ export class ProjectsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ticketing.ProjectsListRequest = {}, requestOptions?: ProjectsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.ProjectsListRequest = {}, - requestOptions?: ProjectsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.ProjectsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/projects", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedProjectList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/projects", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/projects", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedProjectList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/projects"); } /** @@ -213,89 +228,102 @@ export class ProjectsClient { * @example * await client.ticketing.projects.usersList("parent_id", { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "roles", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, * pageSize: 1 * }) */ - public usersList( - parent_id: string, - request: Merge.ticketing.ProjectsUsersListRequest = {}, - requestOptions?: ProjectsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__usersList(parent_id, request, requestOptions)); - } - - private async __usersList( + public async usersList( parent_id: string, request: Merge.ticketing.ProjectsUsersListRequest = {}, requestOptions?: ProjectsClient.RequestOptions, - ): Promise> { - const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - expand: - expand != null - ? serializers.ticketing.ProjectsUsersListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.ProjectsUsersListRequest, + ): Promise> => { + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.ProjectsUsersListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ticketing.ProjectsUsersListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `ticketing/v1/projects/${core.url.encodePathParam(parent_id)}/users`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/projects/{parent_id}/users", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `ticketing/v1/projects/${core.url.encodePathParam(parent_id)}/users`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/ticketing/v1/projects/{parent_id}/users", - ); } } diff --git a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts index 6675807e5..d8d176191 100644 --- a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts +++ b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts @@ -32,7 +32,7 @@ export interface ProjectsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts index fa4313fad..cadd3ab16 100644 --- a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts +++ b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts @@ -6,7 +6,6 @@ import type * as Merge from "../../../../../../index"; * @example * { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "roles", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -17,13 +16,13 @@ export interface ProjectsUsersListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.ProjectsUsersListRequestExpand; + expand?: Merge.ticketing.ProjectsUsersListRequestExpandItem | Merge.ticketing.ProjectsUsersListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ includeShellData?: boolean; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; } diff --git a/src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts b/src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts deleted file mode 100644 index 0be9def8c..000000000 --- a/src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const ProjectsUsersListRequestExpand = { - Roles: "roles", - Teams: "teams", - TeamsRoles: "teams,roles", -} as const; -export type ProjectsUsersListRequestExpand = - (typeof ProjectsUsersListRequestExpand)[keyof typeof ProjectsUsersListRequestExpand]; diff --git a/src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts b/src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts new file mode 100644 index 000000000..dd125c722 --- /dev/null +++ b/src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const ProjectsUsersListRequestExpandItem = { + Roles: "roles", + Teams: "teams", +} as const; +export type ProjectsUsersListRequestExpandItem = + (typeof ProjectsUsersListRequestExpandItem)[keyof typeof ProjectsUsersListRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/projects/types/index.ts b/src/api/resources/ticketing/resources/projects/types/index.ts index d28a1cea3..db2e2aa6b 100644 --- a/src/api/resources/ticketing/resources/projects/types/index.ts +++ b/src/api/resources/ticketing/resources/projects/types/index.ts @@ -1 +1 @@ -export * from "./ProjectsUsersListRequestExpand"; +export * from "./ProjectsUsersListRequestExpandItem"; diff --git a/src/api/resources/ticketing/resources/roles/client/Client.ts b/src/api/resources/ticketing/resources/roles/client/Client.ts index acf7ba487..e43f7aa58 100644 --- a/src/api/resources/ticketing/resources/roles/client/Client.ts +++ b/src/api/resources/ticketing/resources/roles/client/Client.ts @@ -43,86 +43,96 @@ export class RolesClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ticketing.RolesListRequest = {}, requestOptions?: RolesClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.RolesListRequest = {}, - requestOptions?: RolesClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.RolesListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/roles", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedRoleList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/roles"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/roles", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedRoleList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/roles"); } /** diff --git a/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts b/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts index 61e97511b..9f352ab21 100644 --- a/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts +++ b/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts @@ -32,7 +32,7 @@ export interface RolesListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/ticketing/resources/syncStatus/client/Client.ts b/src/api/resources/ticketing/resources/syncStatus/client/Client.ts index 314a8472c..89d6ea154 100644 --- a/src/api/resources/ticketing/resources/syncStatus/client/Client.ts +++ b/src/api/resources/ticketing/resources/syncStatus/client/Client.ts @@ -35,66 +35,81 @@ export class SyncStatusClient { * pageSize: 1 * }) */ - public list( + public async list( request: Merge.ticketing.SyncStatusListRequest = {}, requestOptions?: SyncStatusClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.SyncStatusListRequest = {}, - requestOptions?: SyncStatusClient.RequestOptions, - ): Promise> { - const { cursor, pageSize } = request; - const _queryParams: Record = { - cursor, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.SyncStatusListRequest, + ): Promise> => { + const { cursor, pageSize } = request; + const _queryParams: Record = { + cursor, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/sync-status", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedSyncStatusList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/sync-status", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/sync-status", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedSyncStatusList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/sync-status"); } } diff --git a/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts index 94e1240fc..2bbace517 100644 --- a/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -10,6 +10,6 @@ export interface SyncStatusListRequest { /** The pagination cursor value. */ cursor?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; } diff --git a/src/api/resources/ticketing/resources/tags/client/Client.ts b/src/api/resources/ticketing/resources/tags/client/Client.ts index bb1faf047..284ab1436 100644 --- a/src/api/resources/ticketing/resources/tags/client/Client.ts +++ b/src/api/resources/ticketing/resources/tags/client/Client.ts @@ -43,86 +43,96 @@ export class TagsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ticketing.TagsListRequest = {}, requestOptions?: TagsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.TagsListRequest = {}, - requestOptions?: TagsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.TagsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/tags", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedTagList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/tags"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/tags", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedTagList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/tags"); } /** diff --git a/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts b/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts index 440c60c11..363d84271 100644 --- a/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts +++ b/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts @@ -32,7 +32,7 @@ export interface TagsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/ticketing/resources/teams/client/Client.ts b/src/api/resources/ticketing/resources/teams/client/Client.ts index 7cfa4e6ce..1ea1730d3 100644 --- a/src/api/resources/ticketing/resources/teams/client/Client.ts +++ b/src/api/resources/ticketing/resources/teams/client/Client.ts @@ -43,86 +43,96 @@ export class TeamsClient { * remoteId: "remote_id" * }) */ - public list( + public async list( request: Merge.ticketing.TeamsListRequest = {}, requestOptions?: TeamsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.TeamsListRequest = {}, - requestOptions?: TeamsClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.TeamsListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/teams", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedTeamList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/teams"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/teams", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedTeamList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/teams"); } /** diff --git a/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts b/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts index 88c20fb48..c1c164531 100644 --- a/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts +++ b/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts @@ -32,7 +32,7 @@ export interface TeamsListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/ticketing/resources/tickets/client/Client.ts b/src/api/resources/ticketing/resources/tickets/client/Client.ts index c4fe18f60..3a46dec29 100644 --- a/src/api/resources/ticketing/resources/tickets/client/Client.ts +++ b/src/api/resources/ticketing/resources/tickets/client/Client.ts @@ -44,7 +44,6 @@ export class TicketsClient { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * dueAfter: new Date("2024-01-15T09:30:00.000Z"), * dueBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -68,161 +67,176 @@ export class TicketsClient { * ticketUrl: "ticket_url" * }) */ - public list( + public async list( request: Merge.ticketing.TicketsListRequest = {}, requestOptions?: TicketsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.TicketsListRequest = {}, - requestOptions?: TicketsClient.RequestOptions, - ): Promise> { - const { - accountId, - assigneeIds, - collectionIds, - completedAfter, - completedBefore, - contactId, - createdAfter, - createdBefore, - creatorId, - creatorIds, - cursor, - dueAfter, - dueBefore, - expand, - includeDeletedData, - includeRemoteData, - includeRemoteFields, - includeShellData, - modifiedAfter, - modifiedBefore, - name, - pageSize, - parentTicketId, - priority, - remoteCreatedAfter, - remoteCreatedBefore, - remoteFields, - remoteId, - remoteUpdatedAfter, - remoteUpdatedBefore, - showEnumOrigins, - status, - tags, - ticketType, - ticketUrl, - } = request; - const _queryParams: Record = { - account_id: accountId, - assignee_ids: assigneeIds, - collection_ids: collectionIds, - completed_after: completedAfter?.toISOString(), - completed_before: completedBefore?.toISOString(), - contact_id: contactId, - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - creator_id: creatorId, - creator_ids: creatorIds, - cursor, - due_after: dueAfter?.toISOString(), - due_before: dueBefore?.toISOString(), - expand: - expand != null - ? serializers.ticketing.TicketsListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_remote_fields: includeRemoteFields, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - name, - page_size: pageSize, - parent_ticket_id: parentTicketId, - priority: - priority != null - ? serializers.ticketing.TicketsListRequestPriority.jsonOrThrow(priority, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_created_after: remoteCreatedAfter?.toISOString(), - remote_created_before: remoteCreatedBefore?.toISOString(), - remote_fields: - remoteFields != null - ? serializers.ticketing.TicketsListRequestRemoteFields.jsonOrThrow(remoteFields, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - remote_id: remoteId, - remote_updated_after: remoteUpdatedAfter?.toISOString(), - remote_updated_before: remoteUpdatedBefore?.toISOString(), - show_enum_origins: - showEnumOrigins != null - ? serializers.ticketing.TicketsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - status: - status != null - ? serializers.ticketing.TicketsListRequestStatus.jsonOrThrow(status, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - tags, - ticket_type: ticketType, - ticket_url: ticketUrl, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.TicketsListRequest, + ): Promise> => { + const { + accountId, + assigneeIds, + collectionIds, + completedAfter, + completedBefore, + contactId, + createdAfter, + createdBefore, + creatorId, + creatorIds, + cursor, + dueAfter, + dueBefore, + expand, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + modifiedAfter, + modifiedBefore, + name, + pageSize, + parentTicketId, + priority, + remoteCreatedAfter, + remoteCreatedBefore, + remoteFields, + remoteId, + remoteUpdatedAfter, + remoteUpdatedBefore, + showEnumOrigins, + status, + tags, + ticketType, + ticketUrl, + } = request; + const _queryParams: Record = { + account_id: accountId, + assignee_ids: assigneeIds, + collection_ids: collectionIds, + completed_after: completedAfter?.toISOString(), + completed_before: completedBefore?.toISOString(), + contact_id: contactId, + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + creator_id: creatorId, + creator_ids: creatorIds, + cursor, + due_after: dueAfter?.toISOString(), + due_before: dueBefore?.toISOString(), + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.TicketsListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ticketing.TicketsListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_remote_fields: includeRemoteFields, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + name, + page_size: pageSize, + parent_ticket_id: parentTicketId, + priority: + priority != null + ? serializers.ticketing.TicketsListRequestPriority.jsonOrThrow(priority, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_created_after: remoteCreatedAfter?.toISOString(), + remote_created_before: remoteCreatedBefore?.toISOString(), + remote_fields: + remoteFields != null + ? serializers.ticketing.TicketsListRequestRemoteFields.jsonOrThrow(remoteFields, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + remote_id: remoteId, + remote_updated_after: remoteUpdatedAfter?.toISOString(), + remote_updated_before: remoteUpdatedBefore?.toISOString(), + show_enum_origins: + showEnumOrigins != null + ? serializers.ticketing.TicketsListRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + status: + status != null + ? serializers.ticketing.TicketsListRequestStatus.jsonOrThrow(status, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + tags, + ticket_type: ticketType, + ticket_url: ticketUrl, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/tickets", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedTicketList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/tickets"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/tickets", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedTicketList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/tickets"); } /** @@ -313,7 +327,6 @@ export class TicketsClient { * * @example * await client.ticketing.tickets.retrieve("id", { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -337,12 +350,17 @@ export class TicketsClient { const { expand, includeRemoteData, includeRemoteFields, includeShellData, remoteFields, showEnumOrigins } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ticketing.TicketsRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.TicketsRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ticketing.TicketsRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_remote_fields: includeRemoteFields, include_shell_data: includeShellData, @@ -500,90 +518,103 @@ export class TicketsClient { * @example * await client.ticketing.tickets.viewersList("ticket_id", { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "team", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, * pageSize: 1 * }) */ - public viewersList( + public async viewersList( ticket_id: string, request: Merge.ticketing.TicketsViewersListRequest = {}, requestOptions?: TicketsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__viewersList(ticket_id, request, requestOptions)); - } - - private async __viewersList( - ticket_id: string, - request: Merge.ticketing.TicketsViewersListRequest = {}, - requestOptions?: TicketsClient.RequestOptions, - ): Promise> { - const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; - const _queryParams: Record = { - cursor, - expand: - expand != null - ? serializers.ticketing.TicketsViewersListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.TicketsViewersListRequest, + ): Promise> => { + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; + const _queryParams: Record = { + cursor, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.TicketsViewersListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ticketing.TicketsViewersListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + `ticketing/v1/tickets/${core.url.encodePathParam(ticket_id)}/viewers`, + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedViewerList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/tickets/{ticket_id}/viewers", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - `ticketing/v1/tickets/${core.url.encodePathParam(ticket_id)}/viewers`, - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedViewerList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/ticketing/v1/tickets/{ticket_id}/viewers", - ); } /** @@ -756,86 +787,96 @@ export class TicketsClient { * pageSize: 1 * }) */ - public remoteFieldClassesList( + public async remoteFieldClassesList( request: Merge.ticketing.TicketsRemoteFieldClassesListRequest = {}, requestOptions?: TicketsClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions)); - } - - private async __remoteFieldClassesList( - request: Merge.ticketing.TicketsRemoteFieldClassesListRequest = {}, - requestOptions?: TicketsClient.RequestOptions, - ): Promise> { - const { - cursor, - ids, - includeDeletedData, - includeRemoteData, - includeShellData, - isCommonModelField, - isCustom, - pageSize, - } = request; - const _queryParams: Record = { - cursor, - ids, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - is_common_model_field: isCommonModelField, - is_custom: isCustom, - page_size: pageSize, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.TicketsRemoteFieldClassesListRequest, + ): Promise> => { + const { + cursor, + ids, + includeDeletedData, + includeRemoteData, + includeShellData, + isCommonModelField, + isCustom, + pageSize, + } = request; + const _queryParams: Record = { + cursor, + ids, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + is_common_model_field: isCommonModelField, + is_custom: isCustom, + page_size: pageSize, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/tickets/remote-field-classes", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError( + _response.error, + _response.rawResponse, + "GET", + "/ticketing/v1/tickets/remote-field-classes", + ); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/tickets/remote-field-classes", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError( - _response.error, - _response.rawResponse, - "GET", - "/ticketing/v1/tickets/remote-field-classes", - ); } } diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts index a6c5b191e..3f41ea9b8 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts @@ -18,7 +18,6 @@ import type * as Merge from "../../../../../../index"; * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * dueAfter: new Date("2024-01-15T09:30:00.000Z"), * dueBefore: new Date("2024-01-15T09:30:00.000Z"), - * expand: "account", * includeDeletedData: true, * includeRemoteData: true, * includeRemoteFields: true, @@ -70,7 +69,7 @@ export interface TicketsListRequest { /** If provided, will only return tickets due before this datetime. */ dueBefore?: Date; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.TicketsListRequestExpand; + expand?: Merge.ticketing.TicketsListRequestExpandItem | Merge.ticketing.TicketsListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -85,7 +84,7 @@ export interface TicketsListRequest { modifiedBefore?: Date; /** If provided, will only return tickets with this name. */ name?: string; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** If provided, will only return sub tickets of the parent_ticket_id. */ parentTicketId?: string; diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts index add11e7df..823a70f74 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts @@ -28,6 +28,6 @@ export interface TicketsRemoteFieldClassesListRequest { isCommonModelField?: boolean; /** If provided, will only return remote fields classes with this is_custom value */ isCustom?: boolean; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; } diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts index db5816ce1..8f0b498b5 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts @@ -5,7 +5,6 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "account", * includeRemoteData: true, * includeRemoteFields: true, * includeShellData: true, @@ -15,7 +14,7 @@ import type * as Merge from "../../../../../../index"; */ export interface TicketsRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.TicketsRetrieveRequestExpand; + expand?: Merge.ticketing.TicketsRetrieveRequestExpandItem | Merge.ticketing.TicketsRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.ts index edf20328f..7ebe1f6e1 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.ts @@ -6,7 +6,6 @@ import type * as Merge from "../../../../../../index"; * @example * { * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - * expand: "team", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -17,13 +16,15 @@ export interface TicketsViewersListRequest { /** The pagination cursor value. */ cursor?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.TicketsViewersListRequestExpand; + expand?: + | Merge.ticketing.TicketsViewersListRequestExpandItem + | Merge.ticketing.TicketsViewersListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ includeShellData?: boolean; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; } diff --git a/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts deleted file mode 100644 index 8be58af79..000000000 --- a/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts +++ /dev/null @@ -1,300 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TicketsListRequestExpand = { - Account: "account", - AccountContact: "account,contact", - AccountContactCreator: "account,contact,creator", - AccountContactCreatorParentTicket: "account,contact,creator,parent_ticket", - AccountContactParentTicket: "account,contact,parent_ticket", - AccountCreator: "account,creator", - AccountCreatorParentTicket: "account,creator,parent_ticket", - AccountParentTicket: "account,parent_ticket", - AssignedTeams: "assigned_teams", - AssignedTeamsAccount: "assigned_teams,account", - AssignedTeamsAccountContact: "assigned_teams,account,contact", - AssignedTeamsAccountContactCreator: "assigned_teams,account,contact,creator", - AssignedTeamsAccountContactCreatorParentTicket: "assigned_teams,account,contact,creator,parent_ticket", - AssignedTeamsAccountContactParentTicket: "assigned_teams,account,contact,parent_ticket", - AssignedTeamsAccountCreator: "assigned_teams,account,creator", - AssignedTeamsAccountCreatorParentTicket: "assigned_teams,account,creator,parent_ticket", - AssignedTeamsAccountParentTicket: "assigned_teams,account,parent_ticket", - AssignedTeamsContact: "assigned_teams,contact", - AssignedTeamsContactCreator: "assigned_teams,contact,creator", - AssignedTeamsContactCreatorParentTicket: "assigned_teams,contact,creator,parent_ticket", - AssignedTeamsContactParentTicket: "assigned_teams,contact,parent_ticket", - AssignedTeamsCreator: "assigned_teams,creator", - AssignedTeamsCreatorParentTicket: "assigned_teams,creator,parent_ticket", - AssignedTeamsParentTicket: "assigned_teams,parent_ticket", - Assignees: "assignees", - AssigneesAccount: "assignees,account", - AssigneesAccountContact: "assignees,account,contact", - AssigneesAccountContactCreator: "assignees,account,contact,creator", - AssigneesAccountContactCreatorParentTicket: "assignees,account,contact,creator,parent_ticket", - AssigneesAccountContactParentTicket: "assignees,account,contact,parent_ticket", - AssigneesAccountCreator: "assignees,account,creator", - AssigneesAccountCreatorParentTicket: "assignees,account,creator,parent_ticket", - AssigneesAccountParentTicket: "assignees,account,parent_ticket", - AssigneesAssignedTeams: "assignees,assigned_teams", - AssigneesAssignedTeamsAccount: "assignees,assigned_teams,account", - AssigneesAssignedTeamsAccountContact: "assignees,assigned_teams,account,contact", - AssigneesAssignedTeamsAccountContactCreator: "assignees,assigned_teams,account,contact,creator", - AssigneesAssignedTeamsAccountContactCreatorParentTicket: - "assignees,assigned_teams,account,contact,creator,parent_ticket", - AssigneesAssignedTeamsAccountContactParentTicket: "assignees,assigned_teams,account,contact,parent_ticket", - AssigneesAssignedTeamsAccountCreator: "assignees,assigned_teams,account,creator", - AssigneesAssignedTeamsAccountCreatorParentTicket: "assignees,assigned_teams,account,creator,parent_ticket", - AssigneesAssignedTeamsAccountParentTicket: "assignees,assigned_teams,account,parent_ticket", - AssigneesAssignedTeamsContact: "assignees,assigned_teams,contact", - AssigneesAssignedTeamsContactCreator: "assignees,assigned_teams,contact,creator", - AssigneesAssignedTeamsContactCreatorParentTicket: "assignees,assigned_teams,contact,creator,parent_ticket", - AssigneesAssignedTeamsContactParentTicket: "assignees,assigned_teams,contact,parent_ticket", - AssigneesAssignedTeamsCreator: "assignees,assigned_teams,creator", - AssigneesAssignedTeamsCreatorParentTicket: "assignees,assigned_teams,creator,parent_ticket", - AssigneesAssignedTeamsParentTicket: "assignees,assigned_teams,parent_ticket", - AssigneesCollections: "assignees,collections", - AssigneesCollectionsAccount: "assignees,collections,account", - AssigneesCollectionsAccountContact: "assignees,collections,account,contact", - AssigneesCollectionsAccountContactCreator: "assignees,collections,account,contact,creator", - AssigneesCollectionsAccountContactCreatorParentTicket: - "assignees,collections,account,contact,creator,parent_ticket", - AssigneesCollectionsAccountContactParentTicket: "assignees,collections,account,contact,parent_ticket", - AssigneesCollectionsAccountCreator: "assignees,collections,account,creator", - AssigneesCollectionsAccountCreatorParentTicket: "assignees,collections,account,creator,parent_ticket", - AssigneesCollectionsAccountParentTicket: "assignees,collections,account,parent_ticket", - AssigneesCollectionsAssignedTeams: "assignees,collections,assigned_teams", - AssigneesCollectionsAssignedTeamsAccount: "assignees,collections,assigned_teams,account", - AssigneesCollectionsAssignedTeamsAccountContact: "assignees,collections,assigned_teams,account,contact", - AssigneesCollectionsAssignedTeamsAccountContactCreator: - "assignees,collections,assigned_teams,account,contact,creator", - AssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket: - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsAccountContactParentTicket: - "assignees,collections,assigned_teams,account,contact,parent_ticket", - AssigneesCollectionsAssignedTeamsAccountCreator: "assignees,collections,assigned_teams,account,creator", - AssigneesCollectionsAssignedTeamsAccountCreatorParentTicket: - "assignees,collections,assigned_teams,account,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsAccountParentTicket: "assignees,collections,assigned_teams,account,parent_ticket", - AssigneesCollectionsAssignedTeamsContact: "assignees,collections,assigned_teams,contact", - AssigneesCollectionsAssignedTeamsContactCreator: "assignees,collections,assigned_teams,contact,creator", - AssigneesCollectionsAssignedTeamsContactCreatorParentTicket: - "assignees,collections,assigned_teams,contact,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsContactParentTicket: "assignees,collections,assigned_teams,contact,parent_ticket", - AssigneesCollectionsAssignedTeamsCreator: "assignees,collections,assigned_teams,creator", - AssigneesCollectionsAssignedTeamsCreatorParentTicket: "assignees,collections,assigned_teams,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsParentTicket: "assignees,collections,assigned_teams,parent_ticket", - AssigneesCollectionsContact: "assignees,collections,contact", - AssigneesCollectionsContactCreator: "assignees,collections,contact,creator", - AssigneesCollectionsContactCreatorParentTicket: "assignees,collections,contact,creator,parent_ticket", - AssigneesCollectionsContactParentTicket: "assignees,collections,contact,parent_ticket", - AssigneesCollectionsCreator: "assignees,collections,creator", - AssigneesCollectionsCreatorParentTicket: "assignees,collections,creator,parent_ticket", - AssigneesCollectionsParentTicket: "assignees,collections,parent_ticket", - AssigneesContact: "assignees,contact", - AssigneesContactCreator: "assignees,contact,creator", - AssigneesContactCreatorParentTicket: "assignees,contact,creator,parent_ticket", - AssigneesContactParentTicket: "assignees,contact,parent_ticket", - AssigneesCreator: "assignees,creator", - AssigneesCreatorParentTicket: "assignees,creator,parent_ticket", - AssigneesParentTicket: "assignees,parent_ticket", - Attachments: "attachments", - AttachmentsAccount: "attachments,account", - AttachmentsAccountContact: "attachments,account,contact", - AttachmentsAccountContactCreator: "attachments,account,contact,creator", - AttachmentsAccountContactCreatorParentTicket: "attachments,account,contact,creator,parent_ticket", - AttachmentsAccountContactParentTicket: "attachments,account,contact,parent_ticket", - AttachmentsAccountCreator: "attachments,account,creator", - AttachmentsAccountCreatorParentTicket: "attachments,account,creator,parent_ticket", - AttachmentsAccountParentTicket: "attachments,account,parent_ticket", - AttachmentsAssignedTeams: "attachments,assigned_teams", - AttachmentsAssignedTeamsAccount: "attachments,assigned_teams,account", - AttachmentsAssignedTeamsAccountContact: "attachments,assigned_teams,account,contact", - AttachmentsAssignedTeamsAccountContactCreator: "attachments,assigned_teams,account,contact,creator", - AttachmentsAssignedTeamsAccountContactCreatorParentTicket: - "attachments,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsAssignedTeamsAccountContactParentTicket: "attachments,assigned_teams,account,contact,parent_ticket", - AttachmentsAssignedTeamsAccountCreator: "attachments,assigned_teams,account,creator", - AttachmentsAssignedTeamsAccountCreatorParentTicket: "attachments,assigned_teams,account,creator,parent_ticket", - AttachmentsAssignedTeamsAccountParentTicket: "attachments,assigned_teams,account,parent_ticket", - AttachmentsAssignedTeamsContact: "attachments,assigned_teams,contact", - AttachmentsAssignedTeamsContactCreator: "attachments,assigned_teams,contact,creator", - AttachmentsAssignedTeamsContactCreatorParentTicket: "attachments,assigned_teams,contact,creator,parent_ticket", - AttachmentsAssignedTeamsContactParentTicket: "attachments,assigned_teams,contact,parent_ticket", - AttachmentsAssignedTeamsCreator: "attachments,assigned_teams,creator", - AttachmentsAssignedTeamsCreatorParentTicket: "attachments,assigned_teams,creator,parent_ticket", - AttachmentsAssignedTeamsParentTicket: "attachments,assigned_teams,parent_ticket", - AttachmentsAssignees: "attachments,assignees", - AttachmentsAssigneesAccount: "attachments,assignees,account", - AttachmentsAssigneesAccountContact: "attachments,assignees,account,contact", - AttachmentsAssigneesAccountContactCreator: "attachments,assignees,account,contact,creator", - AttachmentsAssigneesAccountContactCreatorParentTicket: - "attachments,assignees,account,contact,creator,parent_ticket", - AttachmentsAssigneesAccountContactParentTicket: "attachments,assignees,account,contact,parent_ticket", - AttachmentsAssigneesAccountCreator: "attachments,assignees,account,creator", - AttachmentsAssigneesAccountCreatorParentTicket: "attachments,assignees,account,creator,parent_ticket", - AttachmentsAssigneesAccountParentTicket: "attachments,assignees,account,parent_ticket", - AttachmentsAssigneesAssignedTeams: "attachments,assignees,assigned_teams", - AttachmentsAssigneesAssignedTeamsAccount: "attachments,assignees,assigned_teams,account", - AttachmentsAssigneesAssignedTeamsAccountContact: "attachments,assignees,assigned_teams,account,contact", - AttachmentsAssigneesAssignedTeamsAccountContactCreator: - "attachments,assignees,assigned_teams,account,contact,creator", - AttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket: - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsAccountContactParentTicket: - "attachments,assignees,assigned_teams,account,contact,parent_ticket", - AttachmentsAssigneesAssignedTeamsAccountCreator: "attachments,assignees,assigned_teams,account,creator", - AttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket: - "attachments,assignees,assigned_teams,account,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsAccountParentTicket: "attachments,assignees,assigned_teams,account,parent_ticket", - AttachmentsAssigneesAssignedTeamsContact: "attachments,assignees,assigned_teams,contact", - AttachmentsAssigneesAssignedTeamsContactCreator: "attachments,assignees,assigned_teams,contact,creator", - AttachmentsAssigneesAssignedTeamsContactCreatorParentTicket: - "attachments,assignees,assigned_teams,contact,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsContactParentTicket: "attachments,assignees,assigned_teams,contact,parent_ticket", - AttachmentsAssigneesAssignedTeamsCreator: "attachments,assignees,assigned_teams,creator", - AttachmentsAssigneesAssignedTeamsCreatorParentTicket: "attachments,assignees,assigned_teams,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsParentTicket: "attachments,assignees,assigned_teams,parent_ticket", - AttachmentsAssigneesCollections: "attachments,assignees,collections", - AttachmentsAssigneesCollectionsAccount: "attachments,assignees,collections,account", - AttachmentsAssigneesCollectionsAccountContact: "attachments,assignees,collections,account,contact", - AttachmentsAssigneesCollectionsAccountContactCreator: "attachments,assignees,collections,account,contact,creator", - AttachmentsAssigneesCollectionsAccountContactCreatorParentTicket: - "attachments,assignees,collections,account,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsAccountContactParentTicket: - "attachments,assignees,collections,account,contact,parent_ticket", - AttachmentsAssigneesCollectionsAccountCreator: "attachments,assignees,collections,account,creator", - AttachmentsAssigneesCollectionsAccountCreatorParentTicket: - "attachments,assignees,collections,account,creator,parent_ticket", - AttachmentsAssigneesCollectionsAccountParentTicket: "attachments,assignees,collections,account,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeams: "attachments,assignees,collections,assigned_teams", - AttachmentsAssigneesCollectionsAssignedTeamsAccount: "attachments,assignees,collections,assigned_teams,account", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContact: - "attachments,assignees,collections,assigned_teams,account,contact", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator: - "attachments,assignees,collections,assigned_teams,account,contact,creator", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket: - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsAccountCreator: - "attachments,assignees,collections,assigned_teams,account,creator", - AttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket: - "attachments,assignees,collections,assigned_teams,account,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsContact: "attachments,assignees,collections,assigned_teams,contact", - AttachmentsAssigneesCollectionsAssignedTeamsContactCreator: - "attachments,assignees,collections,assigned_teams,contact,creator", - AttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket: - "attachments,assignees,collections,assigned_teams,contact,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsCreator: "attachments,assignees,collections,assigned_teams,creator", - AttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsParentTicket: - "attachments,assignees,collections,assigned_teams,parent_ticket", - AttachmentsAssigneesCollectionsContact: "attachments,assignees,collections,contact", - AttachmentsAssigneesCollectionsContactCreator: "attachments,assignees,collections,contact,creator", - AttachmentsAssigneesCollectionsContactCreatorParentTicket: - "attachments,assignees,collections,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsContactParentTicket: "attachments,assignees,collections,contact,parent_ticket", - AttachmentsAssigneesCollectionsCreator: "attachments,assignees,collections,creator", - AttachmentsAssigneesCollectionsCreatorParentTicket: "attachments,assignees,collections,creator,parent_ticket", - AttachmentsAssigneesCollectionsParentTicket: "attachments,assignees,collections,parent_ticket", - AttachmentsAssigneesContact: "attachments,assignees,contact", - AttachmentsAssigneesContactCreator: "attachments,assignees,contact,creator", - AttachmentsAssigneesContactCreatorParentTicket: "attachments,assignees,contact,creator,parent_ticket", - AttachmentsAssigneesContactParentTicket: "attachments,assignees,contact,parent_ticket", - AttachmentsAssigneesCreator: "attachments,assignees,creator", - AttachmentsAssigneesCreatorParentTicket: "attachments,assignees,creator,parent_ticket", - AttachmentsAssigneesParentTicket: "attachments,assignees,parent_ticket", - AttachmentsCollections: "attachments,collections", - AttachmentsCollectionsAccount: "attachments,collections,account", - AttachmentsCollectionsAccountContact: "attachments,collections,account,contact", - AttachmentsCollectionsAccountContactCreator: "attachments,collections,account,contact,creator", - AttachmentsCollectionsAccountContactCreatorParentTicket: - "attachments,collections,account,contact,creator,parent_ticket", - AttachmentsCollectionsAccountContactParentTicket: "attachments,collections,account,contact,parent_ticket", - AttachmentsCollectionsAccountCreator: "attachments,collections,account,creator", - AttachmentsCollectionsAccountCreatorParentTicket: "attachments,collections,account,creator,parent_ticket", - AttachmentsCollectionsAccountParentTicket: "attachments,collections,account,parent_ticket", - AttachmentsCollectionsAssignedTeams: "attachments,collections,assigned_teams", - AttachmentsCollectionsAssignedTeamsAccount: "attachments,collections,assigned_teams,account", - AttachmentsCollectionsAssignedTeamsAccountContact: "attachments,collections,assigned_teams,account,contact", - AttachmentsCollectionsAssignedTeamsAccountContactCreator: - "attachments,collections,assigned_teams,account,contact,creator", - AttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket: - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsAccountContactParentTicket: - "attachments,collections,assigned_teams,account,contact,parent_ticket", - AttachmentsCollectionsAssignedTeamsAccountCreator: "attachments,collections,assigned_teams,account,creator", - AttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket: - "attachments,collections,assigned_teams,account,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsAccountParentTicket: - "attachments,collections,assigned_teams,account,parent_ticket", - AttachmentsCollectionsAssignedTeamsContact: "attachments,collections,assigned_teams,contact", - AttachmentsCollectionsAssignedTeamsContactCreator: "attachments,collections,assigned_teams,contact,creator", - AttachmentsCollectionsAssignedTeamsContactCreatorParentTicket: - "attachments,collections,assigned_teams,contact,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsContactParentTicket: - "attachments,collections,assigned_teams,contact,parent_ticket", - AttachmentsCollectionsAssignedTeamsCreator: "attachments,collections,assigned_teams,creator", - AttachmentsCollectionsAssignedTeamsCreatorParentTicket: - "attachments,collections,assigned_teams,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsParentTicket: "attachments,collections,assigned_teams,parent_ticket", - AttachmentsCollectionsContact: "attachments,collections,contact", - AttachmentsCollectionsContactCreator: "attachments,collections,contact,creator", - AttachmentsCollectionsContactCreatorParentTicket: "attachments,collections,contact,creator,parent_ticket", - AttachmentsCollectionsContactParentTicket: "attachments,collections,contact,parent_ticket", - AttachmentsCollectionsCreator: "attachments,collections,creator", - AttachmentsCollectionsCreatorParentTicket: "attachments,collections,creator,parent_ticket", - AttachmentsCollectionsParentTicket: "attachments,collections,parent_ticket", - AttachmentsContact: "attachments,contact", - AttachmentsContactCreator: "attachments,contact,creator", - AttachmentsContactCreatorParentTicket: "attachments,contact,creator,parent_ticket", - AttachmentsContactParentTicket: "attachments,contact,parent_ticket", - AttachmentsCreator: "attachments,creator", - AttachmentsCreatorParentTicket: "attachments,creator,parent_ticket", - AttachmentsParentTicket: "attachments,parent_ticket", - Collections: "collections", - CollectionsAccount: "collections,account", - CollectionsAccountContact: "collections,account,contact", - CollectionsAccountContactCreator: "collections,account,contact,creator", - CollectionsAccountContactCreatorParentTicket: "collections,account,contact,creator,parent_ticket", - CollectionsAccountContactParentTicket: "collections,account,contact,parent_ticket", - CollectionsAccountCreator: "collections,account,creator", - CollectionsAccountCreatorParentTicket: "collections,account,creator,parent_ticket", - CollectionsAccountParentTicket: "collections,account,parent_ticket", - CollectionsAssignedTeams: "collections,assigned_teams", - CollectionsAssignedTeamsAccount: "collections,assigned_teams,account", - CollectionsAssignedTeamsAccountContact: "collections,assigned_teams,account,contact", - CollectionsAssignedTeamsAccountContactCreator: "collections,assigned_teams,account,contact,creator", - CollectionsAssignedTeamsAccountContactCreatorParentTicket: - "collections,assigned_teams,account,contact,creator,parent_ticket", - CollectionsAssignedTeamsAccountContactParentTicket: "collections,assigned_teams,account,contact,parent_ticket", - CollectionsAssignedTeamsAccountCreator: "collections,assigned_teams,account,creator", - CollectionsAssignedTeamsAccountCreatorParentTicket: "collections,assigned_teams,account,creator,parent_ticket", - CollectionsAssignedTeamsAccountParentTicket: "collections,assigned_teams,account,parent_ticket", - CollectionsAssignedTeamsContact: "collections,assigned_teams,contact", - CollectionsAssignedTeamsContactCreator: "collections,assigned_teams,contact,creator", - CollectionsAssignedTeamsContactCreatorParentTicket: "collections,assigned_teams,contact,creator,parent_ticket", - CollectionsAssignedTeamsContactParentTicket: "collections,assigned_teams,contact,parent_ticket", - CollectionsAssignedTeamsCreator: "collections,assigned_teams,creator", - CollectionsAssignedTeamsCreatorParentTicket: "collections,assigned_teams,creator,parent_ticket", - CollectionsAssignedTeamsParentTicket: "collections,assigned_teams,parent_ticket", - CollectionsContact: "collections,contact", - CollectionsContactCreator: "collections,contact,creator", - CollectionsContactCreatorParentTicket: "collections,contact,creator,parent_ticket", - CollectionsContactParentTicket: "collections,contact,parent_ticket", - CollectionsCreator: "collections,creator", - CollectionsCreatorParentTicket: "collections,creator,parent_ticket", - CollectionsParentTicket: "collections,parent_ticket", - Contact: "contact", - ContactCreator: "contact,creator", - ContactCreatorParentTicket: "contact,creator,parent_ticket", - ContactParentTicket: "contact,parent_ticket", - Creator: "creator", - CreatorParentTicket: "creator,parent_ticket", - ParentTicket: "parent_ticket", -} as const; -export type TicketsListRequestExpand = (typeof TicketsListRequestExpand)[keyof typeof TicketsListRequestExpand]; diff --git a/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts new file mode 100644 index 000000000..e7c81f09b --- /dev/null +++ b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TicketsListRequestExpandItem = { + Account: "account", + AssignedTeams: "assigned_teams", + Assignees: "assignees", + Attachments: "attachments", + Collections: "collections", + Contact: "contact", + Creator: "creator", + ParentTicket: "parent_ticket", +} as const; +export type TicketsListRequestExpandItem = + (typeof TicketsListRequestExpandItem)[keyof typeof TicketsListRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts deleted file mode 100644 index a0a560ab6..000000000 --- a/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts +++ /dev/null @@ -1,301 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TicketsRetrieveRequestExpand = { - Account: "account", - AccountContact: "account,contact", - AccountContactCreator: "account,contact,creator", - AccountContactCreatorParentTicket: "account,contact,creator,parent_ticket", - AccountContactParentTicket: "account,contact,parent_ticket", - AccountCreator: "account,creator", - AccountCreatorParentTicket: "account,creator,parent_ticket", - AccountParentTicket: "account,parent_ticket", - AssignedTeams: "assigned_teams", - AssignedTeamsAccount: "assigned_teams,account", - AssignedTeamsAccountContact: "assigned_teams,account,contact", - AssignedTeamsAccountContactCreator: "assigned_teams,account,contact,creator", - AssignedTeamsAccountContactCreatorParentTicket: "assigned_teams,account,contact,creator,parent_ticket", - AssignedTeamsAccountContactParentTicket: "assigned_teams,account,contact,parent_ticket", - AssignedTeamsAccountCreator: "assigned_teams,account,creator", - AssignedTeamsAccountCreatorParentTicket: "assigned_teams,account,creator,parent_ticket", - AssignedTeamsAccountParentTicket: "assigned_teams,account,parent_ticket", - AssignedTeamsContact: "assigned_teams,contact", - AssignedTeamsContactCreator: "assigned_teams,contact,creator", - AssignedTeamsContactCreatorParentTicket: "assigned_teams,contact,creator,parent_ticket", - AssignedTeamsContactParentTicket: "assigned_teams,contact,parent_ticket", - AssignedTeamsCreator: "assigned_teams,creator", - AssignedTeamsCreatorParentTicket: "assigned_teams,creator,parent_ticket", - AssignedTeamsParentTicket: "assigned_teams,parent_ticket", - Assignees: "assignees", - AssigneesAccount: "assignees,account", - AssigneesAccountContact: "assignees,account,contact", - AssigneesAccountContactCreator: "assignees,account,contact,creator", - AssigneesAccountContactCreatorParentTicket: "assignees,account,contact,creator,parent_ticket", - AssigneesAccountContactParentTicket: "assignees,account,contact,parent_ticket", - AssigneesAccountCreator: "assignees,account,creator", - AssigneesAccountCreatorParentTicket: "assignees,account,creator,parent_ticket", - AssigneesAccountParentTicket: "assignees,account,parent_ticket", - AssigneesAssignedTeams: "assignees,assigned_teams", - AssigneesAssignedTeamsAccount: "assignees,assigned_teams,account", - AssigneesAssignedTeamsAccountContact: "assignees,assigned_teams,account,contact", - AssigneesAssignedTeamsAccountContactCreator: "assignees,assigned_teams,account,contact,creator", - AssigneesAssignedTeamsAccountContactCreatorParentTicket: - "assignees,assigned_teams,account,contact,creator,parent_ticket", - AssigneesAssignedTeamsAccountContactParentTicket: "assignees,assigned_teams,account,contact,parent_ticket", - AssigneesAssignedTeamsAccountCreator: "assignees,assigned_teams,account,creator", - AssigneesAssignedTeamsAccountCreatorParentTicket: "assignees,assigned_teams,account,creator,parent_ticket", - AssigneesAssignedTeamsAccountParentTicket: "assignees,assigned_teams,account,parent_ticket", - AssigneesAssignedTeamsContact: "assignees,assigned_teams,contact", - AssigneesAssignedTeamsContactCreator: "assignees,assigned_teams,contact,creator", - AssigneesAssignedTeamsContactCreatorParentTicket: "assignees,assigned_teams,contact,creator,parent_ticket", - AssigneesAssignedTeamsContactParentTicket: "assignees,assigned_teams,contact,parent_ticket", - AssigneesAssignedTeamsCreator: "assignees,assigned_teams,creator", - AssigneesAssignedTeamsCreatorParentTicket: "assignees,assigned_teams,creator,parent_ticket", - AssigneesAssignedTeamsParentTicket: "assignees,assigned_teams,parent_ticket", - AssigneesCollections: "assignees,collections", - AssigneesCollectionsAccount: "assignees,collections,account", - AssigneesCollectionsAccountContact: "assignees,collections,account,contact", - AssigneesCollectionsAccountContactCreator: "assignees,collections,account,contact,creator", - AssigneesCollectionsAccountContactCreatorParentTicket: - "assignees,collections,account,contact,creator,parent_ticket", - AssigneesCollectionsAccountContactParentTicket: "assignees,collections,account,contact,parent_ticket", - AssigneesCollectionsAccountCreator: "assignees,collections,account,creator", - AssigneesCollectionsAccountCreatorParentTicket: "assignees,collections,account,creator,parent_ticket", - AssigneesCollectionsAccountParentTicket: "assignees,collections,account,parent_ticket", - AssigneesCollectionsAssignedTeams: "assignees,collections,assigned_teams", - AssigneesCollectionsAssignedTeamsAccount: "assignees,collections,assigned_teams,account", - AssigneesCollectionsAssignedTeamsAccountContact: "assignees,collections,assigned_teams,account,contact", - AssigneesCollectionsAssignedTeamsAccountContactCreator: - "assignees,collections,assigned_teams,account,contact,creator", - AssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket: - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsAccountContactParentTicket: - "assignees,collections,assigned_teams,account,contact,parent_ticket", - AssigneesCollectionsAssignedTeamsAccountCreator: "assignees,collections,assigned_teams,account,creator", - AssigneesCollectionsAssignedTeamsAccountCreatorParentTicket: - "assignees,collections,assigned_teams,account,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsAccountParentTicket: "assignees,collections,assigned_teams,account,parent_ticket", - AssigneesCollectionsAssignedTeamsContact: "assignees,collections,assigned_teams,contact", - AssigneesCollectionsAssignedTeamsContactCreator: "assignees,collections,assigned_teams,contact,creator", - AssigneesCollectionsAssignedTeamsContactCreatorParentTicket: - "assignees,collections,assigned_teams,contact,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsContactParentTicket: "assignees,collections,assigned_teams,contact,parent_ticket", - AssigneesCollectionsAssignedTeamsCreator: "assignees,collections,assigned_teams,creator", - AssigneesCollectionsAssignedTeamsCreatorParentTicket: "assignees,collections,assigned_teams,creator,parent_ticket", - AssigneesCollectionsAssignedTeamsParentTicket: "assignees,collections,assigned_teams,parent_ticket", - AssigneesCollectionsContact: "assignees,collections,contact", - AssigneesCollectionsContactCreator: "assignees,collections,contact,creator", - AssigneesCollectionsContactCreatorParentTicket: "assignees,collections,contact,creator,parent_ticket", - AssigneesCollectionsContactParentTicket: "assignees,collections,contact,parent_ticket", - AssigneesCollectionsCreator: "assignees,collections,creator", - AssigneesCollectionsCreatorParentTicket: "assignees,collections,creator,parent_ticket", - AssigneesCollectionsParentTicket: "assignees,collections,parent_ticket", - AssigneesContact: "assignees,contact", - AssigneesContactCreator: "assignees,contact,creator", - AssigneesContactCreatorParentTicket: "assignees,contact,creator,parent_ticket", - AssigneesContactParentTicket: "assignees,contact,parent_ticket", - AssigneesCreator: "assignees,creator", - AssigneesCreatorParentTicket: "assignees,creator,parent_ticket", - AssigneesParentTicket: "assignees,parent_ticket", - Attachments: "attachments", - AttachmentsAccount: "attachments,account", - AttachmentsAccountContact: "attachments,account,contact", - AttachmentsAccountContactCreator: "attachments,account,contact,creator", - AttachmentsAccountContactCreatorParentTicket: "attachments,account,contact,creator,parent_ticket", - AttachmentsAccountContactParentTicket: "attachments,account,contact,parent_ticket", - AttachmentsAccountCreator: "attachments,account,creator", - AttachmentsAccountCreatorParentTicket: "attachments,account,creator,parent_ticket", - AttachmentsAccountParentTicket: "attachments,account,parent_ticket", - AttachmentsAssignedTeams: "attachments,assigned_teams", - AttachmentsAssignedTeamsAccount: "attachments,assigned_teams,account", - AttachmentsAssignedTeamsAccountContact: "attachments,assigned_teams,account,contact", - AttachmentsAssignedTeamsAccountContactCreator: "attachments,assigned_teams,account,contact,creator", - AttachmentsAssignedTeamsAccountContactCreatorParentTicket: - "attachments,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsAssignedTeamsAccountContactParentTicket: "attachments,assigned_teams,account,contact,parent_ticket", - AttachmentsAssignedTeamsAccountCreator: "attachments,assigned_teams,account,creator", - AttachmentsAssignedTeamsAccountCreatorParentTicket: "attachments,assigned_teams,account,creator,parent_ticket", - AttachmentsAssignedTeamsAccountParentTicket: "attachments,assigned_teams,account,parent_ticket", - AttachmentsAssignedTeamsContact: "attachments,assigned_teams,contact", - AttachmentsAssignedTeamsContactCreator: "attachments,assigned_teams,contact,creator", - AttachmentsAssignedTeamsContactCreatorParentTicket: "attachments,assigned_teams,contact,creator,parent_ticket", - AttachmentsAssignedTeamsContactParentTicket: "attachments,assigned_teams,contact,parent_ticket", - AttachmentsAssignedTeamsCreator: "attachments,assigned_teams,creator", - AttachmentsAssignedTeamsCreatorParentTicket: "attachments,assigned_teams,creator,parent_ticket", - AttachmentsAssignedTeamsParentTicket: "attachments,assigned_teams,parent_ticket", - AttachmentsAssignees: "attachments,assignees", - AttachmentsAssigneesAccount: "attachments,assignees,account", - AttachmentsAssigneesAccountContact: "attachments,assignees,account,contact", - AttachmentsAssigneesAccountContactCreator: "attachments,assignees,account,contact,creator", - AttachmentsAssigneesAccountContactCreatorParentTicket: - "attachments,assignees,account,contact,creator,parent_ticket", - AttachmentsAssigneesAccountContactParentTicket: "attachments,assignees,account,contact,parent_ticket", - AttachmentsAssigneesAccountCreator: "attachments,assignees,account,creator", - AttachmentsAssigneesAccountCreatorParentTicket: "attachments,assignees,account,creator,parent_ticket", - AttachmentsAssigneesAccountParentTicket: "attachments,assignees,account,parent_ticket", - AttachmentsAssigneesAssignedTeams: "attachments,assignees,assigned_teams", - AttachmentsAssigneesAssignedTeamsAccount: "attachments,assignees,assigned_teams,account", - AttachmentsAssigneesAssignedTeamsAccountContact: "attachments,assignees,assigned_teams,account,contact", - AttachmentsAssigneesAssignedTeamsAccountContactCreator: - "attachments,assignees,assigned_teams,account,contact,creator", - AttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket: - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsAccountContactParentTicket: - "attachments,assignees,assigned_teams,account,contact,parent_ticket", - AttachmentsAssigneesAssignedTeamsAccountCreator: "attachments,assignees,assigned_teams,account,creator", - AttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket: - "attachments,assignees,assigned_teams,account,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsAccountParentTicket: "attachments,assignees,assigned_teams,account,parent_ticket", - AttachmentsAssigneesAssignedTeamsContact: "attachments,assignees,assigned_teams,contact", - AttachmentsAssigneesAssignedTeamsContactCreator: "attachments,assignees,assigned_teams,contact,creator", - AttachmentsAssigneesAssignedTeamsContactCreatorParentTicket: - "attachments,assignees,assigned_teams,contact,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsContactParentTicket: "attachments,assignees,assigned_teams,contact,parent_ticket", - AttachmentsAssigneesAssignedTeamsCreator: "attachments,assignees,assigned_teams,creator", - AttachmentsAssigneesAssignedTeamsCreatorParentTicket: "attachments,assignees,assigned_teams,creator,parent_ticket", - AttachmentsAssigneesAssignedTeamsParentTicket: "attachments,assignees,assigned_teams,parent_ticket", - AttachmentsAssigneesCollections: "attachments,assignees,collections", - AttachmentsAssigneesCollectionsAccount: "attachments,assignees,collections,account", - AttachmentsAssigneesCollectionsAccountContact: "attachments,assignees,collections,account,contact", - AttachmentsAssigneesCollectionsAccountContactCreator: "attachments,assignees,collections,account,contact,creator", - AttachmentsAssigneesCollectionsAccountContactCreatorParentTicket: - "attachments,assignees,collections,account,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsAccountContactParentTicket: - "attachments,assignees,collections,account,contact,parent_ticket", - AttachmentsAssigneesCollectionsAccountCreator: "attachments,assignees,collections,account,creator", - AttachmentsAssigneesCollectionsAccountCreatorParentTicket: - "attachments,assignees,collections,account,creator,parent_ticket", - AttachmentsAssigneesCollectionsAccountParentTicket: "attachments,assignees,collections,account,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeams: "attachments,assignees,collections,assigned_teams", - AttachmentsAssigneesCollectionsAssignedTeamsAccount: "attachments,assignees,collections,assigned_teams,account", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContact: - "attachments,assignees,collections,assigned_teams,account,contact", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator: - "attachments,assignees,collections,assigned_teams,account,contact,creator", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket: - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsAccountCreator: - "attachments,assignees,collections,assigned_teams,account,creator", - AttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket: - "attachments,assignees,collections,assigned_teams,account,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsContact: "attachments,assignees,collections,assigned_teams,contact", - AttachmentsAssigneesCollectionsAssignedTeamsContactCreator: - "attachments,assignees,collections,assigned_teams,contact,creator", - AttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket: - "attachments,assignees,collections,assigned_teams,contact,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsCreator: "attachments,assignees,collections,assigned_teams,creator", - AttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket: - "attachments,assignees,collections,assigned_teams,creator,parent_ticket", - AttachmentsAssigneesCollectionsAssignedTeamsParentTicket: - "attachments,assignees,collections,assigned_teams,parent_ticket", - AttachmentsAssigneesCollectionsContact: "attachments,assignees,collections,contact", - AttachmentsAssigneesCollectionsContactCreator: "attachments,assignees,collections,contact,creator", - AttachmentsAssigneesCollectionsContactCreatorParentTicket: - "attachments,assignees,collections,contact,creator,parent_ticket", - AttachmentsAssigneesCollectionsContactParentTicket: "attachments,assignees,collections,contact,parent_ticket", - AttachmentsAssigneesCollectionsCreator: "attachments,assignees,collections,creator", - AttachmentsAssigneesCollectionsCreatorParentTicket: "attachments,assignees,collections,creator,parent_ticket", - AttachmentsAssigneesCollectionsParentTicket: "attachments,assignees,collections,parent_ticket", - AttachmentsAssigneesContact: "attachments,assignees,contact", - AttachmentsAssigneesContactCreator: "attachments,assignees,contact,creator", - AttachmentsAssigneesContactCreatorParentTicket: "attachments,assignees,contact,creator,parent_ticket", - AttachmentsAssigneesContactParentTicket: "attachments,assignees,contact,parent_ticket", - AttachmentsAssigneesCreator: "attachments,assignees,creator", - AttachmentsAssigneesCreatorParentTicket: "attachments,assignees,creator,parent_ticket", - AttachmentsAssigneesParentTicket: "attachments,assignees,parent_ticket", - AttachmentsCollections: "attachments,collections", - AttachmentsCollectionsAccount: "attachments,collections,account", - AttachmentsCollectionsAccountContact: "attachments,collections,account,contact", - AttachmentsCollectionsAccountContactCreator: "attachments,collections,account,contact,creator", - AttachmentsCollectionsAccountContactCreatorParentTicket: - "attachments,collections,account,contact,creator,parent_ticket", - AttachmentsCollectionsAccountContactParentTicket: "attachments,collections,account,contact,parent_ticket", - AttachmentsCollectionsAccountCreator: "attachments,collections,account,creator", - AttachmentsCollectionsAccountCreatorParentTicket: "attachments,collections,account,creator,parent_ticket", - AttachmentsCollectionsAccountParentTicket: "attachments,collections,account,parent_ticket", - AttachmentsCollectionsAssignedTeams: "attachments,collections,assigned_teams", - AttachmentsCollectionsAssignedTeamsAccount: "attachments,collections,assigned_teams,account", - AttachmentsCollectionsAssignedTeamsAccountContact: "attachments,collections,assigned_teams,account,contact", - AttachmentsCollectionsAssignedTeamsAccountContactCreator: - "attachments,collections,assigned_teams,account,contact,creator", - AttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket: - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsAccountContactParentTicket: - "attachments,collections,assigned_teams,account,contact,parent_ticket", - AttachmentsCollectionsAssignedTeamsAccountCreator: "attachments,collections,assigned_teams,account,creator", - AttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket: - "attachments,collections,assigned_teams,account,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsAccountParentTicket: - "attachments,collections,assigned_teams,account,parent_ticket", - AttachmentsCollectionsAssignedTeamsContact: "attachments,collections,assigned_teams,contact", - AttachmentsCollectionsAssignedTeamsContactCreator: "attachments,collections,assigned_teams,contact,creator", - AttachmentsCollectionsAssignedTeamsContactCreatorParentTicket: - "attachments,collections,assigned_teams,contact,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsContactParentTicket: - "attachments,collections,assigned_teams,contact,parent_ticket", - AttachmentsCollectionsAssignedTeamsCreator: "attachments,collections,assigned_teams,creator", - AttachmentsCollectionsAssignedTeamsCreatorParentTicket: - "attachments,collections,assigned_teams,creator,parent_ticket", - AttachmentsCollectionsAssignedTeamsParentTicket: "attachments,collections,assigned_teams,parent_ticket", - AttachmentsCollectionsContact: "attachments,collections,contact", - AttachmentsCollectionsContactCreator: "attachments,collections,contact,creator", - AttachmentsCollectionsContactCreatorParentTicket: "attachments,collections,contact,creator,parent_ticket", - AttachmentsCollectionsContactParentTicket: "attachments,collections,contact,parent_ticket", - AttachmentsCollectionsCreator: "attachments,collections,creator", - AttachmentsCollectionsCreatorParentTicket: "attachments,collections,creator,parent_ticket", - AttachmentsCollectionsParentTicket: "attachments,collections,parent_ticket", - AttachmentsContact: "attachments,contact", - AttachmentsContactCreator: "attachments,contact,creator", - AttachmentsContactCreatorParentTicket: "attachments,contact,creator,parent_ticket", - AttachmentsContactParentTicket: "attachments,contact,parent_ticket", - AttachmentsCreator: "attachments,creator", - AttachmentsCreatorParentTicket: "attachments,creator,parent_ticket", - AttachmentsParentTicket: "attachments,parent_ticket", - Collections: "collections", - CollectionsAccount: "collections,account", - CollectionsAccountContact: "collections,account,contact", - CollectionsAccountContactCreator: "collections,account,contact,creator", - CollectionsAccountContactCreatorParentTicket: "collections,account,contact,creator,parent_ticket", - CollectionsAccountContactParentTicket: "collections,account,contact,parent_ticket", - CollectionsAccountCreator: "collections,account,creator", - CollectionsAccountCreatorParentTicket: "collections,account,creator,parent_ticket", - CollectionsAccountParentTicket: "collections,account,parent_ticket", - CollectionsAssignedTeams: "collections,assigned_teams", - CollectionsAssignedTeamsAccount: "collections,assigned_teams,account", - CollectionsAssignedTeamsAccountContact: "collections,assigned_teams,account,contact", - CollectionsAssignedTeamsAccountContactCreator: "collections,assigned_teams,account,contact,creator", - CollectionsAssignedTeamsAccountContactCreatorParentTicket: - "collections,assigned_teams,account,contact,creator,parent_ticket", - CollectionsAssignedTeamsAccountContactParentTicket: "collections,assigned_teams,account,contact,parent_ticket", - CollectionsAssignedTeamsAccountCreator: "collections,assigned_teams,account,creator", - CollectionsAssignedTeamsAccountCreatorParentTicket: "collections,assigned_teams,account,creator,parent_ticket", - CollectionsAssignedTeamsAccountParentTicket: "collections,assigned_teams,account,parent_ticket", - CollectionsAssignedTeamsContact: "collections,assigned_teams,contact", - CollectionsAssignedTeamsContactCreator: "collections,assigned_teams,contact,creator", - CollectionsAssignedTeamsContactCreatorParentTicket: "collections,assigned_teams,contact,creator,parent_ticket", - CollectionsAssignedTeamsContactParentTicket: "collections,assigned_teams,contact,parent_ticket", - CollectionsAssignedTeamsCreator: "collections,assigned_teams,creator", - CollectionsAssignedTeamsCreatorParentTicket: "collections,assigned_teams,creator,parent_ticket", - CollectionsAssignedTeamsParentTicket: "collections,assigned_teams,parent_ticket", - CollectionsContact: "collections,contact", - CollectionsContactCreator: "collections,contact,creator", - CollectionsContactCreatorParentTicket: "collections,contact,creator,parent_ticket", - CollectionsContactParentTicket: "collections,contact,parent_ticket", - CollectionsCreator: "collections,creator", - CollectionsCreatorParentTicket: "collections,creator,parent_ticket", - CollectionsParentTicket: "collections,parent_ticket", - Contact: "contact", - ContactCreator: "contact,creator", - ContactCreatorParentTicket: "contact,creator,parent_ticket", - ContactParentTicket: "contact,parent_ticket", - Creator: "creator", - CreatorParentTicket: "creator,parent_ticket", - ParentTicket: "parent_ticket", -} as const; -export type TicketsRetrieveRequestExpand = - (typeof TicketsRetrieveRequestExpand)[keyof typeof TicketsRetrieveRequestExpand]; diff --git a/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..424d32437 --- /dev/null +++ b/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TicketsRetrieveRequestExpandItem = { + Account: "account", + AssignedTeams: "assigned_teams", + Assignees: "assignees", + Attachments: "attachments", + Collections: "collections", + Contact: "contact", + Creator: "creator", + ParentTicket: "parent_ticket", +} as const; +export type TicketsRetrieveRequestExpandItem = + (typeof TicketsRetrieveRequestExpandItem)[keyof typeof TicketsRetrieveRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts deleted file mode 100644 index 50ffd5b1c..000000000 --- a/src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts +++ /dev/null @@ -1,9 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const TicketsViewersListRequestExpand = { - Team: "team", - User: "user", - UserTeam: "user,team", -} as const; -export type TicketsViewersListRequestExpand = - (typeof TicketsViewersListRequestExpand)[keyof typeof TicketsViewersListRequestExpand]; diff --git a/src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts new file mode 100644 index 000000000..6e55703b5 --- /dev/null +++ b/src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const TicketsViewersListRequestExpandItem = { + Team: "team", + User: "user", +} as const; +export type TicketsViewersListRequestExpandItem = + (typeof TicketsViewersListRequestExpandItem)[keyof typeof TicketsViewersListRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/tickets/types/index.ts b/src/api/resources/ticketing/resources/tickets/types/index.ts index 2f77f6366..96720a793 100644 --- a/src/api/resources/ticketing/resources/tickets/types/index.ts +++ b/src/api/resources/ticketing/resources/tickets/types/index.ts @@ -1,9 +1,9 @@ -export * from "./TicketsListRequestExpand"; +export * from "./TicketsListRequestExpandItem"; export * from "./TicketsListRequestPriority"; export * from "./TicketsListRequestRemoteFields"; export * from "./TicketsListRequestShowEnumOrigins"; export * from "./TicketsListRequestStatus"; -export * from "./TicketsRetrieveRequestExpand"; +export * from "./TicketsRetrieveRequestExpandItem"; export * from "./TicketsRetrieveRequestRemoteFields"; export * from "./TicketsRetrieveRequestShowEnumOrigins"; -export * from "./TicketsViewersListRequestExpand"; +export * from "./TicketsViewersListRequestExpandItem"; diff --git a/src/api/resources/ticketing/resources/users/client/Client.ts b/src/api/resources/ticketing/resources/users/client/Client.ts index e38cbb1cc..34ecada98 100644 --- a/src/api/resources/ticketing/resources/users/client/Client.ts +++ b/src/api/resources/ticketing/resources/users/client/Client.ts @@ -35,7 +35,6 @@ export class UsersClient { * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddress: "email_address", - * expand: "roles", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -46,97 +45,112 @@ export class UsersClient { * team: "team" * }) */ - public list( + public async list( request: Merge.ticketing.UsersListRequest = {}, requestOptions?: UsersClient.RequestOptions, - ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions)); - } - - private async __list( - request: Merge.ticketing.UsersListRequest = {}, - requestOptions?: UsersClient.RequestOptions, - ): Promise> { - const { - createdAfter, - createdBefore, - cursor, - emailAddress, - expand, - includeDeletedData, - includeRemoteData, - includeShellData, - modifiedAfter, - modifiedBefore, - pageSize, - remoteId, - team, - } = request; - const _queryParams: Record = { - created_after: createdAfter?.toISOString(), - created_before: createdBefore?.toISOString(), - cursor, - email_address: emailAddress, - expand: - expand != null - ? serializers.ticketing.UsersListRequestExpand.jsonOrThrow(expand, { - unrecognizedObjectKeys: "strip", - }) - : undefined, - include_deleted_data: includeDeletedData, - include_remote_data: includeRemoteData, - include_shell_data: includeShellData, - modified_after: modifiedAfter?.toISOString(), - modified_before: modifiedBefore?.toISOString(), - page_size: pageSize, - remote_id: remoteId, - team, - }; - const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); - const _headers: core.Fetcher.Args["headers"] = mergeHeaders( - _authRequest.headers, - this._options?.headers, - mergeOnlyDefinedHeaders({ "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken }), - requestOptions?.headers, + ): Promise> { + const list = core.HttpResponsePromise.interceptFunction( + async ( + request: Merge.ticketing.UsersListRequest, + ): Promise> => { + const { + createdAfter, + createdBefore, + cursor, + emailAddress, + expand, + includeDeletedData, + includeRemoteData, + includeShellData, + modifiedAfter, + modifiedBefore, + pageSize, + remoteId, + team, + } = request; + const _queryParams: Record = { + created_after: createdAfter?.toISOString(), + created_before: createdBefore?.toISOString(), + cursor, + email_address: emailAddress, + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.UsersListRequestExpandItem.jsonOrThrow(item, { + unrecognizedObjectKeys: "strip", + }), + ) + : expand != null + ? serializers.ticketing.UsersListRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, + include_deleted_data: includeDeletedData, + include_remote_data: includeRemoteData, + include_shell_data: includeShellData, + modified_after: modifiedAfter?.toISOString(), + modified_before: modifiedBefore?.toISOString(), + page_size: pageSize, + remote_id: remoteId, + team, + }; + const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _authRequest.headers, + this._options?.headers, + mergeOnlyDefinedHeaders({ + "X-Account-Token": requestOptions?.accountToken ?? this._options?.accountToken, + }), + requestOptions?.headers, + ); + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: core.url.join( + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)) ?? + environments.MergeEnvironment.Production, + "ticketing/v1/users", + ), + method: "GET", + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, + abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, + logging: this._options.logging, + }); + if (_response.ok) { + return { + data: serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }), + rawResponse: _response.rawResponse, + }; + } + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + rawResponse: _response.rawResponse, + }); + } + return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/users"); + }, ); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: core.url.join( - (await core.Supplier.get(this._options.baseUrl)) ?? - (await core.Supplier.get(this._options.environment)) ?? - environments.MergeEnvironment.Production, - "ticketing/v1/users", - ), - method: "GET", - headers: _headers, - queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, - maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, - abortSignal: requestOptions?.abortSignal, - fetchFn: this._options?.fetch, - logging: this._options.logging, + const dataWithRawResponse = await list(request).withRawResponse(); + return new core.Page({ + response: dataWithRawResponse.data, + rawResponse: dataWithRawResponse.rawResponse, + hasNextPage: (response) => + response?.next != null && !(typeof response?.next === "string" && response?.next === ""), + getItems: (response) => response?.results ?? [], + loadPage: (response) => { + return list(core.setObjectProperty(request, "cursor", response?.next)); + }, }); - if (_response.ok) { - return { - data: serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }), - rawResponse: _response.rawResponse, - }; - } - - if (_response.error.reason === "status-code") { - throw new errors.MergeError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - rawResponse: _response.rawResponse, - }); - } - - return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/ticketing/v1/users"); } /** @@ -148,7 +162,6 @@ export class UsersClient { * * @example * await client.ticketing.users.retrieve("id", { - * expand: "roles", * includeRemoteData: true, * includeShellData: true * }) @@ -168,12 +181,17 @@ export class UsersClient { ): Promise> { const { expand, includeRemoteData, includeShellData } = request; const _queryParams: Record = { - expand: - expand != null - ? serializers.ticketing.UsersRetrieveRequestExpand.jsonOrThrow(expand, { + expand: Array.isArray(expand) + ? expand.map((item) => + serializers.ticketing.UsersRetrieveRequestExpandItem.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", - }) - : undefined, + }), + ) + : expand != null + ? serializers.ticketing.UsersRetrieveRequestExpandItem.jsonOrThrow(expand, { + unrecognizedObjectKeys: "strip", + }) + : undefined, include_remote_data: includeRemoteData, include_shell_data: includeShellData, }; diff --git a/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts b/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts index 97b9283e4..8c16c5c3d 100644 --- a/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts @@ -9,7 +9,6 @@ import type * as Merge from "../../../../../../index"; * createdBefore: new Date("2024-01-15T09:30:00.000Z"), * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", * emailAddress: "email_address", - * expand: "roles", * includeDeletedData: true, * includeRemoteData: true, * includeShellData: true, @@ -30,7 +29,7 @@ export interface UsersListRequest { /** If provided, will only return users with emails equal to this value (case insensitive). */ emailAddress?: string; /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.UsersListRequestExpand; + expand?: Merge.ticketing.UsersListRequestExpandItem | Merge.ticketing.UsersListRequestExpandItem[]; /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ @@ -41,7 +40,7 @@ export interface UsersListRequest { modifiedAfter?: Date; /** If provided, only objects synced by Merge before this date time will be returned. */ modifiedBefore?: Date; - /** Number of results to return per page. The maximum limit is 100. */ + /** Number of results to return per page. */ pageSize?: number; /** The API provider's ID for the given object. */ remoteId?: string; diff --git a/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts b/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts index 4fef54eb4..03e0abc24 100644 --- a/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts @@ -5,14 +5,13 @@ import type * as Merge from "../../../../../../index"; /** * @example * { - * expand: "roles", * includeRemoteData: true, * includeShellData: true * } */ export interface UsersRetrieveRequest { /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */ - expand?: Merge.ticketing.UsersRetrieveRequestExpand; + expand?: Merge.ticketing.UsersRetrieveRequestExpandItem | Merge.ticketing.UsersRetrieveRequestExpandItem[]; /** Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */ diff --git a/src/api/resources/ticketing/resources/users/types/UsersListRequestExpand.ts b/src/api/resources/ticketing/resources/users/types/UsersListRequestExpand.ts deleted file mode 100644 index 31d5a13ce..000000000 --- a/src/api/resources/ticketing/resources/users/types/UsersListRequestExpand.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const UsersListRequestExpand = { - Roles: "roles", - Teams: "teams", - TeamsRoles: "teams,roles", -} as const; -export type UsersListRequestExpand = (typeof UsersListRequestExpand)[keyof typeof UsersListRequestExpand]; diff --git a/src/api/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts b/src/api/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts new file mode 100644 index 000000000..47b4bdff6 --- /dev/null +++ b/src/api/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts @@ -0,0 +1,7 @@ +// This file was auto-generated by Fern from our API Definition. + +export const UsersListRequestExpandItem = { + Roles: "roles", + Teams: "teams", +} as const; +export type UsersListRequestExpandItem = (typeof UsersListRequestExpandItem)[keyof typeof UsersListRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts b/src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts deleted file mode 100644 index 8753c0169..000000000 --- a/src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export const UsersRetrieveRequestExpand = { - Roles: "roles", - Teams: "teams", - TeamsRoles: "teams,roles", -} as const; -export type UsersRetrieveRequestExpand = (typeof UsersRetrieveRequestExpand)[keyof typeof UsersRetrieveRequestExpand]; diff --git a/src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts b/src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..b98eabc32 --- /dev/null +++ b/src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export const UsersRetrieveRequestExpandItem = { + Roles: "roles", + Teams: "teams", +} as const; +export type UsersRetrieveRequestExpandItem = + (typeof UsersRetrieveRequestExpandItem)[keyof typeof UsersRetrieveRequestExpandItem]; diff --git a/src/api/resources/ticketing/resources/users/types/index.ts b/src/api/resources/ticketing/resources/users/types/index.ts index e07d9f0f0..6b3250680 100644 --- a/src/api/resources/ticketing/resources/users/types/index.ts +++ b/src/api/resources/ticketing/resources/users/types/index.ts @@ -1,2 +1,2 @@ -export * from "./UsersListRequestExpand"; -export * from "./UsersRetrieveRequestExpand"; +export * from "./UsersListRequestExpandItem"; +export * from "./UsersRetrieveRequestExpandItem"; diff --git a/src/api/resources/ticketing/types/AccountDetailsAndActions.ts b/src/api/resources/ticketing/types/AccountDetailsAndActions.ts index af72b4d39..2ada8bf60 100644 --- a/src/api/resources/ticketing/types/AccountDetailsAndActions.ts +++ b/src/api/resources/ticketing/types/AccountDetailsAndActions.ts @@ -26,5 +26,4 @@ export interface AccountDetailsAndActions { integration?: Merge.ticketing.AccountDetailsAndActionsIntegration; accountType: string; completedAt: Date; - integrationSpecificFields?: Record; } diff --git a/src/api/resources/ticketing/types/CategoriesEnum.ts b/src/api/resources/ticketing/types/CategoriesEnum.ts index f442eef79..fadfd2764 100644 --- a/src/api/resources/ticketing/types/CategoriesEnum.ts +++ b/src/api/resources/ticketing/types/CategoriesEnum.ts @@ -8,7 +8,6 @@ * * `crm` - crm * * `mktg` - mktg * * `filestorage` - filestorage - * * `knowledgebase` - knowledgebase */ export const CategoriesEnum = { Hris: "hris", @@ -18,6 +17,5 @@ export const CategoriesEnum = { Crm: "crm", Mktg: "mktg", Filestorage: "filestorage", - Knowledgebase: "knowledgebase", } as const; export type CategoriesEnum = (typeof CategoriesEnum)[keyof typeof CategoriesEnum]; diff --git a/src/api/resources/ticketing/types/CategoryEnum.ts b/src/api/resources/ticketing/types/CategoryEnum.ts index 02badbab2..f2cd1da08 100644 --- a/src/api/resources/ticketing/types/CategoryEnum.ts +++ b/src/api/resources/ticketing/types/CategoryEnum.ts @@ -8,7 +8,6 @@ * * `crm` - crm * * `mktg` - mktg * * `filestorage` - filestorage - * * `knowledgebase` - knowledgebase */ export const CategoryEnum = { Hris: "hris", @@ -18,6 +17,5 @@ export const CategoryEnum = { Crm: "crm", Mktg: "mktg", Filestorage: "filestorage", - Knowledgebase: "knowledgebase", } as const; export type CategoryEnum = (typeof CategoryEnum)[keyof typeof CategoryEnum]; diff --git a/src/api/resources/ticketing/types/Collection.ts b/src/api/resources/ticketing/types/Collection.ts index e1ebe92dd..4f5406039 100644 --- a/src/api/resources/ticketing/types/Collection.ts +++ b/src/api/resources/ticketing/types/Collection.ts @@ -37,7 +37,7 @@ export interface Collection { * * `LIST` - LIST * * `PROJECT` - PROJECT */ - collectionType?: Merge.ticketing.CollectionCollectionType; + collectionType?: Merge.ticketing.CollectionTypeEnum; /** The parent collection for this collection. */ parentCollection?: Merge.ticketing.CollectionParentCollection; /** The 3rd party url of the Collection. */ diff --git a/src/api/resources/ticketing/types/CollectionCollectionType.ts b/src/api/resources/ticketing/types/CollectionCollectionType.ts deleted file mode 100644 index 734e1f1f3..000000000 --- a/src/api/resources/ticketing/types/CollectionCollectionType.ts +++ /dev/null @@ -1,11 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The collection's type. - * - * * `LIST` - LIST - * * `PROJECT` - PROJECT - */ -export type CollectionCollectionType = Merge.ticketing.CollectionTypeEnum | string; diff --git a/src/api/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts b/src/api/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts deleted file mode 100644 index cfe34d1e7..000000000 --- a/src/api/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts +++ /dev/null @@ -1,6 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -/** - * * `SELECTIVE_SYNC` - SELECTIVE_SYNC - */ -export type CompletedAccountInitialScreenEnum = "SELECTIVE_SYNC"; diff --git a/src/api/resources/ticketing/types/FieldMappingApiInstance.ts b/src/api/resources/ticketing/types/FieldMappingApiInstance.ts index 4402597de..99734bd8a 100644 --- a/src/api/resources/ticketing/types/FieldMappingApiInstance.ts +++ b/src/api/resources/ticketing/types/FieldMappingApiInstance.ts @@ -7,5 +7,4 @@ export interface FieldMappingApiInstance { isIntegrationWide?: boolean; targetField?: Merge.ticketing.FieldMappingApiInstanceTargetField; remoteField?: Merge.ticketing.FieldMappingApiInstanceRemoteField; - jmesPath?: string; } diff --git a/src/api/resources/ticketing/types/PatchedTicketRequest.ts b/src/api/resources/ticketing/types/PatchedTicketRequest.ts index 1ac786db2..40b7f4079 100644 --- a/src/api/resources/ticketing/types/PatchedTicketRequest.ts +++ b/src/api/resources/ticketing/types/PatchedTicketRequest.ts @@ -52,6 +52,8 @@ export interface PatchedTicketRequest { accessLevel?: Merge.ticketing.PatchedTicketRequestAccessLevel; tags?: (string | undefined)[]; roles?: (string | undefined)[]; + /** When the ticket was completed. */ + completedAt?: Date; /** The 3rd party url of the Ticket. */ ticketUrl?: string; /** @@ -62,9 +64,7 @@ export interface PatchedTicketRequest { * * `NORMAL` - NORMAL * * `LOW` - LOW */ - priority?: Merge.ticketing.PatchedTicketRequestPriority; - /** When the ticket was completed. */ - completedAt?: Date; + priority?: Merge.ticketing.PriorityEnum; integrationParams?: Record; linkedAccountParams?: Record; remoteFields?: Merge.ticketing.RemoteFieldRequest[]; diff --git a/src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts b/src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts deleted file mode 100644 index cc08bc67d..000000000 --- a/src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -/** - * The priority or urgency of the Ticket. - * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW - */ -export type PatchedTicketRequestPriority = Merge.ticketing.PriorityEnum | string; diff --git a/src/api/resources/ticketing/types/RemoteFieldClass.ts b/src/api/resources/ticketing/types/RemoteFieldClass.ts index a4d6d5723..bf0ae801f 100644 --- a/src/api/resources/ticketing/types/RemoteFieldClass.ts +++ b/src/api/resources/ticketing/types/RemoteFieldClass.ts @@ -10,8 +10,8 @@ export interface RemoteFieldClass { isCustom?: boolean; isCommonModelField?: boolean; isRequired?: boolean; - fieldType?: Merge.ticketing.RemoteFieldClassFieldType; - fieldFormat?: Merge.ticketing.RemoteFieldClassFieldFormat; + fieldType?: Merge.ticketing.FieldTypeEnum; + fieldFormat?: Merge.ticketing.FieldFormatEnum; fieldChoices?: Merge.ticketing.RemoteFieldClassFieldChoicesItem[]; itemSchema?: Merge.ticketing.ItemSchema; } diff --git a/src/api/resources/ticketing/types/RemoteFieldClassFieldFormat.ts b/src/api/resources/ticketing/types/RemoteFieldClassFieldFormat.ts deleted file mode 100644 index 0780ee5bb..000000000 --- a/src/api/resources/ticketing/types/RemoteFieldClassFieldFormat.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type RemoteFieldClassFieldFormat = string | Merge.ticketing.FieldFormatEnum; diff --git a/src/api/resources/ticketing/types/RemoteFieldClassFieldType.ts b/src/api/resources/ticketing/types/RemoteFieldClassFieldType.ts deleted file mode 100644 index 583add1ed..000000000 --- a/src/api/resources/ticketing/types/RemoteFieldClassFieldType.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../index"; - -export type RemoteFieldClassFieldType = string | Merge.ticketing.FieldTypeEnum; diff --git a/src/api/resources/ticketing/types/RemoteResponse.ts b/src/api/resources/ticketing/types/RemoteResponse.ts index 711189e7f..240ba4b68 100644 --- a/src/api/resources/ticketing/types/RemoteResponse.ts +++ b/src/api/resources/ticketing/types/RemoteResponse.ts @@ -16,6 +16,6 @@ export interface RemoteResponse { status: number; response?: unknown; responseHeaders?: Record; - responseType?: Merge.ticketing.ResponseTypeEnum; + responseType?: Merge.ticketing.RemoteResponseResponseType; headers?: Record; } diff --git a/src/api/resources/accounting/types/DataPassthroughRequestMethod.ts b/src/api/resources/ticketing/types/RemoteResponseResponseType.ts similarity index 57% rename from src/api/resources/accounting/types/DataPassthroughRequestMethod.ts rename to src/api/resources/ticketing/types/RemoteResponseResponseType.ts index 1c2fc3cad..4976a6923 100644 --- a/src/api/resources/accounting/types/DataPassthroughRequestMethod.ts +++ b/src/api/resources/ticketing/types/RemoteResponseResponseType.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type DataPassthroughRequestMethod = Merge.accounting.MethodEnum | string; +export type RemoteResponseResponseType = Merge.ticketing.ResponseTypeEnum | string; diff --git a/src/api/resources/ticketing/types/RoleTicketAccess.ts b/src/api/resources/ticketing/types/RoleTicketAccess.ts index a60f8f868..a169af400 100644 --- a/src/api/resources/ticketing/types/RoleTicketAccess.ts +++ b/src/api/resources/ticketing/types/RoleTicketAccess.ts @@ -9,4 +9,4 @@ import type * as Merge from "../../../index"; * * `ASSIGNED_ONLY` - ASSIGNED_ONLY * * `TEAM_ONLY` - TEAM_ONLY */ -export type RoleTicketAccess = string | Merge.ticketing.TicketAccessEnum; +export type RoleTicketAccess = Merge.ticketing.TicketAccessEnum | string; diff --git a/src/api/resources/ticketing/types/RoleTicketActionsItem.ts b/src/api/resources/ticketing/types/RoleTicketActionsItem.ts index 77341cdbc..49809c539 100644 --- a/src/api/resources/ticketing/types/RoleTicketActionsItem.ts +++ b/src/api/resources/ticketing/types/RoleTicketActionsItem.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type RoleTicketActionsItem = string | Merge.ticketing.TicketActionsEnum; +export type RoleTicketActionsItem = Merge.ticketing.TicketActionsEnum | string; diff --git a/src/api/resources/ticketing/types/SyncStatus.ts b/src/api/resources/ticketing/types/SyncStatus.ts index 14c44cac6..4cd982bda 100644 --- a/src/api/resources/ticketing/types/SyncStatus.ts +++ b/src/api/resources/ticketing/types/SyncStatus.ts @@ -17,7 +17,7 @@ export interface SyncStatus { nextSyncStart?: Date; lastSyncResult?: Merge.ticketing.SyncStatusLastSyncResult; lastSyncFinished?: Date; - status: Merge.ticketing.StatusFd5Enum; + status: Merge.ticketing.SyncStatusStatus; isInitialSync: boolean; selectiveSyncConfigurationsUsage?: Merge.ticketing.SelectiveSyncConfigurationsUsageEnum; } diff --git a/src/api/resources/accounting/types/ExpenseReportLineProject.ts b/src/api/resources/ticketing/types/SyncStatusStatus.ts similarity index 60% rename from src/api/resources/accounting/types/ExpenseReportLineProject.ts rename to src/api/resources/ticketing/types/SyncStatusStatus.ts index 961c4294b..156c2b8db 100644 --- a/src/api/resources/accounting/types/ExpenseReportLineProject.ts +++ b/src/api/resources/ticketing/types/SyncStatusStatus.ts @@ -2,4 +2,4 @@ import type * as Merge from "../../../index"; -export type ExpenseReportLineProject = string | Merge.accounting.Project; +export type SyncStatusStatus = Merge.ticketing.StatusFd5Enum | string; diff --git a/src/api/resources/ticketing/types/Ticket.ts b/src/api/resources/ticketing/types/Ticket.ts index 26a49a00c..4dd04c88f 100644 --- a/src/api/resources/ticketing/types/Ticket.ts +++ b/src/api/resources/ticketing/types/Ticket.ts @@ -60,14 +60,6 @@ export interface Ticket { accessLevel?: Merge.ticketing.TicketAccessLevel; tags?: (string | undefined)[]; roles?: (string | undefined)[]; - /** When the third party's ticket was created. */ - remoteCreatedAt?: Date; - /** When the third party's ticket was updated. */ - remoteUpdatedAt?: Date; - /** When the ticket was completed. */ - completedAt?: Date; - /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ - remoteWasDeleted?: boolean; /** The 3rd party url of the Ticket. */ ticketUrl?: string; /** @@ -79,6 +71,14 @@ export interface Ticket { * * `LOW` - LOW */ priority?: Merge.ticketing.TicketPriority; + /** When the third party's ticket was created. */ + remoteCreatedAt?: Date; + /** When the third party's ticket was updated. */ + remoteUpdatedAt?: Date; + /** When the ticket was completed. */ + completedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ + remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; remoteFields?: Merge.ticketing.RemoteField[]; diff --git a/src/api/resources/ticketing/types/index.ts b/src/api/resources/ticketing/types/index.ts index 66f871985..fa80099f0 100644 --- a/src/api/resources/ticketing/types/index.ts +++ b/src/api/resources/ticketing/types/index.ts @@ -23,7 +23,6 @@ export * from "./CategoryEnum"; export * from "./Collection"; export * from "./CollectionAccessLevel"; export * from "./CollectionAccessLevelEnum"; -export * from "./CollectionCollectionType"; export * from "./CollectionParentCollection"; export * from "./CollectionTypeEnum"; export * from "./Comment"; @@ -37,7 +36,6 @@ export * from "./CommentTicket"; export * from "./CommentUser"; export * from "./CommonModelScopeApi"; export * from "./CommonModelScopesBodyRequest"; -export * from "./CompletedAccountInitialScreenEnum"; export * from "./Contact"; export * from "./ContactAccount"; export * from "./ContactRequest"; @@ -99,7 +97,6 @@ export * from "./PaginatedUserList"; export * from "./PaginatedViewerList"; export * from "./PatchedTicketRequest"; export * from "./PatchedTicketRequestAccessLevel"; -export * from "./PatchedTicketRequestPriority"; export * from "./PatchedTicketRequestStatus"; export * from "./PriorityEnum"; export * from "./Project"; @@ -111,13 +108,12 @@ export * from "./RemoteFieldApiCoverage"; export * from "./RemoteFieldApiResponse"; export * from "./RemoteFieldClass"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldClassFieldFormat"; -export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldRemoteFieldClass"; export * from "./RemoteFieldRequest"; export * from "./RemoteFieldRequestRemoteFieldClass"; export * from "./RemoteKey"; export * from "./RemoteResponse"; +export * from "./RemoteResponseResponseType"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./Role"; @@ -128,6 +124,7 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; export * from "./SyncStatusLastSyncResult"; +export * from "./SyncStatusStatus"; export * from "./Tag"; export * from "./Team"; export * from "./Ticket"; diff --git a/src/auth/BearerAuthProvider.ts b/src/auth/BearerAuthProvider.ts index a272f9cff..5fd17c3b5 100644 --- a/src/auth/BearerAuthProvider.ts +++ b/src/auth/BearerAuthProvider.ts @@ -35,7 +35,7 @@ export class BearerAuthProvider implements core.AuthProvider { } export namespace BearerAuthProvider { - export const AUTH_SCHEME = "BearerAuthScheme" as const; + export const AUTH_SCHEME = "tokenAuth" as const; export const AUTH_CONFIG_ERROR_MESSAGE: string = `Please provide '${TOKEN_PARAM}' when initializing the client` as const; export type Options = AuthOptions; diff --git a/src/core/exports.ts b/src/core/exports.ts index 6306ac159..73006e3c5 100644 --- a/src/core/exports.ts +++ b/src/core/exports.ts @@ -1 +1,2 @@ export * from "./logging/exports"; +export * from "./pagination/exports"; diff --git a/src/core/index.ts b/src/core/index.ts index 9ebb5e39e..348fcd706 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -2,6 +2,8 @@ export * from "./auth"; export * from "./base64"; export * from "./fetcher"; export * as logging from "./logging"; +export * from "./pagination"; export * from "./runtime"; export * as serialization from "./schemas"; export * as url from "./url"; +export * from "./utils"; diff --git a/src/core/pagination/CustomPager.ts b/src/core/pagination/CustomPager.ts new file mode 100644 index 000000000..5476b0319 --- /dev/null +++ b/src/core/pagination/CustomPager.ts @@ -0,0 +1,194 @@ +import type { BaseRequestOptions, NormalizedClientOptions } from "../../BaseClient"; +import type { APIResponse } from "../fetcher/APIResponse"; +import type { Fetcher } from "../fetcher/Fetcher"; +import type { RawResponse } from "../fetcher/index"; + +/** + * + * @template TItem The type of the items in the page. + * @template TResponse The type of the API response. + */ +export class CustomPager implements AsyncIterable { + /** The items from the current page */ + public data: TItem[]; + /** The raw HTTP response */ + public rawResponse: RawResponse; + /** The parsed response object */ + public response: TResponse; + + private sendRequest: (request: Fetcher.Args) => Promise>; + private nextRequest?: Fetcher.Args; + private previousRequest?: Fetcher.Args; + private _hasNextPage: boolean; + private _hasPreviousPage: boolean; + + constructor(args: { + response: TResponse; + rawResponse: RawResponse; + items: TItem[]; + hasNextPage: boolean; + hasPreviousPage: boolean; + nextRequest?: Fetcher.Args; + previousRequest?: Fetcher.Args; + sendRequest: (request: Fetcher.Args) => Promise>; + }) { + this.response = args.response; + this.rawResponse = args.rawResponse; + this.data = args.items; + this._hasNextPage = args.hasNextPage; + this._hasPreviousPage = args.hasPreviousPage; + this.nextRequest = args.nextRequest; + this.previousRequest = args.previousRequest; + this.sendRequest = args.sendRequest; + } + + /** + * @returns whether there is a next page to load + */ + public hasNextPage(): boolean { + return this._hasNextPage; + } + + /** + * @returns whether there is a previous page to load + */ + public hasPreviousPage(): boolean { + return this._hasPreviousPage; + } + + /** + * Returns the current page data. + * This is an alias for the `data` property for consistency with other pagination APIs. + * + * @returns the items from the current page + */ + public getCurrentPage(): TItem[] { + return this.data; + } + + /** + * Retrieves the next page of results. + * @returns this pager with updated data + * @throws Error if there is no next page + */ + public async getNextPage(): Promise { + if (!this._hasNextPage || !this.nextRequest) { + throw new Error("No next page available"); + } + const response = await this.sendRequest(this.nextRequest); + if (!response.ok) { + const reason = + response.error.reason === "status-code" ? `HTTP ${response.error.statusCode}` : response.error.reason; + throw new Error(`Failed to fetch next page: ${reason}`); + } + const data = response.body; + const rawResponse = response.rawResponse; + const parsed = await parse({ request: this.nextRequest, data, rawResponse }); + this.response = data; + this.rawResponse = rawResponse; + this.data = parsed.items; + this._hasNextPage = parsed.hasNextPage; + this._hasPreviousPage = parsed.hasPreviousPage; + this.nextRequest = parsed.nextRequest; + this.previousRequest = parsed.previousRequest; + return this; + } + + /** + * Retrieves the previous page of results. + * @returns this pager with updated data + * @throws Error if there is no previous page + */ + public async getPreviousPage(): Promise { + if (!this._hasPreviousPage || !this.previousRequest) { + throw new Error("No previous page available"); + } + const response = await this.sendRequest(this.previousRequest); + if (!response.ok) { + const reason = + response.error.reason === "status-code" ? `HTTP ${response.error.statusCode}` : response.error.reason; + throw new Error(`Failed to fetch previous page: ${reason}`); + } + const data = response.body; + const rawResponse = response.rawResponse; + const parsed = await parse({ request: this.previousRequest, data, rawResponse }); + this.response = data; + this.rawResponse = rawResponse; + this.data = parsed.items; + this._hasNextPage = parsed.hasNextPage; + this._hasPreviousPage = parsed.hasPreviousPage; + this.nextRequest = parsed.nextRequest; + this.previousRequest = parsed.previousRequest; + return this; + } + + private async *iterMessages(): AsyncGenerator { + for (const item of this.data) { + yield item; + } + + while (this.hasNextPage()) { + await this.getNextPage(); + for (const item of this.data) { + yield item; + } + } + } + + async *[Symbol.asyncIterator](): AsyncIterator { + for await (const message of this.iterMessages()) { + yield message; + } + } +} + +export async function createCustomPager({ + sendRequest, + initialHttpRequest, + clientOptions, +}: { + sendRequest: (request: Fetcher.Args) => Promise>; + initialHttpRequest: Fetcher.Args; + clientOptions: NormalizedClientOptions; + requestOptions?: BaseRequestOptions; +}): Promise> { + const response = await sendRequest(initialHttpRequest); + if (!response.ok) { + const reason = + response.error.reason === "status-code" ? `HTTP ${response.error.statusCode}` : response.error.reason; + throw new Error(`Failed to fetch initial page: ${reason}`); + } + const data = response.body; + const rawResponse = response.rawResponse; + const parsed = await parse({ request: initialHttpRequest, data, rawResponse }); + return new CustomPager({ + response: data, + rawResponse, + items: parsed.items, + hasNextPage: parsed.hasNextPage, + hasPreviousPage: parsed.hasPreviousPage, + nextRequest: parsed.nextRequest, + previousRequest: parsed.previousRequest, + sendRequest: sendRequest, + }); +} + +async function parse(_args: { + request: Fetcher.Args; + data: TResponse; + rawResponse: RawResponse; +}): Promise<{ + nextRequest?: Fetcher.Args; + hasNextPage: boolean; + previousRequest?: Fetcher.Args; + hasPreviousPage: boolean; + items: TItem[]; +}> { + // Placeholder implementation. + // TODO: Replace this with actual parsing logic. + return { + items: [], + hasNextPage: false, + hasPreviousPage: false, + }; +} diff --git a/src/core/pagination/Page.ts b/src/core/pagination/Page.ts new file mode 100644 index 000000000..6e884eccb --- /dev/null +++ b/src/core/pagination/Page.ts @@ -0,0 +1,76 @@ +import type { HttpResponsePromise, RawResponse } from "../fetcher/index"; + +/** + * A page of results from a paginated API. + * + * @template T The type of the items in the page. + * @template R The type of the API response. + */ +export class Page implements AsyncIterable { + public data: T[]; + public rawResponse: RawResponse; + public response: R; + + private _hasNextPage: (response: R) => boolean; + private getItems: (response: R) => T[]; + private loadNextPage: (response: R) => HttpResponsePromise; + + constructor({ + response, + rawResponse, + hasNextPage, + getItems, + loadPage, + }: { + response: R; + rawResponse: RawResponse; + hasNextPage: (response: R) => boolean; + getItems: (response: R) => T[]; + loadPage: (response: R) => HttpResponsePromise; + }) { + this.response = response; + this.rawResponse = rawResponse; + this.data = getItems(response); + this._hasNextPage = hasNextPage; + this.getItems = getItems; + this.loadNextPage = loadPage; + } + + /** + * Retrieves the next page + * @returns this + */ + public async getNextPage(): Promise { + const { data, rawResponse } = await this.loadNextPage(this.response).withRawResponse(); + this.response = data; + this.rawResponse = rawResponse; + this.data = this.getItems(this.response); + return this; + } + + /** + * @returns whether there is a next page to load + */ + public hasNextPage(): boolean { + return this._hasNextPage(this.response); + } + + private async *iterMessages(): AsyncGenerator { + for (const item of this.data) { + yield item; + } + + while (this.hasNextPage()) { + await this.getNextPage(); + for (const item of this.data) { + yield item; + } + } + } + + async *[Symbol.asyncIterator](): AsyncIterator { + for await (const message of this.iterMessages()) { + yield message; + } + } +} diff --git a/src/core/pagination/exports.ts b/src/core/pagination/exports.ts new file mode 100644 index 000000000..8a1c4b3bd --- /dev/null +++ b/src/core/pagination/exports.ts @@ -0,0 +1 @@ +export type { Page } from "./Page"; diff --git a/src/core/pagination/index.ts b/src/core/pagination/index.ts new file mode 100644 index 000000000..489f59cf6 --- /dev/null +++ b/src/core/pagination/index.ts @@ -0,0 +1,2 @@ +export { CustomPager, createCustomPager } from "./CustomPager"; +export { Page } from "./Page"; diff --git a/src/core/utils/index.ts b/src/core/utils/index.ts new file mode 100644 index 000000000..b168f599a --- /dev/null +++ b/src/core/utils/index.ts @@ -0,0 +1 @@ +export { setObjectProperty } from "./setObjectProperty"; diff --git a/src/core/utils/setObjectProperty.ts b/src/core/utils/setObjectProperty.ts new file mode 100644 index 000000000..5528af248 --- /dev/null +++ b/src/core/utils/setObjectProperty.ts @@ -0,0 +1,43 @@ +/** + * Sets the value at path of object. If a portion of path doesn’t exist it’s created. This is + * inspired by Lodash's set function, but is simplified to accommodate our use case. + * For more details, see https://lodash.com/docs/4.17.15#set. + * + * @param object The object to modify. + * @param path The path of the property to set. + * @param value The value to set. + * @return Returns object. + */ +export function setObjectProperty(object: T, path: string, value: any): T { + if (object == null) { + return object; + } + + const keys: string[] = path.split("."); + if (keys.length === 0) { + // Invalid path; do nothing. + return object; + } + + let current: Record = object; + for (let i = 0; i < keys.length - 1; i++) { + const key = keys[i]; + if (key == null) { + // Unreachable. + continue; + } + if (!current[key] || typeof current[key] !== "object") { + current[key] = {}; + } + current = current[key] as Record; + } + + const lastKey = keys[keys.length - 1]; + if (lastKey == null) { + // Unreachable. + return object; + } + + current[lastKey] = value; + return object; +} diff --git a/src/environments.ts b/src/environments.ts index 6b9c1588e..28ebe45f4 100644 --- a/src/environments.ts +++ b/src/environments.ts @@ -2,11 +2,11 @@ export const MergeEnvironment = { Production: "https://api.merge.dev/api", - Sandbox: "https://api-sandbox.merge.dev/api", ProductionEu: "https://api-eu.merge.dev/api", + Sandbox: "https://api-sandbox.merge.dev/api", } as const; export type MergeEnvironment = | typeof MergeEnvironment.Production - | typeof MergeEnvironment.Sandbox - | typeof MergeEnvironment.ProductionEu; + | typeof MergeEnvironment.ProductionEu + | typeof MergeEnvironment.Sandbox; diff --git a/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts deleted file mode 100644 index 9ec1d1cc3..000000000 --- a/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CompanyInfoListRequestExpand: core.serialization.Schema< - serializers.accounting.CompanyInfoListRequestExpand.Raw, - Merge.accounting.CompanyInfoListRequestExpand -> = core.serialization.enum_(["addresses", "addresses,phone_numbers", "phone_numbers"]); - -export declare namespace CompanyInfoListRequestExpand { - export type Raw = "addresses" | "addresses,phone_numbers" | "phone_numbers"; -} diff --git a/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts new file mode 100644 index 000000000..c1bfb5a84 --- /dev/null +++ b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CompanyInfoListRequestExpandItem: core.serialization.Schema< + serializers.accounting.CompanyInfoListRequestExpandItem.Raw, + Merge.accounting.CompanyInfoListRequestExpandItem +> = core.serialization.enum_(["addresses", "phone_numbers"]); + +export declare namespace CompanyInfoListRequestExpandItem { + export type Raw = "addresses" | "phone_numbers"; +} diff --git a/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts deleted file mode 100644 index fd6d46784..000000000 --- a/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CompanyInfoRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.CompanyInfoRetrieveRequestExpand.Raw, - Merge.accounting.CompanyInfoRetrieveRequestExpand -> = core.serialization.enum_(["addresses", "addresses,phone_numbers", "phone_numbers"]); - -export declare namespace CompanyInfoRetrieveRequestExpand { - export type Raw = "addresses" | "addresses,phone_numbers" | "phone_numbers"; -} diff --git a/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..ad4fba5ae --- /dev/null +++ b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CompanyInfoRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.CompanyInfoRetrieveRequestExpandItem.Raw, + Merge.accounting.CompanyInfoRetrieveRequestExpandItem +> = core.serialization.enum_(["addresses", "phone_numbers"]); + +export declare namespace CompanyInfoRetrieveRequestExpandItem { + export type Raw = "addresses" | "phone_numbers"; +} diff --git a/src/serialization/resources/accounting/resources/companyInfo/types/index.ts b/src/serialization/resources/accounting/resources/companyInfo/types/index.ts index 8f0d30c91..68b77b77d 100644 --- a/src/serialization/resources/accounting/resources/companyInfo/types/index.ts +++ b/src/serialization/resources/accounting/resources/companyInfo/types/index.ts @@ -1,2 +1,2 @@ -export * from "./CompanyInfoListRequestExpand"; -export * from "./CompanyInfoRetrieveRequestExpand"; +export * from "./CompanyInfoListRequestExpandItem"; +export * from "./CompanyInfoRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts b/src/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts deleted file mode 100644 index 9d7a75576..000000000 --- a/src/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.ts +++ /dev/null @@ -1,19 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../../api/index"; -import * as core from "../../../../../../../core"; -import type * as serializers from "../../../../../../index"; -import { PatchedContactRequest } from "../../../../types/PatchedContactRequest"; - -export const PatchedContactEndpointRequest: core.serialization.Schema< - serializers.accounting.PatchedContactEndpointRequest.Raw, - Omit -> = core.serialization.object({ - model: PatchedContactRequest, -}); - -export declare namespace PatchedContactEndpointRequest { - export interface Raw { - model: PatchedContactRequest.Raw; - } -} diff --git a/src/serialization/resources/accounting/resources/contacts/client/requests/index.ts b/src/serialization/resources/accounting/resources/contacts/client/requests/index.ts index b5ae8a3b4..00e858c60 100644 --- a/src/serialization/resources/accounting/resources/contacts/client/requests/index.ts +++ b/src/serialization/resources/accounting/resources/contacts/client/requests/index.ts @@ -1,2 +1 @@ export { ContactEndpointRequest } from "./ContactEndpointRequest"; -export { PatchedContactEndpointRequest } from "./PatchedContactEndpointRequest"; diff --git a/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts b/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts deleted file mode 100644 index 9bbc3d291..000000000 --- a/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ContactsListRequestExpand: core.serialization.Schema< - serializers.accounting.ContactsListRequestExpand.Raw, - Merge.accounting.ContactsListRequestExpand -> = core.serialization.enum_([ - "addresses", - "addresses,company", - "addresses,phone_numbers", - "addresses,phone_numbers,company", - "company", - "phone_numbers", - "phone_numbers,company", -]); - -export declare namespace ContactsListRequestExpand { - export type Raw = - | "addresses" - | "addresses,company" - | "addresses,phone_numbers" - | "addresses,phone_numbers,company" - | "company" - | "phone_numbers" - | "phone_numbers,company"; -} diff --git a/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts new file mode 100644 index 000000000..3a57953c3 --- /dev/null +++ b/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ContactsListRequestExpandItem: core.serialization.Schema< + serializers.accounting.ContactsListRequestExpandItem.Raw, + Merge.accounting.ContactsListRequestExpandItem +> = core.serialization.enum_(["addresses", "company", "phone_numbers"]); + +export declare namespace ContactsListRequestExpandItem { + export type Raw = "addresses" | "company" | "phone_numbers"; +} diff --git a/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts deleted file mode 100644 index 5414c43f0..000000000 --- a/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ContactsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.ContactsRetrieveRequestExpand.Raw, - Merge.accounting.ContactsRetrieveRequestExpand -> = core.serialization.enum_([ - "addresses", - "addresses,company", - "addresses,phone_numbers", - "addresses,phone_numbers,company", - "company", - "phone_numbers", - "phone_numbers,company", -]); - -export declare namespace ContactsRetrieveRequestExpand { - export type Raw = - | "addresses" - | "addresses,company" - | "addresses,phone_numbers" - | "addresses,phone_numbers,company" - | "company" - | "phone_numbers" - | "phone_numbers,company"; -} diff --git a/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..a6cb52f93 --- /dev/null +++ b/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ContactsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.ContactsRetrieveRequestExpandItem.Raw, + Merge.accounting.ContactsRetrieveRequestExpandItem +> = core.serialization.enum_(["addresses", "company", "phone_numbers"]); + +export declare namespace ContactsRetrieveRequestExpandItem { + export type Raw = "addresses" | "company" | "phone_numbers"; +} diff --git a/src/serialization/resources/accounting/resources/contacts/types/index.ts b/src/serialization/resources/accounting/resources/contacts/types/index.ts index 97a5d68db..01ebd1a06 100644 --- a/src/serialization/resources/accounting/resources/contacts/types/index.ts +++ b/src/serialization/resources/accounting/resources/contacts/types/index.ts @@ -1,3 +1,3 @@ -export * from "./ContactsListRequestExpand"; +export * from "./ContactsListRequestExpandItem"; export * from "./ContactsListRequestStatus"; -export * from "./ContactsRetrieveRequestExpand"; +export * from "./ContactsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts deleted file mode 100644 index 5b8302ddd..000000000 --- a/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts +++ /dev/null @@ -1,269 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CreditNotesListRequestExpand: core.serialization.Schema< - serializers.accounting.CreditNotesListRequestExpand.Raw, - Merge.accounting.CreditNotesListRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "applied_payments", - "applied_payments,accounting_period", - "applied_payments,company", - "applied_payments,company,accounting_period", - "applied_payments,contact", - "applied_payments,contact,accounting_period", - "applied_payments,contact,company", - "applied_payments,contact,company,accounting_period", - "applied_payments,line_items", - "applied_payments,line_items,accounting_period", - "applied_payments,line_items,company", - "applied_payments,line_items,company,accounting_period", - "applied_payments,line_items,contact", - "applied_payments,line_items,contact,accounting_period", - "applied_payments,line_items,contact,company", - "applied_payments,line_items,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories", - "applied_payments,line_items,tracking_categories,accounting_period", - "applied_payments,line_items,tracking_categories,company", - "applied_payments,line_items,tracking_categories,company,accounting_period", - "applied_payments,line_items,tracking_categories,contact", - "applied_payments,line_items,tracking_categories,contact,accounting_period", - "applied_payments,line_items,tracking_categories,contact,company", - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "applied_payments,tracking_categories", - "applied_payments,tracking_categories,accounting_period", - "applied_payments,tracking_categories,company", - "applied_payments,tracking_categories,company,accounting_period", - "applied_payments,tracking_categories,contact", - "applied_payments,tracking_categories,contact,accounting_period", - "applied_payments,tracking_categories,contact,company", - "applied_payments,tracking_categories,contact,company,accounting_period", - "company", - "company,accounting_period", - "contact", - "contact,accounting_period", - "contact,company", - "contact,company,accounting_period", - "line_items", - "line_items,accounting_period", - "line_items,company", - "line_items,company,accounting_period", - "line_items,contact", - "line_items,contact,accounting_period", - "line_items,contact,company", - "line_items,contact,company,accounting_period", - "line_items,tracking_categories", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,contact", - "line_items,tracking_categories,contact,accounting_period", - "line_items,tracking_categories,contact,company", - "line_items,tracking_categories,contact,company,accounting_period", - "payments", - "payments,accounting_period", - "payments,applied_payments", - "payments,applied_payments,accounting_period", - "payments,applied_payments,company", - "payments,applied_payments,company,accounting_period", - "payments,applied_payments,contact", - "payments,applied_payments,contact,accounting_period", - "payments,applied_payments,contact,company", - "payments,applied_payments,contact,company,accounting_period", - "payments,applied_payments,line_items", - "payments,applied_payments,line_items,accounting_period", - "payments,applied_payments,line_items,company", - "payments,applied_payments,line_items,company,accounting_period", - "payments,applied_payments,line_items,contact", - "payments,applied_payments,line_items,contact,accounting_period", - "payments,applied_payments,line_items,contact,company", - "payments,applied_payments,line_items,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories", - "payments,applied_payments,line_items,tracking_categories,accounting_period", - "payments,applied_payments,line_items,tracking_categories,company", - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact", - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,company", - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,applied_payments,tracking_categories", - "payments,applied_payments,tracking_categories,accounting_period", - "payments,applied_payments,tracking_categories,company", - "payments,applied_payments,tracking_categories,company,accounting_period", - "payments,applied_payments,tracking_categories,contact", - "payments,applied_payments,tracking_categories,contact,accounting_period", - "payments,applied_payments,tracking_categories,contact,company", - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - "payments,company", - "payments,company,accounting_period", - "payments,contact", - "payments,contact,accounting_period", - "payments,contact,company", - "payments,contact,company,accounting_period", - "payments,line_items", - "payments,line_items,accounting_period", - "payments,line_items,company", - "payments,line_items,company,accounting_period", - "payments,line_items,contact", - "payments,line_items,contact,accounting_period", - "payments,line_items,contact,company", - "payments,line_items,contact,company,accounting_period", - "payments,line_items,tracking_categories", - "payments,line_items,tracking_categories,accounting_period", - "payments,line_items,tracking_categories,company", - "payments,line_items,tracking_categories,company,accounting_period", - "payments,line_items,tracking_categories,contact", - "payments,line_items,tracking_categories,contact,accounting_period", - "payments,line_items,tracking_categories,contact,company", - "payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,tracking_categories", - "payments,tracking_categories,accounting_period", - "payments,tracking_categories,company", - "payments,tracking_categories,company,accounting_period", - "payments,tracking_categories,contact", - "payments,tracking_categories,contact,accounting_period", - "payments,tracking_categories,contact,company", - "payments,tracking_categories,contact,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,contact", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", -]); - -export declare namespace CreditNotesListRequestExpand { - export type Raw = - | "accounting_period" - | "applied_payments" - | "applied_payments,accounting_period" - | "applied_payments,company" - | "applied_payments,company,accounting_period" - | "applied_payments,contact" - | "applied_payments,contact,accounting_period" - | "applied_payments,contact,company" - | "applied_payments,contact,company,accounting_period" - | "applied_payments,line_items" - | "applied_payments,line_items,accounting_period" - | "applied_payments,line_items,company" - | "applied_payments,line_items,company,accounting_period" - | "applied_payments,line_items,contact" - | "applied_payments,line_items,contact,accounting_period" - | "applied_payments,line_items,contact,company" - | "applied_payments,line_items,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories" - | "applied_payments,line_items,tracking_categories,accounting_period" - | "applied_payments,line_items,tracking_categories,company" - | "applied_payments,line_items,tracking_categories,company,accounting_period" - | "applied_payments,line_items,tracking_categories,contact" - | "applied_payments,line_items,tracking_categories,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,company" - | "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "applied_payments,tracking_categories" - | "applied_payments,tracking_categories,accounting_period" - | "applied_payments,tracking_categories,company" - | "applied_payments,tracking_categories,company,accounting_period" - | "applied_payments,tracking_categories,contact" - | "applied_payments,tracking_categories,contact,accounting_period" - | "applied_payments,tracking_categories,contact,company" - | "applied_payments,tracking_categories,contact,company,accounting_period" - | "company" - | "company,accounting_period" - | "contact" - | "contact,accounting_period" - | "contact,company" - | "contact,company,accounting_period" - | "line_items" - | "line_items,accounting_period" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,contact" - | "line_items,contact,accounting_period" - | "line_items,contact,company" - | "line_items,contact,company,accounting_period" - | "line_items,tracking_categories" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,contact" - | "line_items,tracking_categories,contact,accounting_period" - | "line_items,tracking_categories,contact,company" - | "line_items,tracking_categories,contact,company,accounting_period" - | "payments" - | "payments,accounting_period" - | "payments,applied_payments" - | "payments,applied_payments,accounting_period" - | "payments,applied_payments,company" - | "payments,applied_payments,company,accounting_period" - | "payments,applied_payments,contact" - | "payments,applied_payments,contact,accounting_period" - | "payments,applied_payments,contact,company" - | "payments,applied_payments,contact,company,accounting_period" - | "payments,applied_payments,line_items" - | "payments,applied_payments,line_items,accounting_period" - | "payments,applied_payments,line_items,company" - | "payments,applied_payments,line_items,company,accounting_period" - | "payments,applied_payments,line_items,contact" - | "payments,applied_payments,line_items,contact,accounting_period" - | "payments,applied_payments,line_items,contact,company" - | "payments,applied_payments,line_items,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories" - | "payments,applied_payments,line_items,tracking_categories,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,company" - | "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact" - | "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,company" - | "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories" - | "payments,applied_payments,tracking_categories,accounting_period" - | "payments,applied_payments,tracking_categories,company" - | "payments,applied_payments,tracking_categories,company,accounting_period" - | "payments,applied_payments,tracking_categories,contact" - | "payments,applied_payments,tracking_categories,contact,accounting_period" - | "payments,applied_payments,tracking_categories,contact,company" - | "payments,applied_payments,tracking_categories,contact,company,accounting_period" - | "payments,company" - | "payments,company,accounting_period" - | "payments,contact" - | "payments,contact,accounting_period" - | "payments,contact,company" - | "payments,contact,company,accounting_period" - | "payments,line_items" - | "payments,line_items,accounting_period" - | "payments,line_items,company" - | "payments,line_items,company,accounting_period" - | "payments,line_items,contact" - | "payments,line_items,contact,accounting_period" - | "payments,line_items,contact,company" - | "payments,line_items,contact,company,accounting_period" - | "payments,line_items,tracking_categories" - | "payments,line_items,tracking_categories,accounting_period" - | "payments,line_items,tracking_categories,company" - | "payments,line_items,tracking_categories,company,accounting_period" - | "payments,line_items,tracking_categories,contact" - | "payments,line_items,tracking_categories,contact,accounting_period" - | "payments,line_items,tracking_categories,contact,company" - | "payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,tracking_categories" - | "payments,tracking_categories,accounting_period" - | "payments,tracking_categories,company" - | "payments,tracking_categories,company,accounting_period" - | "payments,tracking_categories,contact" - | "payments,tracking_categories,contact,accounting_period" - | "payments,tracking_categories,contact,company" - | "payments,tracking_categories,contact,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,contact" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts new file mode 100644 index 000000000..76fffd4fa --- /dev/null +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts @@ -0,0 +1,29 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CreditNotesListRequestExpandItem: core.serialization.Schema< + serializers.accounting.CreditNotesListRequestExpandItem.Raw, + Merge.accounting.CreditNotesListRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "applied_payments", + "company", + "contact", + "line_items", + "payments", + "tracking_categories", +]); + +export declare namespace CreditNotesListRequestExpandItem { + export type Raw = + | "accounting_period" + | "applied_payments" + | "company" + | "contact" + | "line_items" + | "payments" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts deleted file mode 100644 index 3b8343821..000000000 --- a/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts +++ /dev/null @@ -1,269 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CreditNotesRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.CreditNotesRetrieveRequestExpand.Raw, - Merge.accounting.CreditNotesRetrieveRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "applied_payments", - "applied_payments,accounting_period", - "applied_payments,company", - "applied_payments,company,accounting_period", - "applied_payments,contact", - "applied_payments,contact,accounting_period", - "applied_payments,contact,company", - "applied_payments,contact,company,accounting_period", - "applied_payments,line_items", - "applied_payments,line_items,accounting_period", - "applied_payments,line_items,company", - "applied_payments,line_items,company,accounting_period", - "applied_payments,line_items,contact", - "applied_payments,line_items,contact,accounting_period", - "applied_payments,line_items,contact,company", - "applied_payments,line_items,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories", - "applied_payments,line_items,tracking_categories,accounting_period", - "applied_payments,line_items,tracking_categories,company", - "applied_payments,line_items,tracking_categories,company,accounting_period", - "applied_payments,line_items,tracking_categories,contact", - "applied_payments,line_items,tracking_categories,contact,accounting_period", - "applied_payments,line_items,tracking_categories,contact,company", - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "applied_payments,tracking_categories", - "applied_payments,tracking_categories,accounting_period", - "applied_payments,tracking_categories,company", - "applied_payments,tracking_categories,company,accounting_period", - "applied_payments,tracking_categories,contact", - "applied_payments,tracking_categories,contact,accounting_period", - "applied_payments,tracking_categories,contact,company", - "applied_payments,tracking_categories,contact,company,accounting_period", - "company", - "company,accounting_period", - "contact", - "contact,accounting_period", - "contact,company", - "contact,company,accounting_period", - "line_items", - "line_items,accounting_period", - "line_items,company", - "line_items,company,accounting_period", - "line_items,contact", - "line_items,contact,accounting_period", - "line_items,contact,company", - "line_items,contact,company,accounting_period", - "line_items,tracking_categories", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,contact", - "line_items,tracking_categories,contact,accounting_period", - "line_items,tracking_categories,contact,company", - "line_items,tracking_categories,contact,company,accounting_period", - "payments", - "payments,accounting_period", - "payments,applied_payments", - "payments,applied_payments,accounting_period", - "payments,applied_payments,company", - "payments,applied_payments,company,accounting_period", - "payments,applied_payments,contact", - "payments,applied_payments,contact,accounting_period", - "payments,applied_payments,contact,company", - "payments,applied_payments,contact,company,accounting_period", - "payments,applied_payments,line_items", - "payments,applied_payments,line_items,accounting_period", - "payments,applied_payments,line_items,company", - "payments,applied_payments,line_items,company,accounting_period", - "payments,applied_payments,line_items,contact", - "payments,applied_payments,line_items,contact,accounting_period", - "payments,applied_payments,line_items,contact,company", - "payments,applied_payments,line_items,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories", - "payments,applied_payments,line_items,tracking_categories,accounting_period", - "payments,applied_payments,line_items,tracking_categories,company", - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact", - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,company", - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,applied_payments,tracking_categories", - "payments,applied_payments,tracking_categories,accounting_period", - "payments,applied_payments,tracking_categories,company", - "payments,applied_payments,tracking_categories,company,accounting_period", - "payments,applied_payments,tracking_categories,contact", - "payments,applied_payments,tracking_categories,contact,accounting_period", - "payments,applied_payments,tracking_categories,contact,company", - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - "payments,company", - "payments,company,accounting_period", - "payments,contact", - "payments,contact,accounting_period", - "payments,contact,company", - "payments,contact,company,accounting_period", - "payments,line_items", - "payments,line_items,accounting_period", - "payments,line_items,company", - "payments,line_items,company,accounting_period", - "payments,line_items,contact", - "payments,line_items,contact,accounting_period", - "payments,line_items,contact,company", - "payments,line_items,contact,company,accounting_period", - "payments,line_items,tracking_categories", - "payments,line_items,tracking_categories,accounting_period", - "payments,line_items,tracking_categories,company", - "payments,line_items,tracking_categories,company,accounting_period", - "payments,line_items,tracking_categories,contact", - "payments,line_items,tracking_categories,contact,accounting_period", - "payments,line_items,tracking_categories,contact,company", - "payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,tracking_categories", - "payments,tracking_categories,accounting_period", - "payments,tracking_categories,company", - "payments,tracking_categories,company,accounting_period", - "payments,tracking_categories,contact", - "payments,tracking_categories,contact,accounting_period", - "payments,tracking_categories,contact,company", - "payments,tracking_categories,contact,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,contact", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", -]); - -export declare namespace CreditNotesRetrieveRequestExpand { - export type Raw = - | "accounting_period" - | "applied_payments" - | "applied_payments,accounting_period" - | "applied_payments,company" - | "applied_payments,company,accounting_period" - | "applied_payments,contact" - | "applied_payments,contact,accounting_period" - | "applied_payments,contact,company" - | "applied_payments,contact,company,accounting_period" - | "applied_payments,line_items" - | "applied_payments,line_items,accounting_period" - | "applied_payments,line_items,company" - | "applied_payments,line_items,company,accounting_period" - | "applied_payments,line_items,contact" - | "applied_payments,line_items,contact,accounting_period" - | "applied_payments,line_items,contact,company" - | "applied_payments,line_items,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories" - | "applied_payments,line_items,tracking_categories,accounting_period" - | "applied_payments,line_items,tracking_categories,company" - | "applied_payments,line_items,tracking_categories,company,accounting_period" - | "applied_payments,line_items,tracking_categories,contact" - | "applied_payments,line_items,tracking_categories,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,company" - | "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "applied_payments,tracking_categories" - | "applied_payments,tracking_categories,accounting_period" - | "applied_payments,tracking_categories,company" - | "applied_payments,tracking_categories,company,accounting_period" - | "applied_payments,tracking_categories,contact" - | "applied_payments,tracking_categories,contact,accounting_period" - | "applied_payments,tracking_categories,contact,company" - | "applied_payments,tracking_categories,contact,company,accounting_period" - | "company" - | "company,accounting_period" - | "contact" - | "contact,accounting_period" - | "contact,company" - | "contact,company,accounting_period" - | "line_items" - | "line_items,accounting_period" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,contact" - | "line_items,contact,accounting_period" - | "line_items,contact,company" - | "line_items,contact,company,accounting_period" - | "line_items,tracking_categories" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,contact" - | "line_items,tracking_categories,contact,accounting_period" - | "line_items,tracking_categories,contact,company" - | "line_items,tracking_categories,contact,company,accounting_period" - | "payments" - | "payments,accounting_period" - | "payments,applied_payments" - | "payments,applied_payments,accounting_period" - | "payments,applied_payments,company" - | "payments,applied_payments,company,accounting_period" - | "payments,applied_payments,contact" - | "payments,applied_payments,contact,accounting_period" - | "payments,applied_payments,contact,company" - | "payments,applied_payments,contact,company,accounting_period" - | "payments,applied_payments,line_items" - | "payments,applied_payments,line_items,accounting_period" - | "payments,applied_payments,line_items,company" - | "payments,applied_payments,line_items,company,accounting_period" - | "payments,applied_payments,line_items,contact" - | "payments,applied_payments,line_items,contact,accounting_period" - | "payments,applied_payments,line_items,contact,company" - | "payments,applied_payments,line_items,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories" - | "payments,applied_payments,line_items,tracking_categories,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,company" - | "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact" - | "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,company" - | "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories" - | "payments,applied_payments,tracking_categories,accounting_period" - | "payments,applied_payments,tracking_categories,company" - | "payments,applied_payments,tracking_categories,company,accounting_period" - | "payments,applied_payments,tracking_categories,contact" - | "payments,applied_payments,tracking_categories,contact,accounting_period" - | "payments,applied_payments,tracking_categories,contact,company" - | "payments,applied_payments,tracking_categories,contact,company,accounting_period" - | "payments,company" - | "payments,company,accounting_period" - | "payments,contact" - | "payments,contact,accounting_period" - | "payments,contact,company" - | "payments,contact,company,accounting_period" - | "payments,line_items" - | "payments,line_items,accounting_period" - | "payments,line_items,company" - | "payments,line_items,company,accounting_period" - | "payments,line_items,contact" - | "payments,line_items,contact,accounting_period" - | "payments,line_items,contact,company" - | "payments,line_items,contact,company,accounting_period" - | "payments,line_items,tracking_categories" - | "payments,line_items,tracking_categories,accounting_period" - | "payments,line_items,tracking_categories,company" - | "payments,line_items,tracking_categories,company,accounting_period" - | "payments,line_items,tracking_categories,contact" - | "payments,line_items,tracking_categories,contact,accounting_period" - | "payments,line_items,tracking_categories,contact,company" - | "payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,tracking_categories" - | "payments,tracking_categories,accounting_period" - | "payments,tracking_categories,company" - | "payments,tracking_categories,company,accounting_period" - | "payments,tracking_categories,contact" - | "payments,tracking_categories,contact,accounting_period" - | "payments,tracking_categories,contact,company" - | "payments,tracking_categories,contact,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,contact" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..896b6d31f --- /dev/null +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts @@ -0,0 +1,29 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CreditNotesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.CreditNotesRetrieveRequestExpandItem.Raw, + Merge.accounting.CreditNotesRetrieveRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "applied_payments", + "company", + "contact", + "line_items", + "payments", + "tracking_categories", +]); + +export declare namespace CreditNotesRetrieveRequestExpandItem { + export type Raw = + | "accounting_period" + | "applied_payments" + | "company" + | "contact" + | "line_items" + | "payments" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/creditNotes/types/index.ts b/src/serialization/resources/accounting/resources/creditNotes/types/index.ts index 87be1efa5..a826d7419 100644 --- a/src/serialization/resources/accounting/resources/creditNotes/types/index.ts +++ b/src/serialization/resources/accounting/resources/creditNotes/types/index.ts @@ -1,6 +1,6 @@ -export * from "./CreditNotesListRequestExpand"; +export * from "./CreditNotesListRequestExpandItem"; export * from "./CreditNotesListRequestRemoteFields"; export * from "./CreditNotesListRequestShowEnumOrigins"; -export * from "./CreditNotesRetrieveRequestExpand"; +export * from "./CreditNotesRetrieveRequestExpandItem"; export * from "./CreditNotesRetrieveRequestRemoteFields"; export * from "./CreditNotesRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts b/src/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts deleted file mode 100644 index faff0160f..000000000 --- a/src/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts +++ /dev/null @@ -1,19 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../../api/index"; -import * as core from "../../../../../../../core"; -import type * as serializers from "../../../../../../index"; -import { ExpenseReportRequest } from "../../../../types/ExpenseReportRequest"; - -export const ExpenseReportEndpointRequest: core.serialization.Schema< - serializers.accounting.ExpenseReportEndpointRequest.Raw, - Omit -> = core.serialization.object({ - model: ExpenseReportRequest, -}); - -export declare namespace ExpenseReportEndpointRequest { - export interface Raw { - model: ExpenseReportRequest.Raw; - } -} diff --git a/src/serialization/resources/accounting/resources/expenseReports/client/requests/index.ts b/src/serialization/resources/accounting/resources/expenseReports/client/requests/index.ts deleted file mode 100644 index 86f81d85a..000000000 --- a/src/serialization/resources/accounting/resources/expenseReports/client/requests/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { ExpenseReportEndpointRequest } from "./ExpenseReportEndpointRequest"; diff --git a/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts b/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts deleted file mode 100644 index 4b3bb7c65..000000000 --- a/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ExpenseReportsLinesListRequestExpand: core.serialization.Schema< - serializers.accounting.ExpenseReportsLinesListRequestExpand.Raw, - Merge.accounting.ExpenseReportsLinesListRequestExpand -> = core.serialization.enum_([ - "account", - "account,company", - "account,company,contact", - "account,company,contact,tax_rate", - "account,company,tax_rate", - "account,contact", - "account,contact,tax_rate", - "account,employee", - "account,employee,company", - "account,employee,company,contact", - "account,employee,company,contact,tax_rate", - "account,employee,company,tax_rate", - "account,employee,contact", - "account,employee,contact,tax_rate", - "account,employee,project", - "account,employee,project,company", - "account,employee,project,company,contact", - "account,employee,project,company,contact,tax_rate", - "account,employee,project,company,tax_rate", - "account,employee,project,contact", - "account,employee,project,contact,tax_rate", - "account,employee,project,tax_rate", - "account,employee,tax_rate", - "account,project", - "account,project,company", - "account,project,company,contact", - "account,project,company,contact,tax_rate", - "account,project,company,tax_rate", - "account,project,contact", - "account,project,contact,tax_rate", - "account,project,tax_rate", - "account,tax_rate", - "company", - "company,contact", - "company,contact,tax_rate", - "company,tax_rate", - "contact", - "contact,tax_rate", - "employee", - "employee,company", - "employee,company,contact", - "employee,company,contact,tax_rate", - "employee,company,tax_rate", - "employee,contact", - "employee,contact,tax_rate", - "employee,project", - "employee,project,company", - "employee,project,company,contact", - "employee,project,company,contact,tax_rate", - "employee,project,company,tax_rate", - "employee,project,contact", - "employee,project,contact,tax_rate", - "employee,project,tax_rate", - "employee,tax_rate", - "project", - "project,company", - "project,company,contact", - "project,company,contact,tax_rate", - "project,company,tax_rate", - "project,contact", - "project,contact,tax_rate", - "project,tax_rate", - "tax_rate", -]); - -export declare namespace ExpenseReportsLinesListRequestExpand { - export type Raw = - | "account" - | "account,company" - | "account,company,contact" - | "account,company,contact,tax_rate" - | "account,company,tax_rate" - | "account,contact" - | "account,contact,tax_rate" - | "account,employee" - | "account,employee,company" - | "account,employee,company,contact" - | "account,employee,company,contact,tax_rate" - | "account,employee,company,tax_rate" - | "account,employee,contact" - | "account,employee,contact,tax_rate" - | "account,employee,project" - | "account,employee,project,company" - | "account,employee,project,company,contact" - | "account,employee,project,company,contact,tax_rate" - | "account,employee,project,company,tax_rate" - | "account,employee,project,contact" - | "account,employee,project,contact,tax_rate" - | "account,employee,project,tax_rate" - | "account,employee,tax_rate" - | "account,project" - | "account,project,company" - | "account,project,company,contact" - | "account,project,company,contact,tax_rate" - | "account,project,company,tax_rate" - | "account,project,contact" - | "account,project,contact,tax_rate" - | "account,project,tax_rate" - | "account,tax_rate" - | "company" - | "company,contact" - | "company,contact,tax_rate" - | "company,tax_rate" - | "contact" - | "contact,tax_rate" - | "employee" - | "employee,company" - | "employee,company,contact" - | "employee,company,contact,tax_rate" - | "employee,company,tax_rate" - | "employee,contact" - | "employee,contact,tax_rate" - | "employee,project" - | "employee,project,company" - | "employee,project,company,contact" - | "employee,project,company,contact,tax_rate" - | "employee,project,company,tax_rate" - | "employee,project,contact" - | "employee,project,contact,tax_rate" - | "employee,project,tax_rate" - | "employee,tax_rate" - | "project" - | "project,company" - | "project,company,contact" - | "project,company,contact,tax_rate" - | "project,company,tax_rate" - | "project,contact" - | "project,contact,tax_rate" - | "project,tax_rate" - | "tax_rate"; -} diff --git a/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts b/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts deleted file mode 100644 index 9bdbf8250..000000000 --- a/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ExpenseReportsListRequestExpand: core.serialization.Schema< - serializers.accounting.ExpenseReportsListRequestExpand.Raw, - Merge.accounting.ExpenseReportsListRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "accounting_period,company", - "company", - "employee", - "employee,accounting_period", - "employee,accounting_period,company", - "employee,company", - "lines", - "lines,accounting_period", - "lines,accounting_period,company", - "lines,company", - "lines,employee", - "lines,employee,accounting_period", - "lines,employee,accounting_period,company", - "lines,employee,company", -]); - -export declare namespace ExpenseReportsListRequestExpand { - export type Raw = - | "accounting_period" - | "accounting_period,company" - | "company" - | "employee" - | "employee,accounting_period" - | "employee,accounting_period,company" - | "employee,company" - | "lines" - | "lines,accounting_period" - | "lines,accounting_period,company" - | "lines,company" - | "lines,employee" - | "lines,employee,accounting_period" - | "lines,employee,accounting_period,company" - | "lines,employee,company"; -} diff --git a/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts deleted file mode 100644 index b3a77896b..000000000 --- a/src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ExpenseReportsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.ExpenseReportsRetrieveRequestExpand.Raw, - Merge.accounting.ExpenseReportsRetrieveRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "accounting_period,company", - "company", - "employee", - "employee,accounting_period", - "employee,accounting_period,company", - "employee,company", - "lines", - "lines,accounting_period", - "lines,accounting_period,company", - "lines,company", - "lines,employee", - "lines,employee,accounting_period", - "lines,employee,accounting_period,company", - "lines,employee,company", -]); - -export declare namespace ExpenseReportsRetrieveRequestExpand { - export type Raw = - | "accounting_period" - | "accounting_period,company" - | "company" - | "employee" - | "employee,accounting_period" - | "employee,accounting_period,company" - | "employee,company" - | "lines" - | "lines,accounting_period" - | "lines,accounting_period,company" - | "lines,company" - | "lines,employee" - | "lines,employee,accounting_period" - | "lines,employee,accounting_period,company" - | "lines,employee,company"; -} diff --git a/src/serialization/resources/accounting/resources/expenseReports/types/index.ts b/src/serialization/resources/accounting/resources/expenseReports/types/index.ts deleted file mode 100644 index 9dd83d9ba..000000000 --- a/src/serialization/resources/accounting/resources/expenseReports/types/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./ExpenseReportsLinesListRequestExpand"; -export * from "./ExpenseReportsListRequestExpand"; -export * from "./ExpenseReportsRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts b/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts deleted file mode 100644 index 8b959b2e2..000000000 --- a/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ExpensesListRequestExpand: core.serialization.Schema< - serializers.accounting.ExpensesListRequestExpand.Raw, - Merge.accounting.ExpensesListRequestExpand -> = core.serialization.enum_([ - "account", - "account,accounting_period", - "account,company", - "account,company,accounting_period", - "account,company,employee", - "account,company,employee,accounting_period", - "account,contact", - "account,contact,accounting_period", - "account,contact,company", - "account,contact,company,accounting_period", - "account,contact,company,employee", - "account,contact,company,employee,accounting_period", - "account,contact,employee", - "account,contact,employee,accounting_period", - "account,employee", - "account,employee,accounting_period", - "accounting_period", - "company", - "company,accounting_period", - "company,employee", - "company,employee,accounting_period", - "contact", - "contact,accounting_period", - "contact,company", - "contact,company,accounting_period", - "contact,company,employee", - "contact,company,employee,accounting_period", - "contact,employee", - "contact,employee,accounting_period", - "employee", - "employee,accounting_period", - "tracking_categories", - "tracking_categories,account", - "tracking_categories,account,accounting_period", - "tracking_categories,account,company", - "tracking_categories,account,company,accounting_period", - "tracking_categories,account,company,employee", - "tracking_categories,account,company,employee,accounting_period", - "tracking_categories,account,contact", - "tracking_categories,account,contact,accounting_period", - "tracking_categories,account,contact,company", - "tracking_categories,account,contact,company,accounting_period", - "tracking_categories,account,contact,company,employee", - "tracking_categories,account,contact,company,employee,accounting_period", - "tracking_categories,account,contact,employee", - "tracking_categories,account,contact,employee,accounting_period", - "tracking_categories,account,employee", - "tracking_categories,account,employee,accounting_period", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,employee", - "tracking_categories,company,employee,accounting_period", - "tracking_categories,contact", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", - "tracking_categories,contact,company,employee", - "tracking_categories,contact,company,employee,accounting_period", - "tracking_categories,contact,employee", - "tracking_categories,contact,employee,accounting_period", - "tracking_categories,employee", - "tracking_categories,employee,accounting_period", -]); - -export declare namespace ExpensesListRequestExpand { - export type Raw = - | "account" - | "account,accounting_period" - | "account,company" - | "account,company,accounting_period" - | "account,company,employee" - | "account,company,employee,accounting_period" - | "account,contact" - | "account,contact,accounting_period" - | "account,contact,company" - | "account,contact,company,accounting_period" - | "account,contact,company,employee" - | "account,contact,company,employee,accounting_period" - | "account,contact,employee" - | "account,contact,employee,accounting_period" - | "account,employee" - | "account,employee,accounting_period" - | "accounting_period" - | "company" - | "company,accounting_period" - | "company,employee" - | "company,employee,accounting_period" - | "contact" - | "contact,accounting_period" - | "contact,company" - | "contact,company,accounting_period" - | "contact,company,employee" - | "contact,company,employee,accounting_period" - | "contact,employee" - | "contact,employee,accounting_period" - | "employee" - | "employee,accounting_period" - | "tracking_categories" - | "tracking_categories,account" - | "tracking_categories,account,accounting_period" - | "tracking_categories,account,company" - | "tracking_categories,account,company,accounting_period" - | "tracking_categories,account,company,employee" - | "tracking_categories,account,company,employee,accounting_period" - | "tracking_categories,account,contact" - | "tracking_categories,account,contact,accounting_period" - | "tracking_categories,account,contact,company" - | "tracking_categories,account,contact,company,accounting_period" - | "tracking_categories,account,contact,company,employee" - | "tracking_categories,account,contact,company,employee,accounting_period" - | "tracking_categories,account,contact,employee" - | "tracking_categories,account,contact,employee,accounting_period" - | "tracking_categories,account,employee" - | "tracking_categories,account,employee,accounting_period" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,employee" - | "tracking_categories,company,employee,accounting_period" - | "tracking_categories,contact" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period" - | "tracking_categories,contact,company,employee" - | "tracking_categories,contact,company,employee,accounting_period" - | "tracking_categories,contact,employee" - | "tracking_categories,contact,employee,accounting_period" - | "tracking_categories,employee" - | "tracking_categories,employee,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts new file mode 100644 index 000000000..1cc463961 --- /dev/null +++ b/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ExpensesListRequestExpandItem: core.serialization.Schema< + serializers.accounting.ExpensesListRequestExpandItem.Raw, + Merge.accounting.ExpensesListRequestExpandItem +> = core.serialization.enum_(["account", "accounting_period", "company", "contact", "employee", "tracking_categories"]); + +export declare namespace ExpensesListRequestExpandItem { + export type Raw = "account" | "accounting_period" | "company" | "contact" | "employee" | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts deleted file mode 100644 index 3fd4eda0e..000000000 --- a/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ExpensesRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.ExpensesRetrieveRequestExpand.Raw, - Merge.accounting.ExpensesRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "account,accounting_period", - "account,company", - "account,company,accounting_period", - "account,company,employee", - "account,company,employee,accounting_period", - "account,contact", - "account,contact,accounting_period", - "account,contact,company", - "account,contact,company,accounting_period", - "account,contact,company,employee", - "account,contact,company,employee,accounting_period", - "account,contact,employee", - "account,contact,employee,accounting_period", - "account,employee", - "account,employee,accounting_period", - "accounting_period", - "company", - "company,accounting_period", - "company,employee", - "company,employee,accounting_period", - "contact", - "contact,accounting_period", - "contact,company", - "contact,company,accounting_period", - "contact,company,employee", - "contact,company,employee,accounting_period", - "contact,employee", - "contact,employee,accounting_period", - "employee", - "employee,accounting_period", - "tracking_categories", - "tracking_categories,account", - "tracking_categories,account,accounting_period", - "tracking_categories,account,company", - "tracking_categories,account,company,accounting_period", - "tracking_categories,account,company,employee", - "tracking_categories,account,company,employee,accounting_period", - "tracking_categories,account,contact", - "tracking_categories,account,contact,accounting_period", - "tracking_categories,account,contact,company", - "tracking_categories,account,contact,company,accounting_period", - "tracking_categories,account,contact,company,employee", - "tracking_categories,account,contact,company,employee,accounting_period", - "tracking_categories,account,contact,employee", - "tracking_categories,account,contact,employee,accounting_period", - "tracking_categories,account,employee", - "tracking_categories,account,employee,accounting_period", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,employee", - "tracking_categories,company,employee,accounting_period", - "tracking_categories,contact", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", - "tracking_categories,contact,company,employee", - "tracking_categories,contact,company,employee,accounting_period", - "tracking_categories,contact,employee", - "tracking_categories,contact,employee,accounting_period", - "tracking_categories,employee", - "tracking_categories,employee,accounting_period", -]); - -export declare namespace ExpensesRetrieveRequestExpand { - export type Raw = - | "account" - | "account,accounting_period" - | "account,company" - | "account,company,accounting_period" - | "account,company,employee" - | "account,company,employee,accounting_period" - | "account,contact" - | "account,contact,accounting_period" - | "account,contact,company" - | "account,contact,company,accounting_period" - | "account,contact,company,employee" - | "account,contact,company,employee,accounting_period" - | "account,contact,employee" - | "account,contact,employee,accounting_period" - | "account,employee" - | "account,employee,accounting_period" - | "accounting_period" - | "company" - | "company,accounting_period" - | "company,employee" - | "company,employee,accounting_period" - | "contact" - | "contact,accounting_period" - | "contact,company" - | "contact,company,accounting_period" - | "contact,company,employee" - | "contact,company,employee,accounting_period" - | "contact,employee" - | "contact,employee,accounting_period" - | "employee" - | "employee,accounting_period" - | "tracking_categories" - | "tracking_categories,account" - | "tracking_categories,account,accounting_period" - | "tracking_categories,account,company" - | "tracking_categories,account,company,accounting_period" - | "tracking_categories,account,company,employee" - | "tracking_categories,account,company,employee,accounting_period" - | "tracking_categories,account,contact" - | "tracking_categories,account,contact,accounting_period" - | "tracking_categories,account,contact,company" - | "tracking_categories,account,contact,company,accounting_period" - | "tracking_categories,account,contact,company,employee" - | "tracking_categories,account,contact,company,employee,accounting_period" - | "tracking_categories,account,contact,employee" - | "tracking_categories,account,contact,employee,accounting_period" - | "tracking_categories,account,employee" - | "tracking_categories,account,employee,accounting_period" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,employee" - | "tracking_categories,company,employee,accounting_period" - | "tracking_categories,contact" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period" - | "tracking_categories,contact,company,employee" - | "tracking_categories,contact,company,employee,accounting_period" - | "tracking_categories,contact,employee" - | "tracking_categories,contact,employee,accounting_period" - | "tracking_categories,employee" - | "tracking_categories,employee,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..ca2d68c83 --- /dev/null +++ b/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ExpensesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.ExpensesRetrieveRequestExpandItem.Raw, + Merge.accounting.ExpensesRetrieveRequestExpandItem +> = core.serialization.enum_(["account", "accounting_period", "company", "contact", "employee", "tracking_categories"]); + +export declare namespace ExpensesRetrieveRequestExpandItem { + export type Raw = "account" | "accounting_period" | "company" | "contact" | "employee" | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/expenses/types/index.ts b/src/serialization/resources/accounting/resources/expenses/types/index.ts index 2a53835eb..d63e24e45 100644 --- a/src/serialization/resources/accounting/resources/expenses/types/index.ts +++ b/src/serialization/resources/accounting/resources/expenses/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ExpensesListRequestExpand"; -export * from "./ExpensesRetrieveRequestExpand"; +export * from "./ExpensesListRequestExpandItem"; +export * from "./ExpensesRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts deleted file mode 100644 index 972bbfe2b..000000000 --- a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const GeneralLedgerTransactionsListRequestExpand: core.serialization.Schema< - serializers.accounting.GeneralLedgerTransactionsListRequestExpand.Raw, - Merge.accounting.GeneralLedgerTransactionsListRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "company", - "company,accounting_period", - "general_ledger_transaction_lines", - "general_ledger_transaction_lines,accounting_period", - "general_ledger_transaction_lines,company", - "general_ledger_transaction_lines,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,general_ledger_transaction_lines", - "tracking_categories,general_ledger_transaction_lines,accounting_period", - "tracking_categories,general_ledger_transaction_lines,company", - "tracking_categories,general_ledger_transaction_lines,company,accounting_period", -]); - -export declare namespace GeneralLedgerTransactionsListRequestExpand { - export type Raw = - | "accounting_period" - | "company" - | "company,accounting_period" - | "general_ledger_transaction_lines" - | "general_ledger_transaction_lines,accounting_period" - | "general_ledger_transaction_lines,company" - | "general_ledger_transaction_lines,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,general_ledger_transaction_lines" - | "tracking_categories,general_ledger_transaction_lines,accounting_period" - | "tracking_categories,general_ledger_transaction_lines,company" - | "tracking_categories,general_ledger_transaction_lines,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts new file mode 100644 index 000000000..590c0eea6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts @@ -0,0 +1,19 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const GeneralLedgerTransactionsListRequestExpandItem: core.serialization.Schema< + serializers.accounting.GeneralLedgerTransactionsListRequestExpandItem.Raw, + Merge.accounting.GeneralLedgerTransactionsListRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "company", + "general_ledger_transaction_lines", + "tracking_categories", +]); + +export declare namespace GeneralLedgerTransactionsListRequestExpandItem { + export type Raw = "accounting_period" | "company" | "general_ledger_transaction_lines" | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts deleted file mode 100644 index c3116e138..000000000 --- a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const GeneralLedgerTransactionsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.GeneralLedgerTransactionsRetrieveRequestExpand.Raw, - Merge.accounting.GeneralLedgerTransactionsRetrieveRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "company", - "company,accounting_period", - "general_ledger_transaction_lines", - "general_ledger_transaction_lines,accounting_period", - "general_ledger_transaction_lines,company", - "general_ledger_transaction_lines,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,general_ledger_transaction_lines", - "tracking_categories,general_ledger_transaction_lines,accounting_period", - "tracking_categories,general_ledger_transaction_lines,company", - "tracking_categories,general_ledger_transaction_lines,company,accounting_period", -]); - -export declare namespace GeneralLedgerTransactionsRetrieveRequestExpand { - export type Raw = - | "accounting_period" - | "company" - | "company,accounting_period" - | "general_ledger_transaction_lines" - | "general_ledger_transaction_lines,accounting_period" - | "general_ledger_transaction_lines,company" - | "general_ledger_transaction_lines,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,general_ledger_transaction_lines" - | "tracking_categories,general_ledger_transaction_lines,accounting_period" - | "tracking_categories,general_ledger_transaction_lines,company" - | "tracking_categories,general_ledger_transaction_lines,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..96a5b7ed8 --- /dev/null +++ b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts @@ -0,0 +1,19 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const GeneralLedgerTransactionsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.GeneralLedgerTransactionsRetrieveRequestExpandItem.Raw, + Merge.accounting.GeneralLedgerTransactionsRetrieveRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "company", + "general_ledger_transaction_lines", + "tracking_categories", +]); + +export declare namespace GeneralLedgerTransactionsRetrieveRequestExpandItem { + export type Raw = "accounting_period" | "company" | "general_ledger_transaction_lines" | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.ts b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.ts index e77fb4471..8acfde7ac 100644 --- a/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.ts +++ b/src/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.ts @@ -1,2 +1,2 @@ -export * from "./GeneralLedgerTransactionsListRequestExpand"; -export * from "./GeneralLedgerTransactionsRetrieveRequestExpand"; +export * from "./GeneralLedgerTransactionsListRequestExpandItem"; +export * from "./GeneralLedgerTransactionsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/index.ts b/src/serialization/resources/accounting/resources/index.ts index 4528f9241..7b5510c05 100644 --- a/src/serialization/resources/accounting/resources/index.ts +++ b/src/serialization/resources/accounting/resources/index.ts @@ -17,9 +17,6 @@ export * from "./contacts/types"; export * as creditNotes from "./creditNotes"; export * from "./creditNotes/client/requests"; export * from "./creditNotes/types"; -export * as expenseReports from "./expenseReports"; -export * from "./expenseReports/client/requests"; -export * from "./expenseReports/types"; export * as expenses from "./expenses"; export * from "./expenses/client/requests"; export * from "./expenses/types"; diff --git a/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts b/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts deleted file mode 100644 index ed222d64f..000000000 --- a/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts +++ /dev/null @@ -1,8205 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const InvoicesListRequestExpand: core.serialization.Schema< - serializers.accounting.InvoicesListRequestExpand.Raw, - Merge.accounting.InvoicesListRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "accounting_period,payment_term", - "applied_credit_notes", - "applied_credit_notes,accounting_period", - "applied_credit_notes,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits", - "applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,company", - "applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,company,employee", - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_credit_notes,applied_vendor_credits,contact", - "applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company", - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_credit_notes,applied_vendor_credits,employee", - "applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,payment_term", - "applied_credit_notes,company", - "applied_credit_notes,company,accounting_period", - "applied_credit_notes,company,accounting_period,payment_term", - "applied_credit_notes,company,employee", - "applied_credit_notes,company,employee,accounting_period", - "applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_credit_notes,company,employee,payment_term", - "applied_credit_notes,company,payment_term", - "applied_credit_notes,contact", - "applied_credit_notes,contact,accounting_period", - "applied_credit_notes,contact,accounting_period,payment_term", - "applied_credit_notes,contact,company", - "applied_credit_notes,contact,company,accounting_period", - "applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_credit_notes,contact,company,employee", - "applied_credit_notes,contact,company,employee,accounting_period", - "applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_credit_notes,contact,company,employee,payment_term", - "applied_credit_notes,contact,company,payment_term", - "applied_credit_notes,contact,employee", - "applied_credit_notes,contact,employee,accounting_period", - "applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_credit_notes,contact,employee,payment_term", - "applied_credit_notes,contact,payment_term", - "applied_credit_notes,employee", - "applied_credit_notes,employee,accounting_period", - "applied_credit_notes,employee,accounting_period,payment_term", - "applied_credit_notes,employee,payment_term", - "applied_credit_notes,payment_term", - "applied_payments", - "applied_payments,accounting_period", - "applied_payments,accounting_period,payment_term", - "applied_payments,applied_credit_notes", - "applied_payments,applied_credit_notes,accounting_period", - "applied_payments,applied_credit_notes,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits", - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,applied_credit_notes,company", - "applied_payments,applied_credit_notes,company,accounting_period", - "applied_payments,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,company,employee", - "applied_payments,applied_credit_notes,company,employee,accounting_period", - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,company,employee,payment_term", - "applied_payments,applied_credit_notes,company,payment_term", - "applied_payments,applied_credit_notes,contact", - "applied_payments,applied_credit_notes,contact,accounting_period", - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,company", - "applied_payments,applied_credit_notes,contact,company,accounting_period", - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,company,employee", - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,applied_credit_notes,contact,company,payment_term", - "applied_payments,applied_credit_notes,contact,employee", - "applied_payments,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,employee,payment_term", - "applied_payments,applied_credit_notes,contact,payment_term", - "applied_payments,applied_credit_notes,employee", - "applied_payments,applied_credit_notes,employee,accounting_period", - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,employee,payment_term", - "applied_payments,applied_credit_notes,payment_term", - "applied_payments,applied_vendor_credits", - "applied_payments,applied_vendor_credits,accounting_period", - "applied_payments,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,company", - "applied_payments,applied_vendor_credits,company,accounting_period", - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,company,employee", - "applied_payments,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,company,employee,payment_term", - "applied_payments,applied_vendor_credits,company,payment_term", - "applied_payments,applied_vendor_credits,contact", - "applied_payments,applied_vendor_credits,contact,accounting_period", - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,company", - "applied_payments,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,company,employee", - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,applied_vendor_credits,contact,company,payment_term", - "applied_payments,applied_vendor_credits,contact,employee", - "applied_payments,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,applied_vendor_credits,contact,payment_term", - "applied_payments,applied_vendor_credits,employee", - "applied_payments,applied_vendor_credits,employee,accounting_period", - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,employee,payment_term", - "applied_payments,applied_vendor_credits,payment_term", - "applied_payments,company", - "applied_payments,company,accounting_period", - "applied_payments,company,accounting_period,payment_term", - "applied_payments,company,employee", - "applied_payments,company,employee,accounting_period", - "applied_payments,company,employee,accounting_period,payment_term", - "applied_payments,company,employee,payment_term", - "applied_payments,company,payment_term", - "applied_payments,contact", - "applied_payments,contact,accounting_period", - "applied_payments,contact,accounting_period,payment_term", - "applied_payments,contact,company", - "applied_payments,contact,company,accounting_period", - "applied_payments,contact,company,accounting_period,payment_term", - "applied_payments,contact,company,employee", - "applied_payments,contact,company,employee,accounting_period", - "applied_payments,contact,company,employee,accounting_period,payment_term", - "applied_payments,contact,company,employee,payment_term", - "applied_payments,contact,company,payment_term", - "applied_payments,contact,employee", - "applied_payments,contact,employee,accounting_period", - "applied_payments,contact,employee,accounting_period,payment_term", - "applied_payments,contact,employee,payment_term", - "applied_payments,contact,payment_term", - "applied_payments,employee", - "applied_payments,employee,accounting_period", - "applied_payments,employee,accounting_period,payment_term", - "applied_payments,employee,payment_term", - "applied_payments,line_items", - "applied_payments,line_items,accounting_period", - "applied_payments,line_items,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes", - "applied_payments,line_items,applied_credit_notes,accounting_period", - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,applied_credit_notes,company", - "applied_payments,line_items,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,company,employee", - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,company,payment_term", - "applied_payments,line_items,applied_credit_notes,contact", - "applied_payments,line_items,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company", - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,employee", - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,applied_credit_notes,employee", - "applied_payments,line_items,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,payment_term", - "applied_payments,line_items,applied_vendor_credits", - "applied_payments,line_items,applied_vendor_credits,accounting_period", - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,company", - "applied_payments,line_items,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,company,employee", - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact", - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company", - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,employee", - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,applied_vendor_credits,employee", - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,payment_term", - "applied_payments,line_items,company", - "applied_payments,line_items,company,accounting_period", - "applied_payments,line_items,company,accounting_period,payment_term", - "applied_payments,line_items,company,employee", - "applied_payments,line_items,company,employee,accounting_period", - "applied_payments,line_items,company,employee,accounting_period,payment_term", - "applied_payments,line_items,company,employee,payment_term", - "applied_payments,line_items,company,payment_term", - "applied_payments,line_items,contact", - "applied_payments,line_items,contact,accounting_period", - "applied_payments,line_items,contact,accounting_period,payment_term", - "applied_payments,line_items,contact,company", - "applied_payments,line_items,contact,company,accounting_period", - "applied_payments,line_items,contact,company,accounting_period,payment_term", - "applied_payments,line_items,contact,company,employee", - "applied_payments,line_items,contact,company,employee,accounting_period", - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,contact,company,employee,payment_term", - "applied_payments,line_items,contact,company,payment_term", - "applied_payments,line_items,contact,employee", - "applied_payments,line_items,contact,employee,accounting_period", - "applied_payments,line_items,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,contact,employee,payment_term", - "applied_payments,line_items,contact,payment_term", - "applied_payments,line_items,employee", - "applied_payments,line_items,employee,accounting_period", - "applied_payments,line_items,employee,accounting_period,payment_term", - "applied_payments,line_items,employee,payment_term", - "applied_payments,line_items,payment_term", - "applied_payments,line_items,purchase_orders", - "applied_payments,line_items,purchase_orders,accounting_period", - "applied_payments,line_items,purchase_orders,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes", - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,line_items,purchase_orders,company", - "applied_payments,line_items,purchase_orders,company,accounting_period", - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,company,employee", - "applied_payments,line_items,purchase_orders,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,company,payment_term", - "applied_payments,line_items,purchase_orders,contact", - "applied_payments,line_items,purchase_orders,contact,accounting_period", - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,company", - "applied_payments,line_items,purchase_orders,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,company,employee", - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,contact,employee", - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,contact,payment_term", - "applied_payments,line_items,purchase_orders,employee", - "applied_payments,line_items,purchase_orders,employee,accounting_period", - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,employee,payment_term", - "applied_payments,line_items,purchase_orders,payment_term", - "applied_payments,line_items,tracking_categories", - "applied_payments,line_items,tracking_categories,accounting_period", - "applied_payments,line_items,tracking_categories,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes", - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,company", - "applied_payments,line_items,tracking_categories,company,accounting_period", - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,company,employee", - "applied_payments,line_items,tracking_categories,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,company,payment_term", - "applied_payments,line_items,tracking_categories,contact", - "applied_payments,line_items,tracking_categories,contact,accounting_period", - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,company", - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,company,employee", - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,contact,employee", - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,contact,payment_term", - "applied_payments,line_items,tracking_categories,employee", - "applied_payments,line_items,tracking_categories,employee,accounting_period", - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,employee,payment_term", - "applied_payments,line_items,tracking_categories,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders", - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company", - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - "applied_payments,payment_term", - "applied_payments,purchase_orders", - "applied_payments,purchase_orders,accounting_period", - "applied_payments,purchase_orders,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes", - "applied_payments,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company", - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact", - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,employee", - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits", - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company", - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact", - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,employee", - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,purchase_orders,company", - "applied_payments,purchase_orders,company,accounting_period", - "applied_payments,purchase_orders,company,accounting_period,payment_term", - "applied_payments,purchase_orders,company,employee", - "applied_payments,purchase_orders,company,employee,accounting_period", - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,company,employee,payment_term", - "applied_payments,purchase_orders,company,payment_term", - "applied_payments,purchase_orders,contact", - "applied_payments,purchase_orders,contact,accounting_period", - "applied_payments,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,company", - "applied_payments,purchase_orders,contact,company,accounting_period", - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,company,employee", - "applied_payments,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,company,employee,payment_term", - "applied_payments,purchase_orders,contact,company,payment_term", - "applied_payments,purchase_orders,contact,employee", - "applied_payments,purchase_orders,contact,employee,accounting_period", - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,employee,payment_term", - "applied_payments,purchase_orders,contact,payment_term", - "applied_payments,purchase_orders,employee", - "applied_payments,purchase_orders,employee,accounting_period", - "applied_payments,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,employee,payment_term", - "applied_payments,purchase_orders,payment_term", - "applied_payments,tracking_categories", - "applied_payments,tracking_categories,accounting_period", - "applied_payments,tracking_categories,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes", - "applied_payments,tracking_categories,applied_credit_notes,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company", - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact", - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,employee", - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits", - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company", - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact", - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,employee", - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,company", - "applied_payments,tracking_categories,company,accounting_period", - "applied_payments,tracking_categories,company,accounting_period,payment_term", - "applied_payments,tracking_categories,company,employee", - "applied_payments,tracking_categories,company,employee,accounting_period", - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,company,employee,payment_term", - "applied_payments,tracking_categories,company,payment_term", - "applied_payments,tracking_categories,contact", - "applied_payments,tracking_categories,contact,accounting_period", - "applied_payments,tracking_categories,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,company", - "applied_payments,tracking_categories,contact,company,accounting_period", - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,company,employee", - "applied_payments,tracking_categories,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,company,employee,payment_term", - "applied_payments,tracking_categories,contact,company,payment_term", - "applied_payments,tracking_categories,contact,employee", - "applied_payments,tracking_categories,contact,employee,accounting_period", - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,employee,payment_term", - "applied_payments,tracking_categories,contact,payment_term", - "applied_payments,tracking_categories,employee", - "applied_payments,tracking_categories,employee,accounting_period", - "applied_payments,tracking_categories,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,employee,payment_term", - "applied_payments,tracking_categories,payment_term", - "applied_payments,tracking_categories,purchase_orders", - "applied_payments,tracking_categories,purchase_orders,accounting_period", - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,purchase_orders,company", - "applied_payments,tracking_categories,purchase_orders,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,company,employee", - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact", - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company", - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,employee", - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,employee", - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,payment_term", - "applied_vendor_credits", - "applied_vendor_credits,accounting_period", - "applied_vendor_credits,accounting_period,payment_term", - "applied_vendor_credits,company", - "applied_vendor_credits,company,accounting_period", - "applied_vendor_credits,company,accounting_period,payment_term", - "applied_vendor_credits,company,employee", - "applied_vendor_credits,company,employee,accounting_period", - "applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_vendor_credits,company,employee,payment_term", - "applied_vendor_credits,company,payment_term", - "applied_vendor_credits,contact", - "applied_vendor_credits,contact,accounting_period", - "applied_vendor_credits,contact,accounting_period,payment_term", - "applied_vendor_credits,contact,company", - "applied_vendor_credits,contact,company,accounting_period", - "applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_vendor_credits,contact,company,employee", - "applied_vendor_credits,contact,company,employee,accounting_period", - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_vendor_credits,contact,company,employee,payment_term", - "applied_vendor_credits,contact,company,payment_term", - "applied_vendor_credits,contact,employee", - "applied_vendor_credits,contact,employee,accounting_period", - "applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_vendor_credits,contact,employee,payment_term", - "applied_vendor_credits,contact,payment_term", - "applied_vendor_credits,employee", - "applied_vendor_credits,employee,accounting_period", - "applied_vendor_credits,employee,accounting_period,payment_term", - "applied_vendor_credits,employee,payment_term", - "applied_vendor_credits,payment_term", - "company", - "company,accounting_period", - "company,accounting_period,payment_term", - "company,employee", - "company,employee,accounting_period", - "company,employee,accounting_period,payment_term", - "company,employee,payment_term", - "company,payment_term", - "contact", - "contact,accounting_period", - "contact,accounting_period,payment_term", - "contact,company", - "contact,company,accounting_period", - "contact,company,accounting_period,payment_term", - "contact,company,employee", - "contact,company,employee,accounting_period", - "contact,company,employee,accounting_period,payment_term", - "contact,company,employee,payment_term", - "contact,company,payment_term", - "contact,employee", - "contact,employee,accounting_period", - "contact,employee,accounting_period,payment_term", - "contact,employee,payment_term", - "contact,payment_term", - "employee", - "employee,accounting_period", - "employee,accounting_period,payment_term", - "employee,payment_term", - "line_items", - "line_items,accounting_period", - "line_items,accounting_period,payment_term", - "line_items,applied_credit_notes", - "line_items,applied_credit_notes,accounting_period", - "line_items,applied_credit_notes,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits", - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company", - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact", - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,employee", - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,applied_credit_notes,company", - "line_items,applied_credit_notes,company,accounting_period", - "line_items,applied_credit_notes,company,accounting_period,payment_term", - "line_items,applied_credit_notes,company,employee", - "line_items,applied_credit_notes,company,employee,accounting_period", - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,company,employee,payment_term", - "line_items,applied_credit_notes,company,payment_term", - "line_items,applied_credit_notes,contact", - "line_items,applied_credit_notes,contact,accounting_period", - "line_items,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,company", - "line_items,applied_credit_notes,contact,company,accounting_period", - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,company,employee", - "line_items,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,company,employee,payment_term", - "line_items,applied_credit_notes,contact,company,payment_term", - "line_items,applied_credit_notes,contact,employee", - "line_items,applied_credit_notes,contact,employee,accounting_period", - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,employee,payment_term", - "line_items,applied_credit_notes,contact,payment_term", - "line_items,applied_credit_notes,employee", - "line_items,applied_credit_notes,employee,accounting_period", - "line_items,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,employee,payment_term", - "line_items,applied_credit_notes,payment_term", - "line_items,applied_vendor_credits", - "line_items,applied_vendor_credits,accounting_period", - "line_items,applied_vendor_credits,accounting_period,payment_term", - "line_items,applied_vendor_credits,company", - "line_items,applied_vendor_credits,company,accounting_period", - "line_items,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,applied_vendor_credits,company,employee", - "line_items,applied_vendor_credits,company,employee,accounting_period", - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,company,employee,payment_term", - "line_items,applied_vendor_credits,company,payment_term", - "line_items,applied_vendor_credits,contact", - "line_items,applied_vendor_credits,contact,accounting_period", - "line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,company", - "line_items,applied_vendor_credits,contact,company,accounting_period", - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,company,employee", - "line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,applied_vendor_credits,contact,company,payment_term", - "line_items,applied_vendor_credits,contact,employee", - "line_items,applied_vendor_credits,contact,employee,accounting_period", - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,employee,payment_term", - "line_items,applied_vendor_credits,contact,payment_term", - "line_items,applied_vendor_credits,employee", - "line_items,applied_vendor_credits,employee,accounting_period", - "line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,employee,payment_term", - "line_items,applied_vendor_credits,payment_term", - "line_items,company", - "line_items,company,accounting_period", - "line_items,company,accounting_period,payment_term", - "line_items,company,employee", - "line_items,company,employee,accounting_period", - "line_items,company,employee,accounting_period,payment_term", - "line_items,company,employee,payment_term", - "line_items,company,payment_term", - "line_items,contact", - "line_items,contact,accounting_period", - "line_items,contact,accounting_period,payment_term", - "line_items,contact,company", - "line_items,contact,company,accounting_period", - "line_items,contact,company,accounting_period,payment_term", - "line_items,contact,company,employee", - "line_items,contact,company,employee,accounting_period", - "line_items,contact,company,employee,accounting_period,payment_term", - "line_items,contact,company,employee,payment_term", - "line_items,contact,company,payment_term", - "line_items,contact,employee", - "line_items,contact,employee,accounting_period", - "line_items,contact,employee,accounting_period,payment_term", - "line_items,contact,employee,payment_term", - "line_items,contact,payment_term", - "line_items,employee", - "line_items,employee,accounting_period", - "line_items,employee,accounting_period,payment_term", - "line_items,employee,payment_term", - "line_items,payment_term", - "line_items,purchase_orders", - "line_items,purchase_orders,accounting_period", - "line_items,purchase_orders,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes", - "line_items,purchase_orders,applied_credit_notes,accounting_period", - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,purchase_orders,applied_credit_notes,company", - "line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,company,employee", - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact", - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company", - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,employee", - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "line_items,purchase_orders,applied_credit_notes,employee", - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,payment_term", - "line_items,purchase_orders,applied_vendor_credits", - "line_items,purchase_orders,applied_vendor_credits,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company", - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company,employee", - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact", - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company", - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,employee", - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "line_items,purchase_orders,applied_vendor_credits,employee", - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,payment_term", - "line_items,purchase_orders,company", - "line_items,purchase_orders,company,accounting_period", - "line_items,purchase_orders,company,accounting_period,payment_term", - "line_items,purchase_orders,company,employee", - "line_items,purchase_orders,company,employee,accounting_period", - "line_items,purchase_orders,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,company,employee,payment_term", - "line_items,purchase_orders,company,payment_term", - "line_items,purchase_orders,contact", - "line_items,purchase_orders,contact,accounting_period", - "line_items,purchase_orders,contact,accounting_period,payment_term", - "line_items,purchase_orders,contact,company", - "line_items,purchase_orders,contact,company,accounting_period", - "line_items,purchase_orders,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,contact,company,employee", - "line_items,purchase_orders,contact,company,employee,accounting_period", - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,contact,company,employee,payment_term", - "line_items,purchase_orders,contact,company,payment_term", - "line_items,purchase_orders,contact,employee", - "line_items,purchase_orders,contact,employee,accounting_period", - "line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,contact,employee,payment_term", - "line_items,purchase_orders,contact,payment_term", - "line_items,purchase_orders,employee", - "line_items,purchase_orders,employee,accounting_period", - "line_items,purchase_orders,employee,accounting_period,payment_term", - "line_items,purchase_orders,employee,payment_term", - "line_items,purchase_orders,payment_term", - "line_items,tracking_categories", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes", - "line_items,tracking_categories,applied_credit_notes,accounting_period", - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,tracking_categories,applied_credit_notes,company", - "line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,company,employee", - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact", - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company", - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,employee", - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "line_items,tracking_categories,applied_credit_notes,employee", - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,payment_term", - "line_items,tracking_categories,applied_vendor_credits", - "line_items,tracking_categories,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company", - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company,employee", - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact", - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company", - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,applied_vendor_credits,employee", - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,payment_term", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,company,accounting_period,payment_term", - "line_items,tracking_categories,company,employee", - "line_items,tracking_categories,company,employee,accounting_period", - "line_items,tracking_categories,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,company,employee,payment_term", - "line_items,tracking_categories,company,payment_term", - "line_items,tracking_categories,contact", - "line_items,tracking_categories,contact,accounting_period", - "line_items,tracking_categories,contact,accounting_period,payment_term", - "line_items,tracking_categories,contact,company", - "line_items,tracking_categories,contact,company,accounting_period", - "line_items,tracking_categories,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,contact,company,employee", - "line_items,tracking_categories,contact,company,employee,accounting_period", - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,contact,company,employee,payment_term", - "line_items,tracking_categories,contact,company,payment_term", - "line_items,tracking_categories,contact,employee", - "line_items,tracking_categories,contact,employee,accounting_period", - "line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,contact,employee,payment_term", - "line_items,tracking_categories,contact,payment_term", - "line_items,tracking_categories,employee", - "line_items,tracking_categories,employee,accounting_period", - "line_items,tracking_categories,employee,accounting_period,payment_term", - "line_items,tracking_categories,employee,payment_term", - "line_items,tracking_categories,payment_term", - "line_items,tracking_categories,purchase_orders", - "line_items,tracking_categories,purchase_orders,accounting_period", - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "line_items,tracking_categories,purchase_orders,company", - "line_items,tracking_categories,purchase_orders,company,accounting_period", - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,company,employee", - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,company,payment_term", - "line_items,tracking_categories,purchase_orders,contact", - "line_items,tracking_categories,purchase_orders,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company", - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company,employee", - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,contact,employee", - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,contact,payment_term", - "line_items,tracking_categories,purchase_orders,employee", - "line_items,tracking_categories,purchase_orders,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,employee,payment_term", - "line_items,tracking_categories,purchase_orders,payment_term", - "payment_term", - "payments", - "payments,accounting_period", - "payments,accounting_period,payment_term", - "payments,applied_credit_notes", - "payments,applied_credit_notes,accounting_period", - "payments,applied_credit_notes,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits", - "payments,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_credit_notes,company", - "payments,applied_credit_notes,company,accounting_period", - "payments,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_credit_notes,company,employee", - "payments,applied_credit_notes,company,employee,accounting_period", - "payments,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,company,employee,payment_term", - "payments,applied_credit_notes,company,payment_term", - "payments,applied_credit_notes,contact", - "payments,applied_credit_notes,contact,accounting_period", - "payments,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_credit_notes,contact,company", - "payments,applied_credit_notes,contact,company,accounting_period", - "payments,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_credit_notes,contact,company,employee", - "payments,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_credit_notes,contact,company,payment_term", - "payments,applied_credit_notes,contact,employee", - "payments,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_credit_notes,contact,employee,payment_term", - "payments,applied_credit_notes,contact,payment_term", - "payments,applied_credit_notes,employee", - "payments,applied_credit_notes,employee,accounting_period", - "payments,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_credit_notes,employee,payment_term", - "payments,applied_credit_notes,payment_term", - "payments,applied_payments", - "payments,applied_payments,accounting_period", - "payments,applied_payments,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes", - "payments,applied_payments,applied_credit_notes,accounting_period", - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,applied_credit_notes,company", - "payments,applied_payments,applied_credit_notes,company,accounting_period", - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,company,employee", - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,company,payment_term", - "payments,applied_payments,applied_credit_notes,contact", - "payments,applied_payments,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company", - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company,employee", - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,applied_credit_notes,contact,employee", - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,applied_credit_notes,contact,payment_term", - "payments,applied_payments,applied_credit_notes,employee", - "payments,applied_payments,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,employee,payment_term", - "payments,applied_payments,applied_credit_notes,payment_term", - "payments,applied_payments,applied_vendor_credits", - "payments,applied_payments,applied_vendor_credits,accounting_period", - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,company", - "payments,applied_payments,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,company,employee", - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,company,payment_term", - "payments,applied_payments,applied_vendor_credits,contact", - "payments,applied_payments,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company", - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,employee", - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,applied_vendor_credits,employee", - "payments,applied_payments,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,payment_term", - "payments,applied_payments,company", - "payments,applied_payments,company,accounting_period", - "payments,applied_payments,company,accounting_period,payment_term", - "payments,applied_payments,company,employee", - "payments,applied_payments,company,employee,accounting_period", - "payments,applied_payments,company,employee,accounting_period,payment_term", - "payments,applied_payments,company,employee,payment_term", - "payments,applied_payments,company,payment_term", - "payments,applied_payments,contact", - "payments,applied_payments,contact,accounting_period", - "payments,applied_payments,contact,accounting_period,payment_term", - "payments,applied_payments,contact,company", - "payments,applied_payments,contact,company,accounting_period", - "payments,applied_payments,contact,company,accounting_period,payment_term", - "payments,applied_payments,contact,company,employee", - "payments,applied_payments,contact,company,employee,accounting_period", - "payments,applied_payments,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,contact,company,employee,payment_term", - "payments,applied_payments,contact,company,payment_term", - "payments,applied_payments,contact,employee", - "payments,applied_payments,contact,employee,accounting_period", - "payments,applied_payments,contact,employee,accounting_period,payment_term", - "payments,applied_payments,contact,employee,payment_term", - "payments,applied_payments,contact,payment_term", - "payments,applied_payments,employee", - "payments,applied_payments,employee,accounting_period", - "payments,applied_payments,employee,accounting_period,payment_term", - "payments,applied_payments,employee,payment_term", - "payments,applied_payments,line_items", - "payments,applied_payments,line_items,accounting_period", - "payments,applied_payments,line_items,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes", - "payments,applied_payments,line_items,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company", - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact", - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,employee", - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits", - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company", - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact", - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,employee", - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,company", - "payments,applied_payments,line_items,company,accounting_period", - "payments,applied_payments,line_items,company,accounting_period,payment_term", - "payments,applied_payments,line_items,company,employee", - "payments,applied_payments,line_items,company,employee,accounting_period", - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,company,employee,payment_term", - "payments,applied_payments,line_items,company,payment_term", - "payments,applied_payments,line_items,contact", - "payments,applied_payments,line_items,contact,accounting_period", - "payments,applied_payments,line_items,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,company", - "payments,applied_payments,line_items,contact,company,accounting_period", - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,company,employee", - "payments,applied_payments,line_items,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,company,employee,payment_term", - "payments,applied_payments,line_items,contact,company,payment_term", - "payments,applied_payments,line_items,contact,employee", - "payments,applied_payments,line_items,contact,employee,accounting_period", - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,employee,payment_term", - "payments,applied_payments,line_items,contact,payment_term", - "payments,applied_payments,line_items,employee", - "payments,applied_payments,line_items,employee,accounting_period", - "payments,applied_payments,line_items,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,employee,payment_term", - "payments,applied_payments,line_items,payment_term", - "payments,applied_payments,line_items,purchase_orders", - "payments,applied_payments,line_items,purchase_orders,accounting_period", - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,purchase_orders,company", - "payments,applied_payments,line_items,purchase_orders,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,company,employee", - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact", - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company", - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,employee", - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,employee", - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,payment_term", - "payments,applied_payments,line_items,tracking_categories", - "payments,applied_payments,line_items,tracking_categories,accounting_period", - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,company", - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,company,employee", - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact", - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company", - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,employee", - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,employee", - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - "payments,applied_payments,payment_term", - "payments,applied_payments,purchase_orders", - "payments,applied_payments,purchase_orders,accounting_period", - "payments,applied_payments,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes", - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits", - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,purchase_orders,company", - "payments,applied_payments,purchase_orders,company,accounting_period", - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,company,employee", - "payments,applied_payments,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,company,employee,payment_term", - "payments,applied_payments,purchase_orders,company,payment_term", - "payments,applied_payments,purchase_orders,contact", - "payments,applied_payments,purchase_orders,contact,accounting_period", - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,company", - "payments,applied_payments,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,company,employee", - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,contact,company,payment_term", - "payments,applied_payments,purchase_orders,contact,employee", - "payments,applied_payments,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,contact,payment_term", - "payments,applied_payments,purchase_orders,employee", - "payments,applied_payments,purchase_orders,employee,accounting_period", - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,employee,payment_term", - "payments,applied_payments,purchase_orders,payment_term", - "payments,applied_payments,tracking_categories", - "payments,applied_payments,tracking_categories,accounting_period", - "payments,applied_payments,tracking_categories,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes", - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits", - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,company", - "payments,applied_payments,tracking_categories,company,accounting_period", - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,company,employee", - "payments,applied_payments,tracking_categories,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,company,employee,payment_term", - "payments,applied_payments,tracking_categories,company,payment_term", - "payments,applied_payments,tracking_categories,contact", - "payments,applied_payments,tracking_categories,contact,accounting_period", - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,company", - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,company,employee", - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,contact,company,payment_term", - "payments,applied_payments,tracking_categories,contact,employee", - "payments,applied_payments,tracking_categories,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,contact,payment_term", - "payments,applied_payments,tracking_categories,employee", - "payments,applied_payments,tracking_categories,employee,accounting_period", - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,employee,payment_term", - "payments,applied_payments,tracking_categories,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders", - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company", - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact", - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,employee", - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,payment_term", - "payments,applied_vendor_credits", - "payments,applied_vendor_credits,accounting_period", - "payments,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_vendor_credits,company", - "payments,applied_vendor_credits,company,accounting_period", - "payments,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_vendor_credits,company,employee", - "payments,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,company,employee,payment_term", - "payments,applied_vendor_credits,company,payment_term", - "payments,applied_vendor_credits,contact", - "payments,applied_vendor_credits,contact,accounting_period", - "payments,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,company", - "payments,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,company,employee", - "payments,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_vendor_credits,contact,company,payment_term", - "payments,applied_vendor_credits,contact,employee", - "payments,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_vendor_credits,contact,payment_term", - "payments,applied_vendor_credits,employee", - "payments,applied_vendor_credits,employee,accounting_period", - "payments,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,employee,payment_term", - "payments,applied_vendor_credits,payment_term", - "payments,company", - "payments,company,accounting_period", - "payments,company,accounting_period,payment_term", - "payments,company,employee", - "payments,company,employee,accounting_period", - "payments,company,employee,accounting_period,payment_term", - "payments,company,employee,payment_term", - "payments,company,payment_term", - "payments,contact", - "payments,contact,accounting_period", - "payments,contact,accounting_period,payment_term", - "payments,contact,company", - "payments,contact,company,accounting_period", - "payments,contact,company,accounting_period,payment_term", - "payments,contact,company,employee", - "payments,contact,company,employee,accounting_period", - "payments,contact,company,employee,accounting_period,payment_term", - "payments,contact,company,employee,payment_term", - "payments,contact,company,payment_term", - "payments,contact,employee", - "payments,contact,employee,accounting_period", - "payments,contact,employee,accounting_period,payment_term", - "payments,contact,employee,payment_term", - "payments,contact,payment_term", - "payments,employee", - "payments,employee,accounting_period", - "payments,employee,accounting_period,payment_term", - "payments,employee,payment_term", - "payments,line_items", - "payments,line_items,accounting_period", - "payments,line_items,accounting_period,payment_term", - "payments,line_items,applied_credit_notes", - "payments,line_items,applied_credit_notes,accounting_period", - "payments,line_items,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits", - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,applied_credit_notes,company", - "payments,line_items,applied_credit_notes,company,accounting_period", - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,company,employee", - "payments,line_items,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,company,employee,payment_term", - "payments,line_items,applied_credit_notes,company,payment_term", - "payments,line_items,applied_credit_notes,contact", - "payments,line_items,applied_credit_notes,contact,accounting_period", - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,company", - "payments,line_items,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,company,employee", - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,applied_credit_notes,contact,company,payment_term", - "payments,line_items,applied_credit_notes,contact,employee", - "payments,line_items,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,applied_credit_notes,contact,payment_term", - "payments,line_items,applied_credit_notes,employee", - "payments,line_items,applied_credit_notes,employee,accounting_period", - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,employee,payment_term", - "payments,line_items,applied_credit_notes,payment_term", - "payments,line_items,applied_vendor_credits", - "payments,line_items,applied_vendor_credits,accounting_period", - "payments,line_items,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,company", - "payments,line_items,applied_vendor_credits,company,accounting_period", - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,company,employee", - "payments,line_items,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,applied_vendor_credits,company,payment_term", - "payments,line_items,applied_vendor_credits,contact", - "payments,line_items,applied_vendor_credits,contact,accounting_period", - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,company", - "payments,line_items,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,company,employee", - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,applied_vendor_credits,contact,employee", - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,applied_vendor_credits,contact,payment_term", - "payments,line_items,applied_vendor_credits,employee", - "payments,line_items,applied_vendor_credits,employee,accounting_period", - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,employee,payment_term", - "payments,line_items,applied_vendor_credits,payment_term", - "payments,line_items,company", - "payments,line_items,company,accounting_period", - "payments,line_items,company,accounting_period,payment_term", - "payments,line_items,company,employee", - "payments,line_items,company,employee,accounting_period", - "payments,line_items,company,employee,accounting_period,payment_term", - "payments,line_items,company,employee,payment_term", - "payments,line_items,company,payment_term", - "payments,line_items,contact", - "payments,line_items,contact,accounting_period", - "payments,line_items,contact,accounting_period,payment_term", - "payments,line_items,contact,company", - "payments,line_items,contact,company,accounting_period", - "payments,line_items,contact,company,accounting_period,payment_term", - "payments,line_items,contact,company,employee", - "payments,line_items,contact,company,employee,accounting_period", - "payments,line_items,contact,company,employee,accounting_period,payment_term", - "payments,line_items,contact,company,employee,payment_term", - "payments,line_items,contact,company,payment_term", - "payments,line_items,contact,employee", - "payments,line_items,contact,employee,accounting_period", - "payments,line_items,contact,employee,accounting_period,payment_term", - "payments,line_items,contact,employee,payment_term", - "payments,line_items,contact,payment_term", - "payments,line_items,employee", - "payments,line_items,employee,accounting_period", - "payments,line_items,employee,accounting_period,payment_term", - "payments,line_items,employee,payment_term", - "payments,line_items,payment_term", - "payments,line_items,purchase_orders", - "payments,line_items,purchase_orders,accounting_period", - "payments,line_items,purchase_orders,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes", - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company", - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact", - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,employee", - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits", - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company", - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - "payments,line_items,purchase_orders,company", - "payments,line_items,purchase_orders,company,accounting_period", - "payments,line_items,purchase_orders,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,company,employee", - "payments,line_items,purchase_orders,company,employee,accounting_period", - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,company,employee,payment_term", - "payments,line_items,purchase_orders,company,payment_term", - "payments,line_items,purchase_orders,contact", - "payments,line_items,purchase_orders,contact,accounting_period", - "payments,line_items,purchase_orders,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,company", - "payments,line_items,purchase_orders,contact,company,accounting_period", - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,company,employee", - "payments,line_items,purchase_orders,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,contact,company,payment_term", - "payments,line_items,purchase_orders,contact,employee", - "payments,line_items,purchase_orders,contact,employee,accounting_period", - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,employee,payment_term", - "payments,line_items,purchase_orders,contact,payment_term", - "payments,line_items,purchase_orders,employee", - "payments,line_items,purchase_orders,employee,accounting_period", - "payments,line_items,purchase_orders,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,employee,payment_term", - "payments,line_items,purchase_orders,payment_term", - "payments,line_items,tracking_categories", - "payments,line_items,tracking_categories,accounting_period", - "payments,line_items,tracking_categories,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes", - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company", - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact", - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,employee", - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits", - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company", - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,company", - "payments,line_items,tracking_categories,company,accounting_period", - "payments,line_items,tracking_categories,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,company,employee", - "payments,line_items,tracking_categories,company,employee,accounting_period", - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,company,employee,payment_term", - "payments,line_items,tracking_categories,company,payment_term", - "payments,line_items,tracking_categories,contact", - "payments,line_items,tracking_categories,contact,accounting_period", - "payments,line_items,tracking_categories,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,company", - "payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,company,employee", - "payments,line_items,tracking_categories,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,contact,company,payment_term", - "payments,line_items,tracking_categories,contact,employee", - "payments,line_items,tracking_categories,contact,employee,accounting_period", - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,employee,payment_term", - "payments,line_items,tracking_categories,contact,payment_term", - "payments,line_items,tracking_categories,employee", - "payments,line_items,tracking_categories,employee,accounting_period", - "payments,line_items,tracking_categories,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,employee,payment_term", - "payments,line_items,tracking_categories,payment_term", - "payments,line_items,tracking_categories,purchase_orders", - "payments,line_items,tracking_categories,purchase_orders,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company", - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company,employee", - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact", - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company", - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,employee", - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,payment_term", - "payments,payment_term", - "payments,purchase_orders", - "payments,purchase_orders,accounting_period", - "payments,purchase_orders,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes", - "payments,purchase_orders,applied_credit_notes,accounting_period", - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,purchase_orders,applied_credit_notes,company", - "payments,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,company,employee", - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,company,payment_term", - "payments,purchase_orders,applied_credit_notes,contact", - "payments,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company", - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,employee", - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,purchase_orders,applied_credit_notes,employee", - "payments,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,payment_term", - "payments,purchase_orders,applied_vendor_credits", - "payments,purchase_orders,applied_vendor_credits,accounting_period", - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,company", - "payments,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,company,employee", - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact", - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company", - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,employee", - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,purchase_orders,applied_vendor_credits,employee", - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,payment_term", - "payments,purchase_orders,company", - "payments,purchase_orders,company,accounting_period", - "payments,purchase_orders,company,accounting_period,payment_term", - "payments,purchase_orders,company,employee", - "payments,purchase_orders,company,employee,accounting_period", - "payments,purchase_orders,company,employee,accounting_period,payment_term", - "payments,purchase_orders,company,employee,payment_term", - "payments,purchase_orders,company,payment_term", - "payments,purchase_orders,contact", - "payments,purchase_orders,contact,accounting_period", - "payments,purchase_orders,contact,accounting_period,payment_term", - "payments,purchase_orders,contact,company", - "payments,purchase_orders,contact,company,accounting_period", - "payments,purchase_orders,contact,company,accounting_period,payment_term", - "payments,purchase_orders,contact,company,employee", - "payments,purchase_orders,contact,company,employee,accounting_period", - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,contact,company,employee,payment_term", - "payments,purchase_orders,contact,company,payment_term", - "payments,purchase_orders,contact,employee", - "payments,purchase_orders,contact,employee,accounting_period", - "payments,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,contact,employee,payment_term", - "payments,purchase_orders,contact,payment_term", - "payments,purchase_orders,employee", - "payments,purchase_orders,employee,accounting_period", - "payments,purchase_orders,employee,accounting_period,payment_term", - "payments,purchase_orders,employee,payment_term", - "payments,purchase_orders,payment_term", - "payments,tracking_categories", - "payments,tracking_categories,accounting_period", - "payments,tracking_categories,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes", - "payments,tracking_categories,applied_credit_notes,accounting_period", - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,tracking_categories,applied_credit_notes,company", - "payments,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,company,employee", - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,company,payment_term", - "payments,tracking_categories,applied_credit_notes,contact", - "payments,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company", - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,employee", - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,tracking_categories,applied_credit_notes,employee", - "payments,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,payment_term", - "payments,tracking_categories,applied_vendor_credits", - "payments,tracking_categories,applied_vendor_credits,accounting_period", - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,company", - "payments,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,company,employee", - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact", - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company", - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,employee", - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,applied_vendor_credits,employee", - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,payment_term", - "payments,tracking_categories,company", - "payments,tracking_categories,company,accounting_period", - "payments,tracking_categories,company,accounting_period,payment_term", - "payments,tracking_categories,company,employee", - "payments,tracking_categories,company,employee,accounting_period", - "payments,tracking_categories,company,employee,accounting_period,payment_term", - "payments,tracking_categories,company,employee,payment_term", - "payments,tracking_categories,company,payment_term", - "payments,tracking_categories,contact", - "payments,tracking_categories,contact,accounting_period", - "payments,tracking_categories,contact,accounting_period,payment_term", - "payments,tracking_categories,contact,company", - "payments,tracking_categories,contact,company,accounting_period", - "payments,tracking_categories,contact,company,accounting_period,payment_term", - "payments,tracking_categories,contact,company,employee", - "payments,tracking_categories,contact,company,employee,accounting_period", - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,contact,company,employee,payment_term", - "payments,tracking_categories,contact,company,payment_term", - "payments,tracking_categories,contact,employee", - "payments,tracking_categories,contact,employee,accounting_period", - "payments,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,contact,employee,payment_term", - "payments,tracking_categories,contact,payment_term", - "payments,tracking_categories,employee", - "payments,tracking_categories,employee,accounting_period", - "payments,tracking_categories,employee,accounting_period,payment_term", - "payments,tracking_categories,employee,payment_term", - "payments,tracking_categories,payment_term", - "payments,tracking_categories,purchase_orders", - "payments,tracking_categories,purchase_orders,accounting_period", - "payments,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes", - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,tracking_categories,purchase_orders,company", - "payments,tracking_categories,purchase_orders,company,accounting_period", - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,company,employee", - "payments,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,company,payment_term", - "payments,tracking_categories,purchase_orders,contact", - "payments,tracking_categories,purchase_orders,contact,accounting_period", - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,company", - "payments,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,company,employee", - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,contact,employee", - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,contact,payment_term", - "payments,tracking_categories,purchase_orders,employee", - "payments,tracking_categories,purchase_orders,employee,accounting_period", - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,employee,payment_term", - "payments,tracking_categories,purchase_orders,payment_term", - "purchase_orders", - "purchase_orders,accounting_period", - "purchase_orders,accounting_period,payment_term", - "purchase_orders,applied_credit_notes", - "purchase_orders,applied_credit_notes,accounting_period", - "purchase_orders,applied_credit_notes,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits", - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "purchase_orders,applied_credit_notes,company", - "purchase_orders,applied_credit_notes,company,accounting_period", - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,company,employee", - "purchase_orders,applied_credit_notes,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,company,employee,payment_term", - "purchase_orders,applied_credit_notes,company,payment_term", - "purchase_orders,applied_credit_notes,contact", - "purchase_orders,applied_credit_notes,contact,accounting_period", - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,company", - "purchase_orders,applied_credit_notes,contact,company,accounting_period", - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,company,employee", - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "purchase_orders,applied_credit_notes,contact,company,payment_term", - "purchase_orders,applied_credit_notes,contact,employee", - "purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,employee,payment_term", - "purchase_orders,applied_credit_notes,contact,payment_term", - "purchase_orders,applied_credit_notes,employee", - "purchase_orders,applied_credit_notes,employee,accounting_period", - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,employee,payment_term", - "purchase_orders,applied_credit_notes,payment_term", - "purchase_orders,applied_vendor_credits", - "purchase_orders,applied_vendor_credits,accounting_period", - "purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,company", - "purchase_orders,applied_vendor_credits,company,accounting_period", - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,company,employee", - "purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,company,employee,payment_term", - "purchase_orders,applied_vendor_credits,company,payment_term", - "purchase_orders,applied_vendor_credits,contact", - "purchase_orders,applied_vendor_credits,contact,accounting_period", - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,company", - "purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,company,employee", - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "purchase_orders,applied_vendor_credits,contact,company,payment_term", - "purchase_orders,applied_vendor_credits,contact,employee", - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "purchase_orders,applied_vendor_credits,contact,payment_term", - "purchase_orders,applied_vendor_credits,employee", - "purchase_orders,applied_vendor_credits,employee,accounting_period", - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,employee,payment_term", - "purchase_orders,applied_vendor_credits,payment_term", - "purchase_orders,company", - "purchase_orders,company,accounting_period", - "purchase_orders,company,accounting_period,payment_term", - "purchase_orders,company,employee", - "purchase_orders,company,employee,accounting_period", - "purchase_orders,company,employee,accounting_period,payment_term", - "purchase_orders,company,employee,payment_term", - "purchase_orders,company,payment_term", - "purchase_orders,contact", - "purchase_orders,contact,accounting_period", - "purchase_orders,contact,accounting_period,payment_term", - "purchase_orders,contact,company", - "purchase_orders,contact,company,accounting_period", - "purchase_orders,contact,company,accounting_period,payment_term", - "purchase_orders,contact,company,employee", - "purchase_orders,contact,company,employee,accounting_period", - "purchase_orders,contact,company,employee,accounting_period,payment_term", - "purchase_orders,contact,company,employee,payment_term", - "purchase_orders,contact,company,payment_term", - "purchase_orders,contact,employee", - "purchase_orders,contact,employee,accounting_period", - "purchase_orders,contact,employee,accounting_period,payment_term", - "purchase_orders,contact,employee,payment_term", - "purchase_orders,contact,payment_term", - "purchase_orders,employee", - "purchase_orders,employee,accounting_period", - "purchase_orders,employee,accounting_period,payment_term", - "purchase_orders,employee,payment_term", - "purchase_orders,payment_term", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,accounting_period,payment_term", - "tracking_categories,applied_credit_notes", - "tracking_categories,applied_credit_notes,accounting_period", - "tracking_categories,applied_credit_notes,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits", - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "tracking_categories,applied_credit_notes,company", - "tracking_categories,applied_credit_notes,company,accounting_period", - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,company,employee", - "tracking_categories,applied_credit_notes,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,company,employee,payment_term", - "tracking_categories,applied_credit_notes,company,payment_term", - "tracking_categories,applied_credit_notes,contact", - "tracking_categories,applied_credit_notes,contact,accounting_period", - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,company", - "tracking_categories,applied_credit_notes,contact,company,accounting_period", - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,company,employee", - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "tracking_categories,applied_credit_notes,contact,company,payment_term", - "tracking_categories,applied_credit_notes,contact,employee", - "tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,employee,payment_term", - "tracking_categories,applied_credit_notes,contact,payment_term", - "tracking_categories,applied_credit_notes,employee", - "tracking_categories,applied_credit_notes,employee,accounting_period", - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,employee,payment_term", - "tracking_categories,applied_credit_notes,payment_term", - "tracking_categories,applied_vendor_credits", - "tracking_categories,applied_vendor_credits,accounting_period", - "tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,company", - "tracking_categories,applied_vendor_credits,company,accounting_period", - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,company,employee", - "tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,applied_vendor_credits,company,payment_term", - "tracking_categories,applied_vendor_credits,contact", - "tracking_categories,applied_vendor_credits,contact,accounting_period", - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,company", - "tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,company,employee", - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,applied_vendor_credits,contact,employee", - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,applied_vendor_credits,contact,payment_term", - "tracking_categories,applied_vendor_credits,employee", - "tracking_categories,applied_vendor_credits,employee,accounting_period", - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,employee,payment_term", - "tracking_categories,applied_vendor_credits,payment_term", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,accounting_period,payment_term", - "tracking_categories,company,employee", - "tracking_categories,company,employee,accounting_period", - "tracking_categories,company,employee,accounting_period,payment_term", - "tracking_categories,company,employee,payment_term", - "tracking_categories,company,payment_term", - "tracking_categories,contact", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,accounting_period,payment_term", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", - "tracking_categories,contact,company,accounting_period,payment_term", - "tracking_categories,contact,company,employee", - "tracking_categories,contact,company,employee,accounting_period", - "tracking_categories,contact,company,employee,accounting_period,payment_term", - "tracking_categories,contact,company,employee,payment_term", - "tracking_categories,contact,company,payment_term", - "tracking_categories,contact,employee", - "tracking_categories,contact,employee,accounting_period", - "tracking_categories,contact,employee,accounting_period,payment_term", - "tracking_categories,contact,employee,payment_term", - "tracking_categories,contact,payment_term", - "tracking_categories,employee", - "tracking_categories,employee,accounting_period", - "tracking_categories,employee,accounting_period,payment_term", - "tracking_categories,employee,payment_term", - "tracking_categories,payment_term", - "tracking_categories,purchase_orders", - "tracking_categories,purchase_orders,accounting_period", - "tracking_categories,purchase_orders,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes", - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company", - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact", - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,employee", - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits", - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company", - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "tracking_categories,purchase_orders,company", - "tracking_categories,purchase_orders,company,accounting_period", - "tracking_categories,purchase_orders,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,company,employee", - "tracking_categories,purchase_orders,company,employee,accounting_period", - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,company,employee,payment_term", - "tracking_categories,purchase_orders,company,payment_term", - "tracking_categories,purchase_orders,contact", - "tracking_categories,purchase_orders,contact,accounting_period", - "tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,company", - "tracking_categories,purchase_orders,contact,company,accounting_period", - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,company,employee", - "tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,contact,company,payment_term", - "tracking_categories,purchase_orders,contact,employee", - "tracking_categories,purchase_orders,contact,employee,accounting_period", - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,employee,payment_term", - "tracking_categories,purchase_orders,contact,payment_term", - "tracking_categories,purchase_orders,employee", - "tracking_categories,purchase_orders,employee,accounting_period", - "tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,employee,payment_term", - "tracking_categories,purchase_orders,payment_term", -]); - -export declare namespace InvoicesListRequestExpand { - export type Raw = - | "accounting_period" - | "accounting_period,payment_term" - | "applied_credit_notes" - | "applied_credit_notes,accounting_period" - | "applied_credit_notes,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits" - | "applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,company" - | "applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact" - | "applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_credit_notes,applied_vendor_credits,employee" - | "applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_credit_notes,company" - | "applied_credit_notes,company,accounting_period" - | "applied_credit_notes,company,accounting_period,payment_term" - | "applied_credit_notes,company,employee" - | "applied_credit_notes,company,employee,accounting_period" - | "applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_credit_notes,company,employee,payment_term" - | "applied_credit_notes,company,payment_term" - | "applied_credit_notes,contact" - | "applied_credit_notes,contact,accounting_period" - | "applied_credit_notes,contact,accounting_period,payment_term" - | "applied_credit_notes,contact,company" - | "applied_credit_notes,contact,company,accounting_period" - | "applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_credit_notes,contact,company,employee" - | "applied_credit_notes,contact,company,employee,accounting_period" - | "applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_credit_notes,contact,company,employee,payment_term" - | "applied_credit_notes,contact,company,payment_term" - | "applied_credit_notes,contact,employee" - | "applied_credit_notes,contact,employee,accounting_period" - | "applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_credit_notes,contact,employee,payment_term" - | "applied_credit_notes,contact,payment_term" - | "applied_credit_notes,employee" - | "applied_credit_notes,employee,accounting_period" - | "applied_credit_notes,employee,accounting_period,payment_term" - | "applied_credit_notes,employee,payment_term" - | "applied_credit_notes,payment_term" - | "applied_payments" - | "applied_payments,accounting_period" - | "applied_payments,accounting_period,payment_term" - | "applied_payments,applied_credit_notes" - | "applied_payments,applied_credit_notes,accounting_period" - | "applied_payments,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits" - | "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,applied_credit_notes,company" - | "applied_payments,applied_credit_notes,company,accounting_period" - | "applied_payments,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,company,employee" - | "applied_payments,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,company,employee,payment_term" - | "applied_payments,applied_credit_notes,company,payment_term" - | "applied_payments,applied_credit_notes,contact" - | "applied_payments,applied_credit_notes,contact,accounting_period" - | "applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,company" - | "applied_payments,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,company,employee" - | "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,applied_credit_notes,contact,company,payment_term" - | "applied_payments,applied_credit_notes,contact,employee" - | "applied_payments,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,applied_credit_notes,contact,payment_term" - | "applied_payments,applied_credit_notes,employee" - | "applied_payments,applied_credit_notes,employee,accounting_period" - | "applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,employee,payment_term" - | "applied_payments,applied_credit_notes,payment_term" - | "applied_payments,applied_vendor_credits" - | "applied_payments,applied_vendor_credits,accounting_period" - | "applied_payments,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,company" - | "applied_payments,applied_vendor_credits,company,accounting_period" - | "applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,company,employee" - | "applied_payments,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,applied_vendor_credits,company,payment_term" - | "applied_payments,applied_vendor_credits,contact" - | "applied_payments,applied_vendor_credits,contact,accounting_period" - | "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,company" - | "applied_payments,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,company,employee" - | "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,applied_vendor_credits,contact,employee" - | "applied_payments,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,applied_vendor_credits,contact,payment_term" - | "applied_payments,applied_vendor_credits,employee" - | "applied_payments,applied_vendor_credits,employee,accounting_period" - | "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,employee,payment_term" - | "applied_payments,applied_vendor_credits,payment_term" - | "applied_payments,company" - | "applied_payments,company,accounting_period" - | "applied_payments,company,accounting_period,payment_term" - | "applied_payments,company,employee" - | "applied_payments,company,employee,accounting_period" - | "applied_payments,company,employee,accounting_period,payment_term" - | "applied_payments,company,employee,payment_term" - | "applied_payments,company,payment_term" - | "applied_payments,contact" - | "applied_payments,contact,accounting_period" - | "applied_payments,contact,accounting_period,payment_term" - | "applied_payments,contact,company" - | "applied_payments,contact,company,accounting_period" - | "applied_payments,contact,company,accounting_period,payment_term" - | "applied_payments,contact,company,employee" - | "applied_payments,contact,company,employee,accounting_period" - | "applied_payments,contact,company,employee,accounting_period,payment_term" - | "applied_payments,contact,company,employee,payment_term" - | "applied_payments,contact,company,payment_term" - | "applied_payments,contact,employee" - | "applied_payments,contact,employee,accounting_period" - | "applied_payments,contact,employee,accounting_period,payment_term" - | "applied_payments,contact,employee,payment_term" - | "applied_payments,contact,payment_term" - | "applied_payments,employee" - | "applied_payments,employee,accounting_period" - | "applied_payments,employee,accounting_period,payment_term" - | "applied_payments,employee,payment_term" - | "applied_payments,line_items" - | "applied_payments,line_items,accounting_period" - | "applied_payments,line_items,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes" - | "applied_payments,line_items,applied_credit_notes,accounting_period" - | "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,applied_credit_notes,company" - | "applied_payments,line_items,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,company,employee" - | "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact" - | "applied_payments,line_items,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company" - | "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,employee" - | "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,applied_credit_notes,employee" - | "applied_payments,line_items,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,payment_term" - | "applied_payments,line_items,applied_vendor_credits" - | "applied_payments,line_items,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company" - | "applied_payments,line_items,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company,employee" - | "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact" - | "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company" - | "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,applied_vendor_credits,employee" - | "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,payment_term" - | "applied_payments,line_items,company" - | "applied_payments,line_items,company,accounting_period" - | "applied_payments,line_items,company,accounting_period,payment_term" - | "applied_payments,line_items,company,employee" - | "applied_payments,line_items,company,employee,accounting_period" - | "applied_payments,line_items,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,company,employee,payment_term" - | "applied_payments,line_items,company,payment_term" - | "applied_payments,line_items,contact" - | "applied_payments,line_items,contact,accounting_period" - | "applied_payments,line_items,contact,accounting_period,payment_term" - | "applied_payments,line_items,contact,company" - | "applied_payments,line_items,contact,company,accounting_period" - | "applied_payments,line_items,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,contact,company,employee" - | "applied_payments,line_items,contact,company,employee,accounting_period" - | "applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,contact,company,employee,payment_term" - | "applied_payments,line_items,contact,company,payment_term" - | "applied_payments,line_items,contact,employee" - | "applied_payments,line_items,contact,employee,accounting_period" - | "applied_payments,line_items,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,contact,employee,payment_term" - | "applied_payments,line_items,contact,payment_term" - | "applied_payments,line_items,employee" - | "applied_payments,line_items,employee,accounting_period" - | "applied_payments,line_items,employee,accounting_period,payment_term" - | "applied_payments,line_items,employee,payment_term" - | "applied_payments,line_items,payment_term" - | "applied_payments,line_items,purchase_orders" - | "applied_payments,line_items,purchase_orders,accounting_period" - | "applied_payments,line_items,purchase_orders,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,line_items,purchase_orders,company" - | "applied_payments,line_items,purchase_orders,company,accounting_period" - | "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,company,employee" - | "applied_payments,line_items,purchase_orders,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,company,payment_term" - | "applied_payments,line_items,purchase_orders,contact" - | "applied_payments,line_items,purchase_orders,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company" - | "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company,employee" - | "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,contact,employee" - | "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,contact,payment_term" - | "applied_payments,line_items,purchase_orders,employee" - | "applied_payments,line_items,purchase_orders,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,employee,payment_term" - | "applied_payments,line_items,purchase_orders,payment_term" - | "applied_payments,line_items,tracking_categories" - | "applied_payments,line_items,tracking_categories,accounting_period" - | "applied_payments,line_items,tracking_categories,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,company" - | "applied_payments,line_items,tracking_categories,company,accounting_period" - | "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,company,employee" - | "applied_payments,line_items,tracking_categories,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,company,payment_term" - | "applied_payments,line_items,tracking_categories,contact" - | "applied_payments,line_items,tracking_categories,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company" - | "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company,employee" - | "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,contact,employee" - | "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,contact,payment_term" - | "applied_payments,line_items,tracking_categories,employee" - | "applied_payments,line_items,tracking_categories,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,employee,payment_term" - | "applied_payments,line_items,tracking_categories,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders" - | "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - | "applied_payments,payment_term" - | "applied_payments,purchase_orders" - | "applied_payments,purchase_orders,accounting_period" - | "applied_payments,purchase_orders,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes" - | "applied_payments,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company" - | "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact" - | "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,employee" - | "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits" - | "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company" - | "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,purchase_orders,company" - | "applied_payments,purchase_orders,company,accounting_period" - | "applied_payments,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,company,employee" - | "applied_payments,purchase_orders,company,employee,accounting_period" - | "applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,company,employee,payment_term" - | "applied_payments,purchase_orders,company,payment_term" - | "applied_payments,purchase_orders,contact" - | "applied_payments,purchase_orders,contact,accounting_period" - | "applied_payments,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,company" - | "applied_payments,purchase_orders,contact,company,accounting_period" - | "applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,company,employee" - | "applied_payments,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,contact,company,payment_term" - | "applied_payments,purchase_orders,contact,employee" - | "applied_payments,purchase_orders,contact,employee,accounting_period" - | "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,employee,payment_term" - | "applied_payments,purchase_orders,contact,payment_term" - | "applied_payments,purchase_orders,employee" - | "applied_payments,purchase_orders,employee,accounting_period" - | "applied_payments,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,employee,payment_term" - | "applied_payments,purchase_orders,payment_term" - | "applied_payments,tracking_categories" - | "applied_payments,tracking_categories,accounting_period" - | "applied_payments,tracking_categories,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes" - | "applied_payments,tracking_categories,applied_credit_notes,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company" - | "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact" - | "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,employee" - | "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits" - | "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company" - | "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,company" - | "applied_payments,tracking_categories,company,accounting_period" - | "applied_payments,tracking_categories,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,company,employee" - | "applied_payments,tracking_categories,company,employee,accounting_period" - | "applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,company,employee,payment_term" - | "applied_payments,tracking_categories,company,payment_term" - | "applied_payments,tracking_categories,contact" - | "applied_payments,tracking_categories,contact,accounting_period" - | "applied_payments,tracking_categories,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,company" - | "applied_payments,tracking_categories,contact,company,accounting_period" - | "applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,company,employee" - | "applied_payments,tracking_categories,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,contact,company,payment_term" - | "applied_payments,tracking_categories,contact,employee" - | "applied_payments,tracking_categories,contact,employee,accounting_period" - | "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,employee,payment_term" - | "applied_payments,tracking_categories,contact,payment_term" - | "applied_payments,tracking_categories,employee" - | "applied_payments,tracking_categories,employee,accounting_period" - | "applied_payments,tracking_categories,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,employee,payment_term" - | "applied_payments,tracking_categories,payment_term" - | "applied_payments,tracking_categories,purchase_orders" - | "applied_payments,tracking_categories,purchase_orders,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company" - | "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company,employee" - | "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact" - | "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company" - | "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,employee" - | "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,payment_term" - | "applied_vendor_credits" - | "applied_vendor_credits,accounting_period" - | "applied_vendor_credits,accounting_period,payment_term" - | "applied_vendor_credits,company" - | "applied_vendor_credits,company,accounting_period" - | "applied_vendor_credits,company,accounting_period,payment_term" - | "applied_vendor_credits,company,employee" - | "applied_vendor_credits,company,employee,accounting_period" - | "applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_vendor_credits,company,employee,payment_term" - | "applied_vendor_credits,company,payment_term" - | "applied_vendor_credits,contact" - | "applied_vendor_credits,contact,accounting_period" - | "applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_vendor_credits,contact,company" - | "applied_vendor_credits,contact,company,accounting_period" - | "applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_vendor_credits,contact,company,employee" - | "applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_vendor_credits,contact,company,employee,payment_term" - | "applied_vendor_credits,contact,company,payment_term" - | "applied_vendor_credits,contact,employee" - | "applied_vendor_credits,contact,employee,accounting_period" - | "applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_vendor_credits,contact,employee,payment_term" - | "applied_vendor_credits,contact,payment_term" - | "applied_vendor_credits,employee" - | "applied_vendor_credits,employee,accounting_period" - | "applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_vendor_credits,employee,payment_term" - | "applied_vendor_credits,payment_term" - | "company" - | "company,accounting_period" - | "company,accounting_period,payment_term" - | "company,employee" - | "company,employee,accounting_period" - | "company,employee,accounting_period,payment_term" - | "company,employee,payment_term" - | "company,payment_term" - | "contact" - | "contact,accounting_period" - | "contact,accounting_period,payment_term" - | "contact,company" - | "contact,company,accounting_period" - | "contact,company,accounting_period,payment_term" - | "contact,company,employee" - | "contact,company,employee,accounting_period" - | "contact,company,employee,accounting_period,payment_term" - | "contact,company,employee,payment_term" - | "contact,company,payment_term" - | "contact,employee" - | "contact,employee,accounting_period" - | "contact,employee,accounting_period,payment_term" - | "contact,employee,payment_term" - | "contact,payment_term" - | "employee" - | "employee,accounting_period" - | "employee,accounting_period,payment_term" - | "employee,payment_term" - | "line_items" - | "line_items,accounting_period" - | "line_items,accounting_period,payment_term" - | "line_items,applied_credit_notes" - | "line_items,applied_credit_notes,accounting_period" - | "line_items,applied_credit_notes,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits" - | "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company" - | "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,applied_credit_notes,company" - | "line_items,applied_credit_notes,company,accounting_period" - | "line_items,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,company,employee" - | "line_items,applied_credit_notes,company,employee,accounting_period" - | "line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,company,employee,payment_term" - | "line_items,applied_credit_notes,company,payment_term" - | "line_items,applied_credit_notes,contact" - | "line_items,applied_credit_notes,contact,accounting_period" - | "line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,company" - | "line_items,applied_credit_notes,contact,company,accounting_period" - | "line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,company,employee" - | "line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,applied_credit_notes,contact,company,payment_term" - | "line_items,applied_credit_notes,contact,employee" - | "line_items,applied_credit_notes,contact,employee,accounting_period" - | "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,employee,payment_term" - | "line_items,applied_credit_notes,contact,payment_term" - | "line_items,applied_credit_notes,employee" - | "line_items,applied_credit_notes,employee,accounting_period" - | "line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,employee,payment_term" - | "line_items,applied_credit_notes,payment_term" - | "line_items,applied_vendor_credits" - | "line_items,applied_vendor_credits,accounting_period" - | "line_items,applied_vendor_credits,accounting_period,payment_term" - | "line_items,applied_vendor_credits,company" - | "line_items,applied_vendor_credits,company,accounting_period" - | "line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,applied_vendor_credits,company,employee" - | "line_items,applied_vendor_credits,company,employee,accounting_period" - | "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,company,employee,payment_term" - | "line_items,applied_vendor_credits,company,payment_term" - | "line_items,applied_vendor_credits,contact" - | "line_items,applied_vendor_credits,contact,accounting_period" - | "line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,company" - | "line_items,applied_vendor_credits,contact,company,accounting_period" - | "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,company,employee" - | "line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,applied_vendor_credits,contact,company,payment_term" - | "line_items,applied_vendor_credits,contact,employee" - | "line_items,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,employee,payment_term" - | "line_items,applied_vendor_credits,contact,payment_term" - | "line_items,applied_vendor_credits,employee" - | "line_items,applied_vendor_credits,employee,accounting_period" - | "line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,employee,payment_term" - | "line_items,applied_vendor_credits,payment_term" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,company,accounting_period,payment_term" - | "line_items,company,employee" - | "line_items,company,employee,accounting_period" - | "line_items,company,employee,accounting_period,payment_term" - | "line_items,company,employee,payment_term" - | "line_items,company,payment_term" - | "line_items,contact" - | "line_items,contact,accounting_period" - | "line_items,contact,accounting_period,payment_term" - | "line_items,contact,company" - | "line_items,contact,company,accounting_period" - | "line_items,contact,company,accounting_period,payment_term" - | "line_items,contact,company,employee" - | "line_items,contact,company,employee,accounting_period" - | "line_items,contact,company,employee,accounting_period,payment_term" - | "line_items,contact,company,employee,payment_term" - | "line_items,contact,company,payment_term" - | "line_items,contact,employee" - | "line_items,contact,employee,accounting_period" - | "line_items,contact,employee,accounting_period,payment_term" - | "line_items,contact,employee,payment_term" - | "line_items,contact,payment_term" - | "line_items,employee" - | "line_items,employee,accounting_period" - | "line_items,employee,accounting_period,payment_term" - | "line_items,employee,payment_term" - | "line_items,payment_term" - | "line_items,purchase_orders" - | "line_items,purchase_orders,accounting_period" - | "line_items,purchase_orders,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes" - | "line_items,purchase_orders,applied_credit_notes,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company" - | "line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company,employee" - | "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact" - | "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company" - | "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,employee" - | "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "line_items,purchase_orders,applied_credit_notes,employee" - | "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,payment_term" - | "line_items,purchase_orders,applied_vendor_credits" - | "line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company" - | "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company,employee" - | "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact" - | "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,employee" - | "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,payment_term" - | "line_items,purchase_orders,company" - | "line_items,purchase_orders,company,accounting_period" - | "line_items,purchase_orders,company,accounting_period,payment_term" - | "line_items,purchase_orders,company,employee" - | "line_items,purchase_orders,company,employee,accounting_period" - | "line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,company,employee,payment_term" - | "line_items,purchase_orders,company,payment_term" - | "line_items,purchase_orders,contact" - | "line_items,purchase_orders,contact,accounting_period" - | "line_items,purchase_orders,contact,accounting_period,payment_term" - | "line_items,purchase_orders,contact,company" - | "line_items,purchase_orders,contact,company,accounting_period" - | "line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,contact,company,employee" - | "line_items,purchase_orders,contact,company,employee,accounting_period" - | "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,contact,company,employee,payment_term" - | "line_items,purchase_orders,contact,company,payment_term" - | "line_items,purchase_orders,contact,employee" - | "line_items,purchase_orders,contact,employee,accounting_period" - | "line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,contact,employee,payment_term" - | "line_items,purchase_orders,contact,payment_term" - | "line_items,purchase_orders,employee" - | "line_items,purchase_orders,employee,accounting_period" - | "line_items,purchase_orders,employee,accounting_period,payment_term" - | "line_items,purchase_orders,employee,payment_term" - | "line_items,purchase_orders,payment_term" - | "line_items,tracking_categories" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes" - | "line_items,tracking_categories,applied_credit_notes,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company" - | "line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company,employee" - | "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact" - | "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company" - | "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,employee" - | "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "line_items,tracking_categories,applied_credit_notes,employee" - | "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,payment_term" - | "line_items,tracking_categories,applied_vendor_credits" - | "line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company" - | "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact" - | "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,employee" - | "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,company,accounting_period,payment_term" - | "line_items,tracking_categories,company,employee" - | "line_items,tracking_categories,company,employee,accounting_period" - | "line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,company,employee,payment_term" - | "line_items,tracking_categories,company,payment_term" - | "line_items,tracking_categories,contact" - | "line_items,tracking_categories,contact,accounting_period" - | "line_items,tracking_categories,contact,accounting_period,payment_term" - | "line_items,tracking_categories,contact,company" - | "line_items,tracking_categories,contact,company,accounting_period" - | "line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,contact,company,employee" - | "line_items,tracking_categories,contact,company,employee,accounting_period" - | "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,contact,company,employee,payment_term" - | "line_items,tracking_categories,contact,company,payment_term" - | "line_items,tracking_categories,contact,employee" - | "line_items,tracking_categories,contact,employee,accounting_period" - | "line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,contact,employee,payment_term" - | "line_items,tracking_categories,contact,payment_term" - | "line_items,tracking_categories,employee" - | "line_items,tracking_categories,employee,accounting_period" - | "line_items,tracking_categories,employee,accounting_period,payment_term" - | "line_items,tracking_categories,employee,payment_term" - | "line_items,tracking_categories,payment_term" - | "line_items,tracking_categories,purchase_orders" - | "line_items,tracking_categories,purchase_orders,accounting_period" - | "line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,purchase_orders,company" - | "line_items,tracking_categories,purchase_orders,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,company,employee" - | "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,company,payment_term" - | "line_items,tracking_categories,purchase_orders,contact" - | "line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company" - | "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,employee" - | "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,employee" - | "line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,payment_term" - | "payment_term" - | "payments" - | "payments,accounting_period" - | "payments,accounting_period,payment_term" - | "payments,applied_credit_notes" - | "payments,applied_credit_notes,accounting_period" - | "payments,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits" - | "payments,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_credit_notes,company" - | "payments,applied_credit_notes,company,accounting_period" - | "payments,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_credit_notes,company,employee" - | "payments,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,company,employee,payment_term" - | "payments,applied_credit_notes,company,payment_term" - | "payments,applied_credit_notes,contact" - | "payments,applied_credit_notes,contact,accounting_period" - | "payments,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,company" - | "payments,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,company,employee" - | "payments,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_credit_notes,contact,company,payment_term" - | "payments,applied_credit_notes,contact,employee" - | "payments,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_credit_notes,contact,payment_term" - | "payments,applied_credit_notes,employee" - | "payments,applied_credit_notes,employee,accounting_period" - | "payments,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,employee,payment_term" - | "payments,applied_credit_notes,payment_term" - | "payments,applied_payments" - | "payments,applied_payments,accounting_period" - | "payments,applied_payments,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes" - | "payments,applied_payments,applied_credit_notes,accounting_period" - | "payments,applied_payments,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,applied_credit_notes,company" - | "payments,applied_payments,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,company,employee" - | "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,company,payment_term" - | "payments,applied_payments,applied_credit_notes,contact" - | "payments,applied_payments,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company" - | "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,employee" - | "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,applied_credit_notes,employee" - | "payments,applied_payments,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,payment_term" - | "payments,applied_payments,applied_vendor_credits" - | "payments,applied_payments,applied_vendor_credits,accounting_period" - | "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,company" - | "payments,applied_payments,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,company,employee" - | "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact" - | "payments,applied_payments,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company" - | "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,employee" - | "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,applied_vendor_credits,employee" - | "payments,applied_payments,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,payment_term" - | "payments,applied_payments,company" - | "payments,applied_payments,company,accounting_period" - | "payments,applied_payments,company,accounting_period,payment_term" - | "payments,applied_payments,company,employee" - | "payments,applied_payments,company,employee,accounting_period" - | "payments,applied_payments,company,employee,accounting_period,payment_term" - | "payments,applied_payments,company,employee,payment_term" - | "payments,applied_payments,company,payment_term" - | "payments,applied_payments,contact" - | "payments,applied_payments,contact,accounting_period" - | "payments,applied_payments,contact,accounting_period,payment_term" - | "payments,applied_payments,contact,company" - | "payments,applied_payments,contact,company,accounting_period" - | "payments,applied_payments,contact,company,accounting_period,payment_term" - | "payments,applied_payments,contact,company,employee" - | "payments,applied_payments,contact,company,employee,accounting_period" - | "payments,applied_payments,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,contact,company,employee,payment_term" - | "payments,applied_payments,contact,company,payment_term" - | "payments,applied_payments,contact,employee" - | "payments,applied_payments,contact,employee,accounting_period" - | "payments,applied_payments,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,contact,employee,payment_term" - | "payments,applied_payments,contact,payment_term" - | "payments,applied_payments,employee" - | "payments,applied_payments,employee,accounting_period" - | "payments,applied_payments,employee,accounting_period,payment_term" - | "payments,applied_payments,employee,payment_term" - | "payments,applied_payments,line_items" - | "payments,applied_payments,line_items,accounting_period" - | "payments,applied_payments,line_items,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes" - | "payments,applied_payments,line_items,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company" - | "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact" - | "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,employee" - | "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits" - | "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company" - | "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,company" - | "payments,applied_payments,line_items,company,accounting_period" - | "payments,applied_payments,line_items,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,company,employee" - | "payments,applied_payments,line_items,company,employee,accounting_period" - | "payments,applied_payments,line_items,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,company,employee,payment_term" - | "payments,applied_payments,line_items,company,payment_term" - | "payments,applied_payments,line_items,contact" - | "payments,applied_payments,line_items,contact,accounting_period" - | "payments,applied_payments,line_items,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,company" - | "payments,applied_payments,line_items,contact,company,accounting_period" - | "payments,applied_payments,line_items,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,company,employee" - | "payments,applied_payments,line_items,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,contact,company,payment_term" - | "payments,applied_payments,line_items,contact,employee" - | "payments,applied_payments,line_items,contact,employee,accounting_period" - | "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,employee,payment_term" - | "payments,applied_payments,line_items,contact,payment_term" - | "payments,applied_payments,line_items,employee" - | "payments,applied_payments,line_items,employee,accounting_period" - | "payments,applied_payments,line_items,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,employee,payment_term" - | "payments,applied_payments,line_items,payment_term" - | "payments,applied_payments,line_items,purchase_orders" - | "payments,applied_payments,line_items,purchase_orders,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company" - | "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company,employee" - | "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact" - | "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company" - | "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,employee" - | "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,payment_term" - | "payments,applied_payments,line_items,tracking_categories" - | "payments,applied_payments,line_items,tracking_categories,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company" - | "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company,employee" - | "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact" - | "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company" - | "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,employee" - | "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - | "payments,applied_payments,payment_term" - | "payments,applied_payments,purchase_orders" - | "payments,applied_payments,purchase_orders,accounting_period" - | "payments,applied_payments,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes" - | "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,purchase_orders,company" - | "payments,applied_payments,purchase_orders,company,accounting_period" - | "payments,applied_payments,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,company,employee" - | "payments,applied_payments,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,company,payment_term" - | "payments,applied_payments,purchase_orders,contact" - | "payments,applied_payments,purchase_orders,contact,accounting_period" - | "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,company" - | "payments,applied_payments,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,company,employee" - | "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,contact,employee" - | "payments,applied_payments,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,contact,payment_term" - | "payments,applied_payments,purchase_orders,employee" - | "payments,applied_payments,purchase_orders,employee,accounting_period" - | "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,employee,payment_term" - | "payments,applied_payments,purchase_orders,payment_term" - | "payments,applied_payments,tracking_categories" - | "payments,applied_payments,tracking_categories,accounting_period" - | "payments,applied_payments,tracking_categories,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes" - | "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,company" - | "payments,applied_payments,tracking_categories,company,accounting_period" - | "payments,applied_payments,tracking_categories,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,company,employee" - | "payments,applied_payments,tracking_categories,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,company,payment_term" - | "payments,applied_payments,tracking_categories,contact" - | "payments,applied_payments,tracking_categories,contact,accounting_period" - | "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,company" - | "payments,applied_payments,tracking_categories,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,company,employee" - | "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,contact,employee" - | "payments,applied_payments,tracking_categories,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,contact,payment_term" - | "payments,applied_payments,tracking_categories,employee" - | "payments,applied_payments,tracking_categories,employee,accounting_period" - | "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,employee,payment_term" - | "payments,applied_payments,tracking_categories,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders" - | "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company" - | "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,payment_term" - | "payments,applied_vendor_credits" - | "payments,applied_vendor_credits,accounting_period" - | "payments,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_vendor_credits,company" - | "payments,applied_vendor_credits,company,accounting_period" - | "payments,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_vendor_credits,company,employee" - | "payments,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_vendor_credits,company,payment_term" - | "payments,applied_vendor_credits,contact" - | "payments,applied_vendor_credits,contact,accounting_period" - | "payments,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,company" - | "payments,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,company,employee" - | "payments,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_vendor_credits,contact,employee" - | "payments,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_vendor_credits,contact,payment_term" - | "payments,applied_vendor_credits,employee" - | "payments,applied_vendor_credits,employee,accounting_period" - | "payments,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,employee,payment_term" - | "payments,applied_vendor_credits,payment_term" - | "payments,company" - | "payments,company,accounting_period" - | "payments,company,accounting_period,payment_term" - | "payments,company,employee" - | "payments,company,employee,accounting_period" - | "payments,company,employee,accounting_period,payment_term" - | "payments,company,employee,payment_term" - | "payments,company,payment_term" - | "payments,contact" - | "payments,contact,accounting_period" - | "payments,contact,accounting_period,payment_term" - | "payments,contact,company" - | "payments,contact,company,accounting_period" - | "payments,contact,company,accounting_period,payment_term" - | "payments,contact,company,employee" - | "payments,contact,company,employee,accounting_period" - | "payments,contact,company,employee,accounting_period,payment_term" - | "payments,contact,company,employee,payment_term" - | "payments,contact,company,payment_term" - | "payments,contact,employee" - | "payments,contact,employee,accounting_period" - | "payments,contact,employee,accounting_period,payment_term" - | "payments,contact,employee,payment_term" - | "payments,contact,payment_term" - | "payments,employee" - | "payments,employee,accounting_period" - | "payments,employee,accounting_period,payment_term" - | "payments,employee,payment_term" - | "payments,line_items" - | "payments,line_items,accounting_period" - | "payments,line_items,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes" - | "payments,line_items,applied_credit_notes,accounting_period" - | "payments,line_items,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,applied_credit_notes,company" - | "payments,line_items,applied_credit_notes,company,accounting_period" - | "payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,company,employee" - | "payments,line_items,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,company,payment_term" - | "payments,line_items,applied_credit_notes,contact" - | "payments,line_items,applied_credit_notes,contact,accounting_period" - | "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,company" - | "payments,line_items,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,company,employee" - | "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,applied_credit_notes,contact,employee" - | "payments,line_items,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,applied_credit_notes,contact,payment_term" - | "payments,line_items,applied_credit_notes,employee" - | "payments,line_items,applied_credit_notes,employee,accounting_period" - | "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,employee,payment_term" - | "payments,line_items,applied_credit_notes,payment_term" - | "payments,line_items,applied_vendor_credits" - | "payments,line_items,applied_vendor_credits,accounting_period" - | "payments,line_items,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,company" - | "payments,line_items,applied_vendor_credits,company,accounting_period" - | "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,company,employee" - | "payments,line_items,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,applied_vendor_credits,company,payment_term" - | "payments,line_items,applied_vendor_credits,contact" - | "payments,line_items,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company" - | "payments,line_items,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company,employee" - | "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,applied_vendor_credits,contact,employee" - | "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,applied_vendor_credits,contact,payment_term" - | "payments,line_items,applied_vendor_credits,employee" - | "payments,line_items,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,employee,payment_term" - | "payments,line_items,applied_vendor_credits,payment_term" - | "payments,line_items,company" - | "payments,line_items,company,accounting_period" - | "payments,line_items,company,accounting_period,payment_term" - | "payments,line_items,company,employee" - | "payments,line_items,company,employee,accounting_period" - | "payments,line_items,company,employee,accounting_period,payment_term" - | "payments,line_items,company,employee,payment_term" - | "payments,line_items,company,payment_term" - | "payments,line_items,contact" - | "payments,line_items,contact,accounting_period" - | "payments,line_items,contact,accounting_period,payment_term" - | "payments,line_items,contact,company" - | "payments,line_items,contact,company,accounting_period" - | "payments,line_items,contact,company,accounting_period,payment_term" - | "payments,line_items,contact,company,employee" - | "payments,line_items,contact,company,employee,accounting_period" - | "payments,line_items,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,contact,company,employee,payment_term" - | "payments,line_items,contact,company,payment_term" - | "payments,line_items,contact,employee" - | "payments,line_items,contact,employee,accounting_period" - | "payments,line_items,contact,employee,accounting_period,payment_term" - | "payments,line_items,contact,employee,payment_term" - | "payments,line_items,contact,payment_term" - | "payments,line_items,employee" - | "payments,line_items,employee,accounting_period" - | "payments,line_items,employee,accounting_period,payment_term" - | "payments,line_items,employee,payment_term" - | "payments,line_items,payment_term" - | "payments,line_items,purchase_orders" - | "payments,line_items,purchase_orders,accounting_period" - | "payments,line_items,purchase_orders,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes" - | "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company" - | "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits" - | "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - | "payments,line_items,purchase_orders,company" - | "payments,line_items,purchase_orders,company,accounting_period" - | "payments,line_items,purchase_orders,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,company,employee" - | "payments,line_items,purchase_orders,company,employee,accounting_period" - | "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,company,employee,payment_term" - | "payments,line_items,purchase_orders,company,payment_term" - | "payments,line_items,purchase_orders,contact" - | "payments,line_items,purchase_orders,contact,accounting_period" - | "payments,line_items,purchase_orders,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,company" - | "payments,line_items,purchase_orders,contact,company,accounting_period" - | "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,company,employee" - | "payments,line_items,purchase_orders,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,contact,company,payment_term" - | "payments,line_items,purchase_orders,contact,employee" - | "payments,line_items,purchase_orders,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,employee,payment_term" - | "payments,line_items,purchase_orders,contact,payment_term" - | "payments,line_items,purchase_orders,employee" - | "payments,line_items,purchase_orders,employee,accounting_period" - | "payments,line_items,purchase_orders,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,employee,payment_term" - | "payments,line_items,purchase_orders,payment_term" - | "payments,line_items,tracking_categories" - | "payments,line_items,tracking_categories,accounting_period" - | "payments,line_items,tracking_categories,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes" - | "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company" - | "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits" - | "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,company" - | "payments,line_items,tracking_categories,company,accounting_period" - | "payments,line_items,tracking_categories,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,company,employee" - | "payments,line_items,tracking_categories,company,employee,accounting_period" - | "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,company,employee,payment_term" - | "payments,line_items,tracking_categories,company,payment_term" - | "payments,line_items,tracking_categories,contact" - | "payments,line_items,tracking_categories,contact,accounting_period" - | "payments,line_items,tracking_categories,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,company" - | "payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,company,employee" - | "payments,line_items,tracking_categories,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,contact,company,payment_term" - | "payments,line_items,tracking_categories,contact,employee" - | "payments,line_items,tracking_categories,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,employee,payment_term" - | "payments,line_items,tracking_categories,contact,payment_term" - | "payments,line_items,tracking_categories,employee" - | "payments,line_items,tracking_categories,employee,accounting_period" - | "payments,line_items,tracking_categories,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,employee,payment_term" - | "payments,line_items,tracking_categories,payment_term" - | "payments,line_items,tracking_categories,purchase_orders" - | "payments,line_items,tracking_categories,purchase_orders,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company" - | "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact" - | "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,employee" - | "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,payment_term" - | "payments,payment_term" - | "payments,purchase_orders" - | "payments,purchase_orders,accounting_period" - | "payments,purchase_orders,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes" - | "payments,purchase_orders,applied_credit_notes,accounting_period" - | "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,purchase_orders,applied_credit_notes,company" - | "payments,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,company,employee" - | "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact" - | "payments,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company" - | "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,employee" - | "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,purchase_orders,applied_credit_notes,employee" - | "payments,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,payment_term" - | "payments,purchase_orders,applied_vendor_credits" - | "payments,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company" - | "payments,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company,employee" - | "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact" - | "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company" - | "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,purchase_orders,applied_vendor_credits,employee" - | "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,payment_term" - | "payments,purchase_orders,company" - | "payments,purchase_orders,company,accounting_period" - | "payments,purchase_orders,company,accounting_period,payment_term" - | "payments,purchase_orders,company,employee" - | "payments,purchase_orders,company,employee,accounting_period" - | "payments,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,company,employee,payment_term" - | "payments,purchase_orders,company,payment_term" - | "payments,purchase_orders,contact" - | "payments,purchase_orders,contact,accounting_period" - | "payments,purchase_orders,contact,accounting_period,payment_term" - | "payments,purchase_orders,contact,company" - | "payments,purchase_orders,contact,company,accounting_period" - | "payments,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,contact,company,employee" - | "payments,purchase_orders,contact,company,employee,accounting_period" - | "payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,contact,company,employee,payment_term" - | "payments,purchase_orders,contact,company,payment_term" - | "payments,purchase_orders,contact,employee" - | "payments,purchase_orders,contact,employee,accounting_period" - | "payments,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,contact,employee,payment_term" - | "payments,purchase_orders,contact,payment_term" - | "payments,purchase_orders,employee" - | "payments,purchase_orders,employee,accounting_period" - | "payments,purchase_orders,employee,accounting_period,payment_term" - | "payments,purchase_orders,employee,payment_term" - | "payments,purchase_orders,payment_term" - | "payments,tracking_categories" - | "payments,tracking_categories,accounting_period" - | "payments,tracking_categories,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes" - | "payments,tracking_categories,applied_credit_notes,accounting_period" - | "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,tracking_categories,applied_credit_notes,company" - | "payments,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,company,employee" - | "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact" - | "payments,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company" - | "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,employee" - | "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,tracking_categories,applied_credit_notes,employee" - | "payments,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,payment_term" - | "payments,tracking_categories,applied_vendor_credits" - | "payments,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company" - | "payments,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company,employee" - | "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact" - | "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company" - | "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,applied_vendor_credits,employee" - | "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,payment_term" - | "payments,tracking_categories,company" - | "payments,tracking_categories,company,accounting_period" - | "payments,tracking_categories,company,accounting_period,payment_term" - | "payments,tracking_categories,company,employee" - | "payments,tracking_categories,company,employee,accounting_period" - | "payments,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,company,employee,payment_term" - | "payments,tracking_categories,company,payment_term" - | "payments,tracking_categories,contact" - | "payments,tracking_categories,contact,accounting_period" - | "payments,tracking_categories,contact,accounting_period,payment_term" - | "payments,tracking_categories,contact,company" - | "payments,tracking_categories,contact,company,accounting_period" - | "payments,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,contact,company,employee" - | "payments,tracking_categories,contact,company,employee,accounting_period" - | "payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,contact,company,employee,payment_term" - | "payments,tracking_categories,contact,company,payment_term" - | "payments,tracking_categories,contact,employee" - | "payments,tracking_categories,contact,employee,accounting_period" - | "payments,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,contact,employee,payment_term" - | "payments,tracking_categories,contact,payment_term" - | "payments,tracking_categories,employee" - | "payments,tracking_categories,employee,accounting_period" - | "payments,tracking_categories,employee,accounting_period,payment_term" - | "payments,tracking_categories,employee,payment_term" - | "payments,tracking_categories,payment_term" - | "payments,tracking_categories,purchase_orders" - | "payments,tracking_categories,purchase_orders,accounting_period" - | "payments,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,tracking_categories,purchase_orders,company" - | "payments,tracking_categories,purchase_orders,company,accounting_period" - | "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,company,employee" - | "payments,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,company,payment_term" - | "payments,tracking_categories,purchase_orders,contact" - | "payments,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company" - | "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company,employee" - | "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,contact,employee" - | "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,contact,payment_term" - | "payments,tracking_categories,purchase_orders,employee" - | "payments,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,employee,payment_term" - | "payments,tracking_categories,purchase_orders,payment_term" - | "purchase_orders" - | "purchase_orders,accounting_period" - | "purchase_orders,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes" - | "purchase_orders,applied_credit_notes,accounting_period" - | "purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "purchase_orders,applied_credit_notes,company" - | "purchase_orders,applied_credit_notes,company,accounting_period" - | "purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,company,employee" - | "purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,company,payment_term" - | "purchase_orders,applied_credit_notes,contact" - | "purchase_orders,applied_credit_notes,contact,accounting_period" - | "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,company" - | "purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,company,employee" - | "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,contact,company,payment_term" - | "purchase_orders,applied_credit_notes,contact,employee" - | "purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "purchase_orders,applied_credit_notes,contact,payment_term" - | "purchase_orders,applied_credit_notes,employee" - | "purchase_orders,applied_credit_notes,employee,accounting_period" - | "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,employee,payment_term" - | "purchase_orders,applied_credit_notes,payment_term" - | "purchase_orders,applied_vendor_credits" - | "purchase_orders,applied_vendor_credits,accounting_period" - | "purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,company" - | "purchase_orders,applied_vendor_credits,company,accounting_period" - | "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,company,employee" - | "purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "purchase_orders,applied_vendor_credits,company,payment_term" - | "purchase_orders,applied_vendor_credits,contact" - | "purchase_orders,applied_vendor_credits,contact,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company" - | "purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company,employee" - | "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "purchase_orders,applied_vendor_credits,contact,employee" - | "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "purchase_orders,applied_vendor_credits,contact,payment_term" - | "purchase_orders,applied_vendor_credits,employee" - | "purchase_orders,applied_vendor_credits,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,employee,payment_term" - | "purchase_orders,applied_vendor_credits,payment_term" - | "purchase_orders,company" - | "purchase_orders,company,accounting_period" - | "purchase_orders,company,accounting_period,payment_term" - | "purchase_orders,company,employee" - | "purchase_orders,company,employee,accounting_period" - | "purchase_orders,company,employee,accounting_period,payment_term" - | "purchase_orders,company,employee,payment_term" - | "purchase_orders,company,payment_term" - | "purchase_orders,contact" - | "purchase_orders,contact,accounting_period" - | "purchase_orders,contact,accounting_period,payment_term" - | "purchase_orders,contact,company" - | "purchase_orders,contact,company,accounting_period" - | "purchase_orders,contact,company,accounting_period,payment_term" - | "purchase_orders,contact,company,employee" - | "purchase_orders,contact,company,employee,accounting_period" - | "purchase_orders,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,contact,company,employee,payment_term" - | "purchase_orders,contact,company,payment_term" - | "purchase_orders,contact,employee" - | "purchase_orders,contact,employee,accounting_period" - | "purchase_orders,contact,employee,accounting_period,payment_term" - | "purchase_orders,contact,employee,payment_term" - | "purchase_orders,contact,payment_term" - | "purchase_orders,employee" - | "purchase_orders,employee,accounting_period" - | "purchase_orders,employee,accounting_period,payment_term" - | "purchase_orders,employee,payment_term" - | "purchase_orders,payment_term" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes" - | "tracking_categories,applied_credit_notes,accounting_period" - | "tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "tracking_categories,applied_credit_notes,company" - | "tracking_categories,applied_credit_notes,company,accounting_period" - | "tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,company,employee" - | "tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,company,payment_term" - | "tracking_categories,applied_credit_notes,contact" - | "tracking_categories,applied_credit_notes,contact,accounting_period" - | "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,company" - | "tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,company,employee" - | "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,contact,company,payment_term" - | "tracking_categories,applied_credit_notes,contact,employee" - | "tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "tracking_categories,applied_credit_notes,contact,payment_term" - | "tracking_categories,applied_credit_notes,employee" - | "tracking_categories,applied_credit_notes,employee,accounting_period" - | "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,employee,payment_term" - | "tracking_categories,applied_credit_notes,payment_term" - | "tracking_categories,applied_vendor_credits" - | "tracking_categories,applied_vendor_credits,accounting_period" - | "tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,company" - | "tracking_categories,applied_vendor_credits,company,accounting_period" - | "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,company,employee" - | "tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,applied_vendor_credits,company,payment_term" - | "tracking_categories,applied_vendor_credits,contact" - | "tracking_categories,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company" - | "tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company,employee" - | "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,applied_vendor_credits,contact,employee" - | "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,applied_vendor_credits,contact,payment_term" - | "tracking_categories,applied_vendor_credits,employee" - | "tracking_categories,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,employee,payment_term" - | "tracking_categories,applied_vendor_credits,payment_term" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,accounting_period,payment_term" - | "tracking_categories,company,employee" - | "tracking_categories,company,employee,accounting_period" - | "tracking_categories,company,employee,accounting_period,payment_term" - | "tracking_categories,company,employee,payment_term" - | "tracking_categories,company,payment_term" - | "tracking_categories,contact" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,accounting_period,payment_term" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period" - | "tracking_categories,contact,company,accounting_period,payment_term" - | "tracking_categories,contact,company,employee" - | "tracking_categories,contact,company,employee,accounting_period" - | "tracking_categories,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,contact,company,employee,payment_term" - | "tracking_categories,contact,company,payment_term" - | "tracking_categories,contact,employee" - | "tracking_categories,contact,employee,accounting_period" - | "tracking_categories,contact,employee,accounting_period,payment_term" - | "tracking_categories,contact,employee,payment_term" - | "tracking_categories,contact,payment_term" - | "tracking_categories,employee" - | "tracking_categories,employee,accounting_period" - | "tracking_categories,employee,accounting_period,payment_term" - | "tracking_categories,employee,payment_term" - | "tracking_categories,payment_term" - | "tracking_categories,purchase_orders" - | "tracking_categories,purchase_orders,accounting_period" - | "tracking_categories,purchase_orders,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes" - | "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company" - | "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits" - | "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "tracking_categories,purchase_orders,company" - | "tracking_categories,purchase_orders,company,accounting_period" - | "tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,company,employee" - | "tracking_categories,purchase_orders,company,employee,accounting_period" - | "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,company,employee,payment_term" - | "tracking_categories,purchase_orders,company,payment_term" - | "tracking_categories,purchase_orders,contact" - | "tracking_categories,purchase_orders,contact,accounting_period" - | "tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,company" - | "tracking_categories,purchase_orders,contact,company,accounting_period" - | "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,company,employee" - | "tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,contact,company,payment_term" - | "tracking_categories,purchase_orders,contact,employee" - | "tracking_categories,purchase_orders,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,employee,payment_term" - | "tracking_categories,purchase_orders,contact,payment_term" - | "tracking_categories,purchase_orders,employee" - | "tracking_categories,purchase_orders,employee,accounting_period" - | "tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,employee,payment_term" - | "tracking_categories,purchase_orders,payment_term"; -} diff --git a/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts new file mode 100644 index 000000000..d620c9fe7 --- /dev/null +++ b/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts @@ -0,0 +1,39 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const InvoicesListRequestExpandItem: core.serialization.Schema< + serializers.accounting.InvoicesListRequestExpandItem.Raw, + Merge.accounting.InvoicesListRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "applied_credit_notes", + "applied_payments", + "applied_vendor_credits", + "company", + "contact", + "employee", + "line_items", + "payment_term", + "payments", + "purchase_orders", + "tracking_categories", +]); + +export declare namespace InvoicesListRequestExpandItem { + export type Raw = + | "accounting_period" + | "applied_credit_notes" + | "applied_payments" + | "applied_vendor_credits" + | "company" + | "contact" + | "employee" + | "line_items" + | "payment_term" + | "payments" + | "purchase_orders" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts deleted file mode 100644 index bb017ee28..000000000 --- a/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts +++ /dev/null @@ -1,8205 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const InvoicesRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.InvoicesRetrieveRequestExpand.Raw, - Merge.accounting.InvoicesRetrieveRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "accounting_period,payment_term", - "applied_credit_notes", - "applied_credit_notes,accounting_period", - "applied_credit_notes,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits", - "applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,company", - "applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,company,employee", - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_credit_notes,applied_vendor_credits,contact", - "applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company", - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_credit_notes,applied_vendor_credits,employee", - "applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_credit_notes,applied_vendor_credits,payment_term", - "applied_credit_notes,company", - "applied_credit_notes,company,accounting_period", - "applied_credit_notes,company,accounting_period,payment_term", - "applied_credit_notes,company,employee", - "applied_credit_notes,company,employee,accounting_period", - "applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_credit_notes,company,employee,payment_term", - "applied_credit_notes,company,payment_term", - "applied_credit_notes,contact", - "applied_credit_notes,contact,accounting_period", - "applied_credit_notes,contact,accounting_period,payment_term", - "applied_credit_notes,contact,company", - "applied_credit_notes,contact,company,accounting_period", - "applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_credit_notes,contact,company,employee", - "applied_credit_notes,contact,company,employee,accounting_period", - "applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_credit_notes,contact,company,employee,payment_term", - "applied_credit_notes,contact,company,payment_term", - "applied_credit_notes,contact,employee", - "applied_credit_notes,contact,employee,accounting_period", - "applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_credit_notes,contact,employee,payment_term", - "applied_credit_notes,contact,payment_term", - "applied_credit_notes,employee", - "applied_credit_notes,employee,accounting_period", - "applied_credit_notes,employee,accounting_period,payment_term", - "applied_credit_notes,employee,payment_term", - "applied_credit_notes,payment_term", - "applied_payments", - "applied_payments,accounting_period", - "applied_payments,accounting_period,payment_term", - "applied_payments,applied_credit_notes", - "applied_payments,applied_credit_notes,accounting_period", - "applied_payments,applied_credit_notes,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits", - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,applied_credit_notes,company", - "applied_payments,applied_credit_notes,company,accounting_period", - "applied_payments,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,company,employee", - "applied_payments,applied_credit_notes,company,employee,accounting_period", - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,company,employee,payment_term", - "applied_payments,applied_credit_notes,company,payment_term", - "applied_payments,applied_credit_notes,contact", - "applied_payments,applied_credit_notes,contact,accounting_period", - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,company", - "applied_payments,applied_credit_notes,contact,company,accounting_period", - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,company,employee", - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,applied_credit_notes,contact,company,payment_term", - "applied_payments,applied_credit_notes,contact,employee", - "applied_payments,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,contact,employee,payment_term", - "applied_payments,applied_credit_notes,contact,payment_term", - "applied_payments,applied_credit_notes,employee", - "applied_payments,applied_credit_notes,employee,accounting_period", - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,applied_credit_notes,employee,payment_term", - "applied_payments,applied_credit_notes,payment_term", - "applied_payments,applied_vendor_credits", - "applied_payments,applied_vendor_credits,accounting_period", - "applied_payments,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,company", - "applied_payments,applied_vendor_credits,company,accounting_period", - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,company,employee", - "applied_payments,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,company,employee,payment_term", - "applied_payments,applied_vendor_credits,company,payment_term", - "applied_payments,applied_vendor_credits,contact", - "applied_payments,applied_vendor_credits,contact,accounting_period", - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,company", - "applied_payments,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,company,employee", - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,applied_vendor_credits,contact,company,payment_term", - "applied_payments,applied_vendor_credits,contact,employee", - "applied_payments,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,applied_vendor_credits,contact,payment_term", - "applied_payments,applied_vendor_credits,employee", - "applied_payments,applied_vendor_credits,employee,accounting_period", - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,applied_vendor_credits,employee,payment_term", - "applied_payments,applied_vendor_credits,payment_term", - "applied_payments,company", - "applied_payments,company,accounting_period", - "applied_payments,company,accounting_period,payment_term", - "applied_payments,company,employee", - "applied_payments,company,employee,accounting_period", - "applied_payments,company,employee,accounting_period,payment_term", - "applied_payments,company,employee,payment_term", - "applied_payments,company,payment_term", - "applied_payments,contact", - "applied_payments,contact,accounting_period", - "applied_payments,contact,accounting_period,payment_term", - "applied_payments,contact,company", - "applied_payments,contact,company,accounting_period", - "applied_payments,contact,company,accounting_period,payment_term", - "applied_payments,contact,company,employee", - "applied_payments,contact,company,employee,accounting_period", - "applied_payments,contact,company,employee,accounting_period,payment_term", - "applied_payments,contact,company,employee,payment_term", - "applied_payments,contact,company,payment_term", - "applied_payments,contact,employee", - "applied_payments,contact,employee,accounting_period", - "applied_payments,contact,employee,accounting_period,payment_term", - "applied_payments,contact,employee,payment_term", - "applied_payments,contact,payment_term", - "applied_payments,employee", - "applied_payments,employee,accounting_period", - "applied_payments,employee,accounting_period,payment_term", - "applied_payments,employee,payment_term", - "applied_payments,line_items", - "applied_payments,line_items,accounting_period", - "applied_payments,line_items,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes", - "applied_payments,line_items,applied_credit_notes,accounting_period", - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,applied_credit_notes,company", - "applied_payments,line_items,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,company,employee", - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,company,payment_term", - "applied_payments,line_items,applied_credit_notes,contact", - "applied_payments,line_items,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company", - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,employee", - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,applied_credit_notes,employee", - "applied_payments,line_items,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,applied_credit_notes,payment_term", - "applied_payments,line_items,applied_vendor_credits", - "applied_payments,line_items,applied_vendor_credits,accounting_period", - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,company", - "applied_payments,line_items,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,company,employee", - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact", - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company", - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,employee", - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,applied_vendor_credits,employee", - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,applied_vendor_credits,payment_term", - "applied_payments,line_items,company", - "applied_payments,line_items,company,accounting_period", - "applied_payments,line_items,company,accounting_period,payment_term", - "applied_payments,line_items,company,employee", - "applied_payments,line_items,company,employee,accounting_period", - "applied_payments,line_items,company,employee,accounting_period,payment_term", - "applied_payments,line_items,company,employee,payment_term", - "applied_payments,line_items,company,payment_term", - "applied_payments,line_items,contact", - "applied_payments,line_items,contact,accounting_period", - "applied_payments,line_items,contact,accounting_period,payment_term", - "applied_payments,line_items,contact,company", - "applied_payments,line_items,contact,company,accounting_period", - "applied_payments,line_items,contact,company,accounting_period,payment_term", - "applied_payments,line_items,contact,company,employee", - "applied_payments,line_items,contact,company,employee,accounting_period", - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,contact,company,employee,payment_term", - "applied_payments,line_items,contact,company,payment_term", - "applied_payments,line_items,contact,employee", - "applied_payments,line_items,contact,employee,accounting_period", - "applied_payments,line_items,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,contact,employee,payment_term", - "applied_payments,line_items,contact,payment_term", - "applied_payments,line_items,employee", - "applied_payments,line_items,employee,accounting_period", - "applied_payments,line_items,employee,accounting_period,payment_term", - "applied_payments,line_items,employee,payment_term", - "applied_payments,line_items,payment_term", - "applied_payments,line_items,purchase_orders", - "applied_payments,line_items,purchase_orders,accounting_period", - "applied_payments,line_items,purchase_orders,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes", - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,line_items,purchase_orders,company", - "applied_payments,line_items,purchase_orders,company,accounting_period", - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,company,employee", - "applied_payments,line_items,purchase_orders,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,company,payment_term", - "applied_payments,line_items,purchase_orders,contact", - "applied_payments,line_items,purchase_orders,contact,accounting_period", - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,company", - "applied_payments,line_items,purchase_orders,contact,company,accounting_period", - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,company,employee", - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - "applied_payments,line_items,purchase_orders,contact,company,payment_term", - "applied_payments,line_items,purchase_orders,contact,employee", - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,contact,employee,payment_term", - "applied_payments,line_items,purchase_orders,contact,payment_term", - "applied_payments,line_items,purchase_orders,employee", - "applied_payments,line_items,purchase_orders,employee,accounting_period", - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,line_items,purchase_orders,employee,payment_term", - "applied_payments,line_items,purchase_orders,payment_term", - "applied_payments,line_items,tracking_categories", - "applied_payments,line_items,tracking_categories,accounting_period", - "applied_payments,line_items,tracking_categories,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes", - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,company", - "applied_payments,line_items,tracking_categories,company,accounting_period", - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,company,employee", - "applied_payments,line_items,tracking_categories,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,company,payment_term", - "applied_payments,line_items,tracking_categories,contact", - "applied_payments,line_items,tracking_categories,contact,accounting_period", - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,company", - "applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,company,employee", - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,contact,employee", - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,contact,payment_term", - "applied_payments,line_items,tracking_categories,employee", - "applied_payments,line_items,tracking_categories,employee,accounting_period", - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,employee,payment_term", - "applied_payments,line_items,tracking_categories,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders", - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company", - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,employee", - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - "applied_payments,payment_term", - "applied_payments,purchase_orders", - "applied_payments,purchase_orders,accounting_period", - "applied_payments,purchase_orders,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes", - "applied_payments,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company", - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact", - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,employee", - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits", - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company", - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact", - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,employee", - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,purchase_orders,company", - "applied_payments,purchase_orders,company,accounting_period", - "applied_payments,purchase_orders,company,accounting_period,payment_term", - "applied_payments,purchase_orders,company,employee", - "applied_payments,purchase_orders,company,employee,accounting_period", - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,company,employee,payment_term", - "applied_payments,purchase_orders,company,payment_term", - "applied_payments,purchase_orders,contact", - "applied_payments,purchase_orders,contact,accounting_period", - "applied_payments,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,company", - "applied_payments,purchase_orders,contact,company,accounting_period", - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,company,employee", - "applied_payments,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,company,employee,payment_term", - "applied_payments,purchase_orders,contact,company,payment_term", - "applied_payments,purchase_orders,contact,employee", - "applied_payments,purchase_orders,contact,employee,accounting_period", - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,contact,employee,payment_term", - "applied_payments,purchase_orders,contact,payment_term", - "applied_payments,purchase_orders,employee", - "applied_payments,purchase_orders,employee,accounting_period", - "applied_payments,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,purchase_orders,employee,payment_term", - "applied_payments,purchase_orders,payment_term", - "applied_payments,tracking_categories", - "applied_payments,tracking_categories,accounting_period", - "applied_payments,tracking_categories,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes", - "applied_payments,tracking_categories,applied_credit_notes,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company", - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact", - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,employee", - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - "applied_payments,tracking_categories,applied_credit_notes,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits", - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company", - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact", - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,employee", - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,company", - "applied_payments,tracking_categories,company,accounting_period", - "applied_payments,tracking_categories,company,accounting_period,payment_term", - "applied_payments,tracking_categories,company,employee", - "applied_payments,tracking_categories,company,employee,accounting_period", - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,company,employee,payment_term", - "applied_payments,tracking_categories,company,payment_term", - "applied_payments,tracking_categories,contact", - "applied_payments,tracking_categories,contact,accounting_period", - "applied_payments,tracking_categories,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,company", - "applied_payments,tracking_categories,contact,company,accounting_period", - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,company,employee", - "applied_payments,tracking_categories,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,company,employee,payment_term", - "applied_payments,tracking_categories,contact,company,payment_term", - "applied_payments,tracking_categories,contact,employee", - "applied_payments,tracking_categories,contact,employee,accounting_period", - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,contact,employee,payment_term", - "applied_payments,tracking_categories,contact,payment_term", - "applied_payments,tracking_categories,employee", - "applied_payments,tracking_categories,employee,accounting_period", - "applied_payments,tracking_categories,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,employee,payment_term", - "applied_payments,tracking_categories,payment_term", - "applied_payments,tracking_categories,purchase_orders", - "applied_payments,tracking_categories,purchase_orders,accounting_period", - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "applied_payments,tracking_categories,purchase_orders,company", - "applied_payments,tracking_categories,purchase_orders,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,company,employee", - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact", - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company", - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,employee", - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,contact,payment_term", - "applied_payments,tracking_categories,purchase_orders,employee", - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "applied_payments,tracking_categories,purchase_orders,employee,payment_term", - "applied_payments,tracking_categories,purchase_orders,payment_term", - "applied_vendor_credits", - "applied_vendor_credits,accounting_period", - "applied_vendor_credits,accounting_period,payment_term", - "applied_vendor_credits,company", - "applied_vendor_credits,company,accounting_period", - "applied_vendor_credits,company,accounting_period,payment_term", - "applied_vendor_credits,company,employee", - "applied_vendor_credits,company,employee,accounting_period", - "applied_vendor_credits,company,employee,accounting_period,payment_term", - "applied_vendor_credits,company,employee,payment_term", - "applied_vendor_credits,company,payment_term", - "applied_vendor_credits,contact", - "applied_vendor_credits,contact,accounting_period", - "applied_vendor_credits,contact,accounting_period,payment_term", - "applied_vendor_credits,contact,company", - "applied_vendor_credits,contact,company,accounting_period", - "applied_vendor_credits,contact,company,accounting_period,payment_term", - "applied_vendor_credits,contact,company,employee", - "applied_vendor_credits,contact,company,employee,accounting_period", - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "applied_vendor_credits,contact,company,employee,payment_term", - "applied_vendor_credits,contact,company,payment_term", - "applied_vendor_credits,contact,employee", - "applied_vendor_credits,contact,employee,accounting_period", - "applied_vendor_credits,contact,employee,accounting_period,payment_term", - "applied_vendor_credits,contact,employee,payment_term", - "applied_vendor_credits,contact,payment_term", - "applied_vendor_credits,employee", - "applied_vendor_credits,employee,accounting_period", - "applied_vendor_credits,employee,accounting_period,payment_term", - "applied_vendor_credits,employee,payment_term", - "applied_vendor_credits,payment_term", - "company", - "company,accounting_period", - "company,accounting_period,payment_term", - "company,employee", - "company,employee,accounting_period", - "company,employee,accounting_period,payment_term", - "company,employee,payment_term", - "company,payment_term", - "contact", - "contact,accounting_period", - "contact,accounting_period,payment_term", - "contact,company", - "contact,company,accounting_period", - "contact,company,accounting_period,payment_term", - "contact,company,employee", - "contact,company,employee,accounting_period", - "contact,company,employee,accounting_period,payment_term", - "contact,company,employee,payment_term", - "contact,company,payment_term", - "contact,employee", - "contact,employee,accounting_period", - "contact,employee,accounting_period,payment_term", - "contact,employee,payment_term", - "contact,payment_term", - "employee", - "employee,accounting_period", - "employee,accounting_period,payment_term", - "employee,payment_term", - "line_items", - "line_items,accounting_period", - "line_items,accounting_period,payment_term", - "line_items,applied_credit_notes", - "line_items,applied_credit_notes,accounting_period", - "line_items,applied_credit_notes,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits", - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company", - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact", - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,employee", - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,applied_credit_notes,company", - "line_items,applied_credit_notes,company,accounting_period", - "line_items,applied_credit_notes,company,accounting_period,payment_term", - "line_items,applied_credit_notes,company,employee", - "line_items,applied_credit_notes,company,employee,accounting_period", - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,company,employee,payment_term", - "line_items,applied_credit_notes,company,payment_term", - "line_items,applied_credit_notes,contact", - "line_items,applied_credit_notes,contact,accounting_period", - "line_items,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,company", - "line_items,applied_credit_notes,contact,company,accounting_period", - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,company,employee", - "line_items,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,company,employee,payment_term", - "line_items,applied_credit_notes,contact,company,payment_term", - "line_items,applied_credit_notes,contact,employee", - "line_items,applied_credit_notes,contact,employee,accounting_period", - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,contact,employee,payment_term", - "line_items,applied_credit_notes,contact,payment_term", - "line_items,applied_credit_notes,employee", - "line_items,applied_credit_notes,employee,accounting_period", - "line_items,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,applied_credit_notes,employee,payment_term", - "line_items,applied_credit_notes,payment_term", - "line_items,applied_vendor_credits", - "line_items,applied_vendor_credits,accounting_period", - "line_items,applied_vendor_credits,accounting_period,payment_term", - "line_items,applied_vendor_credits,company", - "line_items,applied_vendor_credits,company,accounting_period", - "line_items,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,applied_vendor_credits,company,employee", - "line_items,applied_vendor_credits,company,employee,accounting_period", - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,company,employee,payment_term", - "line_items,applied_vendor_credits,company,payment_term", - "line_items,applied_vendor_credits,contact", - "line_items,applied_vendor_credits,contact,accounting_period", - "line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,company", - "line_items,applied_vendor_credits,contact,company,accounting_period", - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,company,employee", - "line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,applied_vendor_credits,contact,company,payment_term", - "line_items,applied_vendor_credits,contact,employee", - "line_items,applied_vendor_credits,contact,employee,accounting_period", - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,contact,employee,payment_term", - "line_items,applied_vendor_credits,contact,payment_term", - "line_items,applied_vendor_credits,employee", - "line_items,applied_vendor_credits,employee,accounting_period", - "line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,applied_vendor_credits,employee,payment_term", - "line_items,applied_vendor_credits,payment_term", - "line_items,company", - "line_items,company,accounting_period", - "line_items,company,accounting_period,payment_term", - "line_items,company,employee", - "line_items,company,employee,accounting_period", - "line_items,company,employee,accounting_period,payment_term", - "line_items,company,employee,payment_term", - "line_items,company,payment_term", - "line_items,contact", - "line_items,contact,accounting_period", - "line_items,contact,accounting_period,payment_term", - "line_items,contact,company", - "line_items,contact,company,accounting_period", - "line_items,contact,company,accounting_period,payment_term", - "line_items,contact,company,employee", - "line_items,contact,company,employee,accounting_period", - "line_items,contact,company,employee,accounting_period,payment_term", - "line_items,contact,company,employee,payment_term", - "line_items,contact,company,payment_term", - "line_items,contact,employee", - "line_items,contact,employee,accounting_period", - "line_items,contact,employee,accounting_period,payment_term", - "line_items,contact,employee,payment_term", - "line_items,contact,payment_term", - "line_items,employee", - "line_items,employee,accounting_period", - "line_items,employee,accounting_period,payment_term", - "line_items,employee,payment_term", - "line_items,payment_term", - "line_items,purchase_orders", - "line_items,purchase_orders,accounting_period", - "line_items,purchase_orders,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes", - "line_items,purchase_orders,applied_credit_notes,accounting_period", - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,purchase_orders,applied_credit_notes,company", - "line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,company,employee", - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact", - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company", - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,employee", - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "line_items,purchase_orders,applied_credit_notes,employee", - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "line_items,purchase_orders,applied_credit_notes,payment_term", - "line_items,purchase_orders,applied_vendor_credits", - "line_items,purchase_orders,applied_vendor_credits,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company", - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company,employee", - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact", - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company", - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,employee", - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "line_items,purchase_orders,applied_vendor_credits,employee", - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "line_items,purchase_orders,applied_vendor_credits,payment_term", - "line_items,purchase_orders,company", - "line_items,purchase_orders,company,accounting_period", - "line_items,purchase_orders,company,accounting_period,payment_term", - "line_items,purchase_orders,company,employee", - "line_items,purchase_orders,company,employee,accounting_period", - "line_items,purchase_orders,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,company,employee,payment_term", - "line_items,purchase_orders,company,payment_term", - "line_items,purchase_orders,contact", - "line_items,purchase_orders,contact,accounting_period", - "line_items,purchase_orders,contact,accounting_period,payment_term", - "line_items,purchase_orders,contact,company", - "line_items,purchase_orders,contact,company,accounting_period", - "line_items,purchase_orders,contact,company,accounting_period,payment_term", - "line_items,purchase_orders,contact,company,employee", - "line_items,purchase_orders,contact,company,employee,accounting_period", - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "line_items,purchase_orders,contact,company,employee,payment_term", - "line_items,purchase_orders,contact,company,payment_term", - "line_items,purchase_orders,contact,employee", - "line_items,purchase_orders,contact,employee,accounting_period", - "line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "line_items,purchase_orders,contact,employee,payment_term", - "line_items,purchase_orders,contact,payment_term", - "line_items,purchase_orders,employee", - "line_items,purchase_orders,employee,accounting_period", - "line_items,purchase_orders,employee,accounting_period,payment_term", - "line_items,purchase_orders,employee,payment_term", - "line_items,purchase_orders,payment_term", - "line_items,tracking_categories", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes", - "line_items,tracking_categories,applied_credit_notes,accounting_period", - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,tracking_categories,applied_credit_notes,company", - "line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,company,employee", - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact", - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company", - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,employee", - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "line_items,tracking_categories,applied_credit_notes,employee", - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "line_items,tracking_categories,applied_credit_notes,payment_term", - "line_items,tracking_categories,applied_vendor_credits", - "line_items,tracking_categories,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company", - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company,employee", - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact", - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company", - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,applied_vendor_credits,employee", - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,applied_vendor_credits,payment_term", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,company,accounting_period,payment_term", - "line_items,tracking_categories,company,employee", - "line_items,tracking_categories,company,employee,accounting_period", - "line_items,tracking_categories,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,company,employee,payment_term", - "line_items,tracking_categories,company,payment_term", - "line_items,tracking_categories,contact", - "line_items,tracking_categories,contact,accounting_period", - "line_items,tracking_categories,contact,accounting_period,payment_term", - "line_items,tracking_categories,contact,company", - "line_items,tracking_categories,contact,company,accounting_period", - "line_items,tracking_categories,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,contact,company,employee", - "line_items,tracking_categories,contact,company,employee,accounting_period", - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,contact,company,employee,payment_term", - "line_items,tracking_categories,contact,company,payment_term", - "line_items,tracking_categories,contact,employee", - "line_items,tracking_categories,contact,employee,accounting_period", - "line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,contact,employee,payment_term", - "line_items,tracking_categories,contact,payment_term", - "line_items,tracking_categories,employee", - "line_items,tracking_categories,employee,accounting_period", - "line_items,tracking_categories,employee,accounting_period,payment_term", - "line_items,tracking_categories,employee,payment_term", - "line_items,tracking_categories,payment_term", - "line_items,tracking_categories,purchase_orders", - "line_items,tracking_categories,purchase_orders,accounting_period", - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "line_items,tracking_categories,purchase_orders,company", - "line_items,tracking_categories,purchase_orders,company,accounting_period", - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,company,employee", - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,company,payment_term", - "line_items,tracking_categories,purchase_orders,contact", - "line_items,tracking_categories,purchase_orders,contact,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company", - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company,employee", - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "line_items,tracking_categories,purchase_orders,contact,employee", - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "line_items,tracking_categories,purchase_orders,contact,payment_term", - "line_items,tracking_categories,purchase_orders,employee", - "line_items,tracking_categories,purchase_orders,employee,accounting_period", - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "line_items,tracking_categories,purchase_orders,employee,payment_term", - "line_items,tracking_categories,purchase_orders,payment_term", - "payment_term", - "payments", - "payments,accounting_period", - "payments,accounting_period,payment_term", - "payments,applied_credit_notes", - "payments,applied_credit_notes,accounting_period", - "payments,applied_credit_notes,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits", - "payments,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_credit_notes,company", - "payments,applied_credit_notes,company,accounting_period", - "payments,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_credit_notes,company,employee", - "payments,applied_credit_notes,company,employee,accounting_period", - "payments,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,company,employee,payment_term", - "payments,applied_credit_notes,company,payment_term", - "payments,applied_credit_notes,contact", - "payments,applied_credit_notes,contact,accounting_period", - "payments,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_credit_notes,contact,company", - "payments,applied_credit_notes,contact,company,accounting_period", - "payments,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_credit_notes,contact,company,employee", - "payments,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_credit_notes,contact,company,payment_term", - "payments,applied_credit_notes,contact,employee", - "payments,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_credit_notes,contact,employee,payment_term", - "payments,applied_credit_notes,contact,payment_term", - "payments,applied_credit_notes,employee", - "payments,applied_credit_notes,employee,accounting_period", - "payments,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_credit_notes,employee,payment_term", - "payments,applied_credit_notes,payment_term", - "payments,applied_payments", - "payments,applied_payments,accounting_period", - "payments,applied_payments,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes", - "payments,applied_payments,applied_credit_notes,accounting_period", - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,applied_credit_notes,company", - "payments,applied_payments,applied_credit_notes,company,accounting_period", - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,company,employee", - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,company,payment_term", - "payments,applied_payments,applied_credit_notes,contact", - "payments,applied_payments,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company", - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company,employee", - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,applied_credit_notes,contact,employee", - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,applied_credit_notes,contact,payment_term", - "payments,applied_payments,applied_credit_notes,employee", - "payments,applied_payments,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,applied_credit_notes,employee,payment_term", - "payments,applied_payments,applied_credit_notes,payment_term", - "payments,applied_payments,applied_vendor_credits", - "payments,applied_payments,applied_vendor_credits,accounting_period", - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,company", - "payments,applied_payments,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,company,employee", - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,company,payment_term", - "payments,applied_payments,applied_vendor_credits,contact", - "payments,applied_payments,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company", - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,employee", - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,applied_vendor_credits,employee", - "payments,applied_payments,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,applied_vendor_credits,payment_term", - "payments,applied_payments,company", - "payments,applied_payments,company,accounting_period", - "payments,applied_payments,company,accounting_period,payment_term", - "payments,applied_payments,company,employee", - "payments,applied_payments,company,employee,accounting_period", - "payments,applied_payments,company,employee,accounting_period,payment_term", - "payments,applied_payments,company,employee,payment_term", - "payments,applied_payments,company,payment_term", - "payments,applied_payments,contact", - "payments,applied_payments,contact,accounting_period", - "payments,applied_payments,contact,accounting_period,payment_term", - "payments,applied_payments,contact,company", - "payments,applied_payments,contact,company,accounting_period", - "payments,applied_payments,contact,company,accounting_period,payment_term", - "payments,applied_payments,contact,company,employee", - "payments,applied_payments,contact,company,employee,accounting_period", - "payments,applied_payments,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,contact,company,employee,payment_term", - "payments,applied_payments,contact,company,payment_term", - "payments,applied_payments,contact,employee", - "payments,applied_payments,contact,employee,accounting_period", - "payments,applied_payments,contact,employee,accounting_period,payment_term", - "payments,applied_payments,contact,employee,payment_term", - "payments,applied_payments,contact,payment_term", - "payments,applied_payments,employee", - "payments,applied_payments,employee,accounting_period", - "payments,applied_payments,employee,accounting_period,payment_term", - "payments,applied_payments,employee,payment_term", - "payments,applied_payments,line_items", - "payments,applied_payments,line_items,accounting_period", - "payments,applied_payments,line_items,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes", - "payments,applied_payments,line_items,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company", - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact", - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,employee", - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits", - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company", - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact", - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,employee", - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,company", - "payments,applied_payments,line_items,company,accounting_period", - "payments,applied_payments,line_items,company,accounting_period,payment_term", - "payments,applied_payments,line_items,company,employee", - "payments,applied_payments,line_items,company,employee,accounting_period", - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,company,employee,payment_term", - "payments,applied_payments,line_items,company,payment_term", - "payments,applied_payments,line_items,contact", - "payments,applied_payments,line_items,contact,accounting_period", - "payments,applied_payments,line_items,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,company", - "payments,applied_payments,line_items,contact,company,accounting_period", - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,company,employee", - "payments,applied_payments,line_items,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,company,employee,payment_term", - "payments,applied_payments,line_items,contact,company,payment_term", - "payments,applied_payments,line_items,contact,employee", - "payments,applied_payments,line_items,contact,employee,accounting_period", - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,contact,employee,payment_term", - "payments,applied_payments,line_items,contact,payment_term", - "payments,applied_payments,line_items,employee", - "payments,applied_payments,line_items,employee,accounting_period", - "payments,applied_payments,line_items,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,employee,payment_term", - "payments,applied_payments,line_items,payment_term", - "payments,applied_payments,line_items,purchase_orders", - "payments,applied_payments,line_items,purchase_orders,accounting_period", - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,purchase_orders,company", - "payments,applied_payments,line_items,purchase_orders,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,company,employee", - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact", - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company", - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,employee", - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,contact,payment_term", - "payments,applied_payments,line_items,purchase_orders,employee", - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period", - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,purchase_orders,employee,payment_term", - "payments,applied_payments,line_items,purchase_orders,payment_term", - "payments,applied_payments,line_items,tracking_categories", - "payments,applied_payments,line_items,tracking_categories,accounting_period", - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,company", - "payments,applied_payments,line_items,tracking_categories,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,company,employee", - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact", - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company", - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,employee", - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,employee", - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term", - "payments,applied_payments,payment_term", - "payments,applied_payments,purchase_orders", - "payments,applied_payments,purchase_orders,accounting_period", - "payments,applied_payments,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes", - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits", - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,purchase_orders,company", - "payments,applied_payments,purchase_orders,company,accounting_period", - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,company,employee", - "payments,applied_payments,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,company,employee,payment_term", - "payments,applied_payments,purchase_orders,company,payment_term", - "payments,applied_payments,purchase_orders,contact", - "payments,applied_payments,purchase_orders,contact,accounting_period", - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,company", - "payments,applied_payments,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,company,employee", - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,purchase_orders,contact,company,payment_term", - "payments,applied_payments,purchase_orders,contact,employee", - "payments,applied_payments,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,purchase_orders,contact,payment_term", - "payments,applied_payments,purchase_orders,employee", - "payments,applied_payments,purchase_orders,employee,accounting_period", - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,purchase_orders,employee,payment_term", - "payments,applied_payments,purchase_orders,payment_term", - "payments,applied_payments,tracking_categories", - "payments,applied_payments,tracking_categories,accounting_period", - "payments,applied_payments,tracking_categories,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes", - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits", - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,company", - "payments,applied_payments,tracking_categories,company,accounting_period", - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,company,employee", - "payments,applied_payments,tracking_categories,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,company,employee,payment_term", - "payments,applied_payments,tracking_categories,company,payment_term", - "payments,applied_payments,tracking_categories,contact", - "payments,applied_payments,tracking_categories,contact,accounting_period", - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,company", - "payments,applied_payments,tracking_categories,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,company,employee", - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,contact,company,payment_term", - "payments,applied_payments,tracking_categories,contact,employee", - "payments,applied_payments,tracking_categories,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,contact,payment_term", - "payments,applied_payments,tracking_categories,employee", - "payments,applied_payments,tracking_categories,employee,accounting_period", - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,employee,payment_term", - "payments,applied_payments,tracking_categories,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders", - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company", - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact", - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,employee", - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period", - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term", - "payments,applied_payments,tracking_categories,purchase_orders,payment_term", - "payments,applied_vendor_credits", - "payments,applied_vendor_credits,accounting_period", - "payments,applied_vendor_credits,accounting_period,payment_term", - "payments,applied_vendor_credits,company", - "payments,applied_vendor_credits,company,accounting_period", - "payments,applied_vendor_credits,company,accounting_period,payment_term", - "payments,applied_vendor_credits,company,employee", - "payments,applied_vendor_credits,company,employee,accounting_period", - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,company,employee,payment_term", - "payments,applied_vendor_credits,company,payment_term", - "payments,applied_vendor_credits,contact", - "payments,applied_vendor_credits,contact,accounting_period", - "payments,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,company", - "payments,applied_vendor_credits,contact,company,accounting_period", - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,company,employee", - "payments,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,company,employee,payment_term", - "payments,applied_vendor_credits,contact,company,payment_term", - "payments,applied_vendor_credits,contact,employee", - "payments,applied_vendor_credits,contact,employee,accounting_period", - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,contact,employee,payment_term", - "payments,applied_vendor_credits,contact,payment_term", - "payments,applied_vendor_credits,employee", - "payments,applied_vendor_credits,employee,accounting_period", - "payments,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,applied_vendor_credits,employee,payment_term", - "payments,applied_vendor_credits,payment_term", - "payments,company", - "payments,company,accounting_period", - "payments,company,accounting_period,payment_term", - "payments,company,employee", - "payments,company,employee,accounting_period", - "payments,company,employee,accounting_period,payment_term", - "payments,company,employee,payment_term", - "payments,company,payment_term", - "payments,contact", - "payments,contact,accounting_period", - "payments,contact,accounting_period,payment_term", - "payments,contact,company", - "payments,contact,company,accounting_period", - "payments,contact,company,accounting_period,payment_term", - "payments,contact,company,employee", - "payments,contact,company,employee,accounting_period", - "payments,contact,company,employee,accounting_period,payment_term", - "payments,contact,company,employee,payment_term", - "payments,contact,company,payment_term", - "payments,contact,employee", - "payments,contact,employee,accounting_period", - "payments,contact,employee,accounting_period,payment_term", - "payments,contact,employee,payment_term", - "payments,contact,payment_term", - "payments,employee", - "payments,employee,accounting_period", - "payments,employee,accounting_period,payment_term", - "payments,employee,payment_term", - "payments,line_items", - "payments,line_items,accounting_period", - "payments,line_items,accounting_period,payment_term", - "payments,line_items,applied_credit_notes", - "payments,line_items,applied_credit_notes,accounting_period", - "payments,line_items,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits", - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,applied_credit_notes,company", - "payments,line_items,applied_credit_notes,company,accounting_period", - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,company,employee", - "payments,line_items,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,company,employee,payment_term", - "payments,line_items,applied_credit_notes,company,payment_term", - "payments,line_items,applied_credit_notes,contact", - "payments,line_items,applied_credit_notes,contact,accounting_period", - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,company", - "payments,line_items,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,company,employee", - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,applied_credit_notes,contact,company,payment_term", - "payments,line_items,applied_credit_notes,contact,employee", - "payments,line_items,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,applied_credit_notes,contact,payment_term", - "payments,line_items,applied_credit_notes,employee", - "payments,line_items,applied_credit_notes,employee,accounting_period", - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,applied_credit_notes,employee,payment_term", - "payments,line_items,applied_credit_notes,payment_term", - "payments,line_items,applied_vendor_credits", - "payments,line_items,applied_vendor_credits,accounting_period", - "payments,line_items,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,company", - "payments,line_items,applied_vendor_credits,company,accounting_period", - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,company,employee", - "payments,line_items,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,applied_vendor_credits,company,payment_term", - "payments,line_items,applied_vendor_credits,contact", - "payments,line_items,applied_vendor_credits,contact,accounting_period", - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,company", - "payments,line_items,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,company,employee", - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,applied_vendor_credits,contact,employee", - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,applied_vendor_credits,contact,payment_term", - "payments,line_items,applied_vendor_credits,employee", - "payments,line_items,applied_vendor_credits,employee,accounting_period", - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,applied_vendor_credits,employee,payment_term", - "payments,line_items,applied_vendor_credits,payment_term", - "payments,line_items,company", - "payments,line_items,company,accounting_period", - "payments,line_items,company,accounting_period,payment_term", - "payments,line_items,company,employee", - "payments,line_items,company,employee,accounting_period", - "payments,line_items,company,employee,accounting_period,payment_term", - "payments,line_items,company,employee,payment_term", - "payments,line_items,company,payment_term", - "payments,line_items,contact", - "payments,line_items,contact,accounting_period", - "payments,line_items,contact,accounting_period,payment_term", - "payments,line_items,contact,company", - "payments,line_items,contact,company,accounting_period", - "payments,line_items,contact,company,accounting_period,payment_term", - "payments,line_items,contact,company,employee", - "payments,line_items,contact,company,employee,accounting_period", - "payments,line_items,contact,company,employee,accounting_period,payment_term", - "payments,line_items,contact,company,employee,payment_term", - "payments,line_items,contact,company,payment_term", - "payments,line_items,contact,employee", - "payments,line_items,contact,employee,accounting_period", - "payments,line_items,contact,employee,accounting_period,payment_term", - "payments,line_items,contact,employee,payment_term", - "payments,line_items,contact,payment_term", - "payments,line_items,employee", - "payments,line_items,employee,accounting_period", - "payments,line_items,employee,accounting_period,payment_term", - "payments,line_items,employee,payment_term", - "payments,line_items,payment_term", - "payments,line_items,purchase_orders", - "payments,line_items,purchase_orders,accounting_period", - "payments,line_items,purchase_orders,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes", - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company", - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact", - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,employee", - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,line_items,purchase_orders,applied_credit_notes,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits", - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company", - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,employee", - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term", - "payments,line_items,purchase_orders,company", - "payments,line_items,purchase_orders,company,accounting_period", - "payments,line_items,purchase_orders,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,company,employee", - "payments,line_items,purchase_orders,company,employee,accounting_period", - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,company,employee,payment_term", - "payments,line_items,purchase_orders,company,payment_term", - "payments,line_items,purchase_orders,contact", - "payments,line_items,purchase_orders,contact,accounting_period", - "payments,line_items,purchase_orders,contact,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,company", - "payments,line_items,purchase_orders,contact,company,accounting_period", - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,company,employee", - "payments,line_items,purchase_orders,contact,company,employee,accounting_period", - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,company,employee,payment_term", - "payments,line_items,purchase_orders,contact,company,payment_term", - "payments,line_items,purchase_orders,contact,employee", - "payments,line_items,purchase_orders,contact,employee,accounting_period", - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,contact,employee,payment_term", - "payments,line_items,purchase_orders,contact,payment_term", - "payments,line_items,purchase_orders,employee", - "payments,line_items,purchase_orders,employee,accounting_period", - "payments,line_items,purchase_orders,employee,accounting_period,payment_term", - "payments,line_items,purchase_orders,employee,payment_term", - "payments,line_items,purchase_orders,payment_term", - "payments,line_items,tracking_categories", - "payments,line_items,tracking_categories,accounting_period", - "payments,line_items,tracking_categories,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes", - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company", - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact", - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,employee", - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,line_items,tracking_categories,applied_credit_notes,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits", - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company", - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,company", - "payments,line_items,tracking_categories,company,accounting_period", - "payments,line_items,tracking_categories,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,company,employee", - "payments,line_items,tracking_categories,company,employee,accounting_period", - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,company,employee,payment_term", - "payments,line_items,tracking_categories,company,payment_term", - "payments,line_items,tracking_categories,contact", - "payments,line_items,tracking_categories,contact,accounting_period", - "payments,line_items,tracking_categories,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,company", - "payments,line_items,tracking_categories,contact,company,accounting_period", - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,company,employee", - "payments,line_items,tracking_categories,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,contact,company,payment_term", - "payments,line_items,tracking_categories,contact,employee", - "payments,line_items,tracking_categories,contact,employee,accounting_period", - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,contact,employee,payment_term", - "payments,line_items,tracking_categories,contact,payment_term", - "payments,line_items,tracking_categories,employee", - "payments,line_items,tracking_categories,employee,accounting_period", - "payments,line_items,tracking_categories,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,employee,payment_term", - "payments,line_items,tracking_categories,payment_term", - "payments,line_items,tracking_categories,purchase_orders", - "payments,line_items,tracking_categories,purchase_orders,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company", - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company,employee", - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact", - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company", - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,employee", - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term", - "payments,line_items,tracking_categories,purchase_orders,employee", - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period", - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term", - "payments,line_items,tracking_categories,purchase_orders,payment_term", - "payments,payment_term", - "payments,purchase_orders", - "payments,purchase_orders,accounting_period", - "payments,purchase_orders,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes", - "payments,purchase_orders,applied_credit_notes,accounting_period", - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,purchase_orders,applied_credit_notes,company", - "payments,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,company,employee", - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,company,payment_term", - "payments,purchase_orders,applied_credit_notes,contact", - "payments,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company", - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,employee", - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,purchase_orders,applied_credit_notes,employee", - "payments,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,purchase_orders,applied_credit_notes,payment_term", - "payments,purchase_orders,applied_vendor_credits", - "payments,purchase_orders,applied_vendor_credits,accounting_period", - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,company", - "payments,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,company,employee", - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact", - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company", - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,employee", - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,purchase_orders,applied_vendor_credits,employee", - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,purchase_orders,applied_vendor_credits,payment_term", - "payments,purchase_orders,company", - "payments,purchase_orders,company,accounting_period", - "payments,purchase_orders,company,accounting_period,payment_term", - "payments,purchase_orders,company,employee", - "payments,purchase_orders,company,employee,accounting_period", - "payments,purchase_orders,company,employee,accounting_period,payment_term", - "payments,purchase_orders,company,employee,payment_term", - "payments,purchase_orders,company,payment_term", - "payments,purchase_orders,contact", - "payments,purchase_orders,contact,accounting_period", - "payments,purchase_orders,contact,accounting_period,payment_term", - "payments,purchase_orders,contact,company", - "payments,purchase_orders,contact,company,accounting_period", - "payments,purchase_orders,contact,company,accounting_period,payment_term", - "payments,purchase_orders,contact,company,employee", - "payments,purchase_orders,contact,company,employee,accounting_period", - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,purchase_orders,contact,company,employee,payment_term", - "payments,purchase_orders,contact,company,payment_term", - "payments,purchase_orders,contact,employee", - "payments,purchase_orders,contact,employee,accounting_period", - "payments,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,purchase_orders,contact,employee,payment_term", - "payments,purchase_orders,contact,payment_term", - "payments,purchase_orders,employee", - "payments,purchase_orders,employee,accounting_period", - "payments,purchase_orders,employee,accounting_period,payment_term", - "payments,purchase_orders,employee,payment_term", - "payments,purchase_orders,payment_term", - "payments,tracking_categories", - "payments,tracking_categories,accounting_period", - "payments,tracking_categories,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes", - "payments,tracking_categories,applied_credit_notes,accounting_period", - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,tracking_categories,applied_credit_notes,company", - "payments,tracking_categories,applied_credit_notes,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,company,employee", - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,company,payment_term", - "payments,tracking_categories,applied_credit_notes,contact", - "payments,tracking_categories,applied_credit_notes,contact,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company", - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company,employee", - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,employee", - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,contact,payment_term", - "payments,tracking_categories,applied_credit_notes,employee", - "payments,tracking_categories,applied_credit_notes,employee,accounting_period", - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_credit_notes,employee,payment_term", - "payments,tracking_categories,applied_credit_notes,payment_term", - "payments,tracking_categories,applied_vendor_credits", - "payments,tracking_categories,applied_vendor_credits,accounting_period", - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,company", - "payments,tracking_categories,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,company,employee", - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact", - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company", - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,employee", - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,applied_vendor_credits,employee", - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,applied_vendor_credits,payment_term", - "payments,tracking_categories,company", - "payments,tracking_categories,company,accounting_period", - "payments,tracking_categories,company,accounting_period,payment_term", - "payments,tracking_categories,company,employee", - "payments,tracking_categories,company,employee,accounting_period", - "payments,tracking_categories,company,employee,accounting_period,payment_term", - "payments,tracking_categories,company,employee,payment_term", - "payments,tracking_categories,company,payment_term", - "payments,tracking_categories,contact", - "payments,tracking_categories,contact,accounting_period", - "payments,tracking_categories,contact,accounting_period,payment_term", - "payments,tracking_categories,contact,company", - "payments,tracking_categories,contact,company,accounting_period", - "payments,tracking_categories,contact,company,accounting_period,payment_term", - "payments,tracking_categories,contact,company,employee", - "payments,tracking_categories,contact,company,employee,accounting_period", - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,contact,company,employee,payment_term", - "payments,tracking_categories,contact,company,payment_term", - "payments,tracking_categories,contact,employee", - "payments,tracking_categories,contact,employee,accounting_period", - "payments,tracking_categories,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,contact,employee,payment_term", - "payments,tracking_categories,contact,payment_term", - "payments,tracking_categories,employee", - "payments,tracking_categories,employee,accounting_period", - "payments,tracking_categories,employee,accounting_period,payment_term", - "payments,tracking_categories,employee,payment_term", - "payments,tracking_categories,payment_term", - "payments,tracking_categories,purchase_orders", - "payments,tracking_categories,purchase_orders,accounting_period", - "payments,tracking_categories,purchase_orders,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes", - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "payments,tracking_categories,purchase_orders,company", - "payments,tracking_categories,purchase_orders,company,accounting_period", - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,company,employee", - "payments,tracking_categories,purchase_orders,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,company,payment_term", - "payments,tracking_categories,purchase_orders,contact", - "payments,tracking_categories,purchase_orders,contact,accounting_period", - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,company", - "payments,tracking_categories,purchase_orders,contact,company,accounting_period", - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,company,employee", - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term", - "payments,tracking_categories,purchase_orders,contact,company,payment_term", - "payments,tracking_categories,purchase_orders,contact,employee", - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period", - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,contact,employee,payment_term", - "payments,tracking_categories,purchase_orders,contact,payment_term", - "payments,tracking_categories,purchase_orders,employee", - "payments,tracking_categories,purchase_orders,employee,accounting_period", - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "payments,tracking_categories,purchase_orders,employee,payment_term", - "payments,tracking_categories,purchase_orders,payment_term", - "purchase_orders", - "purchase_orders,accounting_period", - "purchase_orders,accounting_period,payment_term", - "purchase_orders,applied_credit_notes", - "purchase_orders,applied_credit_notes,accounting_period", - "purchase_orders,applied_credit_notes,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits", - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "purchase_orders,applied_credit_notes,company", - "purchase_orders,applied_credit_notes,company,accounting_period", - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,company,employee", - "purchase_orders,applied_credit_notes,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,company,employee,payment_term", - "purchase_orders,applied_credit_notes,company,payment_term", - "purchase_orders,applied_credit_notes,contact", - "purchase_orders,applied_credit_notes,contact,accounting_period", - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,company", - "purchase_orders,applied_credit_notes,contact,company,accounting_period", - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,company,employee", - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "purchase_orders,applied_credit_notes,contact,company,payment_term", - "purchase_orders,applied_credit_notes,contact,employee", - "purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,contact,employee,payment_term", - "purchase_orders,applied_credit_notes,contact,payment_term", - "purchase_orders,applied_credit_notes,employee", - "purchase_orders,applied_credit_notes,employee,accounting_period", - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "purchase_orders,applied_credit_notes,employee,payment_term", - "purchase_orders,applied_credit_notes,payment_term", - "purchase_orders,applied_vendor_credits", - "purchase_orders,applied_vendor_credits,accounting_period", - "purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,company", - "purchase_orders,applied_vendor_credits,company,accounting_period", - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,company,employee", - "purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,company,employee,payment_term", - "purchase_orders,applied_vendor_credits,company,payment_term", - "purchase_orders,applied_vendor_credits,contact", - "purchase_orders,applied_vendor_credits,contact,accounting_period", - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,company", - "purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,company,employee", - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "purchase_orders,applied_vendor_credits,contact,company,payment_term", - "purchase_orders,applied_vendor_credits,contact,employee", - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "purchase_orders,applied_vendor_credits,contact,payment_term", - "purchase_orders,applied_vendor_credits,employee", - "purchase_orders,applied_vendor_credits,employee,accounting_period", - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "purchase_orders,applied_vendor_credits,employee,payment_term", - "purchase_orders,applied_vendor_credits,payment_term", - "purchase_orders,company", - "purchase_orders,company,accounting_period", - "purchase_orders,company,accounting_period,payment_term", - "purchase_orders,company,employee", - "purchase_orders,company,employee,accounting_period", - "purchase_orders,company,employee,accounting_period,payment_term", - "purchase_orders,company,employee,payment_term", - "purchase_orders,company,payment_term", - "purchase_orders,contact", - "purchase_orders,contact,accounting_period", - "purchase_orders,contact,accounting_period,payment_term", - "purchase_orders,contact,company", - "purchase_orders,contact,company,accounting_period", - "purchase_orders,contact,company,accounting_period,payment_term", - "purchase_orders,contact,company,employee", - "purchase_orders,contact,company,employee,accounting_period", - "purchase_orders,contact,company,employee,accounting_period,payment_term", - "purchase_orders,contact,company,employee,payment_term", - "purchase_orders,contact,company,payment_term", - "purchase_orders,contact,employee", - "purchase_orders,contact,employee,accounting_period", - "purchase_orders,contact,employee,accounting_period,payment_term", - "purchase_orders,contact,employee,payment_term", - "purchase_orders,contact,payment_term", - "purchase_orders,employee", - "purchase_orders,employee,accounting_period", - "purchase_orders,employee,accounting_period,payment_term", - "purchase_orders,employee,payment_term", - "purchase_orders,payment_term", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,accounting_period,payment_term", - "tracking_categories,applied_credit_notes", - "tracking_categories,applied_credit_notes,accounting_period", - "tracking_categories,applied_credit_notes,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits", - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term", - "tracking_categories,applied_credit_notes,company", - "tracking_categories,applied_credit_notes,company,accounting_period", - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,company,employee", - "tracking_categories,applied_credit_notes,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,company,employee,payment_term", - "tracking_categories,applied_credit_notes,company,payment_term", - "tracking_categories,applied_credit_notes,contact", - "tracking_categories,applied_credit_notes,contact,accounting_period", - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,company", - "tracking_categories,applied_credit_notes,contact,company,accounting_period", - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,company,employee", - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period", - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term", - "tracking_categories,applied_credit_notes,contact,company,payment_term", - "tracking_categories,applied_credit_notes,contact,employee", - "tracking_categories,applied_credit_notes,contact,employee,accounting_period", - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,contact,employee,payment_term", - "tracking_categories,applied_credit_notes,contact,payment_term", - "tracking_categories,applied_credit_notes,employee", - "tracking_categories,applied_credit_notes,employee,accounting_period", - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term", - "tracking_categories,applied_credit_notes,employee,payment_term", - "tracking_categories,applied_credit_notes,payment_term", - "tracking_categories,applied_vendor_credits", - "tracking_categories,applied_vendor_credits,accounting_period", - "tracking_categories,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,company", - "tracking_categories,applied_vendor_credits,company,accounting_period", - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,company,employee", - "tracking_categories,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,applied_vendor_credits,company,payment_term", - "tracking_categories,applied_vendor_credits,contact", - "tracking_categories,applied_vendor_credits,contact,accounting_period", - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,company", - "tracking_categories,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,company,employee", - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,applied_vendor_credits,contact,employee", - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,applied_vendor_credits,contact,payment_term", - "tracking_categories,applied_vendor_credits,employee", - "tracking_categories,applied_vendor_credits,employee,accounting_period", - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,applied_vendor_credits,employee,payment_term", - "tracking_categories,applied_vendor_credits,payment_term", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,accounting_period,payment_term", - "tracking_categories,company,employee", - "tracking_categories,company,employee,accounting_period", - "tracking_categories,company,employee,accounting_period,payment_term", - "tracking_categories,company,employee,payment_term", - "tracking_categories,company,payment_term", - "tracking_categories,contact", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,accounting_period,payment_term", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", - "tracking_categories,contact,company,accounting_period,payment_term", - "tracking_categories,contact,company,employee", - "tracking_categories,contact,company,employee,accounting_period", - "tracking_categories,contact,company,employee,accounting_period,payment_term", - "tracking_categories,contact,company,employee,payment_term", - "tracking_categories,contact,company,payment_term", - "tracking_categories,contact,employee", - "tracking_categories,contact,employee,accounting_period", - "tracking_categories,contact,employee,accounting_period,payment_term", - "tracking_categories,contact,employee,payment_term", - "tracking_categories,contact,payment_term", - "tracking_categories,employee", - "tracking_categories,employee,accounting_period", - "tracking_categories,employee,accounting_period,payment_term", - "tracking_categories,employee,payment_term", - "tracking_categories,payment_term", - "tracking_categories,purchase_orders", - "tracking_categories,purchase_orders,accounting_period", - "tracking_categories,purchase_orders,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes", - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company", - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact", - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,employee", - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period", - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term", - "tracking_categories,purchase_orders,applied_credit_notes,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits", - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company", - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,employee", - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period", - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term", - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term", - "tracking_categories,purchase_orders,company", - "tracking_categories,purchase_orders,company,accounting_period", - "tracking_categories,purchase_orders,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,company,employee", - "tracking_categories,purchase_orders,company,employee,accounting_period", - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,company,employee,payment_term", - "tracking_categories,purchase_orders,company,payment_term", - "tracking_categories,purchase_orders,contact", - "tracking_categories,purchase_orders,contact,accounting_period", - "tracking_categories,purchase_orders,contact,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,company", - "tracking_categories,purchase_orders,contact,company,accounting_period", - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,company,employee", - "tracking_categories,purchase_orders,contact,company,employee,accounting_period", - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,company,employee,payment_term", - "tracking_categories,purchase_orders,contact,company,payment_term", - "tracking_categories,purchase_orders,contact,employee", - "tracking_categories,purchase_orders,contact,employee,accounting_period", - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,contact,employee,payment_term", - "tracking_categories,purchase_orders,contact,payment_term", - "tracking_categories,purchase_orders,employee", - "tracking_categories,purchase_orders,employee,accounting_period", - "tracking_categories,purchase_orders,employee,accounting_period,payment_term", - "tracking_categories,purchase_orders,employee,payment_term", - "tracking_categories,purchase_orders,payment_term", -]); - -export declare namespace InvoicesRetrieveRequestExpand { - export type Raw = - | "accounting_period" - | "accounting_period,payment_term" - | "applied_credit_notes" - | "applied_credit_notes,accounting_period" - | "applied_credit_notes,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits" - | "applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,company" - | "applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact" - | "applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_credit_notes,applied_vendor_credits,employee" - | "applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_credit_notes,company" - | "applied_credit_notes,company,accounting_period" - | "applied_credit_notes,company,accounting_period,payment_term" - | "applied_credit_notes,company,employee" - | "applied_credit_notes,company,employee,accounting_period" - | "applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_credit_notes,company,employee,payment_term" - | "applied_credit_notes,company,payment_term" - | "applied_credit_notes,contact" - | "applied_credit_notes,contact,accounting_period" - | "applied_credit_notes,contact,accounting_period,payment_term" - | "applied_credit_notes,contact,company" - | "applied_credit_notes,contact,company,accounting_period" - | "applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_credit_notes,contact,company,employee" - | "applied_credit_notes,contact,company,employee,accounting_period" - | "applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_credit_notes,contact,company,employee,payment_term" - | "applied_credit_notes,contact,company,payment_term" - | "applied_credit_notes,contact,employee" - | "applied_credit_notes,contact,employee,accounting_period" - | "applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_credit_notes,contact,employee,payment_term" - | "applied_credit_notes,contact,payment_term" - | "applied_credit_notes,employee" - | "applied_credit_notes,employee,accounting_period" - | "applied_credit_notes,employee,accounting_period,payment_term" - | "applied_credit_notes,employee,payment_term" - | "applied_credit_notes,payment_term" - | "applied_payments" - | "applied_payments,accounting_period" - | "applied_payments,accounting_period,payment_term" - | "applied_payments,applied_credit_notes" - | "applied_payments,applied_credit_notes,accounting_period" - | "applied_payments,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits" - | "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,applied_credit_notes,company" - | "applied_payments,applied_credit_notes,company,accounting_period" - | "applied_payments,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,company,employee" - | "applied_payments,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,company,employee,payment_term" - | "applied_payments,applied_credit_notes,company,payment_term" - | "applied_payments,applied_credit_notes,contact" - | "applied_payments,applied_credit_notes,contact,accounting_period" - | "applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,company" - | "applied_payments,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,company,employee" - | "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,applied_credit_notes,contact,company,payment_term" - | "applied_payments,applied_credit_notes,contact,employee" - | "applied_payments,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,applied_credit_notes,contact,payment_term" - | "applied_payments,applied_credit_notes,employee" - | "applied_payments,applied_credit_notes,employee,accounting_period" - | "applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,applied_credit_notes,employee,payment_term" - | "applied_payments,applied_credit_notes,payment_term" - | "applied_payments,applied_vendor_credits" - | "applied_payments,applied_vendor_credits,accounting_period" - | "applied_payments,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,company" - | "applied_payments,applied_vendor_credits,company,accounting_period" - | "applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,company,employee" - | "applied_payments,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,applied_vendor_credits,company,payment_term" - | "applied_payments,applied_vendor_credits,contact" - | "applied_payments,applied_vendor_credits,contact,accounting_period" - | "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,company" - | "applied_payments,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,company,employee" - | "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,applied_vendor_credits,contact,employee" - | "applied_payments,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,applied_vendor_credits,contact,payment_term" - | "applied_payments,applied_vendor_credits,employee" - | "applied_payments,applied_vendor_credits,employee,accounting_period" - | "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,applied_vendor_credits,employee,payment_term" - | "applied_payments,applied_vendor_credits,payment_term" - | "applied_payments,company" - | "applied_payments,company,accounting_period" - | "applied_payments,company,accounting_period,payment_term" - | "applied_payments,company,employee" - | "applied_payments,company,employee,accounting_period" - | "applied_payments,company,employee,accounting_period,payment_term" - | "applied_payments,company,employee,payment_term" - | "applied_payments,company,payment_term" - | "applied_payments,contact" - | "applied_payments,contact,accounting_period" - | "applied_payments,contact,accounting_period,payment_term" - | "applied_payments,contact,company" - | "applied_payments,contact,company,accounting_period" - | "applied_payments,contact,company,accounting_period,payment_term" - | "applied_payments,contact,company,employee" - | "applied_payments,contact,company,employee,accounting_period" - | "applied_payments,contact,company,employee,accounting_period,payment_term" - | "applied_payments,contact,company,employee,payment_term" - | "applied_payments,contact,company,payment_term" - | "applied_payments,contact,employee" - | "applied_payments,contact,employee,accounting_period" - | "applied_payments,contact,employee,accounting_period,payment_term" - | "applied_payments,contact,employee,payment_term" - | "applied_payments,contact,payment_term" - | "applied_payments,employee" - | "applied_payments,employee,accounting_period" - | "applied_payments,employee,accounting_period,payment_term" - | "applied_payments,employee,payment_term" - | "applied_payments,line_items" - | "applied_payments,line_items,accounting_period" - | "applied_payments,line_items,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes" - | "applied_payments,line_items,applied_credit_notes,accounting_period" - | "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,applied_credit_notes,company" - | "applied_payments,line_items,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,company,employee" - | "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact" - | "applied_payments,line_items,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company" - | "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,employee" - | "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,applied_credit_notes,employee" - | "applied_payments,line_items,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,applied_credit_notes,payment_term" - | "applied_payments,line_items,applied_vendor_credits" - | "applied_payments,line_items,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company" - | "applied_payments,line_items,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company,employee" - | "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact" - | "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company" - | "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,applied_vendor_credits,employee" - | "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,applied_vendor_credits,payment_term" - | "applied_payments,line_items,company" - | "applied_payments,line_items,company,accounting_period" - | "applied_payments,line_items,company,accounting_period,payment_term" - | "applied_payments,line_items,company,employee" - | "applied_payments,line_items,company,employee,accounting_period" - | "applied_payments,line_items,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,company,employee,payment_term" - | "applied_payments,line_items,company,payment_term" - | "applied_payments,line_items,contact" - | "applied_payments,line_items,contact,accounting_period" - | "applied_payments,line_items,contact,accounting_period,payment_term" - | "applied_payments,line_items,contact,company" - | "applied_payments,line_items,contact,company,accounting_period" - | "applied_payments,line_items,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,contact,company,employee" - | "applied_payments,line_items,contact,company,employee,accounting_period" - | "applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,contact,company,employee,payment_term" - | "applied_payments,line_items,contact,company,payment_term" - | "applied_payments,line_items,contact,employee" - | "applied_payments,line_items,contact,employee,accounting_period" - | "applied_payments,line_items,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,contact,employee,payment_term" - | "applied_payments,line_items,contact,payment_term" - | "applied_payments,line_items,employee" - | "applied_payments,line_items,employee,accounting_period" - | "applied_payments,line_items,employee,accounting_period,payment_term" - | "applied_payments,line_items,employee,payment_term" - | "applied_payments,line_items,payment_term" - | "applied_payments,line_items,purchase_orders" - | "applied_payments,line_items,purchase_orders,accounting_period" - | "applied_payments,line_items,purchase_orders,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,line_items,purchase_orders,company" - | "applied_payments,line_items,purchase_orders,company,accounting_period" - | "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,company,employee" - | "applied_payments,line_items,purchase_orders,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,company,payment_term" - | "applied_payments,line_items,purchase_orders,contact" - | "applied_payments,line_items,purchase_orders,contact,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company" - | "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company,employee" - | "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,line_items,purchase_orders,contact,company,payment_term" - | "applied_payments,line_items,purchase_orders,contact,employee" - | "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,contact,employee,payment_term" - | "applied_payments,line_items,purchase_orders,contact,payment_term" - | "applied_payments,line_items,purchase_orders,employee" - | "applied_payments,line_items,purchase_orders,employee,accounting_period" - | "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,line_items,purchase_orders,employee,payment_term" - | "applied_payments,line_items,purchase_orders,payment_term" - | "applied_payments,line_items,tracking_categories" - | "applied_payments,line_items,tracking_categories,accounting_period" - | "applied_payments,line_items,tracking_categories,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,company" - | "applied_payments,line_items,tracking_categories,company,accounting_period" - | "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,company,employee" - | "applied_payments,line_items,tracking_categories,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,company,payment_term" - | "applied_payments,line_items,tracking_categories,contact" - | "applied_payments,line_items,tracking_categories,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company" - | "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company,employee" - | "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,contact,employee" - | "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,contact,payment_term" - | "applied_payments,line_items,tracking_categories,employee" - | "applied_payments,line_items,tracking_categories,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,employee,payment_term" - | "applied_payments,line_items,tracking_categories,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders" - | "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - | "applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - | "applied_payments,payment_term" - | "applied_payments,purchase_orders" - | "applied_payments,purchase_orders,accounting_period" - | "applied_payments,purchase_orders,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes" - | "applied_payments,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company" - | "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact" - | "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,employee" - | "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits" - | "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company" - | "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,purchase_orders,company" - | "applied_payments,purchase_orders,company,accounting_period" - | "applied_payments,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,company,employee" - | "applied_payments,purchase_orders,company,employee,accounting_period" - | "applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,company,employee,payment_term" - | "applied_payments,purchase_orders,company,payment_term" - | "applied_payments,purchase_orders,contact" - | "applied_payments,purchase_orders,contact,accounting_period" - | "applied_payments,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,company" - | "applied_payments,purchase_orders,contact,company,accounting_period" - | "applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,company,employee" - | "applied_payments,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,purchase_orders,contact,company,payment_term" - | "applied_payments,purchase_orders,contact,employee" - | "applied_payments,purchase_orders,contact,employee,accounting_period" - | "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,contact,employee,payment_term" - | "applied_payments,purchase_orders,contact,payment_term" - | "applied_payments,purchase_orders,employee" - | "applied_payments,purchase_orders,employee,accounting_period" - | "applied_payments,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,purchase_orders,employee,payment_term" - | "applied_payments,purchase_orders,payment_term" - | "applied_payments,tracking_categories" - | "applied_payments,tracking_categories,accounting_period" - | "applied_payments,tracking_categories,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes" - | "applied_payments,tracking_categories,applied_credit_notes,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company" - | "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact" - | "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,employee" - | "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - | "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - | "applied_payments,tracking_categories,applied_credit_notes,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits" - | "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company" - | "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,company" - | "applied_payments,tracking_categories,company,accounting_period" - | "applied_payments,tracking_categories,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,company,employee" - | "applied_payments,tracking_categories,company,employee,accounting_period" - | "applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,company,employee,payment_term" - | "applied_payments,tracking_categories,company,payment_term" - | "applied_payments,tracking_categories,contact" - | "applied_payments,tracking_categories,contact,accounting_period" - | "applied_payments,tracking_categories,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,company" - | "applied_payments,tracking_categories,contact,company,accounting_period" - | "applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,company,employee" - | "applied_payments,tracking_categories,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,contact,company,payment_term" - | "applied_payments,tracking_categories,contact,employee" - | "applied_payments,tracking_categories,contact,employee,accounting_period" - | "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,contact,employee,payment_term" - | "applied_payments,tracking_categories,contact,payment_term" - | "applied_payments,tracking_categories,employee" - | "applied_payments,tracking_categories,employee,accounting_period" - | "applied_payments,tracking_categories,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,employee,payment_term" - | "applied_payments,tracking_categories,payment_term" - | "applied_payments,tracking_categories,purchase_orders" - | "applied_payments,tracking_categories,purchase_orders,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company" - | "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company,employee" - | "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact" - | "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company" - | "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,employee" - | "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,contact,payment_term" - | "applied_payments,tracking_categories,purchase_orders,employee" - | "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - | "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "applied_payments,tracking_categories,purchase_orders,employee,payment_term" - | "applied_payments,tracking_categories,purchase_orders,payment_term" - | "applied_vendor_credits" - | "applied_vendor_credits,accounting_period" - | "applied_vendor_credits,accounting_period,payment_term" - | "applied_vendor_credits,company" - | "applied_vendor_credits,company,accounting_period" - | "applied_vendor_credits,company,accounting_period,payment_term" - | "applied_vendor_credits,company,employee" - | "applied_vendor_credits,company,employee,accounting_period" - | "applied_vendor_credits,company,employee,accounting_period,payment_term" - | "applied_vendor_credits,company,employee,payment_term" - | "applied_vendor_credits,company,payment_term" - | "applied_vendor_credits,contact" - | "applied_vendor_credits,contact,accounting_period" - | "applied_vendor_credits,contact,accounting_period,payment_term" - | "applied_vendor_credits,contact,company" - | "applied_vendor_credits,contact,company,accounting_period" - | "applied_vendor_credits,contact,company,accounting_period,payment_term" - | "applied_vendor_credits,contact,company,employee" - | "applied_vendor_credits,contact,company,employee,accounting_period" - | "applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "applied_vendor_credits,contact,company,employee,payment_term" - | "applied_vendor_credits,contact,company,payment_term" - | "applied_vendor_credits,contact,employee" - | "applied_vendor_credits,contact,employee,accounting_period" - | "applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "applied_vendor_credits,contact,employee,payment_term" - | "applied_vendor_credits,contact,payment_term" - | "applied_vendor_credits,employee" - | "applied_vendor_credits,employee,accounting_period" - | "applied_vendor_credits,employee,accounting_period,payment_term" - | "applied_vendor_credits,employee,payment_term" - | "applied_vendor_credits,payment_term" - | "company" - | "company,accounting_period" - | "company,accounting_period,payment_term" - | "company,employee" - | "company,employee,accounting_period" - | "company,employee,accounting_period,payment_term" - | "company,employee,payment_term" - | "company,payment_term" - | "contact" - | "contact,accounting_period" - | "contact,accounting_period,payment_term" - | "contact,company" - | "contact,company,accounting_period" - | "contact,company,accounting_period,payment_term" - | "contact,company,employee" - | "contact,company,employee,accounting_period" - | "contact,company,employee,accounting_period,payment_term" - | "contact,company,employee,payment_term" - | "contact,company,payment_term" - | "contact,employee" - | "contact,employee,accounting_period" - | "contact,employee,accounting_period,payment_term" - | "contact,employee,payment_term" - | "contact,payment_term" - | "employee" - | "employee,accounting_period" - | "employee,accounting_period,payment_term" - | "employee,payment_term" - | "line_items" - | "line_items,accounting_period" - | "line_items,accounting_period,payment_term" - | "line_items,applied_credit_notes" - | "line_items,applied_credit_notes,accounting_period" - | "line_items,applied_credit_notes,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits" - | "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company" - | "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,applied_credit_notes,company" - | "line_items,applied_credit_notes,company,accounting_period" - | "line_items,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,company,employee" - | "line_items,applied_credit_notes,company,employee,accounting_period" - | "line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,company,employee,payment_term" - | "line_items,applied_credit_notes,company,payment_term" - | "line_items,applied_credit_notes,contact" - | "line_items,applied_credit_notes,contact,accounting_period" - | "line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,company" - | "line_items,applied_credit_notes,contact,company,accounting_period" - | "line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,company,employee" - | "line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,applied_credit_notes,contact,company,payment_term" - | "line_items,applied_credit_notes,contact,employee" - | "line_items,applied_credit_notes,contact,employee,accounting_period" - | "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,contact,employee,payment_term" - | "line_items,applied_credit_notes,contact,payment_term" - | "line_items,applied_credit_notes,employee" - | "line_items,applied_credit_notes,employee,accounting_period" - | "line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,applied_credit_notes,employee,payment_term" - | "line_items,applied_credit_notes,payment_term" - | "line_items,applied_vendor_credits" - | "line_items,applied_vendor_credits,accounting_period" - | "line_items,applied_vendor_credits,accounting_period,payment_term" - | "line_items,applied_vendor_credits,company" - | "line_items,applied_vendor_credits,company,accounting_period" - | "line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,applied_vendor_credits,company,employee" - | "line_items,applied_vendor_credits,company,employee,accounting_period" - | "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,company,employee,payment_term" - | "line_items,applied_vendor_credits,company,payment_term" - | "line_items,applied_vendor_credits,contact" - | "line_items,applied_vendor_credits,contact,accounting_period" - | "line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,company" - | "line_items,applied_vendor_credits,contact,company,accounting_period" - | "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,company,employee" - | "line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,applied_vendor_credits,contact,company,payment_term" - | "line_items,applied_vendor_credits,contact,employee" - | "line_items,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,contact,employee,payment_term" - | "line_items,applied_vendor_credits,contact,payment_term" - | "line_items,applied_vendor_credits,employee" - | "line_items,applied_vendor_credits,employee,accounting_period" - | "line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,applied_vendor_credits,employee,payment_term" - | "line_items,applied_vendor_credits,payment_term" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,company,accounting_period,payment_term" - | "line_items,company,employee" - | "line_items,company,employee,accounting_period" - | "line_items,company,employee,accounting_period,payment_term" - | "line_items,company,employee,payment_term" - | "line_items,company,payment_term" - | "line_items,contact" - | "line_items,contact,accounting_period" - | "line_items,contact,accounting_period,payment_term" - | "line_items,contact,company" - | "line_items,contact,company,accounting_period" - | "line_items,contact,company,accounting_period,payment_term" - | "line_items,contact,company,employee" - | "line_items,contact,company,employee,accounting_period" - | "line_items,contact,company,employee,accounting_period,payment_term" - | "line_items,contact,company,employee,payment_term" - | "line_items,contact,company,payment_term" - | "line_items,contact,employee" - | "line_items,contact,employee,accounting_period" - | "line_items,contact,employee,accounting_period,payment_term" - | "line_items,contact,employee,payment_term" - | "line_items,contact,payment_term" - | "line_items,employee" - | "line_items,employee,accounting_period" - | "line_items,employee,accounting_period,payment_term" - | "line_items,employee,payment_term" - | "line_items,payment_term" - | "line_items,purchase_orders" - | "line_items,purchase_orders,accounting_period" - | "line_items,purchase_orders,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes" - | "line_items,purchase_orders,applied_credit_notes,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company" - | "line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company,employee" - | "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact" - | "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company" - | "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,employee" - | "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "line_items,purchase_orders,applied_credit_notes,employee" - | "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "line_items,purchase_orders,applied_credit_notes,payment_term" - | "line_items,purchase_orders,applied_vendor_credits" - | "line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company" - | "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company,employee" - | "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact" - | "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,employee" - | "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "line_items,purchase_orders,applied_vendor_credits,payment_term" - | "line_items,purchase_orders,company" - | "line_items,purchase_orders,company,accounting_period" - | "line_items,purchase_orders,company,accounting_period,payment_term" - | "line_items,purchase_orders,company,employee" - | "line_items,purchase_orders,company,employee,accounting_period" - | "line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,company,employee,payment_term" - | "line_items,purchase_orders,company,payment_term" - | "line_items,purchase_orders,contact" - | "line_items,purchase_orders,contact,accounting_period" - | "line_items,purchase_orders,contact,accounting_period,payment_term" - | "line_items,purchase_orders,contact,company" - | "line_items,purchase_orders,contact,company,accounting_period" - | "line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "line_items,purchase_orders,contact,company,employee" - | "line_items,purchase_orders,contact,company,employee,accounting_period" - | "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "line_items,purchase_orders,contact,company,employee,payment_term" - | "line_items,purchase_orders,contact,company,payment_term" - | "line_items,purchase_orders,contact,employee" - | "line_items,purchase_orders,contact,employee,accounting_period" - | "line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "line_items,purchase_orders,contact,employee,payment_term" - | "line_items,purchase_orders,contact,payment_term" - | "line_items,purchase_orders,employee" - | "line_items,purchase_orders,employee,accounting_period" - | "line_items,purchase_orders,employee,accounting_period,payment_term" - | "line_items,purchase_orders,employee,payment_term" - | "line_items,purchase_orders,payment_term" - | "line_items,tracking_categories" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes" - | "line_items,tracking_categories,applied_credit_notes,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company" - | "line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company,employee" - | "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact" - | "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company" - | "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,employee" - | "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "line_items,tracking_categories,applied_credit_notes,employee" - | "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "line_items,tracking_categories,applied_credit_notes,payment_term" - | "line_items,tracking_categories,applied_vendor_credits" - | "line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company" - | "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact" - | "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,employee" - | "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,company,accounting_period,payment_term" - | "line_items,tracking_categories,company,employee" - | "line_items,tracking_categories,company,employee,accounting_period" - | "line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,company,employee,payment_term" - | "line_items,tracking_categories,company,payment_term" - | "line_items,tracking_categories,contact" - | "line_items,tracking_categories,contact,accounting_period" - | "line_items,tracking_categories,contact,accounting_period,payment_term" - | "line_items,tracking_categories,contact,company" - | "line_items,tracking_categories,contact,company,accounting_period" - | "line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,contact,company,employee" - | "line_items,tracking_categories,contact,company,employee,accounting_period" - | "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,contact,company,employee,payment_term" - | "line_items,tracking_categories,contact,company,payment_term" - | "line_items,tracking_categories,contact,employee" - | "line_items,tracking_categories,contact,employee,accounting_period" - | "line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,contact,employee,payment_term" - | "line_items,tracking_categories,contact,payment_term" - | "line_items,tracking_categories,employee" - | "line_items,tracking_categories,employee,accounting_period" - | "line_items,tracking_categories,employee,accounting_period,payment_term" - | "line_items,tracking_categories,employee,payment_term" - | "line_items,tracking_categories,payment_term" - | "line_items,tracking_categories,purchase_orders" - | "line_items,tracking_categories,purchase_orders,accounting_period" - | "line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "line_items,tracking_categories,purchase_orders,company" - | "line_items,tracking_categories,purchase_orders,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,company,employee" - | "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,company,payment_term" - | "line_items,tracking_categories,purchase_orders,contact" - | "line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company" - | "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company,employee" - | "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,employee" - | "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,contact,payment_term" - | "line_items,tracking_categories,purchase_orders,employee" - | "line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "line_items,tracking_categories,purchase_orders,employee,payment_term" - | "line_items,tracking_categories,purchase_orders,payment_term" - | "payment_term" - | "payments" - | "payments,accounting_period" - | "payments,accounting_period,payment_term" - | "payments,applied_credit_notes" - | "payments,applied_credit_notes,accounting_period" - | "payments,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits" - | "payments,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_credit_notes,company" - | "payments,applied_credit_notes,company,accounting_period" - | "payments,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_credit_notes,company,employee" - | "payments,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,company,employee,payment_term" - | "payments,applied_credit_notes,company,payment_term" - | "payments,applied_credit_notes,contact" - | "payments,applied_credit_notes,contact,accounting_period" - | "payments,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,company" - | "payments,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,company,employee" - | "payments,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_credit_notes,contact,company,payment_term" - | "payments,applied_credit_notes,contact,employee" - | "payments,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_credit_notes,contact,payment_term" - | "payments,applied_credit_notes,employee" - | "payments,applied_credit_notes,employee,accounting_period" - | "payments,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_credit_notes,employee,payment_term" - | "payments,applied_credit_notes,payment_term" - | "payments,applied_payments" - | "payments,applied_payments,accounting_period" - | "payments,applied_payments,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes" - | "payments,applied_payments,applied_credit_notes,accounting_period" - | "payments,applied_payments,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,applied_credit_notes,company" - | "payments,applied_payments,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,company,employee" - | "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,company,payment_term" - | "payments,applied_payments,applied_credit_notes,contact" - | "payments,applied_payments,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company" - | "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,employee" - | "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,applied_credit_notes,employee" - | "payments,applied_payments,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,applied_credit_notes,payment_term" - | "payments,applied_payments,applied_vendor_credits" - | "payments,applied_payments,applied_vendor_credits,accounting_period" - | "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,company" - | "payments,applied_payments,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,company,employee" - | "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact" - | "payments,applied_payments,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company" - | "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,employee" - | "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,applied_vendor_credits,employee" - | "payments,applied_payments,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,applied_vendor_credits,payment_term" - | "payments,applied_payments,company" - | "payments,applied_payments,company,accounting_period" - | "payments,applied_payments,company,accounting_period,payment_term" - | "payments,applied_payments,company,employee" - | "payments,applied_payments,company,employee,accounting_period" - | "payments,applied_payments,company,employee,accounting_period,payment_term" - | "payments,applied_payments,company,employee,payment_term" - | "payments,applied_payments,company,payment_term" - | "payments,applied_payments,contact" - | "payments,applied_payments,contact,accounting_period" - | "payments,applied_payments,contact,accounting_period,payment_term" - | "payments,applied_payments,contact,company" - | "payments,applied_payments,contact,company,accounting_period" - | "payments,applied_payments,contact,company,accounting_period,payment_term" - | "payments,applied_payments,contact,company,employee" - | "payments,applied_payments,contact,company,employee,accounting_period" - | "payments,applied_payments,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,contact,company,employee,payment_term" - | "payments,applied_payments,contact,company,payment_term" - | "payments,applied_payments,contact,employee" - | "payments,applied_payments,contact,employee,accounting_period" - | "payments,applied_payments,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,contact,employee,payment_term" - | "payments,applied_payments,contact,payment_term" - | "payments,applied_payments,employee" - | "payments,applied_payments,employee,accounting_period" - | "payments,applied_payments,employee,accounting_period,payment_term" - | "payments,applied_payments,employee,payment_term" - | "payments,applied_payments,line_items" - | "payments,applied_payments,line_items,accounting_period" - | "payments,applied_payments,line_items,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes" - | "payments,applied_payments,line_items,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company" - | "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact" - | "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,employee" - | "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits" - | "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company" - | "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,company" - | "payments,applied_payments,line_items,company,accounting_period" - | "payments,applied_payments,line_items,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,company,employee" - | "payments,applied_payments,line_items,company,employee,accounting_period" - | "payments,applied_payments,line_items,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,company,employee,payment_term" - | "payments,applied_payments,line_items,company,payment_term" - | "payments,applied_payments,line_items,contact" - | "payments,applied_payments,line_items,contact,accounting_period" - | "payments,applied_payments,line_items,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,company" - | "payments,applied_payments,line_items,contact,company,accounting_period" - | "payments,applied_payments,line_items,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,company,employee" - | "payments,applied_payments,line_items,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,contact,company,payment_term" - | "payments,applied_payments,line_items,contact,employee" - | "payments,applied_payments,line_items,contact,employee,accounting_period" - | "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,contact,employee,payment_term" - | "payments,applied_payments,line_items,contact,payment_term" - | "payments,applied_payments,line_items,employee" - | "payments,applied_payments,line_items,employee,accounting_period" - | "payments,applied_payments,line_items,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,employee,payment_term" - | "payments,applied_payments,line_items,payment_term" - | "payments,applied_payments,line_items,purchase_orders" - | "payments,applied_payments,line_items,purchase_orders,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company" - | "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company,employee" - | "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact" - | "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company" - | "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,employee" - | "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,contact,payment_term" - | "payments,applied_payments,line_items,purchase_orders,employee" - | "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" - | "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,purchase_orders,employee,payment_term" - | "payments,applied_payments,line_items,purchase_orders,payment_term" - | "payments,applied_payments,line_items,tracking_categories" - | "payments,applied_payments,line_items,tracking_categories,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company" - | "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company,employee" - | "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact" - | "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company" - | "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,employee" - | "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - | "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - | "payments,applied_payments,payment_term" - | "payments,applied_payments,purchase_orders" - | "payments,applied_payments,purchase_orders,accounting_period" - | "payments,applied_payments,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes" - | "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,purchase_orders,company" - | "payments,applied_payments,purchase_orders,company,accounting_period" - | "payments,applied_payments,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,company,employee" - | "payments,applied_payments,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,company,payment_term" - | "payments,applied_payments,purchase_orders,contact" - | "payments,applied_payments,purchase_orders,contact,accounting_period" - | "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,company" - | "payments,applied_payments,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,company,employee" - | "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,purchase_orders,contact,employee" - | "payments,applied_payments,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,purchase_orders,contact,payment_term" - | "payments,applied_payments,purchase_orders,employee" - | "payments,applied_payments,purchase_orders,employee,accounting_period" - | "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,purchase_orders,employee,payment_term" - | "payments,applied_payments,purchase_orders,payment_term" - | "payments,applied_payments,tracking_categories" - | "payments,applied_payments,tracking_categories,accounting_period" - | "payments,applied_payments,tracking_categories,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes" - | "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,company" - | "payments,applied_payments,tracking_categories,company,accounting_period" - | "payments,applied_payments,tracking_categories,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,company,employee" - | "payments,applied_payments,tracking_categories,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,company,payment_term" - | "payments,applied_payments,tracking_categories,contact" - | "payments,applied_payments,tracking_categories,contact,accounting_period" - | "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,company" - | "payments,applied_payments,tracking_categories,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,company,employee" - | "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,contact,employee" - | "payments,applied_payments,tracking_categories,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,contact,payment_term" - | "payments,applied_payments,tracking_categories,employee" - | "payments,applied_payments,tracking_categories,employee,accounting_period" - | "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,employee,payment_term" - | "payments,applied_payments,tracking_categories,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders" - | "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company" - | "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,employee" - | "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term" - | "payments,applied_payments,tracking_categories,purchase_orders,payment_term" - | "payments,applied_vendor_credits" - | "payments,applied_vendor_credits,accounting_period" - | "payments,applied_vendor_credits,accounting_period,payment_term" - | "payments,applied_vendor_credits,company" - | "payments,applied_vendor_credits,company,accounting_period" - | "payments,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,applied_vendor_credits,company,employee" - | "payments,applied_vendor_credits,company,employee,accounting_period" - | "payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,company,employee,payment_term" - | "payments,applied_vendor_credits,company,payment_term" - | "payments,applied_vendor_credits,contact" - | "payments,applied_vendor_credits,contact,accounting_period" - | "payments,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,company" - | "payments,applied_vendor_credits,contact,company,accounting_period" - | "payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,company,employee" - | "payments,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,applied_vendor_credits,contact,company,payment_term" - | "payments,applied_vendor_credits,contact,employee" - | "payments,applied_vendor_credits,contact,employee,accounting_period" - | "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,contact,employee,payment_term" - | "payments,applied_vendor_credits,contact,payment_term" - | "payments,applied_vendor_credits,employee" - | "payments,applied_vendor_credits,employee,accounting_period" - | "payments,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,applied_vendor_credits,employee,payment_term" - | "payments,applied_vendor_credits,payment_term" - | "payments,company" - | "payments,company,accounting_period" - | "payments,company,accounting_period,payment_term" - | "payments,company,employee" - | "payments,company,employee,accounting_period" - | "payments,company,employee,accounting_period,payment_term" - | "payments,company,employee,payment_term" - | "payments,company,payment_term" - | "payments,contact" - | "payments,contact,accounting_period" - | "payments,contact,accounting_period,payment_term" - | "payments,contact,company" - | "payments,contact,company,accounting_period" - | "payments,contact,company,accounting_period,payment_term" - | "payments,contact,company,employee" - | "payments,contact,company,employee,accounting_period" - | "payments,contact,company,employee,accounting_period,payment_term" - | "payments,contact,company,employee,payment_term" - | "payments,contact,company,payment_term" - | "payments,contact,employee" - | "payments,contact,employee,accounting_period" - | "payments,contact,employee,accounting_period,payment_term" - | "payments,contact,employee,payment_term" - | "payments,contact,payment_term" - | "payments,employee" - | "payments,employee,accounting_period" - | "payments,employee,accounting_period,payment_term" - | "payments,employee,payment_term" - | "payments,line_items" - | "payments,line_items,accounting_period" - | "payments,line_items,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes" - | "payments,line_items,applied_credit_notes,accounting_period" - | "payments,line_items,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,applied_credit_notes,company" - | "payments,line_items,applied_credit_notes,company,accounting_period" - | "payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,company,employee" - | "payments,line_items,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,company,payment_term" - | "payments,line_items,applied_credit_notes,contact" - | "payments,line_items,applied_credit_notes,contact,accounting_period" - | "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,company" - | "payments,line_items,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,company,employee" - | "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,applied_credit_notes,contact,employee" - | "payments,line_items,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,applied_credit_notes,contact,payment_term" - | "payments,line_items,applied_credit_notes,employee" - | "payments,line_items,applied_credit_notes,employee,accounting_period" - | "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,applied_credit_notes,employee,payment_term" - | "payments,line_items,applied_credit_notes,payment_term" - | "payments,line_items,applied_vendor_credits" - | "payments,line_items,applied_vendor_credits,accounting_period" - | "payments,line_items,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,company" - | "payments,line_items,applied_vendor_credits,company,accounting_period" - | "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,company,employee" - | "payments,line_items,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,applied_vendor_credits,company,payment_term" - | "payments,line_items,applied_vendor_credits,contact" - | "payments,line_items,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company" - | "payments,line_items,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company,employee" - | "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,applied_vendor_credits,contact,employee" - | "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,applied_vendor_credits,contact,payment_term" - | "payments,line_items,applied_vendor_credits,employee" - | "payments,line_items,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,applied_vendor_credits,employee,payment_term" - | "payments,line_items,applied_vendor_credits,payment_term" - | "payments,line_items,company" - | "payments,line_items,company,accounting_period" - | "payments,line_items,company,accounting_period,payment_term" - | "payments,line_items,company,employee" - | "payments,line_items,company,employee,accounting_period" - | "payments,line_items,company,employee,accounting_period,payment_term" - | "payments,line_items,company,employee,payment_term" - | "payments,line_items,company,payment_term" - | "payments,line_items,contact" - | "payments,line_items,contact,accounting_period" - | "payments,line_items,contact,accounting_period,payment_term" - | "payments,line_items,contact,company" - | "payments,line_items,contact,company,accounting_period" - | "payments,line_items,contact,company,accounting_period,payment_term" - | "payments,line_items,contact,company,employee" - | "payments,line_items,contact,company,employee,accounting_period" - | "payments,line_items,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,contact,company,employee,payment_term" - | "payments,line_items,contact,company,payment_term" - | "payments,line_items,contact,employee" - | "payments,line_items,contact,employee,accounting_period" - | "payments,line_items,contact,employee,accounting_period,payment_term" - | "payments,line_items,contact,employee,payment_term" - | "payments,line_items,contact,payment_term" - | "payments,line_items,employee" - | "payments,line_items,employee,accounting_period" - | "payments,line_items,employee,accounting_period,payment_term" - | "payments,line_items,employee,payment_term" - | "payments,line_items,payment_term" - | "payments,line_items,purchase_orders" - | "payments,line_items,purchase_orders,accounting_period" - | "payments,line_items,purchase_orders,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes" - | "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company" - | "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,employee" - | "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,line_items,purchase_orders,applied_credit_notes,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits" - | "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - | "payments,line_items,purchase_orders,company" - | "payments,line_items,purchase_orders,company,accounting_period" - | "payments,line_items,purchase_orders,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,company,employee" - | "payments,line_items,purchase_orders,company,employee,accounting_period" - | "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,company,employee,payment_term" - | "payments,line_items,purchase_orders,company,payment_term" - | "payments,line_items,purchase_orders,contact" - | "payments,line_items,purchase_orders,contact,accounting_period" - | "payments,line_items,purchase_orders,contact,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,company" - | "payments,line_items,purchase_orders,contact,company,accounting_period" - | "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,company,employee" - | "payments,line_items,purchase_orders,contact,company,employee,accounting_period" - | "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,company,employee,payment_term" - | "payments,line_items,purchase_orders,contact,company,payment_term" - | "payments,line_items,purchase_orders,contact,employee" - | "payments,line_items,purchase_orders,contact,employee,accounting_period" - | "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,contact,employee,payment_term" - | "payments,line_items,purchase_orders,contact,payment_term" - | "payments,line_items,purchase_orders,employee" - | "payments,line_items,purchase_orders,employee,accounting_period" - | "payments,line_items,purchase_orders,employee,accounting_period,payment_term" - | "payments,line_items,purchase_orders,employee,payment_term" - | "payments,line_items,purchase_orders,payment_term" - | "payments,line_items,tracking_categories" - | "payments,line_items,tracking_categories,accounting_period" - | "payments,line_items,tracking_categories,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes" - | "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company" - | "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,employee" - | "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,line_items,tracking_categories,applied_credit_notes,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits" - | "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,company" - | "payments,line_items,tracking_categories,company,accounting_period" - | "payments,line_items,tracking_categories,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,company,employee" - | "payments,line_items,tracking_categories,company,employee,accounting_period" - | "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,company,employee,payment_term" - | "payments,line_items,tracking_categories,company,payment_term" - | "payments,line_items,tracking_categories,contact" - | "payments,line_items,tracking_categories,contact,accounting_period" - | "payments,line_items,tracking_categories,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,company" - | "payments,line_items,tracking_categories,contact,company,accounting_period" - | "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,company,employee" - | "payments,line_items,tracking_categories,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,contact,company,payment_term" - | "payments,line_items,tracking_categories,contact,employee" - | "payments,line_items,tracking_categories,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,contact,employee,payment_term" - | "payments,line_items,tracking_categories,contact,payment_term" - | "payments,line_items,tracking_categories,employee" - | "payments,line_items,tracking_categories,employee,accounting_period" - | "payments,line_items,tracking_categories,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,employee,payment_term" - | "payments,line_items,tracking_categories,payment_term" - | "payments,line_items,tracking_categories,purchase_orders" - | "payments,line_items,tracking_categories,purchase_orders,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company" - | "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact" - | "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,employee" - | "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - | "payments,line_items,tracking_categories,purchase_orders,payment_term" - | "payments,payment_term" - | "payments,purchase_orders" - | "payments,purchase_orders,accounting_period" - | "payments,purchase_orders,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes" - | "payments,purchase_orders,applied_credit_notes,accounting_period" - | "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,purchase_orders,applied_credit_notes,company" - | "payments,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,company,employee" - | "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact" - | "payments,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company" - | "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,employee" - | "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,purchase_orders,applied_credit_notes,employee" - | "payments,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,purchase_orders,applied_credit_notes,payment_term" - | "payments,purchase_orders,applied_vendor_credits" - | "payments,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company" - | "payments,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company,employee" - | "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact" - | "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company" - | "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,purchase_orders,applied_vendor_credits,employee" - | "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,purchase_orders,applied_vendor_credits,payment_term" - | "payments,purchase_orders,company" - | "payments,purchase_orders,company,accounting_period" - | "payments,purchase_orders,company,accounting_period,payment_term" - | "payments,purchase_orders,company,employee" - | "payments,purchase_orders,company,employee,accounting_period" - | "payments,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,company,employee,payment_term" - | "payments,purchase_orders,company,payment_term" - | "payments,purchase_orders,contact" - | "payments,purchase_orders,contact,accounting_period" - | "payments,purchase_orders,contact,accounting_period,payment_term" - | "payments,purchase_orders,contact,company" - | "payments,purchase_orders,contact,company,accounting_period" - | "payments,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,purchase_orders,contact,company,employee" - | "payments,purchase_orders,contact,company,employee,accounting_period" - | "payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,purchase_orders,contact,company,employee,payment_term" - | "payments,purchase_orders,contact,company,payment_term" - | "payments,purchase_orders,contact,employee" - | "payments,purchase_orders,contact,employee,accounting_period" - | "payments,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,purchase_orders,contact,employee,payment_term" - | "payments,purchase_orders,contact,payment_term" - | "payments,purchase_orders,employee" - | "payments,purchase_orders,employee,accounting_period" - | "payments,purchase_orders,employee,accounting_period,payment_term" - | "payments,purchase_orders,employee,payment_term" - | "payments,purchase_orders,payment_term" - | "payments,tracking_categories" - | "payments,tracking_categories,accounting_period" - | "payments,tracking_categories,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes" - | "payments,tracking_categories,applied_credit_notes,accounting_period" - | "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,tracking_categories,applied_credit_notes,company" - | "payments,tracking_categories,applied_credit_notes,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,company,employee" - | "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact" - | "payments,tracking_categories,applied_credit_notes,contact,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company" - | "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,employee" - | "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,contact,payment_term" - | "payments,tracking_categories,applied_credit_notes,employee" - | "payments,tracking_categories,applied_credit_notes,employee,accounting_period" - | "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_credit_notes,employee,payment_term" - | "payments,tracking_categories,applied_credit_notes,payment_term" - | "payments,tracking_categories,applied_vendor_credits" - | "payments,tracking_categories,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company" - | "payments,tracking_categories,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company,employee" - | "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact" - | "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company" - | "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,applied_vendor_credits,employee" - | "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,applied_vendor_credits,payment_term" - | "payments,tracking_categories,company" - | "payments,tracking_categories,company,accounting_period" - | "payments,tracking_categories,company,accounting_period,payment_term" - | "payments,tracking_categories,company,employee" - | "payments,tracking_categories,company,employee,accounting_period" - | "payments,tracking_categories,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,company,employee,payment_term" - | "payments,tracking_categories,company,payment_term" - | "payments,tracking_categories,contact" - | "payments,tracking_categories,contact,accounting_period" - | "payments,tracking_categories,contact,accounting_period,payment_term" - | "payments,tracking_categories,contact,company" - | "payments,tracking_categories,contact,company,accounting_period" - | "payments,tracking_categories,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,contact,company,employee" - | "payments,tracking_categories,contact,company,employee,accounting_period" - | "payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,contact,company,employee,payment_term" - | "payments,tracking_categories,contact,company,payment_term" - | "payments,tracking_categories,contact,employee" - | "payments,tracking_categories,contact,employee,accounting_period" - | "payments,tracking_categories,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,contact,employee,payment_term" - | "payments,tracking_categories,contact,payment_term" - | "payments,tracking_categories,employee" - | "payments,tracking_categories,employee,accounting_period" - | "payments,tracking_categories,employee,accounting_period,payment_term" - | "payments,tracking_categories,employee,payment_term" - | "payments,tracking_categories,payment_term" - | "payments,tracking_categories,purchase_orders" - | "payments,tracking_categories,purchase_orders,accounting_period" - | "payments,tracking_categories,purchase_orders,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "payments,tracking_categories,purchase_orders,company" - | "payments,tracking_categories,purchase_orders,company,accounting_period" - | "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,company,employee" - | "payments,tracking_categories,purchase_orders,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,company,payment_term" - | "payments,tracking_categories,purchase_orders,contact" - | "payments,tracking_categories,purchase_orders,contact,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company" - | "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company,employee" - | "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "payments,tracking_categories,purchase_orders,contact,company,payment_term" - | "payments,tracking_categories,purchase_orders,contact,employee" - | "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,contact,employee,payment_term" - | "payments,tracking_categories,purchase_orders,contact,payment_term" - | "payments,tracking_categories,purchase_orders,employee" - | "payments,tracking_categories,purchase_orders,employee,accounting_period" - | "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "payments,tracking_categories,purchase_orders,employee,payment_term" - | "payments,tracking_categories,purchase_orders,payment_term" - | "purchase_orders" - | "purchase_orders,accounting_period" - | "purchase_orders,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes" - | "purchase_orders,applied_credit_notes,accounting_period" - | "purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "purchase_orders,applied_credit_notes,company" - | "purchase_orders,applied_credit_notes,company,accounting_period" - | "purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,company,employee" - | "purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,company,payment_term" - | "purchase_orders,applied_credit_notes,contact" - | "purchase_orders,applied_credit_notes,contact,accounting_period" - | "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,company" - | "purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,company,employee" - | "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "purchase_orders,applied_credit_notes,contact,company,payment_term" - | "purchase_orders,applied_credit_notes,contact,employee" - | "purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "purchase_orders,applied_credit_notes,contact,payment_term" - | "purchase_orders,applied_credit_notes,employee" - | "purchase_orders,applied_credit_notes,employee,accounting_period" - | "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "purchase_orders,applied_credit_notes,employee,payment_term" - | "purchase_orders,applied_credit_notes,payment_term" - | "purchase_orders,applied_vendor_credits" - | "purchase_orders,applied_vendor_credits,accounting_period" - | "purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,company" - | "purchase_orders,applied_vendor_credits,company,accounting_period" - | "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,company,employee" - | "purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "purchase_orders,applied_vendor_credits,company,payment_term" - | "purchase_orders,applied_vendor_credits,contact" - | "purchase_orders,applied_vendor_credits,contact,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company" - | "purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company,employee" - | "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "purchase_orders,applied_vendor_credits,contact,employee" - | "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "purchase_orders,applied_vendor_credits,contact,payment_term" - | "purchase_orders,applied_vendor_credits,employee" - | "purchase_orders,applied_vendor_credits,employee,accounting_period" - | "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "purchase_orders,applied_vendor_credits,employee,payment_term" - | "purchase_orders,applied_vendor_credits,payment_term" - | "purchase_orders,company" - | "purchase_orders,company,accounting_period" - | "purchase_orders,company,accounting_period,payment_term" - | "purchase_orders,company,employee" - | "purchase_orders,company,employee,accounting_period" - | "purchase_orders,company,employee,accounting_period,payment_term" - | "purchase_orders,company,employee,payment_term" - | "purchase_orders,company,payment_term" - | "purchase_orders,contact" - | "purchase_orders,contact,accounting_period" - | "purchase_orders,contact,accounting_period,payment_term" - | "purchase_orders,contact,company" - | "purchase_orders,contact,company,accounting_period" - | "purchase_orders,contact,company,accounting_period,payment_term" - | "purchase_orders,contact,company,employee" - | "purchase_orders,contact,company,employee,accounting_period" - | "purchase_orders,contact,company,employee,accounting_period,payment_term" - | "purchase_orders,contact,company,employee,payment_term" - | "purchase_orders,contact,company,payment_term" - | "purchase_orders,contact,employee" - | "purchase_orders,contact,employee,accounting_period" - | "purchase_orders,contact,employee,accounting_period,payment_term" - | "purchase_orders,contact,employee,payment_term" - | "purchase_orders,contact,payment_term" - | "purchase_orders,employee" - | "purchase_orders,employee,accounting_period" - | "purchase_orders,employee,accounting_period,payment_term" - | "purchase_orders,employee,payment_term" - | "purchase_orders,payment_term" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes" - | "tracking_categories,applied_credit_notes,accounting_period" - | "tracking_categories,applied_credit_notes,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - | "tracking_categories,applied_credit_notes,company" - | "tracking_categories,applied_credit_notes,company,accounting_period" - | "tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,company,employee" - | "tracking_categories,applied_credit_notes,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,company,payment_term" - | "tracking_categories,applied_credit_notes,contact" - | "tracking_categories,applied_credit_notes,contact,accounting_period" - | "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,company" - | "tracking_categories,applied_credit_notes,contact,company,accounting_period" - | "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,company,employee" - | "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - | "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - | "tracking_categories,applied_credit_notes,contact,company,payment_term" - | "tracking_categories,applied_credit_notes,contact,employee" - | "tracking_categories,applied_credit_notes,contact,employee,accounting_period" - | "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,contact,employee,payment_term" - | "tracking_categories,applied_credit_notes,contact,payment_term" - | "tracking_categories,applied_credit_notes,employee" - | "tracking_categories,applied_credit_notes,employee,accounting_period" - | "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - | "tracking_categories,applied_credit_notes,employee,payment_term" - | "tracking_categories,applied_credit_notes,payment_term" - | "tracking_categories,applied_vendor_credits" - | "tracking_categories,applied_vendor_credits,accounting_period" - | "tracking_categories,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,company" - | "tracking_categories,applied_vendor_credits,company,accounting_period" - | "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,company,employee" - | "tracking_categories,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,applied_vendor_credits,company,payment_term" - | "tracking_categories,applied_vendor_credits,contact" - | "tracking_categories,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company" - | "tracking_categories,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company,employee" - | "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,applied_vendor_credits,contact,employee" - | "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,applied_vendor_credits,contact,payment_term" - | "tracking_categories,applied_vendor_credits,employee" - | "tracking_categories,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,applied_vendor_credits,employee,payment_term" - | "tracking_categories,applied_vendor_credits,payment_term" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,accounting_period,payment_term" - | "tracking_categories,company,employee" - | "tracking_categories,company,employee,accounting_period" - | "tracking_categories,company,employee,accounting_period,payment_term" - | "tracking_categories,company,employee,payment_term" - | "tracking_categories,company,payment_term" - | "tracking_categories,contact" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,accounting_period,payment_term" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period" - | "tracking_categories,contact,company,accounting_period,payment_term" - | "tracking_categories,contact,company,employee" - | "tracking_categories,contact,company,employee,accounting_period" - | "tracking_categories,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,contact,company,employee,payment_term" - | "tracking_categories,contact,company,payment_term" - | "tracking_categories,contact,employee" - | "tracking_categories,contact,employee,accounting_period" - | "tracking_categories,contact,employee,accounting_period,payment_term" - | "tracking_categories,contact,employee,payment_term" - | "tracking_categories,contact,payment_term" - | "tracking_categories,employee" - | "tracking_categories,employee,accounting_period" - | "tracking_categories,employee,accounting_period,payment_term" - | "tracking_categories,employee,payment_term" - | "tracking_categories,payment_term" - | "tracking_categories,purchase_orders" - | "tracking_categories,purchase_orders,accounting_period" - | "tracking_categories,purchase_orders,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes" - | "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company" - | "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,employee" - | "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - | "tracking_categories,purchase_orders,applied_credit_notes,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits" - | "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - | "tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - | "tracking_categories,purchase_orders,company" - | "tracking_categories,purchase_orders,company,accounting_period" - | "tracking_categories,purchase_orders,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,company,employee" - | "tracking_categories,purchase_orders,company,employee,accounting_period" - | "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,company,employee,payment_term" - | "tracking_categories,purchase_orders,company,payment_term" - | "tracking_categories,purchase_orders,contact" - | "tracking_categories,purchase_orders,contact,accounting_period" - | "tracking_categories,purchase_orders,contact,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,company" - | "tracking_categories,purchase_orders,contact,company,accounting_period" - | "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,company,employee" - | "tracking_categories,purchase_orders,contact,company,employee,accounting_period" - | "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,company,employee,payment_term" - | "tracking_categories,purchase_orders,contact,company,payment_term" - | "tracking_categories,purchase_orders,contact,employee" - | "tracking_categories,purchase_orders,contact,employee,accounting_period" - | "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,contact,employee,payment_term" - | "tracking_categories,purchase_orders,contact,payment_term" - | "tracking_categories,purchase_orders,employee" - | "tracking_categories,purchase_orders,employee,accounting_period" - | "tracking_categories,purchase_orders,employee,accounting_period,payment_term" - | "tracking_categories,purchase_orders,employee,payment_term" - | "tracking_categories,purchase_orders,payment_term"; -} diff --git a/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..836ffa375 --- /dev/null +++ b/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts @@ -0,0 +1,39 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const InvoicesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.InvoicesRetrieveRequestExpandItem.Raw, + Merge.accounting.InvoicesRetrieveRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "applied_credit_notes", + "applied_payments", + "applied_vendor_credits", + "company", + "contact", + "employee", + "line_items", + "payment_term", + "payments", + "purchase_orders", + "tracking_categories", +]); + +export declare namespace InvoicesRetrieveRequestExpandItem { + export type Raw = + | "accounting_period" + | "applied_credit_notes" + | "applied_payments" + | "applied_vendor_credits" + | "company" + | "contact" + | "employee" + | "line_items" + | "payment_term" + | "payments" + | "purchase_orders" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/invoices/types/index.ts b/src/serialization/resources/accounting/resources/invoices/types/index.ts index 6066a0bb6..35fff0ee5 100644 --- a/src/serialization/resources/accounting/resources/invoices/types/index.ts +++ b/src/serialization/resources/accounting/resources/invoices/types/index.ts @@ -1,4 +1,4 @@ -export * from "./InvoicesListRequestExpand"; +export * from "./InvoicesListRequestExpandItem"; export * from "./InvoicesListRequestStatus"; export * from "./InvoicesListRequestType"; -export * from "./InvoicesRetrieveRequestExpand"; +export * from "./InvoicesRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts b/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts deleted file mode 100644 index c108408b5..000000000 --- a/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts +++ /dev/null @@ -1,77 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ItemsListRequestExpand: core.serialization.Schema< - serializers.accounting.ItemsListRequestExpand.Raw, - Merge.accounting.ItemsListRequestExpand -> = core.serialization.enum_([ - "company", - "company,purchase_tax_rate", - "company,sales_tax_rate", - "company,sales_tax_rate,purchase_tax_rate", - "purchase_account", - "purchase_account,company", - "purchase_account,company,purchase_tax_rate", - "purchase_account,company,sales_tax_rate", - "purchase_account,company,sales_tax_rate,purchase_tax_rate", - "purchase_account,purchase_tax_rate", - "purchase_account,sales_account", - "purchase_account,sales_account,company", - "purchase_account,sales_account,company,purchase_tax_rate", - "purchase_account,sales_account,company,sales_tax_rate", - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate", - "purchase_account,sales_account,purchase_tax_rate", - "purchase_account,sales_account,sales_tax_rate", - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate", - "purchase_account,sales_tax_rate", - "purchase_account,sales_tax_rate,purchase_tax_rate", - "purchase_tax_rate", - "sales_account", - "sales_account,company", - "sales_account,company,purchase_tax_rate", - "sales_account,company,sales_tax_rate", - "sales_account,company,sales_tax_rate,purchase_tax_rate", - "sales_account,purchase_tax_rate", - "sales_account,sales_tax_rate", - "sales_account,sales_tax_rate,purchase_tax_rate", - "sales_tax_rate", - "sales_tax_rate,purchase_tax_rate", -]); - -export declare namespace ItemsListRequestExpand { - export type Raw = - | "company" - | "company,purchase_tax_rate" - | "company,sales_tax_rate" - | "company,sales_tax_rate,purchase_tax_rate" - | "purchase_account" - | "purchase_account,company" - | "purchase_account,company,purchase_tax_rate" - | "purchase_account,company,sales_tax_rate" - | "purchase_account,company,sales_tax_rate,purchase_tax_rate" - | "purchase_account,purchase_tax_rate" - | "purchase_account,sales_account" - | "purchase_account,sales_account,company" - | "purchase_account,sales_account,company,purchase_tax_rate" - | "purchase_account,sales_account,company,sales_tax_rate" - | "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" - | "purchase_account,sales_account,purchase_tax_rate" - | "purchase_account,sales_account,sales_tax_rate" - | "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" - | "purchase_account,sales_tax_rate" - | "purchase_account,sales_tax_rate,purchase_tax_rate" - | "purchase_tax_rate" - | "sales_account" - | "sales_account,company" - | "sales_account,company,purchase_tax_rate" - | "sales_account,company,sales_tax_rate" - | "sales_account,company,sales_tax_rate,purchase_tax_rate" - | "sales_account,purchase_tax_rate" - | "sales_account,sales_tax_rate" - | "sales_account,sales_tax_rate,purchase_tax_rate" - | "sales_tax_rate" - | "sales_tax_rate,purchase_tax_rate"; -} diff --git a/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts new file mode 100644 index 000000000..fe89c6e81 --- /dev/null +++ b/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ItemsListRequestExpandItem: core.serialization.Schema< + serializers.accounting.ItemsListRequestExpandItem.Raw, + Merge.accounting.ItemsListRequestExpandItem +> = core.serialization.enum_(["company", "purchase_account", "purchase_tax_rate", "sales_account", "sales_tax_rate"]); + +export declare namespace ItemsListRequestExpandItem { + export type Raw = "company" | "purchase_account" | "purchase_tax_rate" | "sales_account" | "sales_tax_rate"; +} diff --git a/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts deleted file mode 100644 index 101698456..000000000 --- a/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts +++ /dev/null @@ -1,77 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ItemsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.ItemsRetrieveRequestExpand.Raw, - Merge.accounting.ItemsRetrieveRequestExpand -> = core.serialization.enum_([ - "company", - "company,purchase_tax_rate", - "company,sales_tax_rate", - "company,sales_tax_rate,purchase_tax_rate", - "purchase_account", - "purchase_account,company", - "purchase_account,company,purchase_tax_rate", - "purchase_account,company,sales_tax_rate", - "purchase_account,company,sales_tax_rate,purchase_tax_rate", - "purchase_account,purchase_tax_rate", - "purchase_account,sales_account", - "purchase_account,sales_account,company", - "purchase_account,sales_account,company,purchase_tax_rate", - "purchase_account,sales_account,company,sales_tax_rate", - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate", - "purchase_account,sales_account,purchase_tax_rate", - "purchase_account,sales_account,sales_tax_rate", - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate", - "purchase_account,sales_tax_rate", - "purchase_account,sales_tax_rate,purchase_tax_rate", - "purchase_tax_rate", - "sales_account", - "sales_account,company", - "sales_account,company,purchase_tax_rate", - "sales_account,company,sales_tax_rate", - "sales_account,company,sales_tax_rate,purchase_tax_rate", - "sales_account,purchase_tax_rate", - "sales_account,sales_tax_rate", - "sales_account,sales_tax_rate,purchase_tax_rate", - "sales_tax_rate", - "sales_tax_rate,purchase_tax_rate", -]); - -export declare namespace ItemsRetrieveRequestExpand { - export type Raw = - | "company" - | "company,purchase_tax_rate" - | "company,sales_tax_rate" - | "company,sales_tax_rate,purchase_tax_rate" - | "purchase_account" - | "purchase_account,company" - | "purchase_account,company,purchase_tax_rate" - | "purchase_account,company,sales_tax_rate" - | "purchase_account,company,sales_tax_rate,purchase_tax_rate" - | "purchase_account,purchase_tax_rate" - | "purchase_account,sales_account" - | "purchase_account,sales_account,company" - | "purchase_account,sales_account,company,purchase_tax_rate" - | "purchase_account,sales_account,company,sales_tax_rate" - | "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" - | "purchase_account,sales_account,purchase_tax_rate" - | "purchase_account,sales_account,sales_tax_rate" - | "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" - | "purchase_account,sales_tax_rate" - | "purchase_account,sales_tax_rate,purchase_tax_rate" - | "purchase_tax_rate" - | "sales_account" - | "sales_account,company" - | "sales_account,company,purchase_tax_rate" - | "sales_account,company,sales_tax_rate" - | "sales_account,company,sales_tax_rate,purchase_tax_rate" - | "sales_account,purchase_tax_rate" - | "sales_account,sales_tax_rate" - | "sales_account,sales_tax_rate,purchase_tax_rate" - | "sales_tax_rate" - | "sales_tax_rate,purchase_tax_rate"; -} diff --git a/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..03a242a91 --- /dev/null +++ b/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ItemsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.ItemsRetrieveRequestExpandItem.Raw, + Merge.accounting.ItemsRetrieveRequestExpandItem +> = core.serialization.enum_(["company", "purchase_account", "purchase_tax_rate", "sales_account", "sales_tax_rate"]); + +export declare namespace ItemsRetrieveRequestExpandItem { + export type Raw = "company" | "purchase_account" | "purchase_tax_rate" | "sales_account" | "sales_tax_rate"; +} diff --git a/src/serialization/resources/accounting/resources/items/types/index.ts b/src/serialization/resources/accounting/resources/items/types/index.ts index 2d4c475ae..0abd34ea4 100644 --- a/src/serialization/resources/accounting/resources/items/types/index.ts +++ b/src/serialization/resources/accounting/resources/items/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ItemsListRequestExpand"; -export * from "./ItemsRetrieveRequestExpand"; +export * from "./ItemsListRequestExpandItem"; +export * from "./ItemsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts deleted file mode 100644 index 9053bf7ef..000000000 --- a/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const JournalEntriesListRequestExpand: core.serialization.Schema< - serializers.accounting.JournalEntriesListRequestExpand.Raw, - Merge.accounting.JournalEntriesListRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "applied_payments", - "applied_payments,accounting_period", - "applied_payments,company", - "applied_payments,company,accounting_period", - "applied_payments,tracking_categories", - "applied_payments,tracking_categories,accounting_period", - "applied_payments,tracking_categories,company", - "applied_payments,tracking_categories,company,accounting_period", - "company", - "company,accounting_period", - "lines", - "lines,accounting_period", - "lines,applied_payments", - "lines,applied_payments,accounting_period", - "lines,applied_payments,company", - "lines,applied_payments,company,accounting_period", - "lines,applied_payments,tracking_categories", - "lines,applied_payments,tracking_categories,accounting_period", - "lines,applied_payments,tracking_categories,company", - "lines,applied_payments,tracking_categories,company,accounting_period", - "lines,company", - "lines,company,accounting_period", - "lines,payments", - "lines,payments,accounting_period", - "lines,payments,applied_payments", - "lines,payments,applied_payments,accounting_period", - "lines,payments,applied_payments,company", - "lines,payments,applied_payments,company,accounting_period", - "lines,payments,applied_payments,tracking_categories", - "lines,payments,applied_payments,tracking_categories,accounting_period", - "lines,payments,applied_payments,tracking_categories,company", - "lines,payments,applied_payments,tracking_categories,company,accounting_period", - "lines,payments,company", - "lines,payments,company,accounting_period", - "lines,payments,tracking_categories", - "lines,payments,tracking_categories,accounting_period", - "lines,payments,tracking_categories,company", - "lines,payments,tracking_categories,company,accounting_period", - "lines,tracking_categories", - "lines,tracking_categories,accounting_period", - "lines,tracking_categories,company", - "lines,tracking_categories,company,accounting_period", - "payments", - "payments,accounting_period", - "payments,applied_payments", - "payments,applied_payments,accounting_period", - "payments,applied_payments,company", - "payments,applied_payments,company,accounting_period", - "payments,applied_payments,tracking_categories", - "payments,applied_payments,tracking_categories,accounting_period", - "payments,applied_payments,tracking_categories,company", - "payments,applied_payments,tracking_categories,company,accounting_period", - "payments,company", - "payments,company,accounting_period", - "payments,tracking_categories", - "payments,tracking_categories,accounting_period", - "payments,tracking_categories,company", - "payments,tracking_categories,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", -]); - -export declare namespace JournalEntriesListRequestExpand { - export type Raw = - | "accounting_period" - | "applied_payments" - | "applied_payments,accounting_period" - | "applied_payments,company" - | "applied_payments,company,accounting_period" - | "applied_payments,tracking_categories" - | "applied_payments,tracking_categories,accounting_period" - | "applied_payments,tracking_categories,company" - | "applied_payments,tracking_categories,company,accounting_period" - | "company" - | "company,accounting_period" - | "lines" - | "lines,accounting_period" - | "lines,applied_payments" - | "lines,applied_payments,accounting_period" - | "lines,applied_payments,company" - | "lines,applied_payments,company,accounting_period" - | "lines,applied_payments,tracking_categories" - | "lines,applied_payments,tracking_categories,accounting_period" - | "lines,applied_payments,tracking_categories,company" - | "lines,applied_payments,tracking_categories,company,accounting_period" - | "lines,company" - | "lines,company,accounting_period" - | "lines,payments" - | "lines,payments,accounting_period" - | "lines,payments,applied_payments" - | "lines,payments,applied_payments,accounting_period" - | "lines,payments,applied_payments,company" - | "lines,payments,applied_payments,company,accounting_period" - | "lines,payments,applied_payments,tracking_categories" - | "lines,payments,applied_payments,tracking_categories,accounting_period" - | "lines,payments,applied_payments,tracking_categories,company" - | "lines,payments,applied_payments,tracking_categories,company,accounting_period" - | "lines,payments,company" - | "lines,payments,company,accounting_period" - | "lines,payments,tracking_categories" - | "lines,payments,tracking_categories,accounting_period" - | "lines,payments,tracking_categories,company" - | "lines,payments,tracking_categories,company,accounting_period" - | "lines,tracking_categories" - | "lines,tracking_categories,accounting_period" - | "lines,tracking_categories,company" - | "lines,tracking_categories,company,accounting_period" - | "payments" - | "payments,accounting_period" - | "payments,applied_payments" - | "payments,applied_payments,accounting_period" - | "payments,applied_payments,company" - | "payments,applied_payments,company,accounting_period" - | "payments,applied_payments,tracking_categories" - | "payments,applied_payments,tracking_categories,accounting_period" - | "payments,applied_payments,tracking_categories,company" - | "payments,applied_payments,tracking_categories,company,accounting_period" - | "payments,company" - | "payments,company,accounting_period" - | "payments,tracking_categories" - | "payments,tracking_categories,accounting_period" - | "payments,tracking_categories,company" - | "payments,tracking_categories,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts new file mode 100644 index 000000000..052975a42 --- /dev/null +++ b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts @@ -0,0 +1,27 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const JournalEntriesListRequestExpandItem: core.serialization.Schema< + serializers.accounting.JournalEntriesListRequestExpandItem.Raw, + Merge.accounting.JournalEntriesListRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "applied_payments", + "company", + "lines", + "payments", + "tracking_categories", +]); + +export declare namespace JournalEntriesListRequestExpandItem { + export type Raw = + | "accounting_period" + | "applied_payments" + | "company" + | "lines" + | "payments" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts deleted file mode 100644 index 68aaf880d..000000000 --- a/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const JournalEntriesRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.JournalEntriesRetrieveRequestExpand.Raw, - Merge.accounting.JournalEntriesRetrieveRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "applied_payments", - "applied_payments,accounting_period", - "applied_payments,company", - "applied_payments,company,accounting_period", - "applied_payments,tracking_categories", - "applied_payments,tracking_categories,accounting_period", - "applied_payments,tracking_categories,company", - "applied_payments,tracking_categories,company,accounting_period", - "company", - "company,accounting_period", - "lines", - "lines,accounting_period", - "lines,applied_payments", - "lines,applied_payments,accounting_period", - "lines,applied_payments,company", - "lines,applied_payments,company,accounting_period", - "lines,applied_payments,tracking_categories", - "lines,applied_payments,tracking_categories,accounting_period", - "lines,applied_payments,tracking_categories,company", - "lines,applied_payments,tracking_categories,company,accounting_period", - "lines,company", - "lines,company,accounting_period", - "lines,payments", - "lines,payments,accounting_period", - "lines,payments,applied_payments", - "lines,payments,applied_payments,accounting_period", - "lines,payments,applied_payments,company", - "lines,payments,applied_payments,company,accounting_period", - "lines,payments,applied_payments,tracking_categories", - "lines,payments,applied_payments,tracking_categories,accounting_period", - "lines,payments,applied_payments,tracking_categories,company", - "lines,payments,applied_payments,tracking_categories,company,accounting_period", - "lines,payments,company", - "lines,payments,company,accounting_period", - "lines,payments,tracking_categories", - "lines,payments,tracking_categories,accounting_period", - "lines,payments,tracking_categories,company", - "lines,payments,tracking_categories,company,accounting_period", - "lines,tracking_categories", - "lines,tracking_categories,accounting_period", - "lines,tracking_categories,company", - "lines,tracking_categories,company,accounting_period", - "payments", - "payments,accounting_period", - "payments,applied_payments", - "payments,applied_payments,accounting_period", - "payments,applied_payments,company", - "payments,applied_payments,company,accounting_period", - "payments,applied_payments,tracking_categories", - "payments,applied_payments,tracking_categories,accounting_period", - "payments,applied_payments,tracking_categories,company", - "payments,applied_payments,tracking_categories,company,accounting_period", - "payments,company", - "payments,company,accounting_period", - "payments,tracking_categories", - "payments,tracking_categories,accounting_period", - "payments,tracking_categories,company", - "payments,tracking_categories,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", -]); - -export declare namespace JournalEntriesRetrieveRequestExpand { - export type Raw = - | "accounting_period" - | "applied_payments" - | "applied_payments,accounting_period" - | "applied_payments,company" - | "applied_payments,company,accounting_period" - | "applied_payments,tracking_categories" - | "applied_payments,tracking_categories,accounting_period" - | "applied_payments,tracking_categories,company" - | "applied_payments,tracking_categories,company,accounting_period" - | "company" - | "company,accounting_period" - | "lines" - | "lines,accounting_period" - | "lines,applied_payments" - | "lines,applied_payments,accounting_period" - | "lines,applied_payments,company" - | "lines,applied_payments,company,accounting_period" - | "lines,applied_payments,tracking_categories" - | "lines,applied_payments,tracking_categories,accounting_period" - | "lines,applied_payments,tracking_categories,company" - | "lines,applied_payments,tracking_categories,company,accounting_period" - | "lines,company" - | "lines,company,accounting_period" - | "lines,payments" - | "lines,payments,accounting_period" - | "lines,payments,applied_payments" - | "lines,payments,applied_payments,accounting_period" - | "lines,payments,applied_payments,company" - | "lines,payments,applied_payments,company,accounting_period" - | "lines,payments,applied_payments,tracking_categories" - | "lines,payments,applied_payments,tracking_categories,accounting_period" - | "lines,payments,applied_payments,tracking_categories,company" - | "lines,payments,applied_payments,tracking_categories,company,accounting_period" - | "lines,payments,company" - | "lines,payments,company,accounting_period" - | "lines,payments,tracking_categories" - | "lines,payments,tracking_categories,accounting_period" - | "lines,payments,tracking_categories,company" - | "lines,payments,tracking_categories,company,accounting_period" - | "lines,tracking_categories" - | "lines,tracking_categories,accounting_period" - | "lines,tracking_categories,company" - | "lines,tracking_categories,company,accounting_period" - | "payments" - | "payments,accounting_period" - | "payments,applied_payments" - | "payments,applied_payments,accounting_period" - | "payments,applied_payments,company" - | "payments,applied_payments,company,accounting_period" - | "payments,applied_payments,tracking_categories" - | "payments,applied_payments,tracking_categories,accounting_period" - | "payments,applied_payments,tracking_categories,company" - | "payments,applied_payments,tracking_categories,company,accounting_period" - | "payments,company" - | "payments,company,accounting_period" - | "payments,tracking_categories" - | "payments,tracking_categories,accounting_period" - | "payments,tracking_categories,company" - | "payments,tracking_categories,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..d95e5788f --- /dev/null +++ b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts @@ -0,0 +1,27 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const JournalEntriesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.JournalEntriesRetrieveRequestExpandItem.Raw, + Merge.accounting.JournalEntriesRetrieveRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "applied_payments", + "company", + "lines", + "payments", + "tracking_categories", +]); + +export declare namespace JournalEntriesRetrieveRequestExpandItem { + export type Raw = + | "accounting_period" + | "applied_payments" + | "company" + | "lines" + | "payments" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/journalEntries/types/index.ts b/src/serialization/resources/accounting/resources/journalEntries/types/index.ts index d0572d020..e01457a2a 100644 --- a/src/serialization/resources/accounting/resources/journalEntries/types/index.ts +++ b/src/serialization/resources/accounting/resources/journalEntries/types/index.ts @@ -1,2 +1,2 @@ -export * from "./JournalEntriesListRequestExpand"; -export * from "./JournalEntriesRetrieveRequestExpand"; +export * from "./JournalEntriesListRequestExpandItem"; +export * from "./JournalEntriesRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts b/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts deleted file mode 100644 index 1b4c1b846..000000000 --- a/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts +++ /dev/null @@ -1,269 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const PaymentsListRequestExpand: core.serialization.Schema< - serializers.accounting.PaymentsListRequestExpand.Raw, - Merge.accounting.PaymentsListRequestExpand -> = core.serialization.enum_([ - "account", - "account,accounting_period", - "account,accounting_period,payment_method", - "account,company", - "account,company,accounting_period", - "account,company,accounting_period,payment_method", - "account,company,payment_method", - "account,payment_method", - "accounting_period", - "accounting_period,payment_method", - "applied_to_lines", - "applied_to_lines,account", - "applied_to_lines,account,accounting_period", - "applied_to_lines,account,accounting_period,payment_method", - "applied_to_lines,account,company", - "applied_to_lines,account,company,accounting_period", - "applied_to_lines,account,company,accounting_period,payment_method", - "applied_to_lines,account,company,payment_method", - "applied_to_lines,account,payment_method", - "applied_to_lines,accounting_period", - "applied_to_lines,accounting_period,payment_method", - "applied_to_lines,company", - "applied_to_lines,company,accounting_period", - "applied_to_lines,company,accounting_period,payment_method", - "applied_to_lines,company,payment_method", - "applied_to_lines,contact", - "applied_to_lines,contact,account", - "applied_to_lines,contact,account,accounting_period", - "applied_to_lines,contact,account,accounting_period,payment_method", - "applied_to_lines,contact,account,company", - "applied_to_lines,contact,account,company,accounting_period", - "applied_to_lines,contact,account,company,accounting_period,payment_method", - "applied_to_lines,contact,account,company,payment_method", - "applied_to_lines,contact,account,payment_method", - "applied_to_lines,contact,accounting_period", - "applied_to_lines,contact,accounting_period,payment_method", - "applied_to_lines,contact,company", - "applied_to_lines,contact,company,accounting_period", - "applied_to_lines,contact,company,accounting_period,payment_method", - "applied_to_lines,contact,company,payment_method", - "applied_to_lines,contact,payment_method", - "applied_to_lines,payment_method", - "company", - "company,accounting_period", - "company,accounting_period,payment_method", - "company,payment_method", - "contact", - "contact,account", - "contact,account,accounting_period", - "contact,account,accounting_period,payment_method", - "contact,account,company", - "contact,account,company,accounting_period", - "contact,account,company,accounting_period,payment_method", - "contact,account,company,payment_method", - "contact,account,payment_method", - "contact,accounting_period", - "contact,accounting_period,payment_method", - "contact,company", - "contact,company,accounting_period", - "contact,company,accounting_period,payment_method", - "contact,company,payment_method", - "contact,payment_method", - "payment_method", - "tracking_categories", - "tracking_categories,account", - "tracking_categories,account,accounting_period", - "tracking_categories,account,accounting_period,payment_method", - "tracking_categories,account,company", - "tracking_categories,account,company,accounting_period", - "tracking_categories,account,company,accounting_period,payment_method", - "tracking_categories,account,company,payment_method", - "tracking_categories,account,payment_method", - "tracking_categories,accounting_period", - "tracking_categories,accounting_period,payment_method", - "tracking_categories,applied_to_lines", - "tracking_categories,applied_to_lines,account", - "tracking_categories,applied_to_lines,account,accounting_period", - "tracking_categories,applied_to_lines,account,accounting_period,payment_method", - "tracking_categories,applied_to_lines,account,company", - "tracking_categories,applied_to_lines,account,company,accounting_period", - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,account,company,payment_method", - "tracking_categories,applied_to_lines,account,payment_method", - "tracking_categories,applied_to_lines,accounting_period", - "tracking_categories,applied_to_lines,accounting_period,payment_method", - "tracking_categories,applied_to_lines,company", - "tracking_categories,applied_to_lines,company,accounting_period", - "tracking_categories,applied_to_lines,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,company,payment_method", - "tracking_categories,applied_to_lines,contact", - "tracking_categories,applied_to_lines,contact,account", - "tracking_categories,applied_to_lines,contact,account,accounting_period", - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,account,company", - "tracking_categories,applied_to_lines,contact,account,company,accounting_period", - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,account,company,payment_method", - "tracking_categories,applied_to_lines,contact,account,payment_method", - "tracking_categories,applied_to_lines,contact,accounting_period", - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,company", - "tracking_categories,applied_to_lines,contact,company,accounting_period", - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,company,payment_method", - "tracking_categories,applied_to_lines,contact,payment_method", - "tracking_categories,applied_to_lines,payment_method", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,accounting_period,payment_method", - "tracking_categories,company,payment_method", - "tracking_categories,contact", - "tracking_categories,contact,account", - "tracking_categories,contact,account,accounting_period", - "tracking_categories,contact,account,accounting_period,payment_method", - "tracking_categories,contact,account,company", - "tracking_categories,contact,account,company,accounting_period", - "tracking_categories,contact,account,company,accounting_period,payment_method", - "tracking_categories,contact,account,company,payment_method", - "tracking_categories,contact,account,payment_method", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,accounting_period,payment_method", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", - "tracking_categories,contact,company,accounting_period,payment_method", - "tracking_categories,contact,company,payment_method", - "tracking_categories,contact,payment_method", - "tracking_categories,payment_method", -]); - -export declare namespace PaymentsListRequestExpand { - export type Raw = - | "account" - | "account,accounting_period" - | "account,accounting_period,payment_method" - | "account,company" - | "account,company,accounting_period" - | "account,company,accounting_period,payment_method" - | "account,company,payment_method" - | "account,payment_method" - | "accounting_period" - | "accounting_period,payment_method" - | "applied_to_lines" - | "applied_to_lines,account" - | "applied_to_lines,account,accounting_period" - | "applied_to_lines,account,accounting_period,payment_method" - | "applied_to_lines,account,company" - | "applied_to_lines,account,company,accounting_period" - | "applied_to_lines,account,company,accounting_period,payment_method" - | "applied_to_lines,account,company,payment_method" - | "applied_to_lines,account,payment_method" - | "applied_to_lines,accounting_period" - | "applied_to_lines,accounting_period,payment_method" - | "applied_to_lines,company" - | "applied_to_lines,company,accounting_period" - | "applied_to_lines,company,accounting_period,payment_method" - | "applied_to_lines,company,payment_method" - | "applied_to_lines,contact" - | "applied_to_lines,contact,account" - | "applied_to_lines,contact,account,accounting_period" - | "applied_to_lines,contact,account,accounting_period,payment_method" - | "applied_to_lines,contact,account,company" - | "applied_to_lines,contact,account,company,accounting_period" - | "applied_to_lines,contact,account,company,accounting_period,payment_method" - | "applied_to_lines,contact,account,company,payment_method" - | "applied_to_lines,contact,account,payment_method" - | "applied_to_lines,contact,accounting_period" - | "applied_to_lines,contact,accounting_period,payment_method" - | "applied_to_lines,contact,company" - | "applied_to_lines,contact,company,accounting_period" - | "applied_to_lines,contact,company,accounting_period,payment_method" - | "applied_to_lines,contact,company,payment_method" - | "applied_to_lines,contact,payment_method" - | "applied_to_lines,payment_method" - | "company" - | "company,accounting_period" - | "company,accounting_period,payment_method" - | "company,payment_method" - | "contact" - | "contact,account" - | "contact,account,accounting_period" - | "contact,account,accounting_period,payment_method" - | "contact,account,company" - | "contact,account,company,accounting_period" - | "contact,account,company,accounting_period,payment_method" - | "contact,account,company,payment_method" - | "contact,account,payment_method" - | "contact,accounting_period" - | "contact,accounting_period,payment_method" - | "contact,company" - | "contact,company,accounting_period" - | "contact,company,accounting_period,payment_method" - | "contact,company,payment_method" - | "contact,payment_method" - | "payment_method" - | "tracking_categories" - | "tracking_categories,account" - | "tracking_categories,account,accounting_period" - | "tracking_categories,account,accounting_period,payment_method" - | "tracking_categories,account,company" - | "tracking_categories,account,company,accounting_period" - | "tracking_categories,account,company,accounting_period,payment_method" - | "tracking_categories,account,company,payment_method" - | "tracking_categories,account,payment_method" - | "tracking_categories,accounting_period" - | "tracking_categories,accounting_period,payment_method" - | "tracking_categories,applied_to_lines" - | "tracking_categories,applied_to_lines,account" - | "tracking_categories,applied_to_lines,account,accounting_period" - | "tracking_categories,applied_to_lines,account,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,account,company" - | "tracking_categories,applied_to_lines,account,company,accounting_period" - | "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,account,company,payment_method" - | "tracking_categories,applied_to_lines,account,payment_method" - | "tracking_categories,applied_to_lines,accounting_period" - | "tracking_categories,applied_to_lines,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,company" - | "tracking_categories,applied_to_lines,company,accounting_period" - | "tracking_categories,applied_to_lines,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,company,payment_method" - | "tracking_categories,applied_to_lines,contact" - | "tracking_categories,applied_to_lines,contact,account" - | "tracking_categories,applied_to_lines,contact,account,accounting_period" - | "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,account,company" - | "tracking_categories,applied_to_lines,contact,account,company,accounting_period" - | "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,account,company,payment_method" - | "tracking_categories,applied_to_lines,contact,account,payment_method" - | "tracking_categories,applied_to_lines,contact,accounting_period" - | "tracking_categories,applied_to_lines,contact,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,company" - | "tracking_categories,applied_to_lines,contact,company,accounting_period" - | "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,company,payment_method" - | "tracking_categories,applied_to_lines,contact,payment_method" - | "tracking_categories,applied_to_lines,payment_method" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,accounting_period,payment_method" - | "tracking_categories,company,payment_method" - | "tracking_categories,contact" - | "tracking_categories,contact,account" - | "tracking_categories,contact,account,accounting_period" - | "tracking_categories,contact,account,accounting_period,payment_method" - | "tracking_categories,contact,account,company" - | "tracking_categories,contact,account,company,accounting_period" - | "tracking_categories,contact,account,company,accounting_period,payment_method" - | "tracking_categories,contact,account,company,payment_method" - | "tracking_categories,contact,account,payment_method" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,accounting_period,payment_method" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period" - | "tracking_categories,contact,company,accounting_period,payment_method" - | "tracking_categories,contact,company,payment_method" - | "tracking_categories,contact,payment_method" - | "tracking_categories,payment_method"; -} diff --git a/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts new file mode 100644 index 000000000..8447bafc8 --- /dev/null +++ b/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts @@ -0,0 +1,29 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const PaymentsListRequestExpandItem: core.serialization.Schema< + serializers.accounting.PaymentsListRequestExpandItem.Raw, + Merge.accounting.PaymentsListRequestExpandItem +> = core.serialization.enum_([ + "account", + "accounting_period", + "applied_to_lines", + "company", + "contact", + "payment_method", + "tracking_categories", +]); + +export declare namespace PaymentsListRequestExpandItem { + export type Raw = + | "account" + | "accounting_period" + | "applied_to_lines" + | "company" + | "contact" + | "payment_method" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts deleted file mode 100644 index f67386464..000000000 --- a/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts +++ /dev/null @@ -1,269 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const PaymentsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.PaymentsRetrieveRequestExpand.Raw, - Merge.accounting.PaymentsRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "account,accounting_period", - "account,accounting_period,payment_method", - "account,company", - "account,company,accounting_period", - "account,company,accounting_period,payment_method", - "account,company,payment_method", - "account,payment_method", - "accounting_period", - "accounting_period,payment_method", - "applied_to_lines", - "applied_to_lines,account", - "applied_to_lines,account,accounting_period", - "applied_to_lines,account,accounting_period,payment_method", - "applied_to_lines,account,company", - "applied_to_lines,account,company,accounting_period", - "applied_to_lines,account,company,accounting_period,payment_method", - "applied_to_lines,account,company,payment_method", - "applied_to_lines,account,payment_method", - "applied_to_lines,accounting_period", - "applied_to_lines,accounting_period,payment_method", - "applied_to_lines,company", - "applied_to_lines,company,accounting_period", - "applied_to_lines,company,accounting_period,payment_method", - "applied_to_lines,company,payment_method", - "applied_to_lines,contact", - "applied_to_lines,contact,account", - "applied_to_lines,contact,account,accounting_period", - "applied_to_lines,contact,account,accounting_period,payment_method", - "applied_to_lines,contact,account,company", - "applied_to_lines,contact,account,company,accounting_period", - "applied_to_lines,contact,account,company,accounting_period,payment_method", - "applied_to_lines,contact,account,company,payment_method", - "applied_to_lines,contact,account,payment_method", - "applied_to_lines,contact,accounting_period", - "applied_to_lines,contact,accounting_period,payment_method", - "applied_to_lines,contact,company", - "applied_to_lines,contact,company,accounting_period", - "applied_to_lines,contact,company,accounting_period,payment_method", - "applied_to_lines,contact,company,payment_method", - "applied_to_lines,contact,payment_method", - "applied_to_lines,payment_method", - "company", - "company,accounting_period", - "company,accounting_period,payment_method", - "company,payment_method", - "contact", - "contact,account", - "contact,account,accounting_period", - "contact,account,accounting_period,payment_method", - "contact,account,company", - "contact,account,company,accounting_period", - "contact,account,company,accounting_period,payment_method", - "contact,account,company,payment_method", - "contact,account,payment_method", - "contact,accounting_period", - "contact,accounting_period,payment_method", - "contact,company", - "contact,company,accounting_period", - "contact,company,accounting_period,payment_method", - "contact,company,payment_method", - "contact,payment_method", - "payment_method", - "tracking_categories", - "tracking_categories,account", - "tracking_categories,account,accounting_period", - "tracking_categories,account,accounting_period,payment_method", - "tracking_categories,account,company", - "tracking_categories,account,company,accounting_period", - "tracking_categories,account,company,accounting_period,payment_method", - "tracking_categories,account,company,payment_method", - "tracking_categories,account,payment_method", - "tracking_categories,accounting_period", - "tracking_categories,accounting_period,payment_method", - "tracking_categories,applied_to_lines", - "tracking_categories,applied_to_lines,account", - "tracking_categories,applied_to_lines,account,accounting_period", - "tracking_categories,applied_to_lines,account,accounting_period,payment_method", - "tracking_categories,applied_to_lines,account,company", - "tracking_categories,applied_to_lines,account,company,accounting_period", - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,account,company,payment_method", - "tracking_categories,applied_to_lines,account,payment_method", - "tracking_categories,applied_to_lines,accounting_period", - "tracking_categories,applied_to_lines,accounting_period,payment_method", - "tracking_categories,applied_to_lines,company", - "tracking_categories,applied_to_lines,company,accounting_period", - "tracking_categories,applied_to_lines,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,company,payment_method", - "tracking_categories,applied_to_lines,contact", - "tracking_categories,applied_to_lines,contact,account", - "tracking_categories,applied_to_lines,contact,account,accounting_period", - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,account,company", - "tracking_categories,applied_to_lines,contact,account,company,accounting_period", - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,account,company,payment_method", - "tracking_categories,applied_to_lines,contact,account,payment_method", - "tracking_categories,applied_to_lines,contact,accounting_period", - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,company", - "tracking_categories,applied_to_lines,contact,company,accounting_period", - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method", - "tracking_categories,applied_to_lines,contact,company,payment_method", - "tracking_categories,applied_to_lines,contact,payment_method", - "tracking_categories,applied_to_lines,payment_method", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,accounting_period,payment_method", - "tracking_categories,company,payment_method", - "tracking_categories,contact", - "tracking_categories,contact,account", - "tracking_categories,contact,account,accounting_period", - "tracking_categories,contact,account,accounting_period,payment_method", - "tracking_categories,contact,account,company", - "tracking_categories,contact,account,company,accounting_period", - "tracking_categories,contact,account,company,accounting_period,payment_method", - "tracking_categories,contact,account,company,payment_method", - "tracking_categories,contact,account,payment_method", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,accounting_period,payment_method", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", - "tracking_categories,contact,company,accounting_period,payment_method", - "tracking_categories,contact,company,payment_method", - "tracking_categories,contact,payment_method", - "tracking_categories,payment_method", -]); - -export declare namespace PaymentsRetrieveRequestExpand { - export type Raw = - | "account" - | "account,accounting_period" - | "account,accounting_period,payment_method" - | "account,company" - | "account,company,accounting_period" - | "account,company,accounting_period,payment_method" - | "account,company,payment_method" - | "account,payment_method" - | "accounting_period" - | "accounting_period,payment_method" - | "applied_to_lines" - | "applied_to_lines,account" - | "applied_to_lines,account,accounting_period" - | "applied_to_lines,account,accounting_period,payment_method" - | "applied_to_lines,account,company" - | "applied_to_lines,account,company,accounting_period" - | "applied_to_lines,account,company,accounting_period,payment_method" - | "applied_to_lines,account,company,payment_method" - | "applied_to_lines,account,payment_method" - | "applied_to_lines,accounting_period" - | "applied_to_lines,accounting_period,payment_method" - | "applied_to_lines,company" - | "applied_to_lines,company,accounting_period" - | "applied_to_lines,company,accounting_period,payment_method" - | "applied_to_lines,company,payment_method" - | "applied_to_lines,contact" - | "applied_to_lines,contact,account" - | "applied_to_lines,contact,account,accounting_period" - | "applied_to_lines,contact,account,accounting_period,payment_method" - | "applied_to_lines,contact,account,company" - | "applied_to_lines,contact,account,company,accounting_period" - | "applied_to_lines,contact,account,company,accounting_period,payment_method" - | "applied_to_lines,contact,account,company,payment_method" - | "applied_to_lines,contact,account,payment_method" - | "applied_to_lines,contact,accounting_period" - | "applied_to_lines,contact,accounting_period,payment_method" - | "applied_to_lines,contact,company" - | "applied_to_lines,contact,company,accounting_period" - | "applied_to_lines,contact,company,accounting_period,payment_method" - | "applied_to_lines,contact,company,payment_method" - | "applied_to_lines,contact,payment_method" - | "applied_to_lines,payment_method" - | "company" - | "company,accounting_period" - | "company,accounting_period,payment_method" - | "company,payment_method" - | "contact" - | "contact,account" - | "contact,account,accounting_period" - | "contact,account,accounting_period,payment_method" - | "contact,account,company" - | "contact,account,company,accounting_period" - | "contact,account,company,accounting_period,payment_method" - | "contact,account,company,payment_method" - | "contact,account,payment_method" - | "contact,accounting_period" - | "contact,accounting_period,payment_method" - | "contact,company" - | "contact,company,accounting_period" - | "contact,company,accounting_period,payment_method" - | "contact,company,payment_method" - | "contact,payment_method" - | "payment_method" - | "tracking_categories" - | "tracking_categories,account" - | "tracking_categories,account,accounting_period" - | "tracking_categories,account,accounting_period,payment_method" - | "tracking_categories,account,company" - | "tracking_categories,account,company,accounting_period" - | "tracking_categories,account,company,accounting_period,payment_method" - | "tracking_categories,account,company,payment_method" - | "tracking_categories,account,payment_method" - | "tracking_categories,accounting_period" - | "tracking_categories,accounting_period,payment_method" - | "tracking_categories,applied_to_lines" - | "tracking_categories,applied_to_lines,account" - | "tracking_categories,applied_to_lines,account,accounting_period" - | "tracking_categories,applied_to_lines,account,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,account,company" - | "tracking_categories,applied_to_lines,account,company,accounting_period" - | "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,account,company,payment_method" - | "tracking_categories,applied_to_lines,account,payment_method" - | "tracking_categories,applied_to_lines,accounting_period" - | "tracking_categories,applied_to_lines,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,company" - | "tracking_categories,applied_to_lines,company,accounting_period" - | "tracking_categories,applied_to_lines,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,company,payment_method" - | "tracking_categories,applied_to_lines,contact" - | "tracking_categories,applied_to_lines,contact,account" - | "tracking_categories,applied_to_lines,contact,account,accounting_period" - | "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,account,company" - | "tracking_categories,applied_to_lines,contact,account,company,accounting_period" - | "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,account,company,payment_method" - | "tracking_categories,applied_to_lines,contact,account,payment_method" - | "tracking_categories,applied_to_lines,contact,accounting_period" - | "tracking_categories,applied_to_lines,contact,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,company" - | "tracking_categories,applied_to_lines,contact,company,accounting_period" - | "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method" - | "tracking_categories,applied_to_lines,contact,company,payment_method" - | "tracking_categories,applied_to_lines,contact,payment_method" - | "tracking_categories,applied_to_lines,payment_method" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,accounting_period,payment_method" - | "tracking_categories,company,payment_method" - | "tracking_categories,contact" - | "tracking_categories,contact,account" - | "tracking_categories,contact,account,accounting_period" - | "tracking_categories,contact,account,accounting_period,payment_method" - | "tracking_categories,contact,account,company" - | "tracking_categories,contact,account,company,accounting_period" - | "tracking_categories,contact,account,company,accounting_period,payment_method" - | "tracking_categories,contact,account,company,payment_method" - | "tracking_categories,contact,account,payment_method" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,accounting_period,payment_method" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period" - | "tracking_categories,contact,company,accounting_period,payment_method" - | "tracking_categories,contact,company,payment_method" - | "tracking_categories,contact,payment_method" - | "tracking_categories,payment_method"; -} diff --git a/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..9a7a32076 --- /dev/null +++ b/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts @@ -0,0 +1,29 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const PaymentsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.PaymentsRetrieveRequestExpandItem.Raw, + Merge.accounting.PaymentsRetrieveRequestExpandItem +> = core.serialization.enum_([ + "account", + "accounting_period", + "applied_to_lines", + "company", + "contact", + "payment_method", + "tracking_categories", +]); + +export declare namespace PaymentsRetrieveRequestExpandItem { + export type Raw = + | "account" + | "accounting_period" + | "applied_to_lines" + | "company" + | "contact" + | "payment_method" + | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/payments/types/index.ts b/src/serialization/resources/accounting/resources/payments/types/index.ts index 56e4a3693..3db8a923d 100644 --- a/src/serialization/resources/accounting/resources/payments/types/index.ts +++ b/src/serialization/resources/accounting/resources/payments/types/index.ts @@ -1,2 +1,2 @@ -export * from "./PaymentsListRequestExpand"; -export * from "./PaymentsRetrieveRequestExpand"; +export * from "./PaymentsListRequestExpandItem"; +export * from "./PaymentsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts b/src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts deleted file mode 100644 index 8974879b7..000000000 --- a/src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ProjectsListRequestExpand: core.serialization.Schema< - serializers.accounting.ProjectsListRequestExpand.Raw, - Merge.accounting.ProjectsListRequestExpand -> = core.serialization.enum_(["company", "company,contact", "contact"]); - -export declare namespace ProjectsListRequestExpand { - export type Raw = "company" | "company,contact" | "contact"; -} diff --git a/src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts new file mode 100644 index 000000000..99e15843c --- /dev/null +++ b/src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ProjectsListRequestExpandItem: core.serialization.Schema< + serializers.accounting.ProjectsListRequestExpandItem.Raw, + Merge.accounting.ProjectsListRequestExpandItem +> = core.serialization.enum_(["company", "contact"]); + +export declare namespace ProjectsListRequestExpandItem { + export type Raw = "company" | "contact"; +} diff --git a/src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts deleted file mode 100644 index 2d456dddc..000000000 --- a/src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ProjectsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.ProjectsRetrieveRequestExpand.Raw, - Merge.accounting.ProjectsRetrieveRequestExpand -> = core.serialization.enum_(["company", "company,contact", "contact"]); - -export declare namespace ProjectsRetrieveRequestExpand { - export type Raw = "company" | "company,contact" | "contact"; -} diff --git a/src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..71abcf14e --- /dev/null +++ b/src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ProjectsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.ProjectsRetrieveRequestExpandItem.Raw, + Merge.accounting.ProjectsRetrieveRequestExpandItem +> = core.serialization.enum_(["company", "contact"]); + +export declare namespace ProjectsRetrieveRequestExpandItem { + export type Raw = "company" | "contact"; +} diff --git a/src/serialization/resources/accounting/resources/projects/types/index.ts b/src/serialization/resources/accounting/resources/projects/types/index.ts index 5ecd3d28e..ff6eb611a 100644 --- a/src/serialization/resources/accounting/resources/projects/types/index.ts +++ b/src/serialization/resources/accounting/resources/projects/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ProjectsListRequestExpand"; -export * from "./ProjectsRetrieveRequestExpand"; +export * from "./ProjectsListRequestExpandItem"; +export * from "./ProjectsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts deleted file mode 100644 index 102c0fee4..000000000 --- a/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts +++ /dev/null @@ -1,269 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const PurchaseOrdersListRequestExpand: core.serialization.Schema< - serializers.accounting.PurchaseOrdersListRequestExpand.Raw, - Merge.accounting.PurchaseOrdersListRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "accounting_period,payment_term", - "company", - "company,accounting_period", - "company,accounting_period,payment_term", - "company,payment_term", - "delivery_address", - "delivery_address,accounting_period", - "delivery_address,accounting_period,payment_term", - "delivery_address,company", - "delivery_address,company,accounting_period", - "delivery_address,company,accounting_period,payment_term", - "delivery_address,company,payment_term", - "delivery_address,payment_term", - "delivery_address,vendor", - "delivery_address,vendor,accounting_period", - "delivery_address,vendor,accounting_period,payment_term", - "delivery_address,vendor,company", - "delivery_address,vendor,company,accounting_period", - "delivery_address,vendor,company,accounting_period,payment_term", - "delivery_address,vendor,company,payment_term", - "delivery_address,vendor,payment_term", - "line_items", - "line_items,accounting_period", - "line_items,accounting_period,payment_term", - "line_items,company", - "line_items,company,accounting_period", - "line_items,company,accounting_period,payment_term", - "line_items,company,payment_term", - "line_items,delivery_address", - "line_items,delivery_address,accounting_period", - "line_items,delivery_address,accounting_period,payment_term", - "line_items,delivery_address,company", - "line_items,delivery_address,company,accounting_period", - "line_items,delivery_address,company,accounting_period,payment_term", - "line_items,delivery_address,company,payment_term", - "line_items,delivery_address,payment_term", - "line_items,delivery_address,vendor", - "line_items,delivery_address,vendor,accounting_period", - "line_items,delivery_address,vendor,accounting_period,payment_term", - "line_items,delivery_address,vendor,company", - "line_items,delivery_address,vendor,company,accounting_period", - "line_items,delivery_address,vendor,company,accounting_period,payment_term", - "line_items,delivery_address,vendor,company,payment_term", - "line_items,delivery_address,vendor,payment_term", - "line_items,payment_term", - "line_items,tracking_categories", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,accounting_period,payment_term", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,company,accounting_period,payment_term", - "line_items,tracking_categories,company,payment_term", - "line_items,tracking_categories,delivery_address", - "line_items,tracking_categories,delivery_address,accounting_period", - "line_items,tracking_categories,delivery_address,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,company", - "line_items,tracking_categories,delivery_address,company,accounting_period", - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,company,payment_term", - "line_items,tracking_categories,delivery_address,payment_term", - "line_items,tracking_categories,delivery_address,vendor", - "line_items,tracking_categories,delivery_address,vendor,accounting_period", - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,vendor,company", - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period", - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,vendor,company,payment_term", - "line_items,tracking_categories,delivery_address,vendor,payment_term", - "line_items,tracking_categories,payment_term", - "line_items,tracking_categories,vendor", - "line_items,tracking_categories,vendor,accounting_period", - "line_items,tracking_categories,vendor,accounting_period,payment_term", - "line_items,tracking_categories,vendor,company", - "line_items,tracking_categories,vendor,company,accounting_period", - "line_items,tracking_categories,vendor,company,accounting_period,payment_term", - "line_items,tracking_categories,vendor,company,payment_term", - "line_items,tracking_categories,vendor,payment_term", - "line_items,vendor", - "line_items,vendor,accounting_period", - "line_items,vendor,accounting_period,payment_term", - "line_items,vendor,company", - "line_items,vendor,company,accounting_period", - "line_items,vendor,company,accounting_period,payment_term", - "line_items,vendor,company,payment_term", - "line_items,vendor,payment_term", - "payment_term", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,accounting_period,payment_term", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,accounting_period,payment_term", - "tracking_categories,company,payment_term", - "tracking_categories,delivery_address", - "tracking_categories,delivery_address,accounting_period", - "tracking_categories,delivery_address,accounting_period,payment_term", - "tracking_categories,delivery_address,company", - "tracking_categories,delivery_address,company,accounting_period", - "tracking_categories,delivery_address,company,accounting_period,payment_term", - "tracking_categories,delivery_address,company,payment_term", - "tracking_categories,delivery_address,payment_term", - "tracking_categories,delivery_address,vendor", - "tracking_categories,delivery_address,vendor,accounting_period", - "tracking_categories,delivery_address,vendor,accounting_period,payment_term", - "tracking_categories,delivery_address,vendor,company", - "tracking_categories,delivery_address,vendor,company,accounting_period", - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - "tracking_categories,delivery_address,vendor,company,payment_term", - "tracking_categories,delivery_address,vendor,payment_term", - "tracking_categories,payment_term", - "tracking_categories,vendor", - "tracking_categories,vendor,accounting_period", - "tracking_categories,vendor,accounting_period,payment_term", - "tracking_categories,vendor,company", - "tracking_categories,vendor,company,accounting_period", - "tracking_categories,vendor,company,accounting_period,payment_term", - "tracking_categories,vendor,company,payment_term", - "tracking_categories,vendor,payment_term", - "vendor", - "vendor,accounting_period", - "vendor,accounting_period,payment_term", - "vendor,company", - "vendor,company,accounting_period", - "vendor,company,accounting_period,payment_term", - "vendor,company,payment_term", - "vendor,payment_term", -]); - -export declare namespace PurchaseOrdersListRequestExpand { - export type Raw = - | "accounting_period" - | "accounting_period,payment_term" - | "company" - | "company,accounting_period" - | "company,accounting_period,payment_term" - | "company,payment_term" - | "delivery_address" - | "delivery_address,accounting_period" - | "delivery_address,accounting_period,payment_term" - | "delivery_address,company" - | "delivery_address,company,accounting_period" - | "delivery_address,company,accounting_period,payment_term" - | "delivery_address,company,payment_term" - | "delivery_address,payment_term" - | "delivery_address,vendor" - | "delivery_address,vendor,accounting_period" - | "delivery_address,vendor,accounting_period,payment_term" - | "delivery_address,vendor,company" - | "delivery_address,vendor,company,accounting_period" - | "delivery_address,vendor,company,accounting_period,payment_term" - | "delivery_address,vendor,company,payment_term" - | "delivery_address,vendor,payment_term" - | "line_items" - | "line_items,accounting_period" - | "line_items,accounting_period,payment_term" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,company,accounting_period,payment_term" - | "line_items,company,payment_term" - | "line_items,delivery_address" - | "line_items,delivery_address,accounting_period" - | "line_items,delivery_address,accounting_period,payment_term" - | "line_items,delivery_address,company" - | "line_items,delivery_address,company,accounting_period" - | "line_items,delivery_address,company,accounting_period,payment_term" - | "line_items,delivery_address,company,payment_term" - | "line_items,delivery_address,payment_term" - | "line_items,delivery_address,vendor" - | "line_items,delivery_address,vendor,accounting_period" - | "line_items,delivery_address,vendor,accounting_period,payment_term" - | "line_items,delivery_address,vendor,company" - | "line_items,delivery_address,vendor,company,accounting_period" - | "line_items,delivery_address,vendor,company,accounting_period,payment_term" - | "line_items,delivery_address,vendor,company,payment_term" - | "line_items,delivery_address,vendor,payment_term" - | "line_items,payment_term" - | "line_items,tracking_categories" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,accounting_period,payment_term" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,company,accounting_period,payment_term" - | "line_items,tracking_categories,company,payment_term" - | "line_items,tracking_categories,delivery_address" - | "line_items,tracking_categories,delivery_address,accounting_period" - | "line_items,tracking_categories,delivery_address,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,company" - | "line_items,tracking_categories,delivery_address,company,accounting_period" - | "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,company,payment_term" - | "line_items,tracking_categories,delivery_address,payment_term" - | "line_items,tracking_categories,delivery_address,vendor" - | "line_items,tracking_categories,delivery_address,vendor,accounting_period" - | "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,vendor,company" - | "line_items,tracking_categories,delivery_address,vendor,company,accounting_period" - | "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,vendor,company,payment_term" - | "line_items,tracking_categories,delivery_address,vendor,payment_term" - | "line_items,tracking_categories,payment_term" - | "line_items,tracking_categories,vendor" - | "line_items,tracking_categories,vendor,accounting_period" - | "line_items,tracking_categories,vendor,accounting_period,payment_term" - | "line_items,tracking_categories,vendor,company" - | "line_items,tracking_categories,vendor,company,accounting_period" - | "line_items,tracking_categories,vendor,company,accounting_period,payment_term" - | "line_items,tracking_categories,vendor,company,payment_term" - | "line_items,tracking_categories,vendor,payment_term" - | "line_items,vendor" - | "line_items,vendor,accounting_period" - | "line_items,vendor,accounting_period,payment_term" - | "line_items,vendor,company" - | "line_items,vendor,company,accounting_period" - | "line_items,vendor,company,accounting_period,payment_term" - | "line_items,vendor,company,payment_term" - | "line_items,vendor,payment_term" - | "payment_term" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,accounting_period,payment_term" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,accounting_period,payment_term" - | "tracking_categories,company,payment_term" - | "tracking_categories,delivery_address" - | "tracking_categories,delivery_address,accounting_period" - | "tracking_categories,delivery_address,accounting_period,payment_term" - | "tracking_categories,delivery_address,company" - | "tracking_categories,delivery_address,company,accounting_period" - | "tracking_categories,delivery_address,company,accounting_period,payment_term" - | "tracking_categories,delivery_address,company,payment_term" - | "tracking_categories,delivery_address,payment_term" - | "tracking_categories,delivery_address,vendor" - | "tracking_categories,delivery_address,vendor,accounting_period" - | "tracking_categories,delivery_address,vendor,accounting_period,payment_term" - | "tracking_categories,delivery_address,vendor,company" - | "tracking_categories,delivery_address,vendor,company,accounting_period" - | "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - | "tracking_categories,delivery_address,vendor,company,payment_term" - | "tracking_categories,delivery_address,vendor,payment_term" - | "tracking_categories,payment_term" - | "tracking_categories,vendor" - | "tracking_categories,vendor,accounting_period" - | "tracking_categories,vendor,accounting_period,payment_term" - | "tracking_categories,vendor,company" - | "tracking_categories,vendor,company,accounting_period" - | "tracking_categories,vendor,company,accounting_period,payment_term" - | "tracking_categories,vendor,company,payment_term" - | "tracking_categories,vendor,payment_term" - | "vendor" - | "vendor,accounting_period" - | "vendor,accounting_period,payment_term" - | "vendor,company" - | "vendor,company,accounting_period" - | "vendor,company,accounting_period,payment_term" - | "vendor,company,payment_term" - | "vendor,payment_term"; -} diff --git a/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts new file mode 100644 index 000000000..7b568ae7d --- /dev/null +++ b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts @@ -0,0 +1,29 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const PurchaseOrdersListRequestExpandItem: core.serialization.Schema< + serializers.accounting.PurchaseOrdersListRequestExpandItem.Raw, + Merge.accounting.PurchaseOrdersListRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "company", + "delivery_address", + "line_items", + "payment_term", + "tracking_categories", + "vendor", +]); + +export declare namespace PurchaseOrdersListRequestExpandItem { + export type Raw = + | "accounting_period" + | "company" + | "delivery_address" + | "line_items" + | "payment_term" + | "tracking_categories" + | "vendor"; +} diff --git a/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts deleted file mode 100644 index e40c86533..000000000 --- a/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts +++ /dev/null @@ -1,269 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const PurchaseOrdersRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.PurchaseOrdersRetrieveRequestExpand.Raw, - Merge.accounting.PurchaseOrdersRetrieveRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "accounting_period,payment_term", - "company", - "company,accounting_period", - "company,accounting_period,payment_term", - "company,payment_term", - "delivery_address", - "delivery_address,accounting_period", - "delivery_address,accounting_period,payment_term", - "delivery_address,company", - "delivery_address,company,accounting_period", - "delivery_address,company,accounting_period,payment_term", - "delivery_address,company,payment_term", - "delivery_address,payment_term", - "delivery_address,vendor", - "delivery_address,vendor,accounting_period", - "delivery_address,vendor,accounting_period,payment_term", - "delivery_address,vendor,company", - "delivery_address,vendor,company,accounting_period", - "delivery_address,vendor,company,accounting_period,payment_term", - "delivery_address,vendor,company,payment_term", - "delivery_address,vendor,payment_term", - "line_items", - "line_items,accounting_period", - "line_items,accounting_period,payment_term", - "line_items,company", - "line_items,company,accounting_period", - "line_items,company,accounting_period,payment_term", - "line_items,company,payment_term", - "line_items,delivery_address", - "line_items,delivery_address,accounting_period", - "line_items,delivery_address,accounting_period,payment_term", - "line_items,delivery_address,company", - "line_items,delivery_address,company,accounting_period", - "line_items,delivery_address,company,accounting_period,payment_term", - "line_items,delivery_address,company,payment_term", - "line_items,delivery_address,payment_term", - "line_items,delivery_address,vendor", - "line_items,delivery_address,vendor,accounting_period", - "line_items,delivery_address,vendor,accounting_period,payment_term", - "line_items,delivery_address,vendor,company", - "line_items,delivery_address,vendor,company,accounting_period", - "line_items,delivery_address,vendor,company,accounting_period,payment_term", - "line_items,delivery_address,vendor,company,payment_term", - "line_items,delivery_address,vendor,payment_term", - "line_items,payment_term", - "line_items,tracking_categories", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,accounting_period,payment_term", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,company,accounting_period,payment_term", - "line_items,tracking_categories,company,payment_term", - "line_items,tracking_categories,delivery_address", - "line_items,tracking_categories,delivery_address,accounting_period", - "line_items,tracking_categories,delivery_address,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,company", - "line_items,tracking_categories,delivery_address,company,accounting_period", - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,company,payment_term", - "line_items,tracking_categories,delivery_address,payment_term", - "line_items,tracking_categories,delivery_address,vendor", - "line_items,tracking_categories,delivery_address,vendor,accounting_period", - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,vendor,company", - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period", - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - "line_items,tracking_categories,delivery_address,vendor,company,payment_term", - "line_items,tracking_categories,delivery_address,vendor,payment_term", - "line_items,tracking_categories,payment_term", - "line_items,tracking_categories,vendor", - "line_items,tracking_categories,vendor,accounting_period", - "line_items,tracking_categories,vendor,accounting_period,payment_term", - "line_items,tracking_categories,vendor,company", - "line_items,tracking_categories,vendor,company,accounting_period", - "line_items,tracking_categories,vendor,company,accounting_period,payment_term", - "line_items,tracking_categories,vendor,company,payment_term", - "line_items,tracking_categories,vendor,payment_term", - "line_items,vendor", - "line_items,vendor,accounting_period", - "line_items,vendor,accounting_period,payment_term", - "line_items,vendor,company", - "line_items,vendor,company,accounting_period", - "line_items,vendor,company,accounting_period,payment_term", - "line_items,vendor,company,payment_term", - "line_items,vendor,payment_term", - "payment_term", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,accounting_period,payment_term", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,company,accounting_period,payment_term", - "tracking_categories,company,payment_term", - "tracking_categories,delivery_address", - "tracking_categories,delivery_address,accounting_period", - "tracking_categories,delivery_address,accounting_period,payment_term", - "tracking_categories,delivery_address,company", - "tracking_categories,delivery_address,company,accounting_period", - "tracking_categories,delivery_address,company,accounting_period,payment_term", - "tracking_categories,delivery_address,company,payment_term", - "tracking_categories,delivery_address,payment_term", - "tracking_categories,delivery_address,vendor", - "tracking_categories,delivery_address,vendor,accounting_period", - "tracking_categories,delivery_address,vendor,accounting_period,payment_term", - "tracking_categories,delivery_address,vendor,company", - "tracking_categories,delivery_address,vendor,company,accounting_period", - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term", - "tracking_categories,delivery_address,vendor,company,payment_term", - "tracking_categories,delivery_address,vendor,payment_term", - "tracking_categories,payment_term", - "tracking_categories,vendor", - "tracking_categories,vendor,accounting_period", - "tracking_categories,vendor,accounting_period,payment_term", - "tracking_categories,vendor,company", - "tracking_categories,vendor,company,accounting_period", - "tracking_categories,vendor,company,accounting_period,payment_term", - "tracking_categories,vendor,company,payment_term", - "tracking_categories,vendor,payment_term", - "vendor", - "vendor,accounting_period", - "vendor,accounting_period,payment_term", - "vendor,company", - "vendor,company,accounting_period", - "vendor,company,accounting_period,payment_term", - "vendor,company,payment_term", - "vendor,payment_term", -]); - -export declare namespace PurchaseOrdersRetrieveRequestExpand { - export type Raw = - | "accounting_period" - | "accounting_period,payment_term" - | "company" - | "company,accounting_period" - | "company,accounting_period,payment_term" - | "company,payment_term" - | "delivery_address" - | "delivery_address,accounting_period" - | "delivery_address,accounting_period,payment_term" - | "delivery_address,company" - | "delivery_address,company,accounting_period" - | "delivery_address,company,accounting_period,payment_term" - | "delivery_address,company,payment_term" - | "delivery_address,payment_term" - | "delivery_address,vendor" - | "delivery_address,vendor,accounting_period" - | "delivery_address,vendor,accounting_period,payment_term" - | "delivery_address,vendor,company" - | "delivery_address,vendor,company,accounting_period" - | "delivery_address,vendor,company,accounting_period,payment_term" - | "delivery_address,vendor,company,payment_term" - | "delivery_address,vendor,payment_term" - | "line_items" - | "line_items,accounting_period" - | "line_items,accounting_period,payment_term" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,company,accounting_period,payment_term" - | "line_items,company,payment_term" - | "line_items,delivery_address" - | "line_items,delivery_address,accounting_period" - | "line_items,delivery_address,accounting_period,payment_term" - | "line_items,delivery_address,company" - | "line_items,delivery_address,company,accounting_period" - | "line_items,delivery_address,company,accounting_period,payment_term" - | "line_items,delivery_address,company,payment_term" - | "line_items,delivery_address,payment_term" - | "line_items,delivery_address,vendor" - | "line_items,delivery_address,vendor,accounting_period" - | "line_items,delivery_address,vendor,accounting_period,payment_term" - | "line_items,delivery_address,vendor,company" - | "line_items,delivery_address,vendor,company,accounting_period" - | "line_items,delivery_address,vendor,company,accounting_period,payment_term" - | "line_items,delivery_address,vendor,company,payment_term" - | "line_items,delivery_address,vendor,payment_term" - | "line_items,payment_term" - | "line_items,tracking_categories" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,accounting_period,payment_term" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,company,accounting_period,payment_term" - | "line_items,tracking_categories,company,payment_term" - | "line_items,tracking_categories,delivery_address" - | "line_items,tracking_categories,delivery_address,accounting_period" - | "line_items,tracking_categories,delivery_address,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,company" - | "line_items,tracking_categories,delivery_address,company,accounting_period" - | "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,company,payment_term" - | "line_items,tracking_categories,delivery_address,payment_term" - | "line_items,tracking_categories,delivery_address,vendor" - | "line_items,tracking_categories,delivery_address,vendor,accounting_period" - | "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,vendor,company" - | "line_items,tracking_categories,delivery_address,vendor,company,accounting_period" - | "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - | "line_items,tracking_categories,delivery_address,vendor,company,payment_term" - | "line_items,tracking_categories,delivery_address,vendor,payment_term" - | "line_items,tracking_categories,payment_term" - | "line_items,tracking_categories,vendor" - | "line_items,tracking_categories,vendor,accounting_period" - | "line_items,tracking_categories,vendor,accounting_period,payment_term" - | "line_items,tracking_categories,vendor,company" - | "line_items,tracking_categories,vendor,company,accounting_period" - | "line_items,tracking_categories,vendor,company,accounting_period,payment_term" - | "line_items,tracking_categories,vendor,company,payment_term" - | "line_items,tracking_categories,vendor,payment_term" - | "line_items,vendor" - | "line_items,vendor,accounting_period" - | "line_items,vendor,accounting_period,payment_term" - | "line_items,vendor,company" - | "line_items,vendor,company,accounting_period" - | "line_items,vendor,company,accounting_period,payment_term" - | "line_items,vendor,company,payment_term" - | "line_items,vendor,payment_term" - | "payment_term" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,accounting_period,payment_term" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,company,accounting_period,payment_term" - | "tracking_categories,company,payment_term" - | "tracking_categories,delivery_address" - | "tracking_categories,delivery_address,accounting_period" - | "tracking_categories,delivery_address,accounting_period,payment_term" - | "tracking_categories,delivery_address,company" - | "tracking_categories,delivery_address,company,accounting_period" - | "tracking_categories,delivery_address,company,accounting_period,payment_term" - | "tracking_categories,delivery_address,company,payment_term" - | "tracking_categories,delivery_address,payment_term" - | "tracking_categories,delivery_address,vendor" - | "tracking_categories,delivery_address,vendor,accounting_period" - | "tracking_categories,delivery_address,vendor,accounting_period,payment_term" - | "tracking_categories,delivery_address,vendor,company" - | "tracking_categories,delivery_address,vendor,company,accounting_period" - | "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - | "tracking_categories,delivery_address,vendor,company,payment_term" - | "tracking_categories,delivery_address,vendor,payment_term" - | "tracking_categories,payment_term" - | "tracking_categories,vendor" - | "tracking_categories,vendor,accounting_period" - | "tracking_categories,vendor,accounting_period,payment_term" - | "tracking_categories,vendor,company" - | "tracking_categories,vendor,company,accounting_period" - | "tracking_categories,vendor,company,accounting_period,payment_term" - | "tracking_categories,vendor,company,payment_term" - | "tracking_categories,vendor,payment_term" - | "vendor" - | "vendor,accounting_period" - | "vendor,accounting_period,payment_term" - | "vendor,company" - | "vendor,company,accounting_period" - | "vendor,company,accounting_period,payment_term" - | "vendor,company,payment_term" - | "vendor,payment_term"; -} diff --git a/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..1d116c432 --- /dev/null +++ b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts @@ -0,0 +1,29 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const PurchaseOrdersRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.PurchaseOrdersRetrieveRequestExpandItem.Raw, + Merge.accounting.PurchaseOrdersRetrieveRequestExpandItem +> = core.serialization.enum_([ + "accounting_period", + "company", + "delivery_address", + "line_items", + "payment_term", + "tracking_categories", + "vendor", +]); + +export declare namespace PurchaseOrdersRetrieveRequestExpandItem { + export type Raw = + | "accounting_period" + | "company" + | "delivery_address" + | "line_items" + | "payment_term" + | "tracking_categories" + | "vendor"; +} diff --git a/src/serialization/resources/accounting/resources/purchaseOrders/types/index.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/index.ts index fd510edde..75264d2f3 100644 --- a/src/serialization/resources/accounting/resources/purchaseOrders/types/index.ts +++ b/src/serialization/resources/accounting/resources/purchaseOrders/types/index.ts @@ -1,2 +1,2 @@ -export * from "./PurchaseOrdersListRequestExpand"; -export * from "./PurchaseOrdersRetrieveRequestExpand"; +export * from "./PurchaseOrdersListRequestExpandItem"; +export * from "./PurchaseOrdersRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts b/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts deleted file mode 100644 index a808a6b10..000000000 --- a/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TransactionsListRequestExpand: core.serialization.Schema< - serializers.accounting.TransactionsListRequestExpand.Raw, - Merge.accounting.TransactionsListRequestExpand -> = core.serialization.enum_([ - "account", - "account,accounting_period", - "account,company", - "account,company,accounting_period", - "accounting_period", - "company", - "company,accounting_period", - "contact", - "contact,account", - "contact,account,accounting_period", - "contact,account,company", - "contact,account,company,accounting_period", - "contact,accounting_period", - "contact,company", - "contact,company,accounting_period", - "line_items", - "line_items,account", - "line_items,account,accounting_period", - "line_items,account,company", - "line_items,account,company,accounting_period", - "line_items,accounting_period", - "line_items,company", - "line_items,company,accounting_period", - "line_items,contact", - "line_items,contact,account", - "line_items,contact,account,accounting_period", - "line_items,contact,account,company", - "line_items,contact,account,company,accounting_period", - "line_items,contact,accounting_period", - "line_items,contact,company", - "line_items,contact,company,accounting_period", - "line_items,tracking_categories", - "line_items,tracking_categories,account", - "line_items,tracking_categories,account,accounting_period", - "line_items,tracking_categories,account,company", - "line_items,tracking_categories,account,company,accounting_period", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,contact", - "line_items,tracking_categories,contact,account", - "line_items,tracking_categories,contact,account,accounting_period", - "line_items,tracking_categories,contact,account,company", - "line_items,tracking_categories,contact,account,company,accounting_period", - "line_items,tracking_categories,contact,accounting_period", - "line_items,tracking_categories,contact,company", - "line_items,tracking_categories,contact,company,accounting_period", - "tracking_categories", - "tracking_categories,account", - "tracking_categories,account,accounting_period", - "tracking_categories,account,company", - "tracking_categories,account,company,accounting_period", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,contact", - "tracking_categories,contact,account", - "tracking_categories,contact,account,accounting_period", - "tracking_categories,contact,account,company", - "tracking_categories,contact,account,company,accounting_period", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", -]); - -export declare namespace TransactionsListRequestExpand { - export type Raw = - | "account" - | "account,accounting_period" - | "account,company" - | "account,company,accounting_period" - | "accounting_period" - | "company" - | "company,accounting_period" - | "contact" - | "contact,account" - | "contact,account,accounting_period" - | "contact,account,company" - | "contact,account,company,accounting_period" - | "contact,accounting_period" - | "contact,company" - | "contact,company,accounting_period" - | "line_items" - | "line_items,account" - | "line_items,account,accounting_period" - | "line_items,account,company" - | "line_items,account,company,accounting_period" - | "line_items,accounting_period" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,contact" - | "line_items,contact,account" - | "line_items,contact,account,accounting_period" - | "line_items,contact,account,company" - | "line_items,contact,account,company,accounting_period" - | "line_items,contact,accounting_period" - | "line_items,contact,company" - | "line_items,contact,company,accounting_period" - | "line_items,tracking_categories" - | "line_items,tracking_categories,account" - | "line_items,tracking_categories,account,accounting_period" - | "line_items,tracking_categories,account,company" - | "line_items,tracking_categories,account,company,accounting_period" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,contact" - | "line_items,tracking_categories,contact,account" - | "line_items,tracking_categories,contact,account,accounting_period" - | "line_items,tracking_categories,contact,account,company" - | "line_items,tracking_categories,contact,account,company,accounting_period" - | "line_items,tracking_categories,contact,accounting_period" - | "line_items,tracking_categories,contact,company" - | "line_items,tracking_categories,contact,company,accounting_period" - | "tracking_categories" - | "tracking_categories,account" - | "tracking_categories,account,accounting_period" - | "tracking_categories,account,company" - | "tracking_categories,account,company,accounting_period" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,contact" - | "tracking_categories,contact,account" - | "tracking_categories,contact,account,accounting_period" - | "tracking_categories,contact,account,company" - | "tracking_categories,contact,account,company,accounting_period" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts new file mode 100644 index 000000000..43f5cc2c5 --- /dev/null +++ b/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TransactionsListRequestExpandItem: core.serialization.Schema< + serializers.accounting.TransactionsListRequestExpandItem.Raw, + Merge.accounting.TransactionsListRequestExpandItem +> = core.serialization.enum_(["account", "accounting_period", "contact", "line_items", "tracking_categories"]); + +export declare namespace TransactionsListRequestExpandItem { + export type Raw = "account" | "accounting_period" | "contact" | "line_items" | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts deleted file mode 100644 index f5aac3ea8..000000000 --- a/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TransactionsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.TransactionsRetrieveRequestExpand.Raw, - Merge.accounting.TransactionsRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "account,accounting_period", - "account,company", - "account,company,accounting_period", - "accounting_period", - "company", - "company,accounting_period", - "contact", - "contact,account", - "contact,account,accounting_period", - "contact,account,company", - "contact,account,company,accounting_period", - "contact,accounting_period", - "contact,company", - "contact,company,accounting_period", - "line_items", - "line_items,account", - "line_items,account,accounting_period", - "line_items,account,company", - "line_items,account,company,accounting_period", - "line_items,accounting_period", - "line_items,company", - "line_items,company,accounting_period", - "line_items,contact", - "line_items,contact,account", - "line_items,contact,account,accounting_period", - "line_items,contact,account,company", - "line_items,contact,account,company,accounting_period", - "line_items,contact,accounting_period", - "line_items,contact,company", - "line_items,contact,company,accounting_period", - "line_items,tracking_categories", - "line_items,tracking_categories,account", - "line_items,tracking_categories,account,accounting_period", - "line_items,tracking_categories,account,company", - "line_items,tracking_categories,account,company,accounting_period", - "line_items,tracking_categories,accounting_period", - "line_items,tracking_categories,company", - "line_items,tracking_categories,company,accounting_period", - "line_items,tracking_categories,contact", - "line_items,tracking_categories,contact,account", - "line_items,tracking_categories,contact,account,accounting_period", - "line_items,tracking_categories,contact,account,company", - "line_items,tracking_categories,contact,account,company,accounting_period", - "line_items,tracking_categories,contact,accounting_period", - "line_items,tracking_categories,contact,company", - "line_items,tracking_categories,contact,company,accounting_period", - "tracking_categories", - "tracking_categories,account", - "tracking_categories,account,accounting_period", - "tracking_categories,account,company", - "tracking_categories,account,company,accounting_period", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,contact", - "tracking_categories,contact,account", - "tracking_categories,contact,account,accounting_period", - "tracking_categories,contact,account,company", - "tracking_categories,contact,account,company,accounting_period", - "tracking_categories,contact,accounting_period", - "tracking_categories,contact,company", - "tracking_categories,contact,company,accounting_period", -]); - -export declare namespace TransactionsRetrieveRequestExpand { - export type Raw = - | "account" - | "account,accounting_period" - | "account,company" - | "account,company,accounting_period" - | "accounting_period" - | "company" - | "company,accounting_period" - | "contact" - | "contact,account" - | "contact,account,accounting_period" - | "contact,account,company" - | "contact,account,company,accounting_period" - | "contact,accounting_period" - | "contact,company" - | "contact,company,accounting_period" - | "line_items" - | "line_items,account" - | "line_items,account,accounting_period" - | "line_items,account,company" - | "line_items,account,company,accounting_period" - | "line_items,accounting_period" - | "line_items,company" - | "line_items,company,accounting_period" - | "line_items,contact" - | "line_items,contact,account" - | "line_items,contact,account,accounting_period" - | "line_items,contact,account,company" - | "line_items,contact,account,company,accounting_period" - | "line_items,contact,accounting_period" - | "line_items,contact,company" - | "line_items,contact,company,accounting_period" - | "line_items,tracking_categories" - | "line_items,tracking_categories,account" - | "line_items,tracking_categories,account,accounting_period" - | "line_items,tracking_categories,account,company" - | "line_items,tracking_categories,account,company,accounting_period" - | "line_items,tracking_categories,accounting_period" - | "line_items,tracking_categories,company" - | "line_items,tracking_categories,company,accounting_period" - | "line_items,tracking_categories,contact" - | "line_items,tracking_categories,contact,account" - | "line_items,tracking_categories,contact,account,accounting_period" - | "line_items,tracking_categories,contact,account,company" - | "line_items,tracking_categories,contact,account,company,accounting_period" - | "line_items,tracking_categories,contact,accounting_period" - | "line_items,tracking_categories,contact,company" - | "line_items,tracking_categories,contact,company,accounting_period" - | "tracking_categories" - | "tracking_categories,account" - | "tracking_categories,account,accounting_period" - | "tracking_categories,account,company" - | "tracking_categories,account,company,accounting_period" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,contact" - | "tracking_categories,contact,account" - | "tracking_categories,contact,account,accounting_period" - | "tracking_categories,contact,account,company" - | "tracking_categories,contact,account,company,accounting_period" - | "tracking_categories,contact,accounting_period" - | "tracking_categories,contact,company" - | "tracking_categories,contact,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..27c62bc7a --- /dev/null +++ b/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TransactionsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.TransactionsRetrieveRequestExpandItem.Raw, + Merge.accounting.TransactionsRetrieveRequestExpandItem +> = core.serialization.enum_(["account", "accounting_period", "contact", "line_items", "tracking_categories"]); + +export declare namespace TransactionsRetrieveRequestExpandItem { + export type Raw = "account" | "accounting_period" | "contact" | "line_items" | "tracking_categories"; +} diff --git a/src/serialization/resources/accounting/resources/transactions/types/index.ts b/src/serialization/resources/accounting/resources/transactions/types/index.ts index d40b559e9..4c27ccfe5 100644 --- a/src/serialization/resources/accounting/resources/transactions/types/index.ts +++ b/src/serialization/resources/accounting/resources/transactions/types/index.ts @@ -1,2 +1,2 @@ -export * from "./TransactionsListRequestExpand"; -export * from "./TransactionsRetrieveRequestExpand"; +export * from "./TransactionsListRequestExpandItem"; +export * from "./TransactionsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts deleted file mode 100644 index 8764857c7..000000000 --- a/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts +++ /dev/null @@ -1,77 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const VendorCreditsListRequestExpand: core.serialization.Schema< - serializers.accounting.VendorCreditsListRequestExpand.Raw, - Merge.accounting.VendorCreditsListRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "company", - "company,accounting_period", - "lines", - "lines,accounting_period", - "lines,company", - "lines,company,accounting_period", - "lines,tracking_categories", - "lines,tracking_categories,accounting_period", - "lines,tracking_categories,company", - "lines,tracking_categories,company,accounting_period", - "lines,tracking_categories,vendor", - "lines,tracking_categories,vendor,accounting_period", - "lines,tracking_categories,vendor,company", - "lines,tracking_categories,vendor,company,accounting_period", - "lines,vendor", - "lines,vendor,accounting_period", - "lines,vendor,company", - "lines,vendor,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,vendor", - "tracking_categories,vendor,accounting_period", - "tracking_categories,vendor,company", - "tracking_categories,vendor,company,accounting_period", - "vendor", - "vendor,accounting_period", - "vendor,company", - "vendor,company,accounting_period", -]); - -export declare namespace VendorCreditsListRequestExpand { - export type Raw = - | "accounting_period" - | "company" - | "company,accounting_period" - | "lines" - | "lines,accounting_period" - | "lines,company" - | "lines,company,accounting_period" - | "lines,tracking_categories" - | "lines,tracking_categories,accounting_period" - | "lines,tracking_categories,company" - | "lines,tracking_categories,company,accounting_period" - | "lines,tracking_categories,vendor" - | "lines,tracking_categories,vendor,accounting_period" - | "lines,tracking_categories,vendor,company" - | "lines,tracking_categories,vendor,company,accounting_period" - | "lines,vendor" - | "lines,vendor,accounting_period" - | "lines,vendor,company" - | "lines,vendor,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,vendor" - | "tracking_categories,vendor,accounting_period" - | "tracking_categories,vendor,company" - | "tracking_categories,vendor,company,accounting_period" - | "vendor" - | "vendor,accounting_period" - | "vendor,company" - | "vendor,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts new file mode 100644 index 000000000..91f8494cd --- /dev/null +++ b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const VendorCreditsListRequestExpandItem: core.serialization.Schema< + serializers.accounting.VendorCreditsListRequestExpandItem.Raw, + Merge.accounting.VendorCreditsListRequestExpandItem +> = core.serialization.enum_(["accounting_period", "company", "lines", "tracking_categories", "vendor"]); + +export declare namespace VendorCreditsListRequestExpandItem { + export type Raw = "accounting_period" | "company" | "lines" | "tracking_categories" | "vendor"; +} diff --git a/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts deleted file mode 100644 index 569108e3f..000000000 --- a/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts +++ /dev/null @@ -1,77 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const VendorCreditsRetrieveRequestExpand: core.serialization.Schema< - serializers.accounting.VendorCreditsRetrieveRequestExpand.Raw, - Merge.accounting.VendorCreditsRetrieveRequestExpand -> = core.serialization.enum_([ - "accounting_period", - "company", - "company,accounting_period", - "lines", - "lines,accounting_period", - "lines,company", - "lines,company,accounting_period", - "lines,tracking_categories", - "lines,tracking_categories,accounting_period", - "lines,tracking_categories,company", - "lines,tracking_categories,company,accounting_period", - "lines,tracking_categories,vendor", - "lines,tracking_categories,vendor,accounting_period", - "lines,tracking_categories,vendor,company", - "lines,tracking_categories,vendor,company,accounting_period", - "lines,vendor", - "lines,vendor,accounting_period", - "lines,vendor,company", - "lines,vendor,company,accounting_period", - "tracking_categories", - "tracking_categories,accounting_period", - "tracking_categories,company", - "tracking_categories,company,accounting_period", - "tracking_categories,vendor", - "tracking_categories,vendor,accounting_period", - "tracking_categories,vendor,company", - "tracking_categories,vendor,company,accounting_period", - "vendor", - "vendor,accounting_period", - "vendor,company", - "vendor,company,accounting_period", -]); - -export declare namespace VendorCreditsRetrieveRequestExpand { - export type Raw = - | "accounting_period" - | "company" - | "company,accounting_period" - | "lines" - | "lines,accounting_period" - | "lines,company" - | "lines,company,accounting_period" - | "lines,tracking_categories" - | "lines,tracking_categories,accounting_period" - | "lines,tracking_categories,company" - | "lines,tracking_categories,company,accounting_period" - | "lines,tracking_categories,vendor" - | "lines,tracking_categories,vendor,accounting_period" - | "lines,tracking_categories,vendor,company" - | "lines,tracking_categories,vendor,company,accounting_period" - | "lines,vendor" - | "lines,vendor,accounting_period" - | "lines,vendor,company" - | "lines,vendor,company,accounting_period" - | "tracking_categories" - | "tracking_categories,accounting_period" - | "tracking_categories,company" - | "tracking_categories,company,accounting_period" - | "tracking_categories,vendor" - | "tracking_categories,vendor,accounting_period" - | "tracking_categories,vendor,company" - | "tracking_categories,vendor,company,accounting_period" - | "vendor" - | "vendor,accounting_period" - | "vendor,company" - | "vendor,company,accounting_period"; -} diff --git a/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..adeb05bcb --- /dev/null +++ b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const VendorCreditsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.accounting.VendorCreditsRetrieveRequestExpandItem.Raw, + Merge.accounting.VendorCreditsRetrieveRequestExpandItem +> = core.serialization.enum_(["accounting_period", "company", "lines", "tracking_categories", "vendor"]); + +export declare namespace VendorCreditsRetrieveRequestExpandItem { + export type Raw = "accounting_period" | "company" | "lines" | "tracking_categories" | "vendor"; +} diff --git a/src/serialization/resources/accounting/resources/vendorCredits/types/index.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/index.ts index 23d33b551..3ac6b265f 100644 --- a/src/serialization/resources/accounting/resources/vendorCredits/types/index.ts +++ b/src/serialization/resources/accounting/resources/vendorCredits/types/index.ts @@ -1,2 +1,2 @@ -export * from "./VendorCreditsListRequestExpand"; -export * from "./VendorCreditsRetrieveRequestExpand"; +export * from "./VendorCreditsListRequestExpandItem"; +export * from "./VendorCreditsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/accounting/types/AccountDetails.ts b/src/serialization/resources/accounting/types/AccountDetails.ts index e28389812..df9fea105 100644 --- a/src/serialization/resources/accounting/types/AccountDetails.ts +++ b/src/serialization/resources/accounting/types/AccountDetails.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { AccountDetailsCategory } from "./AccountDetailsCategory"; +import { CategoryEnum } from "./CategoryEnum"; export const AccountDetails: core.serialization.ObjectSchema< serializers.accounting.AccountDetails.Raw, @@ -12,7 +12,7 @@ export const AccountDetails: core.serialization.ObjectSchema< id: core.serialization.string().optional(), integration: core.serialization.string().optional(), integrationSlug: core.serialization.property("integration_slug", core.serialization.string().optional()), - category: AccountDetailsCategory.optional(), + category: CategoryEnum.optional(), endUserOriginId: core.serialization.property("end_user_origin_id", core.serialization.string().optional()), endUserOrganizationName: core.serialization.property( "end_user_organization_name", @@ -31,7 +31,7 @@ export declare namespace AccountDetails { id?: string | null; integration?: string | null; integration_slug?: string | null; - category?: AccountDetailsCategory.Raw | null; + category?: CategoryEnum.Raw | null; end_user_origin_id?: string | null; end_user_organization_name?: string | null; end_user_email_address?: string | null; diff --git a/src/serialization/resources/accounting/types/AccountDetailsAndActions.ts b/src/serialization/resources/accounting/types/AccountDetailsAndActions.ts index f43b93a54..f4f5148eb 100644 --- a/src/serialization/resources/accounting/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/accounting/types/AccountDetailsAndActions.ts @@ -24,10 +24,6 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< integration: AccountDetailsAndActionsIntegration.optional(), accountType: core.serialization.property("account_type", core.serialization.string()), completedAt: core.serialization.property("completed_at", core.serialization.date()), - integrationSpecificFields: core.serialization.property( - "integration_specific_fields", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), }); export declare namespace AccountDetailsAndActions { @@ -45,6 +41,5 @@ export declare namespace AccountDetailsAndActions { integration?: AccountDetailsAndActionsIntegration.Raw | null; account_type: string; completed_at: string; - integration_specific_fields?: Record | null; } } diff --git a/src/serialization/resources/accounting/types/CompanyInfo.ts b/src/serialization/resources/accounting/types/CompanyInfo.ts index 113d175b9..278d2c8ea 100644 --- a/src/serialization/resources/accounting/types/CompanyInfo.ts +++ b/src/serialization/resources/accounting/types/CompanyInfo.ts @@ -5,7 +5,6 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { AccountingPhoneNumber } from "./AccountingPhoneNumber"; import { Address } from "./Address"; -import { CompanyInfoCurrency } from "./CompanyInfoCurrency"; import { RemoteData } from "./RemoteData"; export const CompanyInfo: core.serialization.ObjectSchema< @@ -21,7 +20,7 @@ export const CompanyInfo: core.serialization.ObjectSchema< taxNumber: core.serialization.property("tax_number", core.serialization.string().optional()), fiscalYearEndMonth: core.serialization.property("fiscal_year_end_month", core.serialization.number().optional()), fiscalYearEndDay: core.serialization.property("fiscal_year_end_day", core.serialization.number().optional()), - currency: CompanyInfoCurrency.optional(), + currency: core.serialization.unknown().optional(), remoteCreatedAt: core.serialization.property("remote_created_at", core.serialization.date().optional()), urls: core.serialization.list(core.serialization.string().optional()).optional(), addresses: core.serialization.list(Address).optional(), @@ -48,7 +47,7 @@ export declare namespace CompanyInfo { tax_number?: string | null; fiscal_year_end_month?: number | null; fiscal_year_end_day?: number | null; - currency?: CompanyInfoCurrency.Raw | null; + currency?: unknown | null; remote_created_at?: string | null; urls?: (string | null | undefined)[] | null; addresses?: Address.Raw[] | null; diff --git a/src/serialization/resources/accounting/types/CompanyInfoCurrency.ts b/src/serialization/resources/accounting/types/CompanyInfoCurrency.ts deleted file mode 100644 index 12c907017..000000000 --- a/src/serialization/resources/accounting/types/CompanyInfoCurrency.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const CompanyInfoCurrency: core.serialization.Schema< - serializers.accounting.CompanyInfoCurrency.Raw, - Merge.accounting.CompanyInfoCurrency -> = core.serialization.undiscriminatedUnion([TransactionCurrencyEnum, core.serialization.string()]); - -export declare namespace CompanyInfoCurrency { - export type Raw = TransactionCurrencyEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.ts b/src/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.ts index 29458087a..8977763ae 100644 --- a/src/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.ts +++ b/src/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.ts @@ -3,13 +3,13 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { Contact } from "./Contact"; +import { Project } from "./Project"; export const CreditNoteLineItemRequestProject: core.serialization.Schema< serializers.accounting.CreditNoteLineItemRequestProject.Raw, Merge.accounting.CreditNoteLineItemRequestProject -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact]); +> = core.serialization.undiscriminatedUnion([core.serialization.string(), Project]); export declare namespace CreditNoteLineItemRequestProject { - export type Raw = string | Contact.Raw; + export type Raw = string | Project.Raw; } diff --git a/src/serialization/resources/accounting/types/DataPassthroughRequest.ts b/src/serialization/resources/accounting/types/DataPassthroughRequest.ts index f7b6734c9..bea54e42d 100644 --- a/src/serialization/resources/accounting/types/DataPassthroughRequest.ts +++ b/src/serialization/resources/accounting/types/DataPassthroughRequest.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { DataPassthroughRequestMethod } from "./DataPassthroughRequestMethod"; +import { MethodEnum } from "./MethodEnum"; import { MultipartFormFieldRequest } from "./MultipartFormFieldRequest"; import { RequestFormatEnum } from "./RequestFormatEnum"; @@ -11,7 +11,7 @@ export const DataPassthroughRequest: core.serialization.ObjectSchema< serializers.accounting.DataPassthroughRequest.Raw, Merge.accounting.DataPassthroughRequest > = core.serialization.object({ - method: DataPassthroughRequestMethod, + method: MethodEnum, path: core.serialization.string(), baseUrlOverride: core.serialization.property("base_url_override", core.serialization.string().optional()), data: core.serialization.string().optional(), @@ -26,7 +26,7 @@ export const DataPassthroughRequest: core.serialization.ObjectSchema< export declare namespace DataPassthroughRequest { export interface Raw { - method: DataPassthroughRequestMethod.Raw; + method: MethodEnum.Raw; path: string; base_url_override?: string | null; data?: string | null; diff --git a/src/serialization/resources/accounting/types/DataPassthroughRequestMethod.ts b/src/serialization/resources/accounting/types/DataPassthroughRequestMethod.ts deleted file mode 100644 index 137a96e09..000000000 --- a/src/serialization/resources/accounting/types/DataPassthroughRequestMethod.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { MethodEnum } from "./MethodEnum"; - -export const DataPassthroughRequestMethod: core.serialization.Schema< - serializers.accounting.DataPassthroughRequestMethod.Raw, - Merge.accounting.DataPassthroughRequestMethod -> = core.serialization.undiscriminatedUnion([MethodEnum, core.serialization.string()]); - -export declare namespace DataPassthroughRequestMethod { - export type Raw = MethodEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/ExpenseLine.ts b/src/serialization/resources/accounting/types/ExpenseLine.ts index 880be54cd..4f68ff4a1 100644 --- a/src/serialization/resources/accounting/types/ExpenseLine.ts +++ b/src/serialization/resources/accounting/types/ExpenseLine.ts @@ -5,12 +5,12 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { ExpenseLineAccount } from "./ExpenseLineAccount"; import { ExpenseLineContact } from "./ExpenseLineContact"; -import { ExpenseLineCurrency } from "./ExpenseLineCurrency"; import { ExpenseLineEmployee } from "./ExpenseLineEmployee"; import { ExpenseLineItem } from "./ExpenseLineItem"; import { ExpenseLineProject } from "./ExpenseLineProject"; import { ExpenseLineTrackingCategoriesItem } from "./ExpenseLineTrackingCategoriesItem"; import { ExpenseLineTrackingCategory } from "./ExpenseLineTrackingCategory"; +import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; export const ExpenseLine: core.serialization.ObjectSchema< serializers.accounting.ExpenseLine.Raw, @@ -29,15 +29,13 @@ export const ExpenseLine: core.serialization.ObjectSchema< ), company: core.serialization.string().optional(), employee: ExpenseLineEmployee.optional(), - currency: ExpenseLineCurrency.optional(), + currency: TransactionCurrencyEnum.optional(), account: ExpenseLineAccount.optional(), contact: ExpenseLineContact.optional(), project: ExpenseLineProject.optional(), description: core.serialization.string().optional(), exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()), taxRate: core.serialization.property("tax_rate", core.serialization.string().optional()), - quantity: core.serialization.string().optional(), - unitPrice: core.serialization.property("unit_price", core.serialization.string().optional()), remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()), }); @@ -53,15 +51,13 @@ export declare namespace ExpenseLine { tracking_categories?: (ExpenseLineTrackingCategoriesItem.Raw | null | undefined)[] | null; company?: string | null; employee?: ExpenseLineEmployee.Raw | null; - currency?: ExpenseLineCurrency.Raw | null; + currency?: TransactionCurrencyEnum.Raw | null; account?: ExpenseLineAccount.Raw | null; contact?: ExpenseLineContact.Raw | null; project?: ExpenseLineProject.Raw | null; description?: string | null; exchange_rate?: string | null; tax_rate?: string | null; - quantity?: string | null; - unit_price?: string | null; remote_was_deleted?: boolean | null; } } diff --git a/src/serialization/resources/accounting/types/ExpenseLineCurrency.ts b/src/serialization/resources/accounting/types/ExpenseLineCurrency.ts deleted file mode 100644 index cd7161afa..000000000 --- a/src/serialization/resources/accounting/types/ExpenseLineCurrency.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const ExpenseLineCurrency: core.serialization.Schema< - serializers.accounting.ExpenseLineCurrency.Raw, - Merge.accounting.ExpenseLineCurrency -> = core.serialization.undiscriminatedUnion([TransactionCurrencyEnum, core.serialization.string()]); - -export declare namespace ExpenseLineCurrency { - export type Raw = TransactionCurrencyEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/ExpenseLineRequest.ts b/src/serialization/resources/accounting/types/ExpenseLineRequest.ts index f1f857947..bd6abd0ec 100644 --- a/src/serialization/resources/accounting/types/ExpenseLineRequest.ts +++ b/src/serialization/resources/accounting/types/ExpenseLineRequest.ts @@ -34,8 +34,6 @@ export const ExpenseLineRequest: core.serialization.ObjectSchema< description: core.serialization.string().optional(), exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()), taxRate: core.serialization.property("tax_rate", core.serialization.string().optional()), - quantity: core.serialization.string().optional(), - unitPrice: core.serialization.property("unit_price", core.serialization.string().optional()), integrationParams: core.serialization.property( "integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), @@ -63,8 +61,6 @@ export declare namespace ExpenseLineRequest { description?: string | null; exchange_rate?: string | null; tax_rate?: string | null; - quantity?: string | null; - unit_price?: string | null; integration_params?: Record | null; linked_account_params?: Record | null; remote_fields?: RemoteFieldRequest.Raw[] | null; diff --git a/src/serialization/resources/accounting/types/ExpenseLineRequestProject.ts b/src/serialization/resources/accounting/types/ExpenseLineRequestProject.ts index 10a989f23..27a197e5b 100644 --- a/src/serialization/resources/accounting/types/ExpenseLineRequestProject.ts +++ b/src/serialization/resources/accounting/types/ExpenseLineRequestProject.ts @@ -3,13 +3,13 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { Contact } from "./Contact"; +import { Project } from "./Project"; export const ExpenseLineRequestProject: core.serialization.Schema< serializers.accounting.ExpenseLineRequestProject.Raw, Merge.accounting.ExpenseLineRequestProject -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact]); +> = core.serialization.undiscriminatedUnion([core.serialization.string(), Project]); export declare namespace ExpenseLineRequestProject { - export type Raw = string | Contact.Raw; + export type Raw = string | Project.Raw; } diff --git a/src/serialization/resources/accounting/types/ExpenseReport.ts b/src/serialization/resources/accounting/types/ExpenseReport.ts deleted file mode 100644 index 6c1899c0a..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReport.ts +++ /dev/null @@ -1,66 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ExpenseReportCompany } from "./ExpenseReportCompany"; -import { ExpenseReportLine } from "./ExpenseReportLine"; -import { ExpenseReportStatus } from "./ExpenseReportStatus"; -import { RemoteData } from "./RemoteData"; -import { RemoteField } from "./RemoteField"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const ExpenseReport: core.serialization.ObjectSchema< - serializers.accounting.ExpenseReport.Raw, - Merge.accounting.ExpenseReport -> = core.serialization.object({ - id: core.serialization.string().optional(), - remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), - createdAt: core.serialization.property("created_at", core.serialization.date().optional()), - modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()), - reportDate: core.serialization.property("report_date", core.serialization.date().optional()), - reportIdentifier: core.serialization.property("report_identifier", core.serialization.string().optional()), - employee: core.serialization.string().optional(), - status: ExpenseReportStatus.optional(), - totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()), - lines: core.serialization.list(ExpenseReportLine).optional(), - currency: TransactionCurrencyEnum.optional(), - description: core.serialization.string().optional(), - accountingPeriod: core.serialization.property("accounting_period", core.serialization.string().optional()), - company: ExpenseReportCompany.optional(), - trackingCategories: core.serialization.property( - "tracking_categories", - core.serialization.list(core.serialization.string()), - ), - remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()), - fieldMappings: core.serialization.property( - "field_mappings", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), - remoteData: core.serialization.property("remote_data", core.serialization.list(RemoteData).optional()), - remoteFields: core.serialization.property("remote_fields", core.serialization.list(RemoteField).optional()), -}); - -export declare namespace ExpenseReport { - export interface Raw { - id?: string | null; - remote_id?: string | null; - created_at?: string | null; - modified_at?: string | null; - report_date?: string | null; - report_identifier?: string | null; - employee?: string | null; - status?: ExpenseReportStatus.Raw | null; - total_amount?: number | null; - lines?: ExpenseReportLine.Raw[] | null; - currency?: TransactionCurrencyEnum.Raw | null; - description?: string | null; - accounting_period?: string | null; - company?: ExpenseReportCompany.Raw | null; - tracking_categories: string[]; - remote_was_deleted?: boolean | null; - field_mappings?: Record | null; - remote_data?: RemoteData.Raw[] | null; - remote_fields?: RemoteField.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportCompany.ts b/src/serialization/resources/accounting/types/ExpenseReportCompany.ts deleted file mode 100644 index 30a0c5efb..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportCompany.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { CompanyInfo } from "./CompanyInfo"; - -export const ExpenseReportCompany: core.serialization.Schema< - serializers.accounting.ExpenseReportCompany.Raw, - Merge.accounting.ExpenseReportCompany -> = core.serialization.undiscriminatedUnion([core.serialization.string(), CompanyInfo]); - -export declare namespace ExpenseReportCompany { - export type Raw = string | CompanyInfo.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLine.ts b/src/serialization/resources/accounting/types/ExpenseReportLine.ts deleted file mode 100644 index 13c09c188..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLine.ts +++ /dev/null @@ -1,75 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ExpenseReportLineAccount } from "./ExpenseReportLineAccount"; -import { ExpenseReportLineCompany } from "./ExpenseReportLineCompany"; -import { ExpenseReportLineContact } from "./ExpenseReportLineContact"; -import { ExpenseReportLineEmployee } from "./ExpenseReportLineEmployee"; -import { ExpenseReportLineProject } from "./ExpenseReportLineProject"; -import { ExpenseReportLineTaxRate } from "./ExpenseReportLineTaxRate"; -import { RemoteField } from "./RemoteField"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const ExpenseReportLine: core.serialization.ObjectSchema< - serializers.accounting.ExpenseReportLine.Raw, - Merge.accounting.ExpenseReportLine -> = core.serialization.object({ - id: core.serialization.string().optional(), - remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), - createdAt: core.serialization.property("created_at", core.serialization.date().optional()), - modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()), - account: ExpenseReportLineAccount.optional(), - description: core.serialization.string().optional(), - expenseDate: core.serialization.property("expense_date", core.serialization.date().optional()), - amount: core.serialization.number().optional(), - currency: TransactionCurrencyEnum.optional(), - exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()), - isBillable: core.serialization.property("is_billable", core.serialization.boolean().optional()), - trackingCategories: core.serialization.property( - "tracking_categories", - core.serialization.list(core.serialization.string()), - ), - employee: ExpenseReportLineEmployee.optional(), - project: ExpenseReportLineProject.optional(), - company: ExpenseReportLineCompany.optional(), - contact: ExpenseReportLineContact.optional(), - quantity: core.serialization.number().optional(), - unitPrice: core.serialization.property("unit_price", core.serialization.number().optional()), - nonReimbursable: core.serialization.property("non_reimbursable", core.serialization.boolean().optional()), - taxAmount: core.serialization.property("tax_amount", core.serialization.number().optional()), - inclusiveOfTax: core.serialization.property("inclusive_of_tax", core.serialization.boolean().optional()), - taxRate: core.serialization.property("tax_rate", ExpenseReportLineTaxRate.optional()), - remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()), - remoteFields: core.serialization.property("remote_fields", core.serialization.list(RemoteField).optional()), -}); - -export declare namespace ExpenseReportLine { - export interface Raw { - id?: string | null; - remote_id?: string | null; - created_at?: string | null; - modified_at?: string | null; - account?: ExpenseReportLineAccount.Raw | null; - description?: string | null; - expense_date?: string | null; - amount?: number | null; - currency?: TransactionCurrencyEnum.Raw | null; - exchange_rate?: string | null; - is_billable?: boolean | null; - tracking_categories: string[]; - employee?: ExpenseReportLineEmployee.Raw | null; - project?: ExpenseReportLineProject.Raw | null; - company?: ExpenseReportLineCompany.Raw | null; - contact?: ExpenseReportLineContact.Raw | null; - quantity?: number | null; - unit_price?: number | null; - non_reimbursable?: boolean | null; - tax_amount?: number | null; - inclusive_of_tax?: boolean | null; - tax_rate?: ExpenseReportLineTaxRate.Raw | null; - remote_was_deleted?: boolean | null; - remote_fields?: RemoteField.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineAccount.ts b/src/serialization/resources/accounting/types/ExpenseReportLineAccount.ts deleted file mode 100644 index 9e665812d..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineAccount.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Account } from "./Account"; - -export const ExpenseReportLineAccount: core.serialization.Schema< - serializers.accounting.ExpenseReportLineAccount.Raw, - Merge.accounting.ExpenseReportLineAccount -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Account]); - -export declare namespace ExpenseReportLineAccount { - export type Raw = string | Account.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineCompany.ts b/src/serialization/resources/accounting/types/ExpenseReportLineCompany.ts deleted file mode 100644 index 8fdd9568a..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineCompany.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { CompanyInfo } from "./CompanyInfo"; - -export const ExpenseReportLineCompany: core.serialization.Schema< - serializers.accounting.ExpenseReportLineCompany.Raw, - Merge.accounting.ExpenseReportLineCompany -> = core.serialization.undiscriminatedUnion([core.serialization.string(), CompanyInfo]); - -export declare namespace ExpenseReportLineCompany { - export type Raw = string | CompanyInfo.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineContact.ts b/src/serialization/resources/accounting/types/ExpenseReportLineContact.ts deleted file mode 100644 index 886eca626..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineContact.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Contact } from "./Contact"; - -export const ExpenseReportLineContact: core.serialization.Schema< - serializers.accounting.ExpenseReportLineContact.Raw, - Merge.accounting.ExpenseReportLineContact -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact]); - -export declare namespace ExpenseReportLineContact { - export type Raw = string | Contact.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineEmployee.ts b/src/serialization/resources/accounting/types/ExpenseReportLineEmployee.ts deleted file mode 100644 index cc4f33a83..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineEmployee.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Employee } from "./Employee"; - -export const ExpenseReportLineEmployee: core.serialization.Schema< - serializers.accounting.ExpenseReportLineEmployee.Raw, - Merge.accounting.ExpenseReportLineEmployee -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Employee]); - -export declare namespace ExpenseReportLineEmployee { - export type Raw = string | Employee.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineProject.ts b/src/serialization/resources/accounting/types/ExpenseReportLineProject.ts deleted file mode 100644 index 0612d5873..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineProject.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Project } from "./Project"; - -export const ExpenseReportLineProject: core.serialization.Schema< - serializers.accounting.ExpenseReportLineProject.Raw, - Merge.accounting.ExpenseReportLineProject -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Project]); - -export declare namespace ExpenseReportLineProject { - export type Raw = string | Project.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineRequest.ts b/src/serialization/resources/accounting/types/ExpenseReportLineRequest.ts deleted file mode 100644 index b7b4d0696..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineRequest.ts +++ /dev/null @@ -1,77 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ExpenseReportLineRequestAccount } from "./ExpenseReportLineRequestAccount"; -import { ExpenseReportLineRequestCompany } from "./ExpenseReportLineRequestCompany"; -import { ExpenseReportLineRequestContact } from "./ExpenseReportLineRequestContact"; -import { ExpenseReportLineRequestEmployee } from "./ExpenseReportLineRequestEmployee"; -import { ExpenseReportLineRequestProject } from "./ExpenseReportLineRequestProject"; -import { ExpenseReportLineRequestTaxRate } from "./ExpenseReportLineRequestTaxRate"; -import { RemoteFieldRequest } from "./RemoteFieldRequest"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const ExpenseReportLineRequest: core.serialization.ObjectSchema< - serializers.accounting.ExpenseReportLineRequest.Raw, - Merge.accounting.ExpenseReportLineRequest -> = core.serialization.object({ - remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), - account: ExpenseReportLineRequestAccount.optional(), - description: core.serialization.string().optional(), - expenseDate: core.serialization.property("expense_date", core.serialization.date().optional()), - amount: core.serialization.number().optional(), - currency: TransactionCurrencyEnum.optional(), - exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()), - isBillable: core.serialization.property("is_billable", core.serialization.boolean().optional()), - trackingCategories: core.serialization.property( - "tracking_categories", - core.serialization.list(core.serialization.string()), - ), - employee: ExpenseReportLineRequestEmployee.optional(), - project: ExpenseReportLineRequestProject.optional(), - company: ExpenseReportLineRequestCompany.optional(), - contact: ExpenseReportLineRequestContact.optional(), - quantity: core.serialization.number().optional(), - unitPrice: core.serialization.property("unit_price", core.serialization.number().optional()), - nonReimbursable: core.serialization.property("non_reimbursable", core.serialization.boolean().optional()), - taxAmount: core.serialization.property("tax_amount", core.serialization.number().optional()), - inclusiveOfTax: core.serialization.property("inclusive_of_tax", core.serialization.boolean().optional()), - taxRate: core.serialization.property("tax_rate", ExpenseReportLineRequestTaxRate.optional()), - integrationParams: core.serialization.property( - "integration_params", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), - linkedAccountParams: core.serialization.property( - "linked_account_params", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), - remoteFields: core.serialization.property("remote_fields", core.serialization.list(RemoteFieldRequest).optional()), -}); - -export declare namespace ExpenseReportLineRequest { - export interface Raw { - remote_id?: string | null; - account?: ExpenseReportLineRequestAccount.Raw | null; - description?: string | null; - expense_date?: string | null; - amount?: number | null; - currency?: TransactionCurrencyEnum.Raw | null; - exchange_rate?: string | null; - is_billable?: boolean | null; - tracking_categories: string[]; - employee?: ExpenseReportLineRequestEmployee.Raw | null; - project?: ExpenseReportLineRequestProject.Raw | null; - company?: ExpenseReportLineRequestCompany.Raw | null; - contact?: ExpenseReportLineRequestContact.Raw | null; - quantity?: number | null; - unit_price?: number | null; - non_reimbursable?: boolean | null; - tax_amount?: number | null; - inclusive_of_tax?: boolean | null; - tax_rate?: ExpenseReportLineRequestTaxRate.Raw | null; - integration_params?: Record | null; - linked_account_params?: Record | null; - remote_fields?: RemoteFieldRequest.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.ts b/src/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.ts deleted file mode 100644 index ffbd60667..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Account } from "./Account"; - -export const ExpenseReportLineRequestAccount: core.serialization.Schema< - serializers.accounting.ExpenseReportLineRequestAccount.Raw, - Merge.accounting.ExpenseReportLineRequestAccount -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Account]); - -export declare namespace ExpenseReportLineRequestAccount { - export type Raw = string | Account.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.ts b/src/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.ts deleted file mode 100644 index 3b4546924..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { CompanyInfo } from "./CompanyInfo"; - -export const ExpenseReportLineRequestCompany: core.serialization.Schema< - serializers.accounting.ExpenseReportLineRequestCompany.Raw, - Merge.accounting.ExpenseReportLineRequestCompany -> = core.serialization.undiscriminatedUnion([core.serialization.string(), CompanyInfo]); - -export declare namespace ExpenseReportLineRequestCompany { - export type Raw = string | CompanyInfo.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineRequestContact.ts b/src/serialization/resources/accounting/types/ExpenseReportLineRequestContact.ts deleted file mode 100644 index 6a773b555..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineRequestContact.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Contact } from "./Contact"; - -export const ExpenseReportLineRequestContact: core.serialization.Schema< - serializers.accounting.ExpenseReportLineRequestContact.Raw, - Merge.accounting.ExpenseReportLineRequestContact -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact]); - -export declare namespace ExpenseReportLineRequestContact { - export type Raw = string | Contact.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.ts b/src/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.ts deleted file mode 100644 index 06e1adb99..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Employee } from "./Employee"; - -export const ExpenseReportLineRequestEmployee: core.serialization.Schema< - serializers.accounting.ExpenseReportLineRequestEmployee.Raw, - Merge.accounting.ExpenseReportLineRequestEmployee -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Employee]); - -export declare namespace ExpenseReportLineRequestEmployee { - export type Raw = string | Employee.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineRequestProject.ts b/src/serialization/resources/accounting/types/ExpenseReportLineRequestProject.ts deleted file mode 100644 index ae422d749..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineRequestProject.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Project } from "./Project"; - -export const ExpenseReportLineRequestProject: core.serialization.Schema< - serializers.accounting.ExpenseReportLineRequestProject.Raw, - Merge.accounting.ExpenseReportLineRequestProject -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Project]); - -export declare namespace ExpenseReportLineRequestProject { - export type Raw = string | Project.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts b/src/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts deleted file mode 100644 index e2b530c07..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { TaxRate } from "./TaxRate"; - -export const ExpenseReportLineRequestTaxRate: core.serialization.Schema< - serializers.accounting.ExpenseReportLineRequestTaxRate.Raw, - Merge.accounting.ExpenseReportLineRequestTaxRate -> = core.serialization.undiscriminatedUnion([core.serialization.string(), TaxRate]); - -export declare namespace ExpenseReportLineRequestTaxRate { - export type Raw = string | TaxRate.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportLineTaxRate.ts b/src/serialization/resources/accounting/types/ExpenseReportLineTaxRate.ts deleted file mode 100644 index cb556c9b2..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportLineTaxRate.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { TaxRate } from "./TaxRate"; - -export const ExpenseReportLineTaxRate: core.serialization.Schema< - serializers.accounting.ExpenseReportLineTaxRate.Raw, - Merge.accounting.ExpenseReportLineTaxRate -> = core.serialization.undiscriminatedUnion([core.serialization.string(), TaxRate]); - -export declare namespace ExpenseReportLineTaxRate { - export type Raw = string | TaxRate.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportRequest.ts b/src/serialization/resources/accounting/types/ExpenseReportRequest.ts deleted file mode 100644 index 1bda9470d..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportRequest.ts +++ /dev/null @@ -1,57 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ExpenseReportRequestAccountingPeriod } from "./ExpenseReportRequestAccountingPeriod"; -import { ExpenseReportRequestCompany } from "./ExpenseReportRequestCompany"; -import { ExpenseReportRequestEmployee } from "./ExpenseReportRequestEmployee"; -import { ExpenseReportStatusEnum } from "./ExpenseReportStatusEnum"; -import { RemoteFieldRequest } from "./RemoteFieldRequest"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const ExpenseReportRequest: core.serialization.ObjectSchema< - serializers.accounting.ExpenseReportRequest.Raw, - Merge.accounting.ExpenseReportRequest -> = core.serialization.object({ - reportDate: core.serialization.property("report_date", core.serialization.date().optional()), - reportIdentifier: core.serialization.property("report_identifier", core.serialization.string().optional()), - employee: ExpenseReportRequestEmployee.optional(), - status: ExpenseReportStatusEnum.optional(), - totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()), - currency: TransactionCurrencyEnum.optional(), - description: core.serialization.string().optional(), - accountingPeriod: core.serialization.property("accounting_period", ExpenseReportRequestAccountingPeriod.optional()), - company: ExpenseReportRequestCompany.optional(), - trackingCategories: core.serialization.property( - "tracking_categories", - core.serialization.list(core.serialization.string()), - ), - integrationParams: core.serialization.property( - "integration_params", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), - linkedAccountParams: core.serialization.property( - "linked_account_params", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), - remoteFields: core.serialization.property("remote_fields", core.serialization.list(RemoteFieldRequest).optional()), -}); - -export declare namespace ExpenseReportRequest { - export interface Raw { - report_date?: string | null; - report_identifier?: string | null; - employee?: ExpenseReportRequestEmployee.Raw | null; - status?: ExpenseReportStatusEnum.Raw | null; - total_amount?: number | null; - currency?: TransactionCurrencyEnum.Raw | null; - description?: string | null; - accounting_period?: ExpenseReportRequestAccountingPeriod.Raw | null; - company?: ExpenseReportRequestCompany.Raw | null; - tracking_categories: string[]; - integration_params?: Record | null; - linked_account_params?: Record | null; - remote_fields?: RemoteFieldRequest.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts b/src/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts deleted file mode 100644 index 90f32df38..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { AccountingPeriod } from "./AccountingPeriod"; - -export const ExpenseReportRequestAccountingPeriod: core.serialization.Schema< - serializers.accounting.ExpenseReportRequestAccountingPeriod.Raw, - Merge.accounting.ExpenseReportRequestAccountingPeriod -> = core.serialization.undiscriminatedUnion([core.serialization.string(), AccountingPeriod]); - -export declare namespace ExpenseReportRequestAccountingPeriod { - export type Raw = string | AccountingPeriod.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportRequestCompany.ts b/src/serialization/resources/accounting/types/ExpenseReportRequestCompany.ts deleted file mode 100644 index faaa74e14..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportRequestCompany.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { CompanyInfo } from "./CompanyInfo"; - -export const ExpenseReportRequestCompany: core.serialization.Schema< - serializers.accounting.ExpenseReportRequestCompany.Raw, - Merge.accounting.ExpenseReportRequestCompany -> = core.serialization.undiscriminatedUnion([core.serialization.string(), CompanyInfo]); - -export declare namespace ExpenseReportRequestCompany { - export type Raw = string | CompanyInfo.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportRequestEmployee.ts b/src/serialization/resources/accounting/types/ExpenseReportRequestEmployee.ts deleted file mode 100644 index 2841465fb..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportRequestEmployee.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Employee } from "./Employee"; - -export const ExpenseReportRequestEmployee: core.serialization.Schema< - serializers.accounting.ExpenseReportRequestEmployee.Raw, - Merge.accounting.ExpenseReportRequestEmployee -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Employee]); - -export declare namespace ExpenseReportRequestEmployee { - export type Raw = string | Employee.Raw; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportResponse.ts b/src/serialization/resources/accounting/types/ExpenseReportResponse.ts deleted file mode 100644 index 7be0c3b91..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportResponse.ts +++ /dev/null @@ -1,28 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { DebugModeLog } from "./DebugModeLog"; -import { ErrorValidationProblem } from "./ErrorValidationProblem"; -import { ExpenseReport } from "./ExpenseReport"; -import { WarningValidationProblem } from "./WarningValidationProblem"; - -export const ExpenseReportResponse: core.serialization.ObjectSchema< - serializers.accounting.ExpenseReportResponse.Raw, - Merge.accounting.ExpenseReportResponse -> = core.serialization.object({ - model: ExpenseReport, - warnings: core.serialization.list(WarningValidationProblem), - errors: core.serialization.list(ErrorValidationProblem), - logs: core.serialization.list(DebugModeLog).optional(), -}); - -export declare namespace ExpenseReportResponse { - export interface Raw { - model: ExpenseReport.Raw; - warnings: WarningValidationProblem.Raw[]; - errors: ErrorValidationProblem.Raw[]; - logs?: DebugModeLog.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportStatus.ts b/src/serialization/resources/accounting/types/ExpenseReportStatus.ts deleted file mode 100644 index 5be71dee5..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportStatus.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ExpenseReportStatusEnum } from "./ExpenseReportStatusEnum"; - -export const ExpenseReportStatus: core.serialization.Schema< - serializers.accounting.ExpenseReportStatus.Raw, - Merge.accounting.ExpenseReportStatus -> = core.serialization.undiscriminatedUnion([ExpenseReportStatusEnum, core.serialization.string()]); - -export declare namespace ExpenseReportStatus { - export type Raw = ExpenseReportStatusEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/ExpenseReportStatusEnum.ts b/src/serialization/resources/accounting/types/ExpenseReportStatusEnum.ts deleted file mode 100644 index 7f18ed599..000000000 --- a/src/serialization/resources/accounting/types/ExpenseReportStatusEnum.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; - -export const ExpenseReportStatusEnum: core.serialization.Schema< - serializers.accounting.ExpenseReportStatusEnum.Raw, - Merge.accounting.ExpenseReportStatusEnum -> = core.serialization.enum_(["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]); - -export declare namespace ExpenseReportStatusEnum { - export type Raw = "DRAFT" | "SUBMITTED" | "APPROVED" | "REJECTED"; -} diff --git a/src/serialization/resources/accounting/types/ExpenseRequest.ts b/src/serialization/resources/accounting/types/ExpenseRequest.ts index be5577043..bd5120093 100644 --- a/src/serialization/resources/accounting/types/ExpenseRequest.ts +++ b/src/serialization/resources/accounting/types/ExpenseRequest.ts @@ -8,10 +8,10 @@ import { ExpenseRequestAccount } from "./ExpenseRequestAccount"; import { ExpenseRequestAccountingPeriod } from "./ExpenseRequestAccountingPeriod"; import { ExpenseRequestCompany } from "./ExpenseRequestCompany"; import { ExpenseRequestContact } from "./ExpenseRequestContact"; -import { ExpenseRequestCurrency } from "./ExpenseRequestCurrency"; import { ExpenseRequestEmployee } from "./ExpenseRequestEmployee"; import { ExpenseRequestTrackingCategoriesItem } from "./ExpenseRequestTrackingCategoriesItem"; import { RemoteFieldRequest } from "./RemoteFieldRequest"; +import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; export const ExpenseRequest: core.serialization.ObjectSchema< serializers.accounting.ExpenseRequest.Raw, @@ -23,7 +23,7 @@ export const ExpenseRequest: core.serialization.ObjectSchema< totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()), subTotal: core.serialization.property("sub_total", core.serialization.number().optional()), totalTaxAmount: core.serialization.property("total_tax_amount", core.serialization.number().optional()), - currency: ExpenseRequestCurrency.optional(), + currency: TransactionCurrencyEnum.optional(), exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()), inclusiveOfTax: core.serialization.property("inclusive_of_tax", core.serialization.boolean().optional()), company: ExpenseRequestCompany.optional(), @@ -54,7 +54,7 @@ export declare namespace ExpenseRequest { total_amount?: number | null; sub_total?: number | null; total_tax_amount?: number | null; - currency?: ExpenseRequestCurrency.Raw | null; + currency?: TransactionCurrencyEnum.Raw | null; exchange_rate?: string | null; inclusive_of_tax?: boolean | null; company?: ExpenseRequestCompany.Raw | null; diff --git a/src/serialization/resources/accounting/types/ExpenseRequestCurrency.ts b/src/serialization/resources/accounting/types/ExpenseRequestCurrency.ts deleted file mode 100644 index 43412bbd3..000000000 --- a/src/serialization/resources/accounting/types/ExpenseRequestCurrency.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const ExpenseRequestCurrency: core.serialization.Schema< - serializers.accounting.ExpenseRequestCurrency.Raw, - Merge.accounting.ExpenseRequestCurrency -> = core.serialization.undiscriminatedUnion([TransactionCurrencyEnum, core.serialization.string()]); - -export declare namespace ExpenseRequestCurrency { - export type Raw = TransactionCurrencyEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts b/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts index 7a5a88cf3..dcd6378ff 100644 --- a/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts +++ b/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts @@ -34,10 +34,6 @@ export const ExternalTargetFieldApiResponse: core.serialization.ObjectSchema< "PurchaseOrder", core.serialization.list(ExternalTargetFieldApi).optional(), ), - expenseReport: core.serialization.property( - "ExpenseReport", - core.serialization.list(ExternalTargetFieldApi).optional(), - ), trackingCategory: core.serialization.property( "TrackingCategory", core.serialization.list(ExternalTargetFieldApi).optional(), @@ -88,7 +84,6 @@ export declare namespace ExternalTargetFieldApiResponse { CreditNote?: ExternalTargetFieldApi.Raw[] | null; Item?: ExternalTargetFieldApi.Raw[] | null; PurchaseOrder?: ExternalTargetFieldApi.Raw[] | null; - ExpenseReport?: ExternalTargetFieldApi.Raw[] | null; TrackingCategory?: ExternalTargetFieldApi.Raw[] | null; JournalEntry?: ExternalTargetFieldApi.Raw[] | null; TaxRate?: ExternalTargetFieldApi.Raw[] | null; diff --git a/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts b/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts index 736070bd8..3768f9bd0 100644 --- a/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts +++ b/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts @@ -37,10 +37,6 @@ export const FieldMappingApiInstanceResponse: core.serialization.ObjectSchema< "PurchaseOrder", core.serialization.list(FieldMappingApiInstance).optional(), ), - expenseReport: core.serialization.property( - "ExpenseReport", - core.serialization.list(FieldMappingApiInstance).optional(), - ), trackingCategory: core.serialization.property( "TrackingCategory", core.serialization.list(FieldMappingApiInstance).optional(), @@ -97,7 +93,6 @@ export declare namespace FieldMappingApiInstanceResponse { CreditNote?: FieldMappingApiInstance.Raw[] | null; Item?: FieldMappingApiInstance.Raw[] | null; PurchaseOrder?: FieldMappingApiInstance.Raw[] | null; - ExpenseReport?: FieldMappingApiInstance.Raw[] | null; TrackingCategory?: FieldMappingApiInstance.Raw[] | null; JournalEntry?: FieldMappingApiInstance.Raw[] | null; TaxRate?: FieldMappingApiInstance.Raw[] | null; diff --git a/src/serialization/resources/accounting/types/GeneralLedgerTransactionLine.ts b/src/serialization/resources/accounting/types/GeneralLedgerTransactionLine.ts index e9c9eedc6..4b36e5c10 100644 --- a/src/serialization/resources/accounting/types/GeneralLedgerTransactionLine.ts +++ b/src/serialization/resources/accounting/types/GeneralLedgerTransactionLine.ts @@ -4,7 +4,6 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { GeneralLedgerTransactionLineAccount } from "./GeneralLedgerTransactionLineAccount"; -import { GeneralLedgerTransactionLineBaseCurrency } from "./GeneralLedgerTransactionLineBaseCurrency"; import { GeneralLedgerTransactionLineCompany } from "./GeneralLedgerTransactionLineCompany"; import { GeneralLedgerTransactionLineContact } from "./GeneralLedgerTransactionLineContact"; import { GeneralLedgerTransactionLineEmployee } from "./GeneralLedgerTransactionLineEmployee"; @@ -12,6 +11,7 @@ import { GeneralLedgerTransactionLineItem } from "./GeneralLedgerTransactionLine import { GeneralLedgerTransactionLineProject } from "./GeneralLedgerTransactionLineProject"; import { GeneralLedgerTransactionLineTrackingCategoriesItem } from "./GeneralLedgerTransactionLineTrackingCategoriesItem"; import { GeneralLedgerTransactionLineTransactionCurrency } from "./GeneralLedgerTransactionLineTransactionCurrency"; +import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; export const GeneralLedgerTransactionLine: core.serialization.ObjectSchema< serializers.accounting.GeneralLedgerTransactionLine.Raw, @@ -26,7 +26,7 @@ export const GeneralLedgerTransactionLine: core.serialization.ObjectSchema< employee: GeneralLedgerTransactionLineEmployee.optional(), contact: GeneralLedgerTransactionLineContact.optional(), project: GeneralLedgerTransactionLineProject.optional(), - baseCurrency: core.serialization.property("base_currency", GeneralLedgerTransactionLineBaseCurrency.optional()), + baseCurrency: core.serialization.property("base_currency", TransactionCurrencyEnum.optional()), transactionCurrency: core.serialization.property( "transaction_currency", GeneralLedgerTransactionLineTransactionCurrency.optional(), @@ -60,7 +60,7 @@ export declare namespace GeneralLedgerTransactionLine { employee?: GeneralLedgerTransactionLineEmployee.Raw | null; contact?: GeneralLedgerTransactionLineContact.Raw | null; project?: GeneralLedgerTransactionLineProject.Raw | null; - base_currency?: GeneralLedgerTransactionLineBaseCurrency.Raw | null; + base_currency?: TransactionCurrencyEnum.Raw | null; transaction_currency?: GeneralLedgerTransactionLineTransactionCurrency.Raw | null; exchange_rate?: string | null; description?: string | null; diff --git a/src/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts b/src/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts deleted file mode 100644 index baa902498..000000000 --- a/src/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { TransactionCurrencyEnum } from "./TransactionCurrencyEnum"; - -export const GeneralLedgerTransactionLineBaseCurrency: core.serialization.Schema< - serializers.accounting.GeneralLedgerTransactionLineBaseCurrency.Raw, - Merge.accounting.GeneralLedgerTransactionLineBaseCurrency -> = core.serialization.undiscriminatedUnion([TransactionCurrencyEnum, core.serialization.string()]); - -export declare namespace GeneralLedgerTransactionLineBaseCurrency { - export type Raw = TransactionCurrencyEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/Invoice.ts b/src/serialization/resources/accounting/types/Invoice.ts index 9a9405c23..be933a07e 100644 --- a/src/serialization/resources/accounting/types/Invoice.ts +++ b/src/serialization/resources/accounting/types/Invoice.ts @@ -15,7 +15,7 @@ import { InvoicePaymentTerm } from "./InvoicePaymentTerm"; import { InvoicePurchaseOrdersItem } from "./InvoicePurchaseOrdersItem"; import { InvoiceStatus } from "./InvoiceStatus"; import { InvoiceTrackingCategoriesItem } from "./InvoiceTrackingCategoriesItem"; -import { InvoiceType } from "./InvoiceType"; +import { InvoiceTypeEnum } from "./InvoiceTypeEnum"; import { RemoteData } from "./RemoteData"; import { RemoteField } from "./RemoteField"; @@ -25,7 +25,7 @@ export const Invoice: core.serialization.ObjectSchema = core.serialization.undiscriminatedUnion([InvoiceTypeEnum, core.serialization.string()]); - -export declare namespace InvoiceType { - export type Raw = InvoiceTypeEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/MultipartFormFieldRequest.ts b/src/serialization/resources/accounting/types/MultipartFormFieldRequest.ts index 37876dd92..e3aea8aa8 100644 --- a/src/serialization/resources/accounting/types/MultipartFormFieldRequest.ts +++ b/src/serialization/resources/accounting/types/MultipartFormFieldRequest.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { MultipartFormFieldRequestEncoding } from "./MultipartFormFieldRequestEncoding"; +import { EncodingEnum } from "./EncodingEnum"; export const MultipartFormFieldRequest: core.serialization.ObjectSchema< serializers.accounting.MultipartFormFieldRequest.Raw, @@ -11,7 +11,7 @@ export const MultipartFormFieldRequest: core.serialization.ObjectSchema< > = core.serialization.object({ name: core.serialization.string(), data: core.serialization.string(), - encoding: MultipartFormFieldRequestEncoding.optional(), + encoding: EncodingEnum.optional(), fileName: core.serialization.property("file_name", core.serialization.string().optional()), contentType: core.serialization.property("content_type", core.serialization.string().optional()), }); @@ -20,7 +20,7 @@ export declare namespace MultipartFormFieldRequest { export interface Raw { name: string; data: string; - encoding?: MultipartFormFieldRequestEncoding.Raw | null; + encoding?: EncodingEnum.Raw | null; file_name?: string | null; content_type?: string | null; } diff --git a/src/serialization/resources/accounting/types/MultipartFormFieldRequestEncoding.ts b/src/serialization/resources/accounting/types/MultipartFormFieldRequestEncoding.ts deleted file mode 100644 index a1b2d3db6..000000000 --- a/src/serialization/resources/accounting/types/MultipartFormFieldRequestEncoding.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { EncodingEnum } from "./EncodingEnum"; - -export const MultipartFormFieldRequestEncoding: core.serialization.Schema< - serializers.accounting.MultipartFormFieldRequestEncoding.Raw, - Merge.accounting.MultipartFormFieldRequestEncoding -> = core.serialization.undiscriminatedUnion([EncodingEnum, core.serialization.string()]); - -export declare namespace MultipartFormFieldRequestEncoding { - export type Raw = EncodingEnum.Raw | string; -} diff --git a/src/serialization/resources/accounting/types/PaginatedExpenseReportLineList.ts b/src/serialization/resources/accounting/types/PaginatedExpenseReportLineList.ts deleted file mode 100644 index 9aba8ccef..000000000 --- a/src/serialization/resources/accounting/types/PaginatedExpenseReportLineList.ts +++ /dev/null @@ -1,23 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ExpenseReportLine } from "./ExpenseReportLine"; - -export const PaginatedExpenseReportLineList: core.serialization.ObjectSchema< - serializers.accounting.PaginatedExpenseReportLineList.Raw, - Merge.accounting.PaginatedExpenseReportLineList -> = core.serialization.object({ - next: core.serialization.string().optional(), - previous: core.serialization.string().optional(), - results: core.serialization.list(ExpenseReportLine).optional(), -}); - -export declare namespace PaginatedExpenseReportLineList { - export interface Raw { - next?: string | null; - previous?: string | null; - results?: ExpenseReportLine.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/PaginatedExpenseReportList.ts b/src/serialization/resources/accounting/types/PaginatedExpenseReportList.ts deleted file mode 100644 index a83485e9a..000000000 --- a/src/serialization/resources/accounting/types/PaginatedExpenseReportList.ts +++ /dev/null @@ -1,23 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ExpenseReport } from "./ExpenseReport"; - -export const PaginatedExpenseReportList: core.serialization.ObjectSchema< - serializers.accounting.PaginatedExpenseReportList.Raw, - Merge.accounting.PaginatedExpenseReportList -> = core.serialization.object({ - next: core.serialization.string().optional(), - previous: core.serialization.string().optional(), - results: core.serialization.list(ExpenseReport).optional(), -}); - -export declare namespace PaginatedExpenseReportList { - export interface Raw { - next?: string | null; - previous?: string | null; - results?: ExpenseReport.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/PatchedContactRequest.ts b/src/serialization/resources/accounting/types/PatchedContactRequest.ts deleted file mode 100644 index 0c62524ed..000000000 --- a/src/serialization/resources/accounting/types/PatchedContactRequest.ts +++ /dev/null @@ -1,54 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { AccountingPhoneNumberRequest } from "./AccountingPhoneNumberRequest"; -import { PatchedContactRequestAddressesItem } from "./PatchedContactRequestAddressesItem"; -import { RemoteFieldRequest } from "./RemoteFieldRequest"; - -export const PatchedContactRequest: core.serialization.ObjectSchema< - serializers.accounting.PatchedContactRequest.Raw, - Merge.accounting.PatchedContactRequest -> = core.serialization.object({ - name: core.serialization.string().optional(), - isSupplier: core.serialization.property("is_supplier", core.serialization.boolean().optional()), - isCustomer: core.serialization.property("is_customer", core.serialization.boolean().optional()), - emailAddress: core.serialization.property("email_address", core.serialization.string().optional()), - taxNumber: core.serialization.property("tax_number", core.serialization.string().optional()), - status: core.serialization.string().optional(), - currency: core.serialization.string().optional(), - company: core.serialization.string().optional(), - addresses: core.serialization.list(PatchedContactRequestAddressesItem.optional()).optional(), - phoneNumbers: core.serialization.property( - "phone_numbers", - core.serialization.list(AccountingPhoneNumberRequest).optional(), - ), - integrationParams: core.serialization.property( - "integration_params", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), - linkedAccountParams: core.serialization.property( - "linked_account_params", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), - remoteFields: core.serialization.property("remote_fields", core.serialization.list(RemoteFieldRequest).optional()), -}); - -export declare namespace PatchedContactRequest { - export interface Raw { - name?: string | null; - is_supplier?: boolean | null; - is_customer?: boolean | null; - email_address?: string | null; - tax_number?: string | null; - status?: string | null; - currency?: string | null; - company?: string | null; - addresses?: (PatchedContactRequestAddressesItem.Raw | null | undefined)[] | null; - phone_numbers?: AccountingPhoneNumberRequest.Raw[] | null; - integration_params?: Record | null; - linked_account_params?: Record | null; - remote_fields?: RemoteFieldRequest.Raw[] | null; - } -} diff --git a/src/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.ts b/src/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.ts deleted file mode 100644 index d3f4d429e..000000000 --- a/src/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { Address } from "./Address"; - -export const PatchedContactRequestAddressesItem: core.serialization.Schema< - serializers.accounting.PatchedContactRequestAddressesItem.Raw, - Merge.accounting.PatchedContactRequestAddressesItem -> = core.serialization.undiscriminatedUnion([core.serialization.string(), Address]); - -export declare namespace PatchedContactRequestAddressesItem { - export type Raw = string | Address.Raw; -} diff --git a/src/serialization/resources/accounting/types/RemoteFieldClass.ts b/src/serialization/resources/accounting/types/RemoteFieldClass.ts index 61f303a1d..4de9f6675 100644 --- a/src/serialization/resources/accounting/types/RemoteFieldClass.ts +++ b/src/serialization/resources/accounting/types/RemoteFieldClass.ts @@ -16,7 +16,6 @@ export const RemoteFieldClass: core.serialization.ObjectSchema< remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string().optional()), description: core.serialization.string().optional(), isCustom: core.serialization.property("is_custom", core.serialization.boolean().optional()), - isCommonModelField: core.serialization.property("is_common_model_field", core.serialization.boolean().optional()), isRequired: core.serialization.property("is_required", core.serialization.boolean().optional()), fieldType: core.serialization.property("field_type", FieldTypeEnum.optional()), fieldFormat: core.serialization.property("field_format", FieldFormatEnum.optional()), @@ -34,7 +33,6 @@ export declare namespace RemoteFieldClass { remote_key_name?: string | null; description?: string | null; is_custom?: boolean | null; - is_common_model_field?: boolean | null; is_required?: boolean | null; field_type?: FieldTypeEnum.Raw | null; field_format?: FieldFormatEnum.Raw | null; diff --git a/src/serialization/resources/accounting/types/SyncStatus.ts b/src/serialization/resources/accounting/types/SyncStatus.ts index 8e1575ef1..b9cb3be3d 100644 --- a/src/serialization/resources/accounting/types/SyncStatus.ts +++ b/src/serialization/resources/accounting/types/SyncStatus.ts @@ -3,8 +3,8 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { LastSyncResultEnum } from "./LastSyncResultEnum"; import { SelectiveSyncConfigurationsUsageEnum } from "./SelectiveSyncConfigurationsUsageEnum"; +import { SyncStatusLastSyncResult } from "./SyncStatusLastSyncResult"; import { SyncStatusStatus } from "./SyncStatusStatus"; export const SyncStatus: core.serialization.ObjectSchema< @@ -15,7 +15,7 @@ export const SyncStatus: core.serialization.ObjectSchema< modelId: core.serialization.property("model_id", core.serialization.string()), lastSyncStart: core.serialization.property("last_sync_start", core.serialization.date().optional()), nextSyncStart: core.serialization.property("next_sync_start", core.serialization.date().optional()), - lastSyncResult: core.serialization.property("last_sync_result", LastSyncResultEnum.optional()), + lastSyncResult: core.serialization.property("last_sync_result", SyncStatusLastSyncResult.optional()), lastSyncFinished: core.serialization.property("last_sync_finished", core.serialization.date().optional()), status: SyncStatusStatus, isInitialSync: core.serialization.property("is_initial_sync", core.serialization.boolean()), @@ -31,7 +31,7 @@ export declare namespace SyncStatus { model_id: string; last_sync_start?: string | null; next_sync_start?: string | null; - last_sync_result?: LastSyncResultEnum.Raw | null; + last_sync_result?: SyncStatusLastSyncResult.Raw | null; last_sync_finished?: string | null; status: SyncStatusStatus.Raw; is_initial_sync: boolean; diff --git a/src/serialization/resources/filestorage/types/SyncStatusLastSyncResult.ts b/src/serialization/resources/accounting/types/SyncStatusLastSyncResult.ts similarity index 83% rename from src/serialization/resources/filestorage/types/SyncStatusLastSyncResult.ts rename to src/serialization/resources/accounting/types/SyncStatusLastSyncResult.ts index 06bac3caf..dfba1a763 100644 --- a/src/serialization/resources/filestorage/types/SyncStatusLastSyncResult.ts +++ b/src/serialization/resources/accounting/types/SyncStatusLastSyncResult.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { LastSyncResultEnum } from "./LastSyncResultEnum"; export const SyncStatusLastSyncResult: core.serialization.Schema< - serializers.filestorage.SyncStatusLastSyncResult.Raw, - Merge.filestorage.SyncStatusLastSyncResult + serializers.accounting.SyncStatusLastSyncResult.Raw, + Merge.accounting.SyncStatusLastSyncResult > = core.serialization.undiscriminatedUnion([LastSyncResultEnum, core.serialization.string()]); export declare namespace SyncStatusLastSyncResult { diff --git a/src/serialization/resources/accounting/types/index.ts b/src/serialization/resources/accounting/types/index.ts index 22194d0a9..81301df16 100644 --- a/src/serialization/resources/accounting/types/index.ts +++ b/src/serialization/resources/accounting/types/index.ts @@ -9,7 +9,6 @@ export * from "./AccountDetailsAndActionsCategory"; export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatus"; export * from "./AccountDetailsAndActionsStatusEnum"; -export * from "./AccountDetailsCategory"; export * from "./AccountIntegration"; export * from "./AccountingAttachment"; export * from "./AccountingAttachmentRequest"; @@ -74,7 +73,6 @@ export * from "./ClassificationEnum"; export * from "./CommonModelScopeApi"; export * from "./CommonModelScopesBodyRequest"; export * from "./CompanyInfo"; -export * from "./CompanyInfoCurrency"; export * from "./ComponentTypeEnum"; export * from "./Contact"; export * from "./ContactAddressesItem"; @@ -123,7 +121,6 @@ export * from "./CreditNoteStatusEnum"; export * from "./CreditNoteTrackingCategoriesItem"; export * from "./CreditOrDebitEnum"; export * from "./DataPassthroughRequest"; -export * from "./DataPassthroughRequestMethod"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Employee"; @@ -143,7 +140,6 @@ export * from "./ExpenseEmployee"; export * from "./ExpenseLine"; export * from "./ExpenseLineAccount"; export * from "./ExpenseLineContact"; -export * from "./ExpenseLineCurrency"; export * from "./ExpenseLineEmployee"; export * from "./ExpenseLineItem"; export * from "./ExpenseLineProject"; @@ -158,35 +154,11 @@ export * from "./ExpenseLineRequestTrackingCategoriesItem"; export * from "./ExpenseLineRequestTrackingCategory"; export * from "./ExpenseLineTrackingCategoriesItem"; export * from "./ExpenseLineTrackingCategory"; -export * from "./ExpenseReport"; -export * from "./ExpenseReportCompany"; -export * from "./ExpenseReportLine"; -export * from "./ExpenseReportLineAccount"; -export * from "./ExpenseReportLineCompany"; -export * from "./ExpenseReportLineContact"; -export * from "./ExpenseReportLineEmployee"; -export * from "./ExpenseReportLineProject"; -export * from "./ExpenseReportLineRequest"; -export * from "./ExpenseReportLineRequestAccount"; -export * from "./ExpenseReportLineRequestCompany"; -export * from "./ExpenseReportLineRequestContact"; -export * from "./ExpenseReportLineRequestEmployee"; -export * from "./ExpenseReportLineRequestProject"; -export * from "./ExpenseReportLineRequestTaxRate"; -export * from "./ExpenseReportLineTaxRate"; -export * from "./ExpenseReportRequest"; -export * from "./ExpenseReportRequestAccountingPeriod"; -export * from "./ExpenseReportRequestCompany"; -export * from "./ExpenseReportRequestEmployee"; -export * from "./ExpenseReportResponse"; -export * from "./ExpenseReportStatus"; -export * from "./ExpenseReportStatusEnum"; export * from "./ExpenseRequest"; export * from "./ExpenseRequestAccount"; export * from "./ExpenseRequestAccountingPeriod"; export * from "./ExpenseRequestCompany"; export * from "./ExpenseRequestContact"; -export * from "./ExpenseRequestCurrency"; export * from "./ExpenseRequestEmployee"; export * from "./ExpenseRequestTrackingCategoriesItem"; export * from "./ExpenseResponse"; @@ -210,7 +182,6 @@ export * from "./GeneralLedgerTransactionCompany"; export * from "./GeneralLedgerTransactionGeneralLedgerTransactionLinesItem"; export * from "./GeneralLedgerTransactionLine"; export * from "./GeneralLedgerTransactionLineAccount"; -export * from "./GeneralLedgerTransactionLineBaseCurrency"; export * from "./GeneralLedgerTransactionLineCompany"; export * from "./GeneralLedgerTransactionLineContact"; export * from "./GeneralLedgerTransactionLineEmployee"; @@ -270,7 +241,6 @@ export * from "./InvoiceResponse"; export * from "./InvoiceStatus"; export * from "./InvoiceStatusEnum"; export * from "./InvoiceTrackingCategoriesItem"; -export * from "./InvoiceType"; export * from "./InvoiceTypeEnum"; export * from "./Issue"; export * from "./IssueStatus"; @@ -333,7 +303,6 @@ export * from "./ModelOperation"; export * from "./ModelPermissionDeserializer"; export * from "./ModelPermissionDeserializerRequest"; export * from "./MultipartFormFieldRequest"; -export * from "./MultipartFormFieldRequestEncoding"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAccountingAttachmentList"; export * from "./PaginatedAccountingPeriodList"; @@ -348,8 +317,6 @@ export * from "./PaginatedContactList"; export * from "./PaginatedCreditNoteList"; export * from "./PaginatedEmployeeList"; export * from "./PaginatedExpenseList"; -export * from "./PaginatedExpenseReportLineList"; -export * from "./PaginatedExpenseReportList"; export * from "./PaginatedGeneralLedgerTransactionList"; export * from "./PaginatedIncomeStatementList"; export * from "./PaginatedInvoiceList"; @@ -367,8 +334,6 @@ export * from "./PaginatedTaxRateList"; export * from "./PaginatedTrackingCategoryList"; export * from "./PaginatedTransactionList"; export * from "./PaginatedVendorCreditList"; -export * from "./PatchedContactRequest"; -export * from "./PatchedContactRequestAddressesItem"; export * from "./PatchedItemRequestRequest"; export * from "./PatchedItemRequestRequestStatus"; export * from "./PatchedItemRequestRequestType"; @@ -460,6 +425,7 @@ export * from "./Status7D1Enum"; export * from "./Status895Enum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; +export * from "./SyncStatusLastSyncResult"; export * from "./SyncStatusStatus"; export * from "./TaxComponent"; export * from "./TaxComponentComponentType"; diff --git a/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts b/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts deleted file mode 100644 index 4b19a866a..000000000 --- a/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts +++ /dev/null @@ -1,525 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ApplicationsListRequestExpand: core.serialization.Schema< - serializers.ats.ApplicationsListRequestExpand.Raw, - Merge.ats.ApplicationsListRequestExpand -> = core.serialization.enum_([ - "candidate", - "candidate,credited_to", - "candidate,credited_to,current_stage", - "candidate,credited_to,current_stage,reject_reason", - "candidate,credited_to,reject_reason", - "candidate,current_stage", - "candidate,current_stage,reject_reason", - "candidate,job", - "candidate,job,credited_to", - "candidate,job,credited_to,current_stage", - "candidate,job,credited_to,current_stage,reject_reason", - "candidate,job,credited_to,reject_reason", - "candidate,job,current_stage", - "candidate,job,current_stage,reject_reason", - "candidate,job,reject_reason", - "candidate,reject_reason", - "credited_to", - "credited_to,current_stage", - "credited_to,current_stage,reject_reason", - "credited_to,reject_reason", - "current_stage", - "current_stage,reject_reason", - "job", - "job,credited_to", - "job,credited_to,current_stage", - "job,credited_to,current_stage,reject_reason", - "job,credited_to,reject_reason", - "job,current_stage", - "job,current_stage,reject_reason", - "job,reject_reason", - "offers", - "offers,candidate", - "offers,candidate,credited_to", - "offers,candidate,credited_to,current_stage", - "offers,candidate,credited_to,current_stage,reject_reason", - "offers,candidate,credited_to,reject_reason", - "offers,candidate,current_stage", - "offers,candidate,current_stage,reject_reason", - "offers,candidate,job", - "offers,candidate,job,credited_to", - "offers,candidate,job,credited_to,current_stage", - "offers,candidate,job,credited_to,current_stage,reject_reason", - "offers,candidate,job,credited_to,reject_reason", - "offers,candidate,job,current_stage", - "offers,candidate,job,current_stage,reject_reason", - "offers,candidate,job,reject_reason", - "offers,candidate,reject_reason", - "offers,credited_to", - "offers,credited_to,current_stage", - "offers,credited_to,current_stage,reject_reason", - "offers,credited_to,reject_reason", - "offers,current_stage", - "offers,current_stage,reject_reason", - "offers,job", - "offers,job,credited_to", - "offers,job,credited_to,current_stage", - "offers,job,credited_to,current_stage,reject_reason", - "offers,job,credited_to,reject_reason", - "offers,job,current_stage", - "offers,job,current_stage,reject_reason", - "offers,job,reject_reason", - "offers,reject_reason", - "offers,screening_question_answers", - "offers,screening_question_answers,candidate", - "offers,screening_question_answers,candidate,credited_to", - "offers,screening_question_answers,candidate,credited_to,current_stage", - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,candidate,credited_to,reject_reason", - "offers,screening_question_answers,candidate,current_stage", - "offers,screening_question_answers,candidate,current_stage,reject_reason", - "offers,screening_question_answers,candidate,job", - "offers,screening_question_answers,candidate,job,credited_to", - "offers,screening_question_answers,candidate,job,credited_to,current_stage", - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,candidate,job,credited_to,reject_reason", - "offers,screening_question_answers,candidate,job,current_stage", - "offers,screening_question_answers,candidate,job,current_stage,reject_reason", - "offers,screening_question_answers,candidate,job,reject_reason", - "offers,screening_question_answers,candidate,reject_reason", - "offers,screening_question_answers,credited_to", - "offers,screening_question_answers,credited_to,current_stage", - "offers,screening_question_answers,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,credited_to,reject_reason", - "offers,screening_question_answers,current_stage", - "offers,screening_question_answers,current_stage,reject_reason", - "offers,screening_question_answers,job", - "offers,screening_question_answers,job,credited_to", - "offers,screening_question_answers,job,credited_to,current_stage", - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,job,credited_to,reject_reason", - "offers,screening_question_answers,job,current_stage", - "offers,screening_question_answers,job,current_stage,reject_reason", - "offers,screening_question_answers,job,reject_reason", - "offers,screening_question_answers,reject_reason", - "offers,screening_question_answers,screening_question_answers.question", - "offers,screening_question_answers,screening_question_answers.question,candidate", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,credited_to", - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,current_stage", - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job,current_stage", - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,reject_reason", - "offers,screening_question_answers.question", - "offers,screening_question_answers.question,candidate", - "offers,screening_question_answers.question,candidate,credited_to", - "offers,screening_question_answers.question,candidate,credited_to,current_stage", - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,credited_to,reject_reason", - "offers,screening_question_answers.question,candidate,current_stage", - "offers,screening_question_answers.question,candidate,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,job", - "offers,screening_question_answers.question,candidate,job,credited_to", - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage", - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - "offers,screening_question_answers.question,candidate,job,current_stage", - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,job,reject_reason", - "offers,screening_question_answers.question,candidate,reject_reason", - "offers,screening_question_answers.question,credited_to", - "offers,screening_question_answers.question,credited_to,current_stage", - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,credited_to,reject_reason", - "offers,screening_question_answers.question,current_stage", - "offers,screening_question_answers.question,current_stage,reject_reason", - "offers,screening_question_answers.question,job", - "offers,screening_question_answers.question,job,credited_to", - "offers,screening_question_answers.question,job,credited_to,current_stage", - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,job,credited_to,reject_reason", - "offers,screening_question_answers.question,job,current_stage", - "offers,screening_question_answers.question,job,current_stage,reject_reason", - "offers,screening_question_answers.question,job,reject_reason", - "offers,screening_question_answers.question,reject_reason", - "reject_reason", - "screening_question_answers", - "screening_question_answers,candidate", - "screening_question_answers,candidate,credited_to", - "screening_question_answers,candidate,credited_to,current_stage", - "screening_question_answers,candidate,credited_to,current_stage,reject_reason", - "screening_question_answers,candidate,credited_to,reject_reason", - "screening_question_answers,candidate,current_stage", - "screening_question_answers,candidate,current_stage,reject_reason", - "screening_question_answers,candidate,job", - "screening_question_answers,candidate,job,credited_to", - "screening_question_answers,candidate,job,credited_to,current_stage", - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - "screening_question_answers,candidate,job,credited_to,reject_reason", - "screening_question_answers,candidate,job,current_stage", - "screening_question_answers,candidate,job,current_stage,reject_reason", - "screening_question_answers,candidate,job,reject_reason", - "screening_question_answers,candidate,reject_reason", - "screening_question_answers,credited_to", - "screening_question_answers,credited_to,current_stage", - "screening_question_answers,credited_to,current_stage,reject_reason", - "screening_question_answers,credited_to,reject_reason", - "screening_question_answers,current_stage", - "screening_question_answers,current_stage,reject_reason", - "screening_question_answers,job", - "screening_question_answers,job,credited_to", - "screening_question_answers,job,credited_to,current_stage", - "screening_question_answers,job,credited_to,current_stage,reject_reason", - "screening_question_answers,job,credited_to,reject_reason", - "screening_question_answers,job,current_stage", - "screening_question_answers,job,current_stage,reject_reason", - "screening_question_answers,job,reject_reason", - "screening_question_answers,reject_reason", - "screening_question_answers,screening_question_answers.question", - "screening_question_answers,screening_question_answers.question,candidate", - "screening_question_answers,screening_question_answers.question,candidate,credited_to", - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,reject_reason", - "screening_question_answers,screening_question_answers.question,credited_to", - "screening_question_answers,screening_question_answers.question,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,current_stage", - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,job", - "screening_question_answers,screening_question_answers.question,job,credited_to", - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,job,current_stage", - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,job,reject_reason", - "screening_question_answers,screening_question_answers.question,reject_reason", - "screening_question_answers.question", - "screening_question_answers.question,candidate", - "screening_question_answers.question,candidate,credited_to", - "screening_question_answers.question,candidate,credited_to,current_stage", - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "screening_question_answers.question,candidate,credited_to,reject_reason", - "screening_question_answers.question,candidate,current_stage", - "screening_question_answers.question,candidate,current_stage,reject_reason", - "screening_question_answers.question,candidate,job", - "screening_question_answers.question,candidate,job,credited_to", - "screening_question_answers.question,candidate,job,credited_to,current_stage", - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "screening_question_answers.question,candidate,job,credited_to,reject_reason", - "screening_question_answers.question,candidate,job,current_stage", - "screening_question_answers.question,candidate,job,current_stage,reject_reason", - "screening_question_answers.question,candidate,job,reject_reason", - "screening_question_answers.question,candidate,reject_reason", - "screening_question_answers.question,credited_to", - "screening_question_answers.question,credited_to,current_stage", - "screening_question_answers.question,credited_to,current_stage,reject_reason", - "screening_question_answers.question,credited_to,reject_reason", - "screening_question_answers.question,current_stage", - "screening_question_answers.question,current_stage,reject_reason", - "screening_question_answers.question,job", - "screening_question_answers.question,job,credited_to", - "screening_question_answers.question,job,credited_to,current_stage", - "screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "screening_question_answers.question,job,credited_to,reject_reason", - "screening_question_answers.question,job,current_stage", - "screening_question_answers.question,job,current_stage,reject_reason", - "screening_question_answers.question,job,reject_reason", - "screening_question_answers.question,reject_reason", -]); - -export declare namespace ApplicationsListRequestExpand { - export type Raw = - | "candidate" - | "candidate,credited_to" - | "candidate,credited_to,current_stage" - | "candidate,credited_to,current_stage,reject_reason" - | "candidate,credited_to,reject_reason" - | "candidate,current_stage" - | "candidate,current_stage,reject_reason" - | "candidate,job" - | "candidate,job,credited_to" - | "candidate,job,credited_to,current_stage" - | "candidate,job,credited_to,current_stage,reject_reason" - | "candidate,job,credited_to,reject_reason" - | "candidate,job,current_stage" - | "candidate,job,current_stage,reject_reason" - | "candidate,job,reject_reason" - | "candidate,reject_reason" - | "credited_to" - | "credited_to,current_stage" - | "credited_to,current_stage,reject_reason" - | "credited_to,reject_reason" - | "current_stage" - | "current_stage,reject_reason" - | "job" - | "job,credited_to" - | "job,credited_to,current_stage" - | "job,credited_to,current_stage,reject_reason" - | "job,credited_to,reject_reason" - | "job,current_stage" - | "job,current_stage,reject_reason" - | "job,reject_reason" - | "offers" - | "offers,candidate" - | "offers,candidate,credited_to" - | "offers,candidate,credited_to,current_stage" - | "offers,candidate,credited_to,current_stage,reject_reason" - | "offers,candidate,credited_to,reject_reason" - | "offers,candidate,current_stage" - | "offers,candidate,current_stage,reject_reason" - | "offers,candidate,job" - | "offers,candidate,job,credited_to" - | "offers,candidate,job,credited_to,current_stage" - | "offers,candidate,job,credited_to,current_stage,reject_reason" - | "offers,candidate,job,credited_to,reject_reason" - | "offers,candidate,job,current_stage" - | "offers,candidate,job,current_stage,reject_reason" - | "offers,candidate,job,reject_reason" - | "offers,candidate,reject_reason" - | "offers,credited_to" - | "offers,credited_to,current_stage" - | "offers,credited_to,current_stage,reject_reason" - | "offers,credited_to,reject_reason" - | "offers,current_stage" - | "offers,current_stage,reject_reason" - | "offers,job" - | "offers,job,credited_to" - | "offers,job,credited_to,current_stage" - | "offers,job,credited_to,current_stage,reject_reason" - | "offers,job,credited_to,reject_reason" - | "offers,job,current_stage" - | "offers,job,current_stage,reject_reason" - | "offers,job,reject_reason" - | "offers,reject_reason" - | "offers,screening_question_answers" - | "offers,screening_question_answers,candidate" - | "offers,screening_question_answers,candidate,credited_to" - | "offers,screening_question_answers,candidate,credited_to,current_stage" - | "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,credited_to,reject_reason" - | "offers,screening_question_answers,candidate,current_stage" - | "offers,screening_question_answers,candidate,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,job" - | "offers,screening_question_answers,candidate,job,credited_to" - | "offers,screening_question_answers,candidate,job,credited_to,current_stage" - | "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,job,credited_to,reject_reason" - | "offers,screening_question_answers,candidate,job,current_stage" - | "offers,screening_question_answers,candidate,job,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,job,reject_reason" - | "offers,screening_question_answers,candidate,reject_reason" - | "offers,screening_question_answers,credited_to" - | "offers,screening_question_answers,credited_to,current_stage" - | "offers,screening_question_answers,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,credited_to,reject_reason" - | "offers,screening_question_answers,current_stage" - | "offers,screening_question_answers,current_stage,reject_reason" - | "offers,screening_question_answers,job" - | "offers,screening_question_answers,job,credited_to" - | "offers,screening_question_answers,job,credited_to,current_stage" - | "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,job,credited_to,reject_reason" - | "offers,screening_question_answers,job,current_stage" - | "offers,screening_question_answers,job,current_stage,reject_reason" - | "offers,screening_question_answers,job,reject_reason" - | "offers,screening_question_answers,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question" - | "offers,screening_question_answers,screening_question_answers.question,candidate" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,reject_reason" - | "offers,screening_question_answers.question" - | "offers,screening_question_answers.question,candidate" - | "offers,screening_question_answers.question,candidate,credited_to" - | "offers,screening_question_answers.question,candidate,credited_to,current_stage" - | "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,credited_to,reject_reason" - | "offers,screening_question_answers.question,candidate,current_stage" - | "offers,screening_question_answers.question,candidate,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,job" - | "offers,screening_question_answers.question,candidate,job,credited_to" - | "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" - | "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "offers,screening_question_answers.question,candidate,job,current_stage" - | "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,job,reject_reason" - | "offers,screening_question_answers.question,candidate,reject_reason" - | "offers,screening_question_answers.question,credited_to" - | "offers,screening_question_answers.question,credited_to,current_stage" - | "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,credited_to,reject_reason" - | "offers,screening_question_answers.question,current_stage" - | "offers,screening_question_answers.question,current_stage,reject_reason" - | "offers,screening_question_answers.question,job" - | "offers,screening_question_answers.question,job,credited_to" - | "offers,screening_question_answers.question,job,credited_to,current_stage" - | "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,job,credited_to,reject_reason" - | "offers,screening_question_answers.question,job,current_stage" - | "offers,screening_question_answers.question,job,current_stage,reject_reason" - | "offers,screening_question_answers.question,job,reject_reason" - | "offers,screening_question_answers.question,reject_reason" - | "reject_reason" - | "screening_question_answers" - | "screening_question_answers,candidate" - | "screening_question_answers,candidate,credited_to" - | "screening_question_answers,candidate,credited_to,current_stage" - | "screening_question_answers,candidate,credited_to,current_stage,reject_reason" - | "screening_question_answers,candidate,credited_to,reject_reason" - | "screening_question_answers,candidate,current_stage" - | "screening_question_answers,candidate,current_stage,reject_reason" - | "screening_question_answers,candidate,job" - | "screening_question_answers,candidate,job,credited_to" - | "screening_question_answers,candidate,job,credited_to,current_stage" - | "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,candidate,job,credited_to,reject_reason" - | "screening_question_answers,candidate,job,current_stage" - | "screening_question_answers,candidate,job,current_stage,reject_reason" - | "screening_question_answers,candidate,job,reject_reason" - | "screening_question_answers,candidate,reject_reason" - | "screening_question_answers,credited_to" - | "screening_question_answers,credited_to,current_stage" - | "screening_question_answers,credited_to,current_stage,reject_reason" - | "screening_question_answers,credited_to,reject_reason" - | "screening_question_answers,current_stage" - | "screening_question_answers,current_stage,reject_reason" - | "screening_question_answers,job" - | "screening_question_answers,job,credited_to" - | "screening_question_answers,job,credited_to,current_stage" - | "screening_question_answers,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,job,credited_to,reject_reason" - | "screening_question_answers,job,current_stage" - | "screening_question_answers,job,current_stage,reject_reason" - | "screening_question_answers,job,reject_reason" - | "screening_question_answers,reject_reason" - | "screening_question_answers,screening_question_answers.question" - | "screening_question_answers,screening_question_answers.question,candidate" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,reject_reason" - | "screening_question_answers,screening_question_answers.question,credited_to" - | "screening_question_answers,screening_question_answers.question,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,current_stage" - | "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,job" - | "screening_question_answers,screening_question_answers.question,job,credited_to" - | "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,job,current_stage" - | "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,job,reject_reason" - | "screening_question_answers,screening_question_answers.question,reject_reason" - | "screening_question_answers.question" - | "screening_question_answers.question,candidate" - | "screening_question_answers.question,candidate,credited_to" - | "screening_question_answers.question,candidate,credited_to,current_stage" - | "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,candidate,credited_to,reject_reason" - | "screening_question_answers.question,candidate,current_stage" - | "screening_question_answers.question,candidate,current_stage,reject_reason" - | "screening_question_answers.question,candidate,job" - | "screening_question_answers.question,candidate,job,credited_to" - | "screening_question_answers.question,candidate,job,credited_to,current_stage" - | "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "screening_question_answers.question,candidate,job,current_stage" - | "screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "screening_question_answers.question,candidate,job,reject_reason" - | "screening_question_answers.question,candidate,reject_reason" - | "screening_question_answers.question,credited_to" - | "screening_question_answers.question,credited_to,current_stage" - | "screening_question_answers.question,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,credited_to,reject_reason" - | "screening_question_answers.question,current_stage" - | "screening_question_answers.question,current_stage,reject_reason" - | "screening_question_answers.question,job" - | "screening_question_answers.question,job,credited_to" - | "screening_question_answers.question,job,credited_to,current_stage" - | "screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,job,credited_to,reject_reason" - | "screening_question_answers.question,job,current_stage" - | "screening_question_answers.question,job,current_stage,reject_reason" - | "screening_question_answers.question,job,reject_reason" - | "screening_question_answers.question,reject_reason"; -} diff --git a/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts b/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts new file mode 100644 index 000000000..f6d70f6aa --- /dev/null +++ b/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts @@ -0,0 +1,31 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ApplicationsListRequestExpandItem: core.serialization.Schema< + serializers.ats.ApplicationsListRequestExpandItem.Raw, + Merge.ats.ApplicationsListRequestExpandItem +> = core.serialization.enum_([ + "candidate", + "credited_to", + "current_stage", + "job", + "offers", + "reject_reason", + "screening_question_answers", + "screening_question_answers.question", +]); + +export declare namespace ApplicationsListRequestExpandItem { + export type Raw = + | "candidate" + | "credited_to" + | "current_stage" + | "job" + | "offers" + | "reject_reason" + | "screening_question_answers" + | "screening_question_answers.question"; +} diff --git a/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts deleted file mode 100644 index a61f635cb..000000000 --- a/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts +++ /dev/null @@ -1,525 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ApplicationsRetrieveRequestExpand: core.serialization.Schema< - serializers.ats.ApplicationsRetrieveRequestExpand.Raw, - Merge.ats.ApplicationsRetrieveRequestExpand -> = core.serialization.enum_([ - "candidate", - "candidate,credited_to", - "candidate,credited_to,current_stage", - "candidate,credited_to,current_stage,reject_reason", - "candidate,credited_to,reject_reason", - "candidate,current_stage", - "candidate,current_stage,reject_reason", - "candidate,job", - "candidate,job,credited_to", - "candidate,job,credited_to,current_stage", - "candidate,job,credited_to,current_stage,reject_reason", - "candidate,job,credited_to,reject_reason", - "candidate,job,current_stage", - "candidate,job,current_stage,reject_reason", - "candidate,job,reject_reason", - "candidate,reject_reason", - "credited_to", - "credited_to,current_stage", - "credited_to,current_stage,reject_reason", - "credited_to,reject_reason", - "current_stage", - "current_stage,reject_reason", - "job", - "job,credited_to", - "job,credited_to,current_stage", - "job,credited_to,current_stage,reject_reason", - "job,credited_to,reject_reason", - "job,current_stage", - "job,current_stage,reject_reason", - "job,reject_reason", - "offers", - "offers,candidate", - "offers,candidate,credited_to", - "offers,candidate,credited_to,current_stage", - "offers,candidate,credited_to,current_stage,reject_reason", - "offers,candidate,credited_to,reject_reason", - "offers,candidate,current_stage", - "offers,candidate,current_stage,reject_reason", - "offers,candidate,job", - "offers,candidate,job,credited_to", - "offers,candidate,job,credited_to,current_stage", - "offers,candidate,job,credited_to,current_stage,reject_reason", - "offers,candidate,job,credited_to,reject_reason", - "offers,candidate,job,current_stage", - "offers,candidate,job,current_stage,reject_reason", - "offers,candidate,job,reject_reason", - "offers,candidate,reject_reason", - "offers,credited_to", - "offers,credited_to,current_stage", - "offers,credited_to,current_stage,reject_reason", - "offers,credited_to,reject_reason", - "offers,current_stage", - "offers,current_stage,reject_reason", - "offers,job", - "offers,job,credited_to", - "offers,job,credited_to,current_stage", - "offers,job,credited_to,current_stage,reject_reason", - "offers,job,credited_to,reject_reason", - "offers,job,current_stage", - "offers,job,current_stage,reject_reason", - "offers,job,reject_reason", - "offers,reject_reason", - "offers,screening_question_answers", - "offers,screening_question_answers,candidate", - "offers,screening_question_answers,candidate,credited_to", - "offers,screening_question_answers,candidate,credited_to,current_stage", - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,candidate,credited_to,reject_reason", - "offers,screening_question_answers,candidate,current_stage", - "offers,screening_question_answers,candidate,current_stage,reject_reason", - "offers,screening_question_answers,candidate,job", - "offers,screening_question_answers,candidate,job,credited_to", - "offers,screening_question_answers,candidate,job,credited_to,current_stage", - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,candidate,job,credited_to,reject_reason", - "offers,screening_question_answers,candidate,job,current_stage", - "offers,screening_question_answers,candidate,job,current_stage,reject_reason", - "offers,screening_question_answers,candidate,job,reject_reason", - "offers,screening_question_answers,candidate,reject_reason", - "offers,screening_question_answers,credited_to", - "offers,screening_question_answers,credited_to,current_stage", - "offers,screening_question_answers,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,credited_to,reject_reason", - "offers,screening_question_answers,current_stage", - "offers,screening_question_answers,current_stage,reject_reason", - "offers,screening_question_answers,job", - "offers,screening_question_answers,job,credited_to", - "offers,screening_question_answers,job,credited_to,current_stage", - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,job,credited_to,reject_reason", - "offers,screening_question_answers,job,current_stage", - "offers,screening_question_answers,job,current_stage,reject_reason", - "offers,screening_question_answers,job,reject_reason", - "offers,screening_question_answers,reject_reason", - "offers,screening_question_answers,screening_question_answers.question", - "offers,screening_question_answers,screening_question_answers.question,candidate", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,credited_to", - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,current_stage", - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job,current_stage", - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason", - "offers,screening_question_answers,screening_question_answers.question,reject_reason", - "offers,screening_question_answers.question", - "offers,screening_question_answers.question,candidate", - "offers,screening_question_answers.question,candidate,credited_to", - "offers,screening_question_answers.question,candidate,credited_to,current_stage", - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,credited_to,reject_reason", - "offers,screening_question_answers.question,candidate,current_stage", - "offers,screening_question_answers.question,candidate,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,job", - "offers,screening_question_answers.question,candidate,job,credited_to", - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage", - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - "offers,screening_question_answers.question,candidate,job,current_stage", - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - "offers,screening_question_answers.question,candidate,job,reject_reason", - "offers,screening_question_answers.question,candidate,reject_reason", - "offers,screening_question_answers.question,credited_to", - "offers,screening_question_answers.question,credited_to,current_stage", - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,credited_to,reject_reason", - "offers,screening_question_answers.question,current_stage", - "offers,screening_question_answers.question,current_stage,reject_reason", - "offers,screening_question_answers.question,job", - "offers,screening_question_answers.question,job,credited_to", - "offers,screening_question_answers.question,job,credited_to,current_stage", - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "offers,screening_question_answers.question,job,credited_to,reject_reason", - "offers,screening_question_answers.question,job,current_stage", - "offers,screening_question_answers.question,job,current_stage,reject_reason", - "offers,screening_question_answers.question,job,reject_reason", - "offers,screening_question_answers.question,reject_reason", - "reject_reason", - "screening_question_answers", - "screening_question_answers,candidate", - "screening_question_answers,candidate,credited_to", - "screening_question_answers,candidate,credited_to,current_stage", - "screening_question_answers,candidate,credited_to,current_stage,reject_reason", - "screening_question_answers,candidate,credited_to,reject_reason", - "screening_question_answers,candidate,current_stage", - "screening_question_answers,candidate,current_stage,reject_reason", - "screening_question_answers,candidate,job", - "screening_question_answers,candidate,job,credited_to", - "screening_question_answers,candidate,job,credited_to,current_stage", - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason", - "screening_question_answers,candidate,job,credited_to,reject_reason", - "screening_question_answers,candidate,job,current_stage", - "screening_question_answers,candidate,job,current_stage,reject_reason", - "screening_question_answers,candidate,job,reject_reason", - "screening_question_answers,candidate,reject_reason", - "screening_question_answers,credited_to", - "screening_question_answers,credited_to,current_stage", - "screening_question_answers,credited_to,current_stage,reject_reason", - "screening_question_answers,credited_to,reject_reason", - "screening_question_answers,current_stage", - "screening_question_answers,current_stage,reject_reason", - "screening_question_answers,job", - "screening_question_answers,job,credited_to", - "screening_question_answers,job,credited_to,current_stage", - "screening_question_answers,job,credited_to,current_stage,reject_reason", - "screening_question_answers,job,credited_to,reject_reason", - "screening_question_answers,job,current_stage", - "screening_question_answers,job,current_stage,reject_reason", - "screening_question_answers,job,reject_reason", - "screening_question_answers,reject_reason", - "screening_question_answers,screening_question_answers.question", - "screening_question_answers,screening_question_answers.question,candidate", - "screening_question_answers,screening_question_answers.question,candidate,credited_to", - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage", - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason", - "screening_question_answers,screening_question_answers.question,candidate,reject_reason", - "screening_question_answers,screening_question_answers.question,credited_to", - "screening_question_answers,screening_question_answers.question,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,current_stage", - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,job", - "screening_question_answers,screening_question_answers.question,job,credited_to", - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage", - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason", - "screening_question_answers,screening_question_answers.question,job,current_stage", - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason", - "screening_question_answers,screening_question_answers.question,job,reject_reason", - "screening_question_answers,screening_question_answers.question,reject_reason", - "screening_question_answers.question", - "screening_question_answers.question,candidate", - "screening_question_answers.question,candidate,credited_to", - "screening_question_answers.question,candidate,credited_to,current_stage", - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason", - "screening_question_answers.question,candidate,credited_to,reject_reason", - "screening_question_answers.question,candidate,current_stage", - "screening_question_answers.question,candidate,current_stage,reject_reason", - "screening_question_answers.question,candidate,job", - "screening_question_answers.question,candidate,job,credited_to", - "screening_question_answers.question,candidate,job,credited_to,current_stage", - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason", - "screening_question_answers.question,candidate,job,credited_to,reject_reason", - "screening_question_answers.question,candidate,job,current_stage", - "screening_question_answers.question,candidate,job,current_stage,reject_reason", - "screening_question_answers.question,candidate,job,reject_reason", - "screening_question_answers.question,candidate,reject_reason", - "screening_question_answers.question,credited_to", - "screening_question_answers.question,credited_to,current_stage", - "screening_question_answers.question,credited_to,current_stage,reject_reason", - "screening_question_answers.question,credited_to,reject_reason", - "screening_question_answers.question,current_stage", - "screening_question_answers.question,current_stage,reject_reason", - "screening_question_answers.question,job", - "screening_question_answers.question,job,credited_to", - "screening_question_answers.question,job,credited_to,current_stage", - "screening_question_answers.question,job,credited_to,current_stage,reject_reason", - "screening_question_answers.question,job,credited_to,reject_reason", - "screening_question_answers.question,job,current_stage", - "screening_question_answers.question,job,current_stage,reject_reason", - "screening_question_answers.question,job,reject_reason", - "screening_question_answers.question,reject_reason", -]); - -export declare namespace ApplicationsRetrieveRequestExpand { - export type Raw = - | "candidate" - | "candidate,credited_to" - | "candidate,credited_to,current_stage" - | "candidate,credited_to,current_stage,reject_reason" - | "candidate,credited_to,reject_reason" - | "candidate,current_stage" - | "candidate,current_stage,reject_reason" - | "candidate,job" - | "candidate,job,credited_to" - | "candidate,job,credited_to,current_stage" - | "candidate,job,credited_to,current_stage,reject_reason" - | "candidate,job,credited_to,reject_reason" - | "candidate,job,current_stage" - | "candidate,job,current_stage,reject_reason" - | "candidate,job,reject_reason" - | "candidate,reject_reason" - | "credited_to" - | "credited_to,current_stage" - | "credited_to,current_stage,reject_reason" - | "credited_to,reject_reason" - | "current_stage" - | "current_stage,reject_reason" - | "job" - | "job,credited_to" - | "job,credited_to,current_stage" - | "job,credited_to,current_stage,reject_reason" - | "job,credited_to,reject_reason" - | "job,current_stage" - | "job,current_stage,reject_reason" - | "job,reject_reason" - | "offers" - | "offers,candidate" - | "offers,candidate,credited_to" - | "offers,candidate,credited_to,current_stage" - | "offers,candidate,credited_to,current_stage,reject_reason" - | "offers,candidate,credited_to,reject_reason" - | "offers,candidate,current_stage" - | "offers,candidate,current_stage,reject_reason" - | "offers,candidate,job" - | "offers,candidate,job,credited_to" - | "offers,candidate,job,credited_to,current_stage" - | "offers,candidate,job,credited_to,current_stage,reject_reason" - | "offers,candidate,job,credited_to,reject_reason" - | "offers,candidate,job,current_stage" - | "offers,candidate,job,current_stage,reject_reason" - | "offers,candidate,job,reject_reason" - | "offers,candidate,reject_reason" - | "offers,credited_to" - | "offers,credited_to,current_stage" - | "offers,credited_to,current_stage,reject_reason" - | "offers,credited_to,reject_reason" - | "offers,current_stage" - | "offers,current_stage,reject_reason" - | "offers,job" - | "offers,job,credited_to" - | "offers,job,credited_to,current_stage" - | "offers,job,credited_to,current_stage,reject_reason" - | "offers,job,credited_to,reject_reason" - | "offers,job,current_stage" - | "offers,job,current_stage,reject_reason" - | "offers,job,reject_reason" - | "offers,reject_reason" - | "offers,screening_question_answers" - | "offers,screening_question_answers,candidate" - | "offers,screening_question_answers,candidate,credited_to" - | "offers,screening_question_answers,candidate,credited_to,current_stage" - | "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,credited_to,reject_reason" - | "offers,screening_question_answers,candidate,current_stage" - | "offers,screening_question_answers,candidate,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,job" - | "offers,screening_question_answers,candidate,job,credited_to" - | "offers,screening_question_answers,candidate,job,credited_to,current_stage" - | "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,job,credited_to,reject_reason" - | "offers,screening_question_answers,candidate,job,current_stage" - | "offers,screening_question_answers,candidate,job,current_stage,reject_reason" - | "offers,screening_question_answers,candidate,job,reject_reason" - | "offers,screening_question_answers,candidate,reject_reason" - | "offers,screening_question_answers,credited_to" - | "offers,screening_question_answers,credited_to,current_stage" - | "offers,screening_question_answers,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,credited_to,reject_reason" - | "offers,screening_question_answers,current_stage" - | "offers,screening_question_answers,current_stage,reject_reason" - | "offers,screening_question_answers,job" - | "offers,screening_question_answers,job,credited_to" - | "offers,screening_question_answers,job,credited_to,current_stage" - | "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,job,credited_to,reject_reason" - | "offers,screening_question_answers,job,current_stage" - | "offers,screening_question_answers,job,current_stage,reject_reason" - | "offers,screening_question_answers,job,reject_reason" - | "offers,screening_question_answers,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question" - | "offers,screening_question_answers,screening_question_answers.question,candidate" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job,current_stage" - | "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" - | "offers,screening_question_answers,screening_question_answers.question,reject_reason" - | "offers,screening_question_answers.question" - | "offers,screening_question_answers.question,candidate" - | "offers,screening_question_answers.question,candidate,credited_to" - | "offers,screening_question_answers.question,candidate,credited_to,current_stage" - | "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,credited_to,reject_reason" - | "offers,screening_question_answers.question,candidate,current_stage" - | "offers,screening_question_answers.question,candidate,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,job" - | "offers,screening_question_answers.question,candidate,job,credited_to" - | "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" - | "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "offers,screening_question_answers.question,candidate,job,current_stage" - | "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "offers,screening_question_answers.question,candidate,job,reject_reason" - | "offers,screening_question_answers.question,candidate,reject_reason" - | "offers,screening_question_answers.question,credited_to" - | "offers,screening_question_answers.question,credited_to,current_stage" - | "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,credited_to,reject_reason" - | "offers,screening_question_answers.question,current_stage" - | "offers,screening_question_answers.question,current_stage,reject_reason" - | "offers,screening_question_answers.question,job" - | "offers,screening_question_answers.question,job,credited_to" - | "offers,screening_question_answers.question,job,credited_to,current_stage" - | "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "offers,screening_question_answers.question,job,credited_to,reject_reason" - | "offers,screening_question_answers.question,job,current_stage" - | "offers,screening_question_answers.question,job,current_stage,reject_reason" - | "offers,screening_question_answers.question,job,reject_reason" - | "offers,screening_question_answers.question,reject_reason" - | "reject_reason" - | "screening_question_answers" - | "screening_question_answers,candidate" - | "screening_question_answers,candidate,credited_to" - | "screening_question_answers,candidate,credited_to,current_stage" - | "screening_question_answers,candidate,credited_to,current_stage,reject_reason" - | "screening_question_answers,candidate,credited_to,reject_reason" - | "screening_question_answers,candidate,current_stage" - | "screening_question_answers,candidate,current_stage,reject_reason" - | "screening_question_answers,candidate,job" - | "screening_question_answers,candidate,job,credited_to" - | "screening_question_answers,candidate,job,credited_to,current_stage" - | "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,candidate,job,credited_to,reject_reason" - | "screening_question_answers,candidate,job,current_stage" - | "screening_question_answers,candidate,job,current_stage,reject_reason" - | "screening_question_answers,candidate,job,reject_reason" - | "screening_question_answers,candidate,reject_reason" - | "screening_question_answers,credited_to" - | "screening_question_answers,credited_to,current_stage" - | "screening_question_answers,credited_to,current_stage,reject_reason" - | "screening_question_answers,credited_to,reject_reason" - | "screening_question_answers,current_stage" - | "screening_question_answers,current_stage,reject_reason" - | "screening_question_answers,job" - | "screening_question_answers,job,credited_to" - | "screening_question_answers,job,credited_to,current_stage" - | "screening_question_answers,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,job,credited_to,reject_reason" - | "screening_question_answers,job,current_stage" - | "screening_question_answers,job,current_stage,reject_reason" - | "screening_question_answers,job,reject_reason" - | "screening_question_answers,reject_reason" - | "screening_question_answers,screening_question_answers.question" - | "screening_question_answers,screening_question_answers.question,candidate" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - | "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - | "screening_question_answers,screening_question_answers.question,candidate,reject_reason" - | "screening_question_answers,screening_question_answers.question,credited_to" - | "screening_question_answers,screening_question_answers.question,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,current_stage" - | "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,job" - | "screening_question_answers,screening_question_answers.question,job,credited_to" - | "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - | "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - | "screening_question_answers,screening_question_answers.question,job,current_stage" - | "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - | "screening_question_answers,screening_question_answers.question,job,reject_reason" - | "screening_question_answers,screening_question_answers.question,reject_reason" - | "screening_question_answers.question" - | "screening_question_answers.question,candidate" - | "screening_question_answers.question,candidate,credited_to" - | "screening_question_answers.question,candidate,credited_to,current_stage" - | "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,candidate,credited_to,reject_reason" - | "screening_question_answers.question,candidate,current_stage" - | "screening_question_answers.question,candidate,current_stage,reject_reason" - | "screening_question_answers.question,candidate,job" - | "screening_question_answers.question,candidate,job,credited_to" - | "screening_question_answers.question,candidate,job,credited_to,current_stage" - | "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,candidate,job,credited_to,reject_reason" - | "screening_question_answers.question,candidate,job,current_stage" - | "screening_question_answers.question,candidate,job,current_stage,reject_reason" - | "screening_question_answers.question,candidate,job,reject_reason" - | "screening_question_answers.question,candidate,reject_reason" - | "screening_question_answers.question,credited_to" - | "screening_question_answers.question,credited_to,current_stage" - | "screening_question_answers.question,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,credited_to,reject_reason" - | "screening_question_answers.question,current_stage" - | "screening_question_answers.question,current_stage,reject_reason" - | "screening_question_answers.question,job" - | "screening_question_answers.question,job,credited_to" - | "screening_question_answers.question,job,credited_to,current_stage" - | "screening_question_answers.question,job,credited_to,current_stage,reject_reason" - | "screening_question_answers.question,job,credited_to,reject_reason" - | "screening_question_answers.question,job,current_stage" - | "screening_question_answers.question,job,current_stage,reject_reason" - | "screening_question_answers.question,job,reject_reason" - | "screening_question_answers.question,reject_reason"; -} diff --git a/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts b/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..e7843e5e0 --- /dev/null +++ b/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts @@ -0,0 +1,31 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ApplicationsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ats.ApplicationsRetrieveRequestExpandItem.Raw, + Merge.ats.ApplicationsRetrieveRequestExpandItem +> = core.serialization.enum_([ + "candidate", + "credited_to", + "current_stage", + "job", + "offers", + "reject_reason", + "screening_question_answers", + "screening_question_answers.question", +]); + +export declare namespace ApplicationsRetrieveRequestExpandItem { + export type Raw = + | "candidate" + | "credited_to" + | "current_stage" + | "job" + | "offers" + | "reject_reason" + | "screening_question_answers" + | "screening_question_answers.question"; +} diff --git a/src/serialization/resources/ats/resources/applications/types/index.ts b/src/serialization/resources/ats/resources/applications/types/index.ts index 10d68b6c6..61c840207 100644 --- a/src/serialization/resources/ats/resources/applications/types/index.ts +++ b/src/serialization/resources/ats/resources/applications/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ApplicationsListRequestExpand"; -export * from "./ApplicationsRetrieveRequestExpand"; +export * from "./ApplicationsListRequestExpandItem"; +export * from "./ApplicationsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/ats/resources/candidates/client/requests/index.ts b/src/serialization/resources/ats/resources/candidates/client/requests/index.ts index 00a1be6c8..145401b2c 100644 --- a/src/serialization/resources/ats/resources/candidates/client/requests/index.ts +++ b/src/serialization/resources/ats/resources/candidates/client/requests/index.ts @@ -1,3 +1,2 @@ export { CandidateEndpointRequest } from "./CandidateEndpointRequest"; -export { IgnoreCommonModelRequest } from "./IgnoreCommonModelRequest"; export { PatchedCandidateEndpointRequest } from "./PatchedCandidateEndpointRequest"; diff --git a/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts b/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts deleted file mode 100644 index 45bd22adb..000000000 --- a/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CandidatesListRequestExpand: core.serialization.Schema< - serializers.ats.CandidatesListRequestExpand.Raw, - Merge.ats.CandidatesListRequestExpand -> = core.serialization.enum_(["applications", "applications,attachments", "attachments"]); - -export declare namespace CandidatesListRequestExpand { - export type Raw = "applications" | "applications,attachments" | "attachments"; -} diff --git a/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts b/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts new file mode 100644 index 000000000..d9ff155a9 --- /dev/null +++ b/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CandidatesListRequestExpandItem: core.serialization.Schema< + serializers.ats.CandidatesListRequestExpandItem.Raw, + Merge.ats.CandidatesListRequestExpandItem +> = core.serialization.enum_(["applications", "attachments"]); + +export declare namespace CandidatesListRequestExpandItem { + export type Raw = "applications" | "attachments"; +} diff --git a/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts deleted file mode 100644 index 3ee5c9184..000000000 --- a/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CandidatesRetrieveRequestExpand: core.serialization.Schema< - serializers.ats.CandidatesRetrieveRequestExpand.Raw, - Merge.ats.CandidatesRetrieveRequestExpand -> = core.serialization.enum_(["applications", "applications,attachments", "attachments"]); - -export declare namespace CandidatesRetrieveRequestExpand { - export type Raw = "applications" | "applications,attachments" | "attachments"; -} diff --git a/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts b/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..4b0d3b709 --- /dev/null +++ b/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CandidatesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ats.CandidatesRetrieveRequestExpandItem.Raw, + Merge.ats.CandidatesRetrieveRequestExpandItem +> = core.serialization.enum_(["applications", "attachments"]); + +export declare namespace CandidatesRetrieveRequestExpandItem { + export type Raw = "applications" | "attachments"; +} diff --git a/src/serialization/resources/ats/resources/candidates/types/index.ts b/src/serialization/resources/ats/resources/candidates/types/index.ts index 36e0b3d6e..354754a74 100644 --- a/src/serialization/resources/ats/resources/candidates/types/index.ts +++ b/src/serialization/resources/ats/resources/candidates/types/index.ts @@ -1,3 +1,2 @@ -export * from "./CandidatesListRequestExpand"; -export * from "./CandidatesRetrieveRequestExpand"; -export * from "./IgnoreCommonModelRequestReason"; +export * from "./CandidatesListRequestExpandItem"; +export * from "./CandidatesRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts b/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts deleted file mode 100644 index e7fcdca84..000000000 --- a/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const InterviewsListRequestExpand: core.serialization.Schema< - serializers.ats.InterviewsListRequestExpand.Raw, - Merge.ats.InterviewsListRequestExpand -> = core.serialization.enum_([ - "application", - "application,job_interview_stage", - "interviewers", - "interviewers,application", - "interviewers,application,job_interview_stage", - "interviewers,job_interview_stage", - "interviewers,organizer", - "interviewers,organizer,application", - "interviewers,organizer,application,job_interview_stage", - "interviewers,organizer,job_interview_stage", - "job_interview_stage", - "organizer", - "organizer,application", - "organizer,application,job_interview_stage", - "organizer,job_interview_stage", -]); - -export declare namespace InterviewsListRequestExpand { - export type Raw = - | "application" - | "application,job_interview_stage" - | "interviewers" - | "interviewers,application" - | "interviewers,application,job_interview_stage" - | "interviewers,job_interview_stage" - | "interviewers,organizer" - | "interviewers,organizer,application" - | "interviewers,organizer,application,job_interview_stage" - | "interviewers,organizer,job_interview_stage" - | "job_interview_stage" - | "organizer" - | "organizer,application" - | "organizer,application,job_interview_stage" - | "organizer,job_interview_stage"; -} diff --git a/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts b/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts new file mode 100644 index 000000000..7a983f6fd --- /dev/null +++ b/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const InterviewsListRequestExpandItem: core.serialization.Schema< + serializers.ats.InterviewsListRequestExpandItem.Raw, + Merge.ats.InterviewsListRequestExpandItem +> = core.serialization.enum_(["application", "interviewers", "job_interview_stage", "organizer"]); + +export declare namespace InterviewsListRequestExpandItem { + export type Raw = "application" | "interviewers" | "job_interview_stage" | "organizer"; +} diff --git a/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts deleted file mode 100644 index c30328c15..000000000 --- a/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const InterviewsRetrieveRequestExpand: core.serialization.Schema< - serializers.ats.InterviewsRetrieveRequestExpand.Raw, - Merge.ats.InterviewsRetrieveRequestExpand -> = core.serialization.enum_([ - "application", - "application,job_interview_stage", - "interviewers", - "interviewers,application", - "interviewers,application,job_interview_stage", - "interviewers,job_interview_stage", - "interviewers,organizer", - "interviewers,organizer,application", - "interviewers,organizer,application,job_interview_stage", - "interviewers,organizer,job_interview_stage", - "job_interview_stage", - "organizer", - "organizer,application", - "organizer,application,job_interview_stage", - "organizer,job_interview_stage", -]); - -export declare namespace InterviewsRetrieveRequestExpand { - export type Raw = - | "application" - | "application,job_interview_stage" - | "interviewers" - | "interviewers,application" - | "interviewers,application,job_interview_stage" - | "interviewers,job_interview_stage" - | "interviewers,organizer" - | "interviewers,organizer,application" - | "interviewers,organizer,application,job_interview_stage" - | "interviewers,organizer,job_interview_stage" - | "job_interview_stage" - | "organizer" - | "organizer,application" - | "organizer,application,job_interview_stage" - | "organizer,job_interview_stage"; -} diff --git a/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts b/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..4f8fa5be6 --- /dev/null +++ b/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const InterviewsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ats.InterviewsRetrieveRequestExpandItem.Raw, + Merge.ats.InterviewsRetrieveRequestExpandItem +> = core.serialization.enum_(["application", "interviewers", "job_interview_stage", "organizer"]); + +export declare namespace InterviewsRetrieveRequestExpandItem { + export type Raw = "application" | "interviewers" | "job_interview_stage" | "organizer"; +} diff --git a/src/serialization/resources/ats/resources/interviews/types/index.ts b/src/serialization/resources/ats/resources/interviews/types/index.ts index 51b55d6c2..93e139549 100644 --- a/src/serialization/resources/ats/resources/interviews/types/index.ts +++ b/src/serialization/resources/ats/resources/interviews/types/index.ts @@ -1,2 +1,2 @@ -export * from "./InterviewsListRequestExpand"; -export * from "./InterviewsRetrieveRequestExpand"; +export * from "./InterviewsListRequestExpandItem"; +export * from "./InterviewsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts b/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts deleted file mode 100644 index e8408e582..000000000 --- a/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts +++ /dev/null @@ -1,77 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const JobsListRequestExpand: core.serialization.Schema< - serializers.ats.JobsListRequestExpand.Raw, - Merge.ats.JobsListRequestExpand -> = core.serialization.enum_([ - "departments", - "departments,hiring_managers", - "departments,hiring_managers,job_postings", - "departments,hiring_managers,job_postings,recruiters", - "departments,hiring_managers,recruiters", - "departments,job_postings", - "departments,job_postings,recruiters", - "departments,offices", - "departments,offices,hiring_managers", - "departments,offices,hiring_managers,job_postings", - "departments,offices,hiring_managers,job_postings,recruiters", - "departments,offices,hiring_managers,recruiters", - "departments,offices,job_postings", - "departments,offices,job_postings,recruiters", - "departments,offices,recruiters", - "departments,recruiters", - "hiring_managers", - "hiring_managers,job_postings", - "hiring_managers,job_postings,recruiters", - "hiring_managers,recruiters", - "job_postings", - "job_postings,recruiters", - "offices", - "offices,hiring_managers", - "offices,hiring_managers,job_postings", - "offices,hiring_managers,job_postings,recruiters", - "offices,hiring_managers,recruiters", - "offices,job_postings", - "offices,job_postings,recruiters", - "offices,recruiters", - "recruiters", -]); - -export declare namespace JobsListRequestExpand { - export type Raw = - | "departments" - | "departments,hiring_managers" - | "departments,hiring_managers,job_postings" - | "departments,hiring_managers,job_postings,recruiters" - | "departments,hiring_managers,recruiters" - | "departments,job_postings" - | "departments,job_postings,recruiters" - | "departments,offices" - | "departments,offices,hiring_managers" - | "departments,offices,hiring_managers,job_postings" - | "departments,offices,hiring_managers,job_postings,recruiters" - | "departments,offices,hiring_managers,recruiters" - | "departments,offices,job_postings" - | "departments,offices,job_postings,recruiters" - | "departments,offices,recruiters" - | "departments,recruiters" - | "hiring_managers" - | "hiring_managers,job_postings" - | "hiring_managers,job_postings,recruiters" - | "hiring_managers,recruiters" - | "job_postings" - | "job_postings,recruiters" - | "offices" - | "offices,hiring_managers" - | "offices,hiring_managers,job_postings" - | "offices,hiring_managers,job_postings,recruiters" - | "offices,hiring_managers,recruiters" - | "offices,job_postings" - | "offices,job_postings,recruiters" - | "offices,recruiters" - | "recruiters"; -} diff --git a/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts b/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts new file mode 100644 index 000000000..6f4cffdba --- /dev/null +++ b/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const JobsListRequestExpandItem: core.serialization.Schema< + serializers.ats.JobsListRequestExpandItem.Raw, + Merge.ats.JobsListRequestExpandItem +> = core.serialization.enum_(["departments", "hiring_managers", "job_postings", "offices", "recruiters"]); + +export declare namespace JobsListRequestExpandItem { + export type Raw = "departments" | "hiring_managers" | "job_postings" | "offices" | "recruiters"; +} diff --git a/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts deleted file mode 100644 index 8161a58b7..000000000 --- a/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts +++ /dev/null @@ -1,77 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const JobsRetrieveRequestExpand: core.serialization.Schema< - serializers.ats.JobsRetrieveRequestExpand.Raw, - Merge.ats.JobsRetrieveRequestExpand -> = core.serialization.enum_([ - "departments", - "departments,hiring_managers", - "departments,hiring_managers,job_postings", - "departments,hiring_managers,job_postings,recruiters", - "departments,hiring_managers,recruiters", - "departments,job_postings", - "departments,job_postings,recruiters", - "departments,offices", - "departments,offices,hiring_managers", - "departments,offices,hiring_managers,job_postings", - "departments,offices,hiring_managers,job_postings,recruiters", - "departments,offices,hiring_managers,recruiters", - "departments,offices,job_postings", - "departments,offices,job_postings,recruiters", - "departments,offices,recruiters", - "departments,recruiters", - "hiring_managers", - "hiring_managers,job_postings", - "hiring_managers,job_postings,recruiters", - "hiring_managers,recruiters", - "job_postings", - "job_postings,recruiters", - "offices", - "offices,hiring_managers", - "offices,hiring_managers,job_postings", - "offices,hiring_managers,job_postings,recruiters", - "offices,hiring_managers,recruiters", - "offices,job_postings", - "offices,job_postings,recruiters", - "offices,recruiters", - "recruiters", -]); - -export declare namespace JobsRetrieveRequestExpand { - export type Raw = - | "departments" - | "departments,hiring_managers" - | "departments,hiring_managers,job_postings" - | "departments,hiring_managers,job_postings,recruiters" - | "departments,hiring_managers,recruiters" - | "departments,job_postings" - | "departments,job_postings,recruiters" - | "departments,offices" - | "departments,offices,hiring_managers" - | "departments,offices,hiring_managers,job_postings" - | "departments,offices,hiring_managers,job_postings,recruiters" - | "departments,offices,hiring_managers,recruiters" - | "departments,offices,job_postings" - | "departments,offices,job_postings,recruiters" - | "departments,offices,recruiters" - | "departments,recruiters" - | "hiring_managers" - | "hiring_managers,job_postings" - | "hiring_managers,job_postings,recruiters" - | "hiring_managers,recruiters" - | "job_postings" - | "job_postings,recruiters" - | "offices" - | "offices,hiring_managers" - | "offices,hiring_managers,job_postings" - | "offices,hiring_managers,job_postings,recruiters" - | "offices,hiring_managers,recruiters" - | "offices,job_postings" - | "offices,job_postings,recruiters" - | "offices,recruiters" - | "recruiters"; -} diff --git a/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts b/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..cbff7d91a --- /dev/null +++ b/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const JobsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ats.JobsRetrieveRequestExpandItem.Raw, + Merge.ats.JobsRetrieveRequestExpandItem +> = core.serialization.enum_(["departments", "hiring_managers", "job_postings", "offices", "recruiters"]); + +export declare namespace JobsRetrieveRequestExpandItem { + export type Raw = "departments" | "hiring_managers" | "job_postings" | "offices" | "recruiters"; +} diff --git a/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts b/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts deleted file mode 100644 index 33482fba2..000000000 --- a/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const JobsScreeningQuestionsListRequestExpand: core.serialization.Schema< - serializers.ats.JobsScreeningQuestionsListRequestExpand.Raw, - Merge.ats.JobsScreeningQuestionsListRequestExpand -> = core.serialization.enum_(["job", "options", "options,job"]); - -export declare namespace JobsScreeningQuestionsListRequestExpand { - export type Raw = "job" | "options" | "options,job"; -} diff --git a/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts b/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts new file mode 100644 index 000000000..47b1d3247 --- /dev/null +++ b/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const JobsScreeningQuestionsListRequestExpandItem: core.serialization.Schema< + serializers.ats.JobsScreeningQuestionsListRequestExpandItem.Raw, + Merge.ats.JobsScreeningQuestionsListRequestExpandItem +> = core.serialization.enum_(["job", "options"]); + +export declare namespace JobsScreeningQuestionsListRequestExpandItem { + export type Raw = "job" | "options"; +} diff --git a/src/serialization/resources/ats/resources/jobs/types/index.ts b/src/serialization/resources/ats/resources/jobs/types/index.ts index ebb23b639..2e02930d1 100644 --- a/src/serialization/resources/ats/resources/jobs/types/index.ts +++ b/src/serialization/resources/ats/resources/jobs/types/index.ts @@ -1,4 +1,4 @@ -export * from "./JobsListRequestExpand"; +export * from "./JobsListRequestExpandItem"; export * from "./JobsListRequestStatus"; -export * from "./JobsRetrieveRequestExpand"; -export * from "./JobsScreeningQuestionsListRequestExpand"; +export * from "./JobsRetrieveRequestExpandItem"; +export * from "./JobsScreeningQuestionsListRequestExpandItem"; diff --git a/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts b/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts deleted file mode 100644 index 6e3465a5e..000000000 --- a/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const OffersListRequestExpand: core.serialization.Schema< - serializers.ats.OffersListRequestExpand.Raw, - Merge.ats.OffersListRequestExpand -> = core.serialization.enum_(["application", "application,creator", "creator"]); - -export declare namespace OffersListRequestExpand { - export type Raw = "application" | "application,creator" | "creator"; -} diff --git a/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts b/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts new file mode 100644 index 000000000..6cdd12146 --- /dev/null +++ b/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const OffersListRequestExpandItem: core.serialization.Schema< + serializers.ats.OffersListRequestExpandItem.Raw, + Merge.ats.OffersListRequestExpandItem +> = core.serialization.enum_(["application", "creator"]); + +export declare namespace OffersListRequestExpandItem { + export type Raw = "application" | "creator"; +} diff --git a/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts deleted file mode 100644 index 228ca1827..000000000 --- a/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const OffersRetrieveRequestExpand: core.serialization.Schema< - serializers.ats.OffersRetrieveRequestExpand.Raw, - Merge.ats.OffersRetrieveRequestExpand -> = core.serialization.enum_(["application", "application,creator", "creator"]); - -export declare namespace OffersRetrieveRequestExpand { - export type Raw = "application" | "application,creator" | "creator"; -} diff --git a/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts b/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..8714298fd --- /dev/null +++ b/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const OffersRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ats.OffersRetrieveRequestExpandItem.Raw, + Merge.ats.OffersRetrieveRequestExpandItem +> = core.serialization.enum_(["application", "creator"]); + +export declare namespace OffersRetrieveRequestExpandItem { + export type Raw = "application" | "creator"; +} diff --git a/src/serialization/resources/ats/resources/offers/types/index.ts b/src/serialization/resources/ats/resources/offers/types/index.ts index 4b81bcdb5..9fea25381 100644 --- a/src/serialization/resources/ats/resources/offers/types/index.ts +++ b/src/serialization/resources/ats/resources/offers/types/index.ts @@ -1,2 +1,2 @@ -export * from "./OffersListRequestExpand"; -export * from "./OffersRetrieveRequestExpand"; +export * from "./OffersListRequestExpandItem"; +export * from "./OffersRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts deleted file mode 100644 index 995e1fece..000000000 --- a/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ScorecardsListRequestExpand: core.serialization.Schema< - serializers.ats.ScorecardsListRequestExpand.Raw, - Merge.ats.ScorecardsListRequestExpand -> = core.serialization.enum_([ - "application", - "application,interview", - "application,interview,interviewer", - "application,interviewer", - "interview", - "interview,interviewer", - "interviewer", -]); - -export declare namespace ScorecardsListRequestExpand { - export type Raw = - | "application" - | "application,interview" - | "application,interview,interviewer" - | "application,interviewer" - | "interview" - | "interview,interviewer" - | "interviewer"; -} diff --git a/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts new file mode 100644 index 000000000..4e1347eb5 --- /dev/null +++ b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ScorecardsListRequestExpandItem: core.serialization.Schema< + serializers.ats.ScorecardsListRequestExpandItem.Raw, + Merge.ats.ScorecardsListRequestExpandItem +> = core.serialization.enum_(["application", "interview", "interviewer"]); + +export declare namespace ScorecardsListRequestExpandItem { + export type Raw = "application" | "interview" | "interviewer"; +} diff --git a/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts deleted file mode 100644 index 3f1166666..000000000 --- a/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ScorecardsRetrieveRequestExpand: core.serialization.Schema< - serializers.ats.ScorecardsRetrieveRequestExpand.Raw, - Merge.ats.ScorecardsRetrieveRequestExpand -> = core.serialization.enum_([ - "application", - "application,interview", - "application,interview,interviewer", - "application,interviewer", - "interview", - "interview,interviewer", - "interviewer", -]); - -export declare namespace ScorecardsRetrieveRequestExpand { - export type Raw = - | "application" - | "application,interview" - | "application,interview,interviewer" - | "application,interviewer" - | "interview" - | "interview,interviewer" - | "interviewer"; -} diff --git a/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..bed7ed084 --- /dev/null +++ b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ScorecardsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ats.ScorecardsRetrieveRequestExpandItem.Raw, + Merge.ats.ScorecardsRetrieveRequestExpandItem +> = core.serialization.enum_(["application", "interview", "interviewer"]); + +export declare namespace ScorecardsRetrieveRequestExpandItem { + export type Raw = "application" | "interview" | "interviewer"; +} diff --git a/src/serialization/resources/ats/resources/scorecards/types/index.ts b/src/serialization/resources/ats/resources/scorecards/types/index.ts index abc9dc751..a46a8019d 100644 --- a/src/serialization/resources/ats/resources/scorecards/types/index.ts +++ b/src/serialization/resources/ats/resources/scorecards/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ScorecardsListRequestExpand"; -export * from "./ScorecardsRetrieveRequestExpand"; +export * from "./ScorecardsListRequestExpandItem"; +export * from "./ScorecardsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/ats/types/AccountDetailsAndActions.ts b/src/serialization/resources/ats/types/AccountDetailsAndActions.ts index ceaff2696..68faad434 100644 --- a/src/serialization/resources/ats/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/ats/types/AccountDetailsAndActions.ts @@ -24,10 +24,6 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< integration: AccountDetailsAndActionsIntegration.optional(), accountType: core.serialization.property("account_type", core.serialization.string()), completedAt: core.serialization.property("completed_at", core.serialization.date()), - integrationSpecificFields: core.serialization.property( - "integration_specific_fields", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), }); export declare namespace AccountDetailsAndActions { @@ -45,6 +41,5 @@ export declare namespace AccountDetailsAndActions { integration?: AccountDetailsAndActionsIntegration.Raw | null; account_type: string; completed_at: string; - integration_specific_fields?: Record | null; } } diff --git a/src/serialization/resources/ats/types/ActivityRequest.ts b/src/serialization/resources/ats/types/ActivityRequest.ts index 63511b623..d8713646c 100644 --- a/src/serialization/resources/ats/types/ActivityRequest.ts +++ b/src/serialization/resources/ats/types/ActivityRequest.ts @@ -3,16 +3,16 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { ActivityRequestActivityType } from "./ActivityRequestActivityType"; import { ActivityRequestUser } from "./ActivityRequestUser"; import { ActivityRequestVisibility } from "./ActivityRequestVisibility"; +import { ActivityTypeEnum } from "./ActivityTypeEnum"; export const ActivityRequest: core.serialization.ObjectSchema< serializers.ats.ActivityRequest.Raw, Merge.ats.ActivityRequest > = core.serialization.object({ user: ActivityRequestUser.optional(), - activityType: core.serialization.property("activity_type", ActivityRequestActivityType.optional()), + activityType: core.serialization.property("activity_type", ActivityTypeEnum.optional()), subject: core.serialization.string().optional(), body: core.serialization.string().optional(), visibility: ActivityRequestVisibility.optional(), @@ -30,7 +30,7 @@ export const ActivityRequest: core.serialization.ObjectSchema< export declare namespace ActivityRequest { export interface Raw { user?: ActivityRequestUser.Raw | null; - activity_type?: ActivityRequestActivityType.Raw | null; + activity_type?: ActivityTypeEnum.Raw | null; subject?: string | null; body?: string | null; visibility?: ActivityRequestVisibility.Raw | null; diff --git a/src/serialization/resources/ats/types/ActivityRequestActivityType.ts b/src/serialization/resources/ats/types/ActivityRequestActivityType.ts deleted file mode 100644 index d27b77f95..000000000 --- a/src/serialization/resources/ats/types/ActivityRequestActivityType.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { ActivityTypeEnum } from "./ActivityTypeEnum"; - -export const ActivityRequestActivityType: core.serialization.Schema< - serializers.ats.ActivityRequestActivityType.Raw, - Merge.ats.ActivityRequestActivityType -> = core.serialization.undiscriminatedUnion([ActivityTypeEnum, core.serialization.string()]); - -export declare namespace ActivityRequestActivityType { - export type Raw = ActivityTypeEnum.Raw | string; -} diff --git a/src/serialization/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts b/src/serialization/resources/ats/types/IgnoreCommonModelRequest.ts similarity index 58% rename from src/serialization/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts rename to src/serialization/resources/ats/types/IgnoreCommonModelRequest.ts index 946c7153b..b8c111d1b 100644 --- a/src/serialization/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts +++ b/src/serialization/resources/ats/types/IgnoreCommonModelRequest.ts @@ -1,11 +1,11 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../../../api/index"; -import * as core from "../../../../../../../core"; -import type * as serializers from "../../../../../../index"; -import { IgnoreCommonModelRequestReason } from "../../types/IgnoreCommonModelRequestReason"; +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { IgnoreCommonModelRequestReason } from "./IgnoreCommonModelRequestReason"; -export const IgnoreCommonModelRequest: core.serialization.Schema< +export const IgnoreCommonModelRequest: core.serialization.ObjectSchema< serializers.ats.IgnoreCommonModelRequest.Raw, Merge.ats.IgnoreCommonModelRequest > = core.serialization.object({ diff --git a/src/serialization/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.ts b/src/serialization/resources/ats/types/IgnoreCommonModelRequestReason.ts similarity index 66% rename from src/serialization/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.ts rename to src/serialization/resources/ats/types/IgnoreCommonModelRequestReason.ts index e03a87c4a..688f30582 100644 --- a/src/serialization/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.ts +++ b/src/serialization/resources/ats/types/IgnoreCommonModelRequestReason.ts @@ -1,9 +1,9 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; -import { ReasonEnum } from "../../../types/ReasonEnum"; +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { ReasonEnum } from "./ReasonEnum"; export const IgnoreCommonModelRequestReason: core.serialization.Schema< serializers.ats.IgnoreCommonModelRequestReason.Raw, diff --git a/src/serialization/resources/ats/types/index.ts b/src/serialization/resources/ats/types/index.ts index c8264290b..be6df221c 100644 --- a/src/serialization/resources/ats/types/index.ts +++ b/src/serialization/resources/ats/types/index.ts @@ -11,7 +11,6 @@ export * from "./AccountToken"; export * from "./Activity"; export * from "./ActivityActivityType"; export * from "./ActivityRequest"; -export * from "./ActivityRequestActivityType"; export * from "./ActivityRequestUser"; export * from "./ActivityRequestVisibility"; export * from "./ActivityResponse"; @@ -89,6 +88,8 @@ export * from "./FieldMappingInstanceResponse"; export * from "./FieldPermissionDeserializer"; export * from "./FieldPermissionDeserializerRequest"; export * from "./GenderEnum"; +export * from "./IgnoreCommonModelRequest"; +export * from "./IgnoreCommonModelRequestReason"; export * from "./IndividualCommonModelScopeDeserializer"; export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./Issue"; diff --git a/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts b/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts deleted file mode 100644 index d01c0a133..000000000 --- a/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ContactsListRequestExpand: core.serialization.Schema< - serializers.crm.ContactsListRequestExpand.Raw, - Merge.crm.ContactsListRequestExpand -> = core.serialization.enum_(["account", "account,owner", "owner"]); - -export declare namespace ContactsListRequestExpand { - export type Raw = "account" | "account,owner" | "owner"; -} diff --git a/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts b/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts new file mode 100644 index 000000000..e223c9679 --- /dev/null +++ b/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ContactsListRequestExpandItem: core.serialization.Schema< + serializers.crm.ContactsListRequestExpandItem.Raw, + Merge.crm.ContactsListRequestExpandItem +> = core.serialization.enum_(["account", "owner"]); + +export declare namespace ContactsListRequestExpandItem { + export type Raw = "account" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts deleted file mode 100644 index bcc2eec05..000000000 --- a/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ContactsRetrieveRequestExpand: core.serialization.Schema< - serializers.crm.ContactsRetrieveRequestExpand.Raw, - Merge.crm.ContactsRetrieveRequestExpand -> = core.serialization.enum_(["account", "account,owner", "owner"]); - -export declare namespace ContactsRetrieveRequestExpand { - export type Raw = "account" | "account,owner" | "owner"; -} diff --git a/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts b/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..3b8c74b7a --- /dev/null +++ b/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ContactsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.crm.ContactsRetrieveRequestExpandItem.Raw, + Merge.crm.ContactsRetrieveRequestExpandItem +> = core.serialization.enum_(["account", "owner"]); + +export declare namespace ContactsRetrieveRequestExpandItem { + export type Raw = "account" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/contacts/types/index.ts b/src/serialization/resources/crm/resources/contacts/types/index.ts index 1f8bc8653..0a309424e 100644 --- a/src/serialization/resources/crm/resources/contacts/types/index.ts +++ b/src/serialization/resources/crm/resources/contacts/types/index.ts @@ -1,2 +1,2 @@ -export * from "./ContactsListRequestExpand"; -export * from "./ContactsRetrieveRequestExpand"; +export * from "./ContactsListRequestExpandItem"; +export * from "./ContactsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts b/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts deleted file mode 100644 index 4cd2d640d..000000000 --- a/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EngagementsListRequestExpand: core.serialization.Schema< - serializers.crm.EngagementsListRequestExpand.Raw, - Merge.crm.EngagementsListRequestExpand -> = core.serialization.enum_([ - "account", - "account,engagement_type", - "contacts", - "contacts,account", - "contacts,account,engagement_type", - "contacts,engagement_type", - "contacts,owner", - "contacts,owner,account", - "contacts,owner,account,engagement_type", - "contacts,owner,engagement_type", - "engagement_type", - "owner", - "owner,account", - "owner,account,engagement_type", - "owner,engagement_type", -]); - -export declare namespace EngagementsListRequestExpand { - export type Raw = - | "account" - | "account,engagement_type" - | "contacts" - | "contacts,account" - | "contacts,account,engagement_type" - | "contacts,engagement_type" - | "contacts,owner" - | "contacts,owner,account" - | "contacts,owner,account,engagement_type" - | "contacts,owner,engagement_type" - | "engagement_type" - | "owner" - | "owner,account" - | "owner,account,engagement_type" - | "owner,engagement_type"; -} diff --git a/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts b/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts new file mode 100644 index 000000000..b9ad5eda0 --- /dev/null +++ b/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EngagementsListRequestExpandItem: core.serialization.Schema< + serializers.crm.EngagementsListRequestExpandItem.Raw, + Merge.crm.EngagementsListRequestExpandItem +> = core.serialization.enum_(["account", "contacts", "engagement_type", "owner"]); + +export declare namespace EngagementsListRequestExpandItem { + export type Raw = "account" | "contacts" | "engagement_type" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts deleted file mode 100644 index dff6e53ee..000000000 --- a/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EngagementsRetrieveRequestExpand: core.serialization.Schema< - serializers.crm.EngagementsRetrieveRequestExpand.Raw, - Merge.crm.EngagementsRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "account,engagement_type", - "contacts", - "contacts,account", - "contacts,account,engagement_type", - "contacts,engagement_type", - "contacts,owner", - "contacts,owner,account", - "contacts,owner,account,engagement_type", - "contacts,owner,engagement_type", - "engagement_type", - "owner", - "owner,account", - "owner,account,engagement_type", - "owner,engagement_type", -]); - -export declare namespace EngagementsRetrieveRequestExpand { - export type Raw = - | "account" - | "account,engagement_type" - | "contacts" - | "contacts,account" - | "contacts,account,engagement_type" - | "contacts,engagement_type" - | "contacts,owner" - | "contacts,owner,account" - | "contacts,owner,account,engagement_type" - | "contacts,owner,engagement_type" - | "engagement_type" - | "owner" - | "owner,account" - | "owner,account,engagement_type" - | "owner,engagement_type"; -} diff --git a/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts b/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..e52f06ee2 --- /dev/null +++ b/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EngagementsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.crm.EngagementsRetrieveRequestExpandItem.Raw, + Merge.crm.EngagementsRetrieveRequestExpandItem +> = core.serialization.enum_(["account", "contacts", "engagement_type", "owner"]); + +export declare namespace EngagementsRetrieveRequestExpandItem { + export type Raw = "account" | "contacts" | "engagement_type" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/engagements/types/index.ts b/src/serialization/resources/crm/resources/engagements/types/index.ts index 742b3ef68..31b07a506 100644 --- a/src/serialization/resources/crm/resources/engagements/types/index.ts +++ b/src/serialization/resources/crm/resources/engagements/types/index.ts @@ -1,2 +1,2 @@ -export * from "./EngagementsListRequestExpand"; -export * from "./EngagementsRetrieveRequestExpand"; +export * from "./EngagementsListRequestExpandItem"; +export * from "./EngagementsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts b/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts deleted file mode 100644 index 493af826b..000000000 --- a/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const LeadsListRequestExpand: core.serialization.Schema< - serializers.crm.LeadsListRequestExpand.Raw, - Merge.crm.LeadsListRequestExpand -> = core.serialization.enum_([ - "converted_account", - "converted_contact", - "converted_contact,converted_account", - "owner", - "owner,converted_account", - "owner,converted_contact", - "owner,converted_contact,converted_account", -]); - -export declare namespace LeadsListRequestExpand { - export type Raw = - | "converted_account" - | "converted_contact" - | "converted_contact,converted_account" - | "owner" - | "owner,converted_account" - | "owner,converted_contact" - | "owner,converted_contact,converted_account"; -} diff --git a/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts b/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts new file mode 100644 index 000000000..22b64e8bd --- /dev/null +++ b/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const LeadsListRequestExpandItem: core.serialization.Schema< + serializers.crm.LeadsListRequestExpandItem.Raw, + Merge.crm.LeadsListRequestExpandItem +> = core.serialization.enum_(["converted_account", "converted_contact", "owner"]); + +export declare namespace LeadsListRequestExpandItem { + export type Raw = "converted_account" | "converted_contact" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts deleted file mode 100644 index fd605a593..000000000 --- a/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const LeadsRetrieveRequestExpand: core.serialization.Schema< - serializers.crm.LeadsRetrieveRequestExpand.Raw, - Merge.crm.LeadsRetrieveRequestExpand -> = core.serialization.enum_([ - "converted_account", - "converted_contact", - "converted_contact,converted_account", - "owner", - "owner,converted_account", - "owner,converted_contact", - "owner,converted_contact,converted_account", -]); - -export declare namespace LeadsRetrieveRequestExpand { - export type Raw = - | "converted_account" - | "converted_contact" - | "converted_contact,converted_account" - | "owner" - | "owner,converted_account" - | "owner,converted_contact" - | "owner,converted_contact,converted_account"; -} diff --git a/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts b/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..b4f9cc67e --- /dev/null +++ b/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const LeadsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.crm.LeadsRetrieveRequestExpandItem.Raw, + Merge.crm.LeadsRetrieveRequestExpandItem +> = core.serialization.enum_(["converted_account", "converted_contact", "owner"]); + +export declare namespace LeadsRetrieveRequestExpandItem { + export type Raw = "converted_account" | "converted_contact" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/leads/types/index.ts b/src/serialization/resources/crm/resources/leads/types/index.ts index 139d390d0..910b5ea9c 100644 --- a/src/serialization/resources/crm/resources/leads/types/index.ts +++ b/src/serialization/resources/crm/resources/leads/types/index.ts @@ -1,2 +1,2 @@ -export * from "./LeadsListRequestExpand"; -export * from "./LeadsRetrieveRequestExpand"; +export * from "./LeadsListRequestExpandItem"; +export * from "./LeadsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts b/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts deleted file mode 100644 index 8198ca922..000000000 --- a/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const NotesListRequestExpand: core.serialization.Schema< - serializers.crm.NotesListRequestExpand.Raw, - Merge.crm.NotesListRequestExpand -> = core.serialization.enum_([ - "account", - "account,opportunity", - "contact", - "contact,account", - "contact,account,opportunity", - "contact,opportunity", - "opportunity", - "owner", - "owner,account", - "owner,account,opportunity", - "owner,contact", - "owner,contact,account", - "owner,contact,account,opportunity", - "owner,contact,opportunity", - "owner,opportunity", -]); - -export declare namespace NotesListRequestExpand { - export type Raw = - | "account" - | "account,opportunity" - | "contact" - | "contact,account" - | "contact,account,opportunity" - | "contact,opportunity" - | "opportunity" - | "owner" - | "owner,account" - | "owner,account,opportunity" - | "owner,contact" - | "owner,contact,account" - | "owner,contact,account,opportunity" - | "owner,contact,opportunity" - | "owner,opportunity"; -} diff --git a/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts b/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts new file mode 100644 index 000000000..3e5e1818d --- /dev/null +++ b/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const NotesListRequestExpandItem: core.serialization.Schema< + serializers.crm.NotesListRequestExpandItem.Raw, + Merge.crm.NotesListRequestExpandItem +> = core.serialization.enum_(["account", "contact", "opportunity", "owner"]); + +export declare namespace NotesListRequestExpandItem { + export type Raw = "account" | "contact" | "opportunity" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts deleted file mode 100644 index f9da77926..000000000 --- a/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts +++ /dev/null @@ -1,45 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const NotesRetrieveRequestExpand: core.serialization.Schema< - serializers.crm.NotesRetrieveRequestExpand.Raw, - Merge.crm.NotesRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "account,opportunity", - "contact", - "contact,account", - "contact,account,opportunity", - "contact,opportunity", - "opportunity", - "owner", - "owner,account", - "owner,account,opportunity", - "owner,contact", - "owner,contact,account", - "owner,contact,account,opportunity", - "owner,contact,opportunity", - "owner,opportunity", -]); - -export declare namespace NotesRetrieveRequestExpand { - export type Raw = - | "account" - | "account,opportunity" - | "contact" - | "contact,account" - | "contact,account,opportunity" - | "contact,opportunity" - | "opportunity" - | "owner" - | "owner,account" - | "owner,account,opportunity" - | "owner,contact" - | "owner,contact,account" - | "owner,contact,account,opportunity" - | "owner,contact,opportunity" - | "owner,opportunity"; -} diff --git a/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts b/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..65820c309 --- /dev/null +++ b/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const NotesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.crm.NotesRetrieveRequestExpandItem.Raw, + Merge.crm.NotesRetrieveRequestExpandItem +> = core.serialization.enum_(["account", "contact", "opportunity", "owner"]); + +export declare namespace NotesRetrieveRequestExpandItem { + export type Raw = "account" | "contact" | "opportunity" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/notes/types/index.ts b/src/serialization/resources/crm/resources/notes/types/index.ts index 619a79b71..34de923cd 100644 --- a/src/serialization/resources/crm/resources/notes/types/index.ts +++ b/src/serialization/resources/crm/resources/notes/types/index.ts @@ -1,2 +1,2 @@ -export * from "./NotesListRequestExpand"; -export * from "./NotesRetrieveRequestExpand"; +export * from "./NotesListRequestExpandItem"; +export * from "./NotesRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts deleted file mode 100644 index 27fa02159..000000000 --- a/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const OpportunitiesListRequestExpand: core.serialization.Schema< - serializers.crm.OpportunitiesListRequestExpand.Raw, - Merge.crm.OpportunitiesListRequestExpand -> = core.serialization.enum_([ - "account", - "owner", - "owner,account", - "owner,stage", - "owner,stage,account", - "stage", - "stage,account", -]); - -export declare namespace OpportunitiesListRequestExpand { - export type Raw = - | "account" - | "owner" - | "owner,account" - | "owner,stage" - | "owner,stage,account" - | "stage" - | "stage,account"; -} diff --git a/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts new file mode 100644 index 000000000..df00c1f56 --- /dev/null +++ b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const OpportunitiesListRequestExpandItem: core.serialization.Schema< + serializers.crm.OpportunitiesListRequestExpandItem.Raw, + Merge.crm.OpportunitiesListRequestExpandItem +> = core.serialization.enum_(["account", "owner", "stage"]); + +export declare namespace OpportunitiesListRequestExpandItem { + export type Raw = "account" | "owner" | "stage"; +} diff --git a/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts deleted file mode 100644 index 07c29d0e3..000000000 --- a/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const OpportunitiesRetrieveRequestExpand: core.serialization.Schema< - serializers.crm.OpportunitiesRetrieveRequestExpand.Raw, - Merge.crm.OpportunitiesRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "owner", - "owner,account", - "owner,stage", - "owner,stage,account", - "stage", - "stage,account", -]); - -export declare namespace OpportunitiesRetrieveRequestExpand { - export type Raw = - | "account" - | "owner" - | "owner,account" - | "owner,stage" - | "owner,stage,account" - | "stage" - | "stage,account"; -} diff --git a/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..a3ed14f76 --- /dev/null +++ b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const OpportunitiesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.crm.OpportunitiesRetrieveRequestExpandItem.Raw, + Merge.crm.OpportunitiesRetrieveRequestExpandItem +> = core.serialization.enum_(["account", "owner", "stage"]); + +export declare namespace OpportunitiesRetrieveRequestExpandItem { + export type Raw = "account" | "owner" | "stage"; +} diff --git a/src/serialization/resources/crm/resources/opportunities/types/index.ts b/src/serialization/resources/crm/resources/opportunities/types/index.ts index 0d6d5b6f1..94845ece4 100644 --- a/src/serialization/resources/crm/resources/opportunities/types/index.ts +++ b/src/serialization/resources/crm/resources/opportunities/types/index.ts @@ -1,3 +1,3 @@ -export * from "./OpportunitiesListRequestExpand"; +export * from "./OpportunitiesListRequestExpandItem"; export * from "./OpportunitiesListRequestStatus"; -export * from "./OpportunitiesRetrieveRequestExpand"; +export * from "./OpportunitiesRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts b/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts deleted file mode 100644 index bb69e0712..000000000 --- a/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TasksListRequestExpand: core.serialization.Schema< - serializers.crm.TasksListRequestExpand.Raw, - Merge.crm.TasksListRequestExpand -> = core.serialization.enum_([ - "account", - "account,opportunity", - "opportunity", - "owner", - "owner,account", - "owner,account,opportunity", - "owner,opportunity", -]); - -export declare namespace TasksListRequestExpand { - export type Raw = - | "account" - | "account,opportunity" - | "opportunity" - | "owner" - | "owner,account" - | "owner,account,opportunity" - | "owner,opportunity"; -} diff --git a/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts b/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts new file mode 100644 index 000000000..99182dd85 --- /dev/null +++ b/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TasksListRequestExpandItem: core.serialization.Schema< + serializers.crm.TasksListRequestExpandItem.Raw, + Merge.crm.TasksListRequestExpandItem +> = core.serialization.enum_(["account", "opportunity", "owner"]); + +export declare namespace TasksListRequestExpandItem { + export type Raw = "account" | "opportunity" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts deleted file mode 100644 index 344a79d54..000000000 --- a/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TasksRetrieveRequestExpand: core.serialization.Schema< - serializers.crm.TasksRetrieveRequestExpand.Raw, - Merge.crm.TasksRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "account,opportunity", - "opportunity", - "owner", - "owner,account", - "owner,account,opportunity", - "owner,opportunity", -]); - -export declare namespace TasksRetrieveRequestExpand { - export type Raw = - | "account" - | "account,opportunity" - | "opportunity" - | "owner" - | "owner,account" - | "owner,account,opportunity" - | "owner,opportunity"; -} diff --git a/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts b/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..29db87239 --- /dev/null +++ b/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TasksRetrieveRequestExpandItem: core.serialization.Schema< + serializers.crm.TasksRetrieveRequestExpandItem.Raw, + Merge.crm.TasksRetrieveRequestExpandItem +> = core.serialization.enum_(["account", "opportunity", "owner"]); + +export declare namespace TasksRetrieveRequestExpandItem { + export type Raw = "account" | "opportunity" | "owner"; +} diff --git a/src/serialization/resources/crm/resources/tasks/types/index.ts b/src/serialization/resources/crm/resources/tasks/types/index.ts index 570802a11..13aa3a20e 100644 --- a/src/serialization/resources/crm/resources/tasks/types/index.ts +++ b/src/serialization/resources/crm/resources/tasks/types/index.ts @@ -1,2 +1,2 @@ -export * from "./TasksListRequestExpand"; -export * from "./TasksRetrieveRequestExpand"; +export * from "./TasksListRequestExpandItem"; +export * from "./TasksRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/crm/types/RemoteFieldClass.ts b/src/serialization/resources/crm/types/RemoteFieldClass.ts index e4324da5f..6ada2ac72 100644 --- a/src/serialization/resources/crm/types/RemoteFieldClass.ts +++ b/src/serialization/resources/crm/types/RemoteFieldClass.ts @@ -3,10 +3,10 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; +import { FieldFormatEnum } from "./FieldFormatEnum"; +import { FieldTypeEnum } from "./FieldTypeEnum"; import { ItemSchema } from "./ItemSchema"; import { RemoteFieldClassFieldChoicesItem } from "./RemoteFieldClassFieldChoicesItem"; -import { RemoteFieldClassFieldFormat } from "./RemoteFieldClassFieldFormat"; -import { RemoteFieldClassFieldType } from "./RemoteFieldClassFieldType"; export const RemoteFieldClass: core.serialization.ObjectSchema< serializers.crm.RemoteFieldClass.Raw, @@ -17,10 +17,9 @@ export const RemoteFieldClass: core.serialization.ObjectSchema< remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string().optional()), description: core.serialization.string().optional(), isCustom: core.serialization.property("is_custom", core.serialization.boolean().optional()), - isCommonModelField: core.serialization.property("is_common_model_field", core.serialization.boolean().optional()), isRequired: core.serialization.property("is_required", core.serialization.boolean().optional()), - fieldType: core.serialization.property("field_type", RemoteFieldClassFieldType.optional()), - fieldFormat: core.serialization.property("field_format", RemoteFieldClassFieldFormat.optional()), + fieldType: core.serialization.property("field_type", FieldTypeEnum.optional()), + fieldFormat: core.serialization.property("field_format", FieldFormatEnum.optional()), fieldChoices: core.serialization.property( "field_choices", core.serialization.list(RemoteFieldClassFieldChoicesItem).optional(), @@ -35,10 +34,9 @@ export declare namespace RemoteFieldClass { remote_key_name?: string | null; description?: string | null; is_custom?: boolean | null; - is_common_model_field?: boolean | null; is_required?: boolean | null; - field_type?: RemoteFieldClassFieldType.Raw | null; - field_format?: RemoteFieldClassFieldFormat.Raw | null; + field_type?: FieldTypeEnum.Raw | null; + field_format?: FieldFormatEnum.Raw | null; field_choices?: RemoteFieldClassFieldChoicesItem.Raw[] | null; item_schema?: ItemSchema.Raw | null; } diff --git a/src/serialization/resources/crm/types/RemoteFieldClassFieldFormat.ts b/src/serialization/resources/crm/types/RemoteFieldClassFieldFormat.ts deleted file mode 100644 index 412f65bc3..000000000 --- a/src/serialization/resources/crm/types/RemoteFieldClassFieldFormat.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { FieldFormatEnum } from "./FieldFormatEnum"; - -export const RemoteFieldClassFieldFormat: core.serialization.Schema< - serializers.crm.RemoteFieldClassFieldFormat.Raw, - Merge.crm.RemoteFieldClassFieldFormat -> = core.serialization.undiscriminatedUnion([FieldFormatEnum, core.serialization.string()]); - -export declare namespace RemoteFieldClassFieldFormat { - export type Raw = FieldFormatEnum.Raw | string; -} diff --git a/src/serialization/resources/crm/types/RemoteFieldClassFieldType.ts b/src/serialization/resources/crm/types/RemoteFieldClassFieldType.ts deleted file mode 100644 index a1d140292..000000000 --- a/src/serialization/resources/crm/types/RemoteFieldClassFieldType.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { FieldTypeEnum } from "./FieldTypeEnum"; - -export const RemoteFieldClassFieldType: core.serialization.Schema< - serializers.crm.RemoteFieldClassFieldType.Raw, - Merge.crm.RemoteFieldClassFieldType -> = core.serialization.undiscriminatedUnion([FieldTypeEnum, core.serialization.string()]); - -export declare namespace RemoteFieldClassFieldType { - export type Raw = FieldTypeEnum.Raw | string; -} diff --git a/src/serialization/resources/crm/types/RemoteResponse.ts b/src/serialization/resources/crm/types/RemoteResponse.ts index a2daf6066..9e58ea3fb 100644 --- a/src/serialization/resources/crm/types/RemoteResponse.ts +++ b/src/serialization/resources/crm/types/RemoteResponse.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { ResponseTypeEnum } from "./ResponseTypeEnum"; +import { RemoteResponseResponseType } from "./RemoteResponseResponseType"; export const RemoteResponse: core.serialization.ObjectSchema< serializers.crm.RemoteResponse.Raw, @@ -17,7 +17,7 @@ export const RemoteResponse: core.serialization.ObjectSchema< "response_headers", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), ), - responseType: core.serialization.property("response_type", ResponseTypeEnum.optional()), + responseType: core.serialization.property("response_type", RemoteResponseResponseType.optional()), headers: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), }); @@ -28,7 +28,7 @@ export declare namespace RemoteResponse { status: number; response?: unknown; response_headers?: Record | null; - response_type?: ResponseTypeEnum.Raw | null; + response_type?: RemoteResponseResponseType.Raw | null; headers?: Record | null; } } diff --git a/src/serialization/resources/crm/types/RemoteResponseResponseType.ts b/src/serialization/resources/crm/types/RemoteResponseResponseType.ts new file mode 100644 index 000000000..11d307c69 --- /dev/null +++ b/src/serialization/resources/crm/types/RemoteResponseResponseType.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { ResponseTypeEnum } from "./ResponseTypeEnum"; + +export const RemoteResponseResponseType: core.serialization.Schema< + serializers.crm.RemoteResponseResponseType.Raw, + Merge.crm.RemoteResponseResponseType +> = core.serialization.undiscriminatedUnion([ResponseTypeEnum, core.serialization.string()]); + +export declare namespace RemoteResponseResponseType { + export type Raw = ResponseTypeEnum.Raw | string; +} diff --git a/src/serialization/resources/crm/types/index.ts b/src/serialization/resources/crm/types/index.ts index d5c268b4d..33ef02517 100644 --- a/src/serialization/resources/crm/types/index.ts +++ b/src/serialization/resources/crm/types/index.ts @@ -181,8 +181,6 @@ export * from "./RemoteFieldApiCoverage"; export * from "./RemoteFieldApiResponse"; export * from "./RemoteFieldClass"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldClassFieldFormat"; -export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldClassForCustomObjectClass"; export * from "./RemoteFieldClassForCustomObjectClassFieldChoicesItem"; export * from "./RemoteFieldClassForCustomObjectClassFieldFormat"; @@ -193,6 +191,7 @@ export * from "./RemoteFieldRequest"; export * from "./RemoteFieldRequestRemoteFieldClass"; export * from "./RemoteKey"; export * from "./RemoteResponse"; +export * from "./RemoteResponseResponseType"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./RoleEnum"; diff --git a/src/serialization/resources/filestorage/index.ts b/src/serialization/resources/fileStorage/index.ts similarity index 100% rename from src/serialization/resources/filestorage/index.ts rename to src/serialization/resources/fileStorage/index.ts diff --git a/src/serialization/resources/filestorage/resources/asyncPassthrough/index.ts b/src/serialization/resources/fileStorage/resources/asyncPassthrough/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/asyncPassthrough/index.ts rename to src/serialization/resources/fileStorage/resources/asyncPassthrough/index.ts diff --git a/src/serialization/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts b/src/serialization/resources/fileStorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts similarity index 82% rename from src/serialization/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts rename to src/serialization/resources/fileStorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts index 7d5940333..021079d93 100644 --- a/src/serialization/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts +++ b/src/serialization/resources/fileStorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../../../index"; import { RemoteResponse } from "../../../types/RemoteResponse"; export const AsyncPassthroughRetrieveResponse: core.serialization.Schema< - serializers.filestorage.AsyncPassthroughRetrieveResponse.Raw, - Merge.filestorage.AsyncPassthroughRetrieveResponse + serializers.fileStorage.AsyncPassthroughRetrieveResponse.Raw, + Merge.fileStorage.AsyncPassthroughRetrieveResponse > = core.serialization.undiscriminatedUnion([RemoteResponse, core.serialization.string()]); export declare namespace AsyncPassthroughRetrieveResponse { diff --git a/src/serialization/resources/filestorage/resources/asyncPassthrough/types/index.ts b/src/serialization/resources/fileStorage/resources/asyncPassthrough/types/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/asyncPassthrough/types/index.ts rename to src/serialization/resources/fileStorage/resources/asyncPassthrough/types/index.ts diff --git a/src/api/resources/filestorage/resources/webhookReceivers/client/index.ts b/src/serialization/resources/fileStorage/resources/fieldMapping/client/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/webhookReceivers/client/index.ts rename to src/serialization/resources/fileStorage/resources/fieldMapping/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts b/src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts similarity index 91% rename from src/serialization/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts rename to src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts index 7247edf3e..30bf6120d 100644 --- a/src/serialization/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts +++ b/src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../../core"; import type * as serializers from "../../../../../../index"; export const CreateFieldMappingRequest: core.serialization.Schema< - serializers.filestorage.CreateFieldMappingRequest.Raw, - Omit + serializers.fileStorage.CreateFieldMappingRequest.Raw, + Omit > = core.serialization.object({ targetFieldName: core.serialization.property("target_field_name", core.serialization.string()), targetFieldDescription: core.serialization.property("target_field_description", core.serialization.string()), diff --git a/src/serialization/resources/filestorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts b/src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts similarity index 89% rename from src/serialization/resources/filestorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts rename to src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts index e259b1c6d..a8e63ed3f 100644 --- a/src/serialization/resources/filestorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts +++ b/src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../../core"; import type * as serializers from "../../../../../../index"; export const PatchedEditFieldMappingRequest: core.serialization.Schema< - serializers.filestorage.PatchedEditFieldMappingRequest.Raw, - Merge.filestorage.PatchedEditFieldMappingRequest + serializers.fileStorage.PatchedEditFieldMappingRequest.Raw, + Merge.fileStorage.PatchedEditFieldMappingRequest > = core.serialization.object({ remoteFieldTraversalPath: core.serialization.property( "remote_field_traversal_path", diff --git a/src/serialization/resources/filestorage/resources/fieldMapping/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/fieldMapping/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/fieldMapping/client/requests/index.ts diff --git a/src/api/resources/filestorage/resources/users/index.ts b/src/serialization/resources/fileStorage/resources/fieldMapping/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/users/index.ts rename to src/serialization/resources/fileStorage/resources/fieldMapping/index.ts diff --git a/src/serialization/resources/accounting/resources/expenseReports/client/index.ts b/src/serialization/resources/fileStorage/resources/files/client/index.ts similarity index 100% rename from src/serialization/resources/accounting/resources/expenseReports/client/index.ts rename to src/serialization/resources/fileStorage/resources/files/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts b/src/serialization/resources/fileStorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts similarity index 81% rename from src/serialization/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts rename to src/serialization/resources/fileStorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts index 59c4f3268..f162a504c 100644 --- a/src/serialization/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts +++ b/src/serialization/resources/fileStorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../../../../index"; import { FileRequest } from "../../../../types/FileRequest"; export const FileStorageFileEndpointRequest: core.serialization.Schema< - serializers.filestorage.FileStorageFileEndpointRequest.Raw, - Omit + serializers.fileStorage.FileStorageFileEndpointRequest.Raw, + Omit > = core.serialization.object({ model: FileRequest, }); diff --git a/src/serialization/resources/filestorage/resources/files/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/files/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/files/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/files/client/requests/index.ts diff --git a/src/serialization/resources/filestorage/resources/files/index.ts b/src/serialization/resources/fileStorage/resources/files/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/files/index.ts rename to src/serialization/resources/fileStorage/resources/files/index.ts diff --git a/src/serialization/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts b/src/serialization/resources/fileStorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts similarity index 81% rename from src/serialization/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts rename to src/serialization/resources/fileStorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts index 42e2f26eb..9efbddbfa 100644 --- a/src/serialization/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts +++ b/src/serialization/resources/fileStorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../core"; import type * as serializers from "../../../../../index"; export const FilesDownloadRequestMetaListRequestOrderBy: core.serialization.Schema< - serializers.filestorage.FilesDownloadRequestMetaListRequestOrderBy.Raw, - Merge.filestorage.FilesDownloadRequestMetaListRequestOrderBy + serializers.fileStorage.FilesDownloadRequestMetaListRequestOrderBy.Raw, + Merge.fileStorage.FilesDownloadRequestMetaListRequestOrderBy > = core.serialization.enum_(["-created_at", "-modified_at", "created_at", "modified_at"]); export declare namespace FilesDownloadRequestMetaListRequestOrderBy { diff --git a/src/serialization/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts b/src/serialization/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts new file mode 100644 index 000000000..cc169e6d2 --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/files/types/FilesListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const FilesListRequestExpandItem: core.serialization.Schema< + serializers.fileStorage.FilesListRequestExpandItem.Raw, + Merge.fileStorage.FilesListRequestExpandItem +> = core.serialization.enum_(["drive", "folder", "permissions"]); + +export declare namespace FilesListRequestExpandItem { + export type Raw = "drive" | "folder" | "permissions"; +} diff --git a/src/serialization/resources/filestorage/resources/files/types/FilesListRequestOrderBy.ts b/src/serialization/resources/fileStorage/resources/files/types/FilesListRequestOrderBy.ts similarity index 83% rename from src/serialization/resources/filestorage/resources/files/types/FilesListRequestOrderBy.ts rename to src/serialization/resources/fileStorage/resources/files/types/FilesListRequestOrderBy.ts index 40a1d368c..2a0d2455f 100644 --- a/src/serialization/resources/filestorage/resources/files/types/FilesListRequestOrderBy.ts +++ b/src/serialization/resources/fileStorage/resources/files/types/FilesListRequestOrderBy.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../core"; import type * as serializers from "../../../../../index"; export const FilesListRequestOrderBy: core.serialization.Schema< - serializers.filestorage.FilesListRequestOrderBy.Raw, - Merge.filestorage.FilesListRequestOrderBy + serializers.fileStorage.FilesListRequestOrderBy.Raw, + Merge.fileStorage.FilesListRequestOrderBy > = core.serialization.enum_(["-created_at", "-modified_at", "created_at", "modified_at"]); export declare namespace FilesListRequestOrderBy { diff --git a/src/serialization/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts b/src/serialization/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..5059ad611 --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/files/types/FilesRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const FilesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.fileStorage.FilesRetrieveRequestExpandItem.Raw, + Merge.fileStorage.FilesRetrieveRequestExpandItem +> = core.serialization.enum_(["drive", "folder", "permissions"]); + +export declare namespace FilesRetrieveRequestExpandItem { + export type Raw = "drive" | "folder" | "permissions"; +} diff --git a/src/api/resources/filestorage/resources/files/types/index.ts b/src/serialization/resources/fileStorage/resources/files/types/index.ts similarity index 52% rename from src/api/resources/filestorage/resources/files/types/index.ts rename to src/serialization/resources/fileStorage/resources/files/types/index.ts index 5c705d3d6..0183b907e 100644 --- a/src/api/resources/filestorage/resources/files/types/index.ts +++ b/src/serialization/resources/fileStorage/resources/files/types/index.ts @@ -1,4 +1,4 @@ export * from "./FilesDownloadRequestMetaListRequestOrderBy"; -export * from "./FilesListRequestExpand"; +export * from "./FilesListRequestExpandItem"; export * from "./FilesListRequestOrderBy"; -export * from "./FilesRetrieveRequestExpand"; +export * from "./FilesRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/filestorage/resources/fieldMapping/client/index.ts b/src/serialization/resources/fileStorage/resources/folders/client/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/fieldMapping/client/index.ts rename to src/serialization/resources/fileStorage/resources/folders/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts b/src/serialization/resources/fileStorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts similarity index 82% rename from src/serialization/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts rename to src/serialization/resources/fileStorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts index 9cdb4aed9..30ce14714 100644 --- a/src/serialization/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts +++ b/src/serialization/resources/fileStorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../../../../index"; import { FolderRequest } from "../../../../types/FolderRequest"; export const FileStorageFolderEndpointRequest: core.serialization.Schema< - serializers.filestorage.FileStorageFolderEndpointRequest.Raw, - Omit + serializers.fileStorage.FileStorageFolderEndpointRequest.Raw, + Omit > = core.serialization.object({ model: FolderRequest, }); diff --git a/src/serialization/resources/filestorage/resources/folders/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/folders/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/folders/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/folders/client/requests/index.ts diff --git a/src/serialization/resources/filestorage/resources/folders/index.ts b/src/serialization/resources/fileStorage/resources/folders/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/folders/index.ts rename to src/serialization/resources/fileStorage/resources/folders/index.ts diff --git a/src/serialization/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts b/src/serialization/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts new file mode 100644 index 000000000..c2feeeed1 --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/folders/types/FoldersListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const FoldersListRequestExpandItem: core.serialization.Schema< + serializers.fileStorage.FoldersListRequestExpandItem.Raw, + Merge.fileStorage.FoldersListRequestExpandItem +> = core.serialization.enum_(["drive", "parent_folder", "permissions"]); + +export declare namespace FoldersListRequestExpandItem { + export type Raw = "drive" | "parent_folder" | "permissions"; +} diff --git a/src/serialization/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts b/src/serialization/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..17c648f83 --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const FoldersRetrieveRequestExpandItem: core.serialization.Schema< + serializers.fileStorage.FoldersRetrieveRequestExpandItem.Raw, + Merge.fileStorage.FoldersRetrieveRequestExpandItem +> = core.serialization.enum_(["drive", "parent_folder", "permissions"]); + +export declare namespace FoldersRetrieveRequestExpandItem { + export type Raw = "drive" | "parent_folder" | "permissions"; +} diff --git a/src/serialization/resources/fileStorage/resources/folders/types/index.ts b/src/serialization/resources/fileStorage/resources/folders/types/index.ts new file mode 100644 index 000000000..19290772a --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/folders/types/index.ts @@ -0,0 +1,2 @@ +export * from "./FoldersListRequestExpandItem"; +export * from "./FoldersRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/filestorage/resources/forceResync/client/index.ts b/src/serialization/resources/fileStorage/resources/forceResync/client/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/forceResync/client/index.ts rename to src/serialization/resources/fileStorage/resources/forceResync/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/forceResync/client/syncStatusResyncCreate.ts b/src/serialization/resources/fileStorage/resources/forceResync/client/syncStatusResyncCreate.ts similarity index 82% rename from src/serialization/resources/filestorage/resources/forceResync/client/syncStatusResyncCreate.ts rename to src/serialization/resources/fileStorage/resources/forceResync/client/syncStatusResyncCreate.ts index 89f1fa3af..8e1e79f99 100644 --- a/src/serialization/resources/filestorage/resources/forceResync/client/syncStatusResyncCreate.ts +++ b/src/serialization/resources/fileStorage/resources/forceResync/client/syncStatusResyncCreate.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../../../index"; import { SyncStatus } from "../../../types/SyncStatus"; export const Response: core.serialization.Schema< - serializers.filestorage.forceResync.syncStatusResyncCreate.Response.Raw, - Merge.filestorage.SyncStatus[] + serializers.fileStorage.forceResync.syncStatusResyncCreate.Response.Raw, + Merge.fileStorage.SyncStatus[] > = core.serialization.list(SyncStatus); export declare namespace Response { diff --git a/src/api/resources/filestorage/resources/webhookReceivers/index.ts b/src/serialization/resources/fileStorage/resources/forceResync/index.ts similarity index 100% rename from src/api/resources/filestorage/resources/webhookReceivers/index.ts rename to src/serialization/resources/fileStorage/resources/forceResync/index.ts diff --git a/src/serialization/resources/filestorage/resources/files/client/index.ts b/src/serialization/resources/fileStorage/resources/generateKey/client/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/files/client/index.ts rename to src/serialization/resources/fileStorage/resources/generateKey/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/serialization/resources/fileStorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts similarity index 82% rename from src/serialization/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts rename to src/serialization/resources/fileStorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts index e75951e6d..3cec8c06f 100644 --- a/src/serialization/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts +++ b/src/serialization/resources/fileStorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../../core"; import type * as serializers from "../../../../../../index"; export const GenerateRemoteKeyRequest: core.serialization.Schema< - serializers.filestorage.GenerateRemoteKeyRequest.Raw, - Merge.filestorage.GenerateRemoteKeyRequest + serializers.fileStorage.GenerateRemoteKeyRequest.Raw, + Merge.fileStorage.GenerateRemoteKeyRequest > = core.serialization.object({ name: core.serialization.string(), }); diff --git a/src/serialization/resources/filestorage/resources/generateKey/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/generateKey/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/generateKey/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/generateKey/client/requests/index.ts diff --git a/src/serialization/resources/filestorage/resources/fieldMapping/index.ts b/src/serialization/resources/fileStorage/resources/generateKey/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/fieldMapping/index.ts rename to src/serialization/resources/fileStorage/resources/generateKey/index.ts diff --git a/src/serialization/resources/filestorage/resources/issues/index.ts b/src/serialization/resources/fileStorage/resources/groups/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/issues/index.ts rename to src/serialization/resources/fileStorage/resources/groups/index.ts diff --git a/src/serialization/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts b/src/serialization/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts new file mode 100644 index 000000000..72e46ddaa --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/groups/types/GroupsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const GroupsListRequestExpandItem: core.serialization.Schema< + serializers.fileStorage.GroupsListRequestExpandItem.Raw, + Merge.fileStorage.GroupsListRequestExpandItem +> = core.serialization.enum_(["child_groups", "users"]); + +export declare namespace GroupsListRequestExpandItem { + export type Raw = "child_groups" | "users"; +} diff --git a/src/serialization/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts b/src/serialization/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..3e14feced --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const GroupsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.fileStorage.GroupsRetrieveRequestExpandItem.Raw, + Merge.fileStorage.GroupsRetrieveRequestExpandItem +> = core.serialization.enum_(["child_groups", "users"]); + +export declare namespace GroupsRetrieveRequestExpandItem { + export type Raw = "child_groups" | "users"; +} diff --git a/src/serialization/resources/fileStorage/resources/groups/types/index.ts b/src/serialization/resources/fileStorage/resources/groups/types/index.ts new file mode 100644 index 000000000..f5785eaaf --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/groups/types/index.ts @@ -0,0 +1,2 @@ +export * from "./GroupsListRequestExpandItem"; +export * from "./GroupsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/filestorage/resources/index.ts b/src/serialization/resources/fileStorage/resources/index.ts similarity index 91% rename from src/serialization/resources/filestorage/resources/index.ts rename to src/serialization/resources/fileStorage/resources/index.ts index e47642923..0439e0a7f 100644 --- a/src/serialization/resources/filestorage/resources/index.ts +++ b/src/serialization/resources/fileStorage/resources/index.ts @@ -11,12 +11,15 @@ export * from "./folders/types"; export * as forceResync from "./forceResync"; export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; +export * as groups from "./groups"; +export * from "./groups/types"; export * as issues from "./issues"; export * from "./issues/types"; export * as linkedAccounts from "./linkedAccounts"; export * from "./linkedAccounts/types"; export * as linkToken from "./linkToken"; export * from "./linkToken/client/requests"; +export * from "./linkToken/types"; export * as regenerateKey from "./regenerateKey"; export * from "./regenerateKey/client/requests"; export * as scopes from "./scopes"; diff --git a/src/serialization/resources/filestorage/resources/linkedAccounts/index.ts b/src/serialization/resources/fileStorage/resources/issues/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/linkedAccounts/index.ts rename to src/serialization/resources/fileStorage/resources/issues/index.ts diff --git a/src/serialization/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts b/src/serialization/resources/fileStorage/resources/issues/types/IssuesListRequestStatus.ts similarity index 81% rename from src/serialization/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts rename to src/serialization/resources/fileStorage/resources/issues/types/IssuesListRequestStatus.ts index d0ba1ae56..e0721879d 100644 --- a/src/serialization/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts +++ b/src/serialization/resources/fileStorage/resources/issues/types/IssuesListRequestStatus.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../core"; import type * as serializers from "../../../../../index"; export const IssuesListRequestStatus: core.serialization.Schema< - serializers.filestorage.IssuesListRequestStatus.Raw, - Merge.filestorage.IssuesListRequestStatus + serializers.fileStorage.IssuesListRequestStatus.Raw, + Merge.fileStorage.IssuesListRequestStatus > = core.serialization.enum_(["ONGOING", "RESOLVED"]); export declare namespace IssuesListRequestStatus { diff --git a/src/serialization/resources/filestorage/resources/issues/types/index.ts b/src/serialization/resources/fileStorage/resources/issues/types/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/issues/types/index.ts rename to src/serialization/resources/fileStorage/resources/issues/types/index.ts diff --git a/src/serialization/resources/filestorage/resources/folders/client/index.ts b/src/serialization/resources/fileStorage/resources/linkToken/client/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/folders/client/index.ts rename to src/serialization/resources/fileStorage/resources/linkToken/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/fileStorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts similarity index 90% rename from src/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts rename to src/serialization/resources/fileStorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 49a6044d1..af8c7aa92 100644 --- a/src/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/fileStorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -6,11 +6,11 @@ import type * as serializers from "../../../../../../index"; import { CategoriesEnum } from "../../../../types/CategoriesEnum"; import { CommonModelScopesBodyRequest } from "../../../../types/CommonModelScopesBodyRequest"; import { IndividualCommonModelScopeDeserializerRequest } from "../../../../types/IndividualCommonModelScopeDeserializerRequest"; -import { LanguageEnum } from "../../../../types/LanguageEnum"; +import { EndUserDetailsRequestLanguage } from "../../types/EndUserDetailsRequestLanguage"; export const EndUserDetailsRequest: core.serialization.Schema< - serializers.filestorage.EndUserDetailsRequest.Raw, - Merge.filestorage.EndUserDetailsRequest + serializers.fileStorage.EndUserDetailsRequest.Raw, + Merge.fileStorage.EndUserDetailsRequest > = core.serialization.object({ endUserEmailAddress: core.serialization.property("end_user_email_address", core.serialization.string()), endUserOrganizationName: core.serialization.property("end_user_organization_name", core.serialization.string()), @@ -36,7 +36,7 @@ export const EndUserDetailsRequest: core.serialization.Schema< ) .optional(), ), - language: LanguageEnum.optional(), + language: EndUserDetailsRequestLanguage.optional(), areSyncsDisabled: core.serialization.property("are_syncs_disabled", core.serialization.boolean().optional()), integrationSpecificConfig: core.serialization.property( "integration_specific_config", @@ -59,7 +59,7 @@ export declare namespace EndUserDetailsRequest { string, IndividualCommonModelScopeDeserializerRequest.Raw[] | null | undefined > | null; - language?: LanguageEnum.Raw | null; + language?: EndUserDetailsRequestLanguage.Raw | null; are_syncs_disabled?: boolean | null; integration_specific_config?: Record | null; } diff --git a/src/serialization/resources/filestorage/resources/linkToken/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/linkToken/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/linkToken/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/linkToken/client/requests/index.ts diff --git a/src/serialization/resources/filestorage/resources/regenerateKey/index.ts b/src/serialization/resources/fileStorage/resources/linkToken/index.ts similarity index 50% rename from src/serialization/resources/filestorage/resources/regenerateKey/index.ts rename to src/serialization/resources/fileStorage/resources/linkToken/index.ts index 5ec76921e..d2ec2302c 100644 --- a/src/serialization/resources/filestorage/resources/regenerateKey/index.ts +++ b/src/serialization/resources/fileStorage/resources/linkToken/index.ts @@ -1 +1,2 @@ export * from "./client"; +export * from "./types"; diff --git a/src/serialization/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts b/src/serialization/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts new file mode 100644 index 000000000..1bd163708 --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; +import { LanguageEnum } from "../../../types/LanguageEnum"; + +export const EndUserDetailsRequestLanguage: core.serialization.Schema< + serializers.fileStorage.EndUserDetailsRequestLanguage.Raw, + Merge.fileStorage.EndUserDetailsRequestLanguage +> = core.serialization.undiscriminatedUnion([LanguageEnum, core.serialization.string()]); + +export declare namespace EndUserDetailsRequestLanguage { + export type Raw = LanguageEnum.Raw | string; +} diff --git a/src/serialization/resources/fileStorage/resources/linkToken/types/index.ts b/src/serialization/resources/fileStorage/resources/linkToken/types/index.ts new file mode 100644 index 000000000..c90e13c37 --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/linkToken/types/index.ts @@ -0,0 +1 @@ +export * from "./EndUserDetailsRequestLanguage"; diff --git a/src/serialization/resources/fileStorage/resources/linkedAccounts/index.ts b/src/serialization/resources/fileStorage/resources/linkedAccounts/index.ts new file mode 100644 index 000000000..eea524d65 --- /dev/null +++ b/src/serialization/resources/fileStorage/resources/linkedAccounts/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts b/src/serialization/resources/fileStorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 82% rename from src/serialization/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts rename to src/serialization/resources/fileStorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts index 5b69b4267..08f0d1491 100644 --- a/src/serialization/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts +++ b/src/serialization/resources/fileStorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../core"; import type * as serializers from "../../../../../index"; export const LinkedAccountsListRequestCategory: core.serialization.Schema< - serializers.filestorage.LinkedAccountsListRequestCategory.Raw, - Merge.filestorage.LinkedAccountsListRequestCategory + serializers.fileStorage.LinkedAccountsListRequestCategory.Raw, + Merge.fileStorage.LinkedAccountsListRequestCategory > = core.serialization.enum_(["accounting", "ats", "crm", "filestorage", "hris", "mktg", "ticketing"]); export declare namespace LinkedAccountsListRequestCategory { diff --git a/src/serialization/resources/filestorage/resources/linkedAccounts/types/index.ts b/src/serialization/resources/fileStorage/resources/linkedAccounts/types/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/linkedAccounts/types/index.ts rename to src/serialization/resources/fileStorage/resources/linkedAccounts/types/index.ts diff --git a/src/serialization/resources/filestorage/resources/generateKey/client/index.ts b/src/serialization/resources/fileStorage/resources/regenerateKey/client/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/generateKey/client/index.ts rename to src/serialization/resources/fileStorage/resources/regenerateKey/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/serialization/resources/fileStorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts similarity index 81% rename from src/serialization/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts rename to src/serialization/resources/fileStorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts index b8b5ec52a..78acbc544 100644 --- a/src/serialization/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts +++ b/src/serialization/resources/fileStorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../../core"; import type * as serializers from "../../../../../../index"; export const RemoteKeyForRegenerationRequest: core.serialization.Schema< - serializers.filestorage.RemoteKeyForRegenerationRequest.Raw, - Merge.filestorage.RemoteKeyForRegenerationRequest + serializers.fileStorage.RemoteKeyForRegenerationRequest.Raw, + Merge.fileStorage.RemoteKeyForRegenerationRequest > = core.serialization.object({ name: core.serialization.string(), }); diff --git a/src/serialization/resources/filestorage/resources/regenerateKey/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/regenerateKey/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/regenerateKey/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/regenerateKey/client/requests/index.ts diff --git a/src/serialization/resources/filestorage/resources/forceResync/index.ts b/src/serialization/resources/fileStorage/resources/regenerateKey/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/forceResync/index.ts rename to src/serialization/resources/fileStorage/resources/regenerateKey/index.ts diff --git a/src/serialization/resources/filestorage/resources/linkToken/client/index.ts b/src/serialization/resources/fileStorage/resources/scopes/client/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/linkToken/client/index.ts rename to src/serialization/resources/fileStorage/resources/scopes/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts b/src/serialization/resources/fileStorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts similarity index 87% rename from src/serialization/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts rename to src/serialization/resources/fileStorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts index ce4f2eff2..95dbc84d1 100644 --- a/src/serialization/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts +++ b/src/serialization/resources/fileStorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../../../../index"; import { IndividualCommonModelScopeDeserializerRequest } from "../../../../types/IndividualCommonModelScopeDeserializerRequest"; export const LinkedAccountCommonModelScopeDeserializerRequest: core.serialization.Schema< - serializers.filestorage.LinkedAccountCommonModelScopeDeserializerRequest.Raw, - Merge.filestorage.LinkedAccountCommonModelScopeDeserializerRequest + serializers.fileStorage.LinkedAccountCommonModelScopeDeserializerRequest.Raw, + Merge.fileStorage.LinkedAccountCommonModelScopeDeserializerRequest > = core.serialization.object({ commonModels: core.serialization.property( "common_models", diff --git a/src/serialization/resources/filestorage/resources/scopes/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/scopes/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/scopes/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/scopes/client/requests/index.ts diff --git a/src/serialization/resources/filestorage/resources/generateKey/index.ts b/src/serialization/resources/fileStorage/resources/scopes/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/generateKey/index.ts rename to src/serialization/resources/fileStorage/resources/scopes/index.ts diff --git a/src/serialization/resources/filestorage/resources/webhookReceivers/client/index.ts b/src/serialization/resources/fileStorage/resources/webhookReceivers/client/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/webhookReceivers/client/index.ts rename to src/serialization/resources/fileStorage/resources/webhookReceivers/client/index.ts diff --git a/src/serialization/resources/filestorage/resources/webhookReceivers/client/list.ts b/src/serialization/resources/fileStorage/resources/webhookReceivers/client/list.ts similarity index 82% rename from src/serialization/resources/filestorage/resources/webhookReceivers/client/list.ts rename to src/serialization/resources/fileStorage/resources/webhookReceivers/client/list.ts index fbb2cc86c..7dd7201e4 100644 --- a/src/serialization/resources/filestorage/resources/webhookReceivers/client/list.ts +++ b/src/serialization/resources/fileStorage/resources/webhookReceivers/client/list.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../../../index"; import { WebhookReceiver } from "../../../types/WebhookReceiver"; export const Response: core.serialization.Schema< - serializers.filestorage.webhookReceivers.list.Response.Raw, - Merge.filestorage.WebhookReceiver[] + serializers.fileStorage.webhookReceivers.list.Response.Raw, + Merge.fileStorage.WebhookReceiver[] > = core.serialization.list(WebhookReceiver); export declare namespace Response { diff --git a/src/serialization/resources/filestorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts b/src/serialization/resources/fileStorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts similarity index 87% rename from src/serialization/resources/filestorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts rename to src/serialization/resources/fileStorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts index a9c8d9a5c..977a16cab 100644 --- a/src/serialization/resources/filestorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts +++ b/src/serialization/resources/fileStorage/resources/webhookReceivers/client/requests/WebhookReceiverRequest.ts @@ -5,8 +5,8 @@ import * as core from "../../../../../../../core"; import type * as serializers from "../../../../../../index"; export const WebhookReceiverRequest: core.serialization.Schema< - serializers.filestorage.WebhookReceiverRequest.Raw, - Merge.filestorage.WebhookReceiverRequest + serializers.fileStorage.WebhookReceiverRequest.Raw, + Merge.fileStorage.WebhookReceiverRequest > = core.serialization.object({ event: core.serialization.string(), isActive: core.serialization.property("is_active", core.serialization.boolean()), diff --git a/src/serialization/resources/filestorage/resources/webhookReceivers/client/requests/index.ts b/src/serialization/resources/fileStorage/resources/webhookReceivers/client/requests/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/webhookReceivers/client/requests/index.ts rename to src/serialization/resources/fileStorage/resources/webhookReceivers/client/requests/index.ts diff --git a/src/serialization/resources/filestorage/resources/linkToken/index.ts b/src/serialization/resources/fileStorage/resources/webhookReceivers/index.ts similarity index 100% rename from src/serialization/resources/filestorage/resources/linkToken/index.ts rename to src/serialization/resources/fileStorage/resources/webhookReceivers/index.ts diff --git a/src/serialization/resources/filestorage/types/AccountDetails.ts b/src/serialization/resources/fileStorage/types/AccountDetails.ts similarity index 88% rename from src/serialization/resources/filestorage/types/AccountDetails.ts rename to src/serialization/resources/fileStorage/types/AccountDetails.ts index 99ff51a98..533e10839 100644 --- a/src/serialization/resources/filestorage/types/AccountDetails.ts +++ b/src/serialization/resources/fileStorage/types/AccountDetails.ts @@ -3,16 +3,16 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { CategoryEnum } from "./CategoryEnum"; +import { AccountDetailsCategory } from "./AccountDetailsCategory"; export const AccountDetails: core.serialization.ObjectSchema< - serializers.filestorage.AccountDetails.Raw, - Merge.filestorage.AccountDetails + serializers.fileStorage.AccountDetails.Raw, + Merge.fileStorage.AccountDetails > = core.serialization.object({ id: core.serialization.string().optional(), integration: core.serialization.string().optional(), integrationSlug: core.serialization.property("integration_slug", core.serialization.string().optional()), - category: CategoryEnum.optional(), + category: AccountDetailsCategory.optional(), endUserOriginId: core.serialization.property("end_user_origin_id", core.serialization.string().optional()), endUserOrganizationName: core.serialization.property( "end_user_organization_name", @@ -31,7 +31,7 @@ export declare namespace AccountDetails { id?: string | null; integration?: string | null; integration_slug?: string | null; - category?: CategoryEnum.Raw | null; + category?: AccountDetailsCategory.Raw | null; end_user_origin_id?: string | null; end_user_organization_name?: string | null; end_user_email_address?: string | null; diff --git a/src/serialization/resources/filestorage/types/AccountDetailsAndActions.ts b/src/serialization/resources/fileStorage/types/AccountDetailsAndActions.ts similarity index 72% rename from src/serialization/resources/filestorage/types/AccountDetailsAndActions.ts rename to src/serialization/resources/fileStorage/types/AccountDetailsAndActions.ts index fab1ff310..b5f7e98db 100644 --- a/src/serialization/resources/filestorage/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/fileStorage/types/AccountDetailsAndActions.ts @@ -3,17 +3,17 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; +import { AccountDetailsAndActionsCategory } from "./AccountDetailsAndActionsCategory"; import { AccountDetailsAndActionsIntegration } from "./AccountDetailsAndActionsIntegration"; -import { AccountDetailsAndActionsStatusEnum } from "./AccountDetailsAndActionsStatusEnum"; -import { CategoryEnum } from "./CategoryEnum"; +import { AccountDetailsAndActionsStatus } from "./AccountDetailsAndActionsStatus"; export const AccountDetailsAndActions: core.serialization.ObjectSchema< - serializers.filestorage.AccountDetailsAndActions.Raw, - Merge.filestorage.AccountDetailsAndActions + serializers.fileStorage.AccountDetailsAndActions.Raw, + Merge.fileStorage.AccountDetailsAndActions > = core.serialization.object({ id: core.serialization.string(), - category: CategoryEnum.optional(), - status: AccountDetailsAndActionsStatusEnum, + category: AccountDetailsAndActionsCategory.optional(), + status: AccountDetailsAndActionsStatus, statusDetail: core.serialization.property("status_detail", core.serialization.string().optional()), endUserOriginId: core.serialization.property("end_user_origin_id", core.serialization.string().optional()), endUserOrganizationName: core.serialization.property("end_user_organization_name", core.serialization.string()), @@ -24,17 +24,13 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< integration: AccountDetailsAndActionsIntegration.optional(), accountType: core.serialization.property("account_type", core.serialization.string()), completedAt: core.serialization.property("completed_at", core.serialization.date()), - integrationSpecificFields: core.serialization.property( - "integration_specific_fields", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), }); export declare namespace AccountDetailsAndActions { export interface Raw { id: string; - category?: CategoryEnum.Raw | null; - status: AccountDetailsAndActionsStatusEnum.Raw; + category?: AccountDetailsAndActionsCategory.Raw | null; + status: AccountDetailsAndActionsStatus.Raw; status_detail?: string | null; end_user_origin_id?: string | null; end_user_organization_name: string; @@ -45,6 +41,5 @@ export declare namespace AccountDetailsAndActions { integration?: AccountDetailsAndActionsIntegration.Raw | null; account_type: string; completed_at: string; - integration_specific_fields?: Record | null; } } diff --git a/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts new file mode 100644 index 000000000..5cf1ece2e --- /dev/null +++ b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsCategory.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { CategoryEnum } from "./CategoryEnum"; + +export const AccountDetailsAndActionsCategory: core.serialization.Schema< + serializers.fileStorage.AccountDetailsAndActionsCategory.Raw, + Merge.fileStorage.AccountDetailsAndActionsCategory +> = core.serialization.undiscriminatedUnion([CategoryEnum, core.serialization.string()]); + +export declare namespace AccountDetailsAndActionsCategory { + export type Raw = CategoryEnum.Raw | string; +} diff --git a/src/serialization/resources/filestorage/types/AccountDetailsAndActionsIntegration.ts b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsIntegration.ts similarity index 92% rename from src/serialization/resources/filestorage/types/AccountDetailsAndActionsIntegration.ts rename to src/serialization/resources/fileStorage/types/AccountDetailsAndActionsIntegration.ts index 38f81a1b9..d19d296ee 100644 --- a/src/serialization/resources/filestorage/types/AccountDetailsAndActionsIntegration.ts +++ b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsIntegration.ts @@ -7,8 +7,8 @@ import { CategoriesEnum } from "./CategoriesEnum"; import { ModelOperation } from "./ModelOperation"; export const AccountDetailsAndActionsIntegration: core.serialization.ObjectSchema< - serializers.filestorage.AccountDetailsAndActionsIntegration.Raw, - Merge.filestorage.AccountDetailsAndActionsIntegration + serializers.fileStorage.AccountDetailsAndActionsIntegration.Raw, + Merge.fileStorage.AccountDetailsAndActionsIntegration > = core.serialization.object({ name: core.serialization.string(), categories: core.serialization.list(CategoriesEnum), diff --git a/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts new file mode 100644 index 000000000..8508510ab --- /dev/null +++ b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsStatus.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { AccountDetailsAndActionsStatusEnum } from "./AccountDetailsAndActionsStatusEnum"; + +export const AccountDetailsAndActionsStatus: core.serialization.Schema< + serializers.fileStorage.AccountDetailsAndActionsStatus.Raw, + Merge.fileStorage.AccountDetailsAndActionsStatus +> = core.serialization.undiscriminatedUnion([AccountDetailsAndActionsStatusEnum, core.serialization.string()]); + +export declare namespace AccountDetailsAndActionsStatus { + export type Raw = AccountDetailsAndActionsStatusEnum.Raw | string; +} diff --git a/src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsStatusEnum.ts similarity index 81% rename from src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts rename to src/serialization/resources/fileStorage/types/AccountDetailsAndActionsStatusEnum.ts index 5976409cf..772baf016 100644 --- a/src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/serialization/resources/fileStorage/types/AccountDetailsAndActionsStatusEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const AccountDetailsAndActionsStatusEnum: core.serialization.Schema< - serializers.filestorage.AccountDetailsAndActionsStatusEnum.Raw, - Merge.filestorage.AccountDetailsAndActionsStatusEnum + serializers.fileStorage.AccountDetailsAndActionsStatusEnum.Raw, + Merge.fileStorage.AccountDetailsAndActionsStatusEnum > = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED", "IDLE"]); export declare namespace AccountDetailsAndActionsStatusEnum { diff --git a/src/serialization/resources/accounting/types/AccountDetailsCategory.ts b/src/serialization/resources/fileStorage/types/AccountDetailsCategory.ts similarity index 83% rename from src/serialization/resources/accounting/types/AccountDetailsCategory.ts rename to src/serialization/resources/fileStorage/types/AccountDetailsCategory.ts index a811f2f0a..f273029d4 100644 --- a/src/serialization/resources/accounting/types/AccountDetailsCategory.ts +++ b/src/serialization/resources/fileStorage/types/AccountDetailsCategory.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { CategoryEnum } from "./CategoryEnum"; export const AccountDetailsCategory: core.serialization.Schema< - serializers.accounting.AccountDetailsCategory.Raw, - Merge.accounting.AccountDetailsCategory + serializers.fileStorage.AccountDetailsCategory.Raw, + Merge.fileStorage.AccountDetailsCategory > = core.serialization.undiscriminatedUnion([CategoryEnum, core.serialization.string()]); export declare namespace AccountDetailsCategory { diff --git a/src/serialization/resources/filestorage/types/AccountIntegration.ts b/src/serialization/resources/fileStorage/types/AccountIntegration.ts similarity index 95% rename from src/serialization/resources/filestorage/types/AccountIntegration.ts rename to src/serialization/resources/fileStorage/types/AccountIntegration.ts index cb81830b4..95d32722c 100644 --- a/src/serialization/resources/filestorage/types/AccountIntegration.ts +++ b/src/serialization/resources/fileStorage/types/AccountIntegration.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { CategoriesEnum } from "./CategoriesEnum"; export const AccountIntegration: core.serialization.ObjectSchema< - serializers.filestorage.AccountIntegration.Raw, - Merge.filestorage.AccountIntegration + serializers.fileStorage.AccountIntegration.Raw, + Merge.fileStorage.AccountIntegration > = core.serialization.object({ name: core.serialization.string(), abbreviatedName: core.serialization.property("abbreviated_name", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/AccountToken.ts b/src/serialization/resources/fileStorage/types/AccountToken.ts similarity index 89% rename from src/serialization/resources/filestorage/types/AccountToken.ts rename to src/serialization/resources/fileStorage/types/AccountToken.ts index 5ed52e346..4a8a5f5ca 100644 --- a/src/serialization/resources/filestorage/types/AccountToken.ts +++ b/src/serialization/resources/fileStorage/types/AccountToken.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { AccountIntegration } from "./AccountIntegration"; export const AccountToken: core.serialization.ObjectSchema< - serializers.filestorage.AccountToken.Raw, - Merge.filestorage.AccountToken + serializers.fileStorage.AccountToken.Raw, + Merge.fileStorage.AccountToken > = core.serialization.object({ accountToken: core.serialization.property("account_token", core.serialization.string()), integration: AccountIntegration, diff --git a/src/serialization/resources/filestorage/types/AdvancedMetadata.ts b/src/serialization/resources/fileStorage/types/AdvancedMetadata.ts similarity index 92% rename from src/serialization/resources/filestorage/types/AdvancedMetadata.ts rename to src/serialization/resources/fileStorage/types/AdvancedMetadata.ts index e02078c80..398d20026 100644 --- a/src/serialization/resources/filestorage/types/AdvancedMetadata.ts +++ b/src/serialization/resources/fileStorage/types/AdvancedMetadata.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const AdvancedMetadata: core.serialization.ObjectSchema< - serializers.filestorage.AdvancedMetadata.Raw, - Merge.filestorage.AdvancedMetadata + serializers.fileStorage.AdvancedMetadata.Raw, + Merge.fileStorage.AdvancedMetadata > = core.serialization.object({ id: core.serialization.string(), displayName: core.serialization.property("display_name", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/AsyncPassthroughReciept.ts b/src/serialization/resources/fileStorage/types/AsyncPassthroughReciept.ts similarity index 84% rename from src/serialization/resources/filestorage/types/AsyncPassthroughReciept.ts rename to src/serialization/resources/fileStorage/types/AsyncPassthroughReciept.ts index 0174e484e..8a9a7830a 100644 --- a/src/serialization/resources/filestorage/types/AsyncPassthroughReciept.ts +++ b/src/serialization/resources/fileStorage/types/AsyncPassthroughReciept.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const AsyncPassthroughReciept: core.serialization.ObjectSchema< - serializers.filestorage.AsyncPassthroughReciept.Raw, - Merge.filestorage.AsyncPassthroughReciept + serializers.fileStorage.AsyncPassthroughReciept.Raw, + Merge.fileStorage.AsyncPassthroughReciept > = core.serialization.object({ asyncPassthroughReceiptId: core.serialization.property("async_passthrough_receipt_id", core.serialization.string()), }); diff --git a/src/serialization/resources/filestorage/types/AuditLogEvent.ts b/src/serialization/resources/fileStorage/types/AuditLogEvent.ts similarity index 94% rename from src/serialization/resources/filestorage/types/AuditLogEvent.ts rename to src/serialization/resources/fileStorage/types/AuditLogEvent.ts index 968786898..5c996e3a9 100644 --- a/src/serialization/resources/filestorage/types/AuditLogEvent.ts +++ b/src/serialization/resources/fileStorage/types/AuditLogEvent.ts @@ -7,8 +7,8 @@ import { AuditLogEventEventType } from "./AuditLogEventEventType"; import { AuditLogEventRole } from "./AuditLogEventRole"; export const AuditLogEvent: core.serialization.ObjectSchema< - serializers.filestorage.AuditLogEvent.Raw, - Merge.filestorage.AuditLogEvent + serializers.fileStorage.AuditLogEvent.Raw, + Merge.fileStorage.AuditLogEvent > = core.serialization.object({ id: core.serialization.string().optional(), userName: core.serialization.property("user_name", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/AuditLogEventEventType.ts b/src/serialization/resources/fileStorage/types/AuditLogEventEventType.ts similarity index 83% rename from src/serialization/resources/filestorage/types/AuditLogEventEventType.ts rename to src/serialization/resources/fileStorage/types/AuditLogEventEventType.ts index 51dcd7953..4833349b4 100644 --- a/src/serialization/resources/filestorage/types/AuditLogEventEventType.ts +++ b/src/serialization/resources/fileStorage/types/AuditLogEventEventType.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { EventTypeEnum } from "./EventTypeEnum"; export const AuditLogEventEventType: core.serialization.Schema< - serializers.filestorage.AuditLogEventEventType.Raw, - Merge.filestorage.AuditLogEventEventType + serializers.fileStorage.AuditLogEventEventType.Raw, + Merge.fileStorage.AuditLogEventEventType > = core.serialization.undiscriminatedUnion([EventTypeEnum, core.serialization.string()]); export declare namespace AuditLogEventEventType { diff --git a/src/serialization/resources/filestorage/types/AuditLogEventRole.ts b/src/serialization/resources/fileStorage/types/AuditLogEventRole.ts similarity index 84% rename from src/serialization/resources/filestorage/types/AuditLogEventRole.ts rename to src/serialization/resources/fileStorage/types/AuditLogEventRole.ts index fefccd58d..c81f4279f 100644 --- a/src/serialization/resources/filestorage/types/AuditLogEventRole.ts +++ b/src/serialization/resources/fileStorage/types/AuditLogEventRole.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { RoleEnum } from "./RoleEnum"; export const AuditLogEventRole: core.serialization.Schema< - serializers.filestorage.AuditLogEventRole.Raw, - Merge.filestorage.AuditLogEventRole + serializers.fileStorage.AuditLogEventRole.Raw, + Merge.fileStorage.AuditLogEventRole > = core.serialization.undiscriminatedUnion([RoleEnum, core.serialization.string()]); export declare namespace AuditLogEventRole { diff --git a/src/serialization/resources/filestorage/types/AvailableActions.ts b/src/serialization/resources/fileStorage/types/AvailableActions.ts similarity index 91% rename from src/serialization/resources/filestorage/types/AvailableActions.ts rename to src/serialization/resources/fileStorage/types/AvailableActions.ts index d5d1bd9f8..1010cd7b4 100644 --- a/src/serialization/resources/filestorage/types/AvailableActions.ts +++ b/src/serialization/resources/fileStorage/types/AvailableActions.ts @@ -7,8 +7,8 @@ import { AccountIntegration } from "./AccountIntegration"; import { ModelOperation } from "./ModelOperation"; export const AvailableActions: core.serialization.ObjectSchema< - serializers.filestorage.AvailableActions.Raw, - Merge.filestorage.AvailableActions + serializers.fileStorage.AvailableActions.Raw, + Merge.fileStorage.AvailableActions > = core.serialization.object({ integration: AccountIntegration, passthroughAvailable: core.serialization.property("passthrough_available", core.serialization.boolean()), diff --git a/src/serialization/resources/filestorage/types/CategoriesEnum.ts b/src/serialization/resources/fileStorage/types/CategoriesEnum.ts similarity index 85% rename from src/serialization/resources/filestorage/types/CategoriesEnum.ts rename to src/serialization/resources/fileStorage/types/CategoriesEnum.ts index 86ecebcbb..7af9756ba 100644 --- a/src/serialization/resources/filestorage/types/CategoriesEnum.ts +++ b/src/serialization/resources/fileStorage/types/CategoriesEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const CategoriesEnum: core.serialization.Schema< - serializers.filestorage.CategoriesEnum.Raw, - Merge.filestorage.CategoriesEnum + serializers.fileStorage.CategoriesEnum.Raw, + Merge.fileStorage.CategoriesEnum > = core.serialization.enum_(["hris", "ats", "accounting", "ticketing", "crm", "mktg", "filestorage"]); export declare namespace CategoriesEnum { diff --git a/src/serialization/resources/filestorage/types/CategoryEnum.ts b/src/serialization/resources/fileStorage/types/CategoryEnum.ts similarity index 86% rename from src/serialization/resources/filestorage/types/CategoryEnum.ts rename to src/serialization/resources/fileStorage/types/CategoryEnum.ts index 5e10be0ca..83e0d8e80 100644 --- a/src/serialization/resources/filestorage/types/CategoryEnum.ts +++ b/src/serialization/resources/fileStorage/types/CategoryEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const CategoryEnum: core.serialization.Schema< - serializers.filestorage.CategoryEnum.Raw, - Merge.filestorage.CategoryEnum + serializers.fileStorage.CategoryEnum.Raw, + Merge.fileStorage.CategoryEnum > = core.serialization.enum_(["hris", "ats", "accounting", "ticketing", "crm", "mktg", "filestorage"]); export declare namespace CategoryEnum { diff --git a/src/serialization/resources/filestorage/types/CommonModelScopeApi.ts b/src/serialization/resources/fileStorage/types/CommonModelScopeApi.ts similarity index 88% rename from src/serialization/resources/filestorage/types/CommonModelScopeApi.ts rename to src/serialization/resources/fileStorage/types/CommonModelScopeApi.ts index 684498ab6..2077536da 100644 --- a/src/serialization/resources/filestorage/types/CommonModelScopeApi.ts +++ b/src/serialization/resources/fileStorage/types/CommonModelScopeApi.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { IndividualCommonModelScopeDeserializer } from "./IndividualCommonModelScopeDeserializer"; export const CommonModelScopeApi: core.serialization.ObjectSchema< - serializers.filestorage.CommonModelScopeApi.Raw, - Merge.filestorage.CommonModelScopeApi + serializers.fileStorage.CommonModelScopeApi.Raw, + Merge.fileStorage.CommonModelScopeApi > = core.serialization.object({ commonModels: core.serialization.property( "common_models", diff --git a/src/serialization/resources/filestorage/types/CommonModelScopesBodyRequest.ts b/src/serialization/resources/fileStorage/types/CommonModelScopesBodyRequest.ts similarity index 89% rename from src/serialization/resources/filestorage/types/CommonModelScopesBodyRequest.ts rename to src/serialization/resources/fileStorage/types/CommonModelScopesBodyRequest.ts index e3234f5b1..361f6b904 100644 --- a/src/serialization/resources/filestorage/types/CommonModelScopesBodyRequest.ts +++ b/src/serialization/resources/fileStorage/types/CommonModelScopesBodyRequest.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { EnabledActionsEnum } from "./EnabledActionsEnum"; export const CommonModelScopesBodyRequest: core.serialization.ObjectSchema< - serializers.filestorage.CommonModelScopesBodyRequest.Raw, - Merge.filestorage.CommonModelScopesBodyRequest + serializers.fileStorage.CommonModelScopesBodyRequest.Raw, + Merge.fileStorage.CommonModelScopesBodyRequest > = core.serialization.object({ modelId: core.serialization.property("model_id", core.serialization.string()), enabledActions: core.serialization.property("enabled_actions", core.serialization.list(EnabledActionsEnum)), diff --git a/src/serialization/resources/filestorage/types/DataPassthroughRequest.ts b/src/serialization/resources/fileStorage/types/DataPassthroughRequest.ts similarity index 94% rename from src/serialization/resources/filestorage/types/DataPassthroughRequest.ts rename to src/serialization/resources/fileStorage/types/DataPassthroughRequest.ts index d809cd7e5..68fbd014d 100644 --- a/src/serialization/resources/filestorage/types/DataPassthroughRequest.ts +++ b/src/serialization/resources/fileStorage/types/DataPassthroughRequest.ts @@ -8,8 +8,8 @@ import { MultipartFormFieldRequest } from "./MultipartFormFieldRequest"; import { RequestFormatEnum } from "./RequestFormatEnum"; export const DataPassthroughRequest: core.serialization.ObjectSchema< - serializers.filestorage.DataPassthroughRequest.Raw, - Merge.filestorage.DataPassthroughRequest + serializers.fileStorage.DataPassthroughRequest.Raw, + Merge.fileStorage.DataPassthroughRequest > = core.serialization.object({ method: MethodEnum, path: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/DebugModeLog.ts b/src/serialization/resources/fileStorage/types/DebugModeLog.ts similarity index 90% rename from src/serialization/resources/filestorage/types/DebugModeLog.ts rename to src/serialization/resources/fileStorage/types/DebugModeLog.ts index 1b58d6ebe..5dab2925e 100644 --- a/src/serialization/resources/filestorage/types/DebugModeLog.ts +++ b/src/serialization/resources/fileStorage/types/DebugModeLog.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { DebugModelLogSummary } from "./DebugModelLogSummary"; export const DebugModeLog: core.serialization.ObjectSchema< - serializers.filestorage.DebugModeLog.Raw, - Merge.filestorage.DebugModeLog + serializers.fileStorage.DebugModeLog.Raw, + Merge.fileStorage.DebugModeLog > = core.serialization.object({ logId: core.serialization.property("log_id", core.serialization.string()), dashboardView: core.serialization.property("dashboard_view", core.serialization.string()), diff --git a/src/serialization/resources/filestorage/types/DebugModelLogSummary.ts b/src/serialization/resources/fileStorage/types/DebugModelLogSummary.ts similarity index 86% rename from src/serialization/resources/filestorage/types/DebugModelLogSummary.ts rename to src/serialization/resources/fileStorage/types/DebugModelLogSummary.ts index 4aabf346b..4d4df09e2 100644 --- a/src/serialization/resources/filestorage/types/DebugModelLogSummary.ts +++ b/src/serialization/resources/fileStorage/types/DebugModelLogSummary.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const DebugModelLogSummary: core.serialization.ObjectSchema< - serializers.filestorage.DebugModelLogSummary.Raw, - Merge.filestorage.DebugModelLogSummary + serializers.fileStorage.DebugModelLogSummary.Raw, + Merge.fileStorage.DebugModelLogSummary > = core.serialization.object({ url: core.serialization.string(), method: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/DownloadRequestMeta.ts b/src/serialization/resources/fileStorage/types/DownloadRequestMeta.ts similarity index 88% rename from src/serialization/resources/filestorage/types/DownloadRequestMeta.ts rename to src/serialization/resources/fileStorage/types/DownloadRequestMeta.ts index 0915e49ea..04a0c06df 100644 --- a/src/serialization/resources/filestorage/types/DownloadRequestMeta.ts +++ b/src/serialization/resources/fileStorage/types/DownloadRequestMeta.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const DownloadRequestMeta: core.serialization.ObjectSchema< - serializers.filestorage.DownloadRequestMeta.Raw, - Merge.filestorage.DownloadRequestMeta + serializers.fileStorage.DownloadRequestMeta.Raw, + Merge.fileStorage.DownloadRequestMeta > = core.serialization.object({ id: core.serialization.string(), url: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/Drive.ts b/src/serialization/resources/fileStorage/types/Drive.ts similarity index 97% rename from src/serialization/resources/filestorage/types/Drive.ts rename to src/serialization/resources/fileStorage/types/Drive.ts index 8748fe30d..cb6163455 100644 --- a/src/serialization/resources/filestorage/types/Drive.ts +++ b/src/serialization/resources/fileStorage/types/Drive.ts @@ -5,7 +5,7 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { RemoteData } from "./RemoteData"; -export const Drive: core.serialization.ObjectSchema = +export const Drive: core.serialization.ObjectSchema = core.serialization.object({ id: core.serialization.string().optional(), remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/EnabledActionsEnum.ts b/src/serialization/resources/fileStorage/types/EnabledActionsEnum.ts similarity index 81% rename from src/serialization/resources/filestorage/types/EnabledActionsEnum.ts rename to src/serialization/resources/fileStorage/types/EnabledActionsEnum.ts index 1642422e2..fd82f6113 100644 --- a/src/serialization/resources/filestorage/types/EnabledActionsEnum.ts +++ b/src/serialization/resources/fileStorage/types/EnabledActionsEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const EnabledActionsEnum: core.serialization.Schema< - serializers.filestorage.EnabledActionsEnum.Raw, - Merge.filestorage.EnabledActionsEnum + serializers.fileStorage.EnabledActionsEnum.Raw, + Merge.fileStorage.EnabledActionsEnum > = core.serialization.enum_(["READ", "WRITE"]); export declare namespace EnabledActionsEnum { diff --git a/src/serialization/resources/filestorage/types/EncodingEnum.ts b/src/serialization/resources/fileStorage/types/EncodingEnum.ts similarity index 84% rename from src/serialization/resources/filestorage/types/EncodingEnum.ts rename to src/serialization/resources/fileStorage/types/EncodingEnum.ts index bd51e632e..52bd9798a 100644 --- a/src/serialization/resources/filestorage/types/EncodingEnum.ts +++ b/src/serialization/resources/fileStorage/types/EncodingEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const EncodingEnum: core.serialization.Schema< - serializers.filestorage.EncodingEnum.Raw, - Merge.filestorage.EncodingEnum + serializers.fileStorage.EncodingEnum.Raw, + Merge.fileStorage.EncodingEnum > = core.serialization.enum_(["RAW", "BASE64", "GZIP_BASE64"]); export declare namespace EncodingEnum { diff --git a/src/serialization/resources/filestorage/types/ErrorValidationProblem.ts b/src/serialization/resources/fileStorage/types/ErrorValidationProblem.ts similarity index 89% rename from src/serialization/resources/filestorage/types/ErrorValidationProblem.ts rename to src/serialization/resources/fileStorage/types/ErrorValidationProblem.ts index 615889380..5e97c567d 100644 --- a/src/serialization/resources/filestorage/types/ErrorValidationProblem.ts +++ b/src/serialization/resources/fileStorage/types/ErrorValidationProblem.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { ValidationProblemSource } from "./ValidationProblemSource"; export const ErrorValidationProblem: core.serialization.ObjectSchema< - serializers.filestorage.ErrorValidationProblem.Raw, - Merge.filestorage.ErrorValidationProblem + serializers.fileStorage.ErrorValidationProblem.Raw, + Merge.fileStorage.ErrorValidationProblem > = core.serialization.object({ source: ValidationProblemSource.optional(), title: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/EventTypeEnum.ts b/src/serialization/resources/fileStorage/types/EventTypeEnum.ts similarity index 97% rename from src/serialization/resources/filestorage/types/EventTypeEnum.ts rename to src/serialization/resources/fileStorage/types/EventTypeEnum.ts index aa0a65aa4..69ab534f4 100644 --- a/src/serialization/resources/filestorage/types/EventTypeEnum.ts +++ b/src/serialization/resources/fileStorage/types/EventTypeEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const EventTypeEnum: core.serialization.Schema< - serializers.filestorage.EventTypeEnum.Raw, - Merge.filestorage.EventTypeEnum + serializers.fileStorage.EventTypeEnum.Raw, + Merge.fileStorage.EventTypeEnum > = core.serialization.enum_([ "CREATED_REMOTE_PRODUCTION_API_KEY", "DELETED_REMOTE_PRODUCTION_API_KEY", diff --git a/src/serialization/resources/filestorage/types/ExternalTargetFieldApi.ts b/src/serialization/resources/fileStorage/types/ExternalTargetFieldApi.ts similarity index 87% rename from src/serialization/resources/filestorage/types/ExternalTargetFieldApi.ts rename to src/serialization/resources/fileStorage/types/ExternalTargetFieldApi.ts index 666bf6603..66d23ddd4 100644 --- a/src/serialization/resources/filestorage/types/ExternalTargetFieldApi.ts +++ b/src/serialization/resources/fileStorage/types/ExternalTargetFieldApi.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const ExternalTargetFieldApi: core.serialization.ObjectSchema< - serializers.filestorage.ExternalTargetFieldApi.Raw, - Merge.filestorage.ExternalTargetFieldApi + serializers.fileStorage.ExternalTargetFieldApi.Raw, + Merge.fileStorage.ExternalTargetFieldApi > = core.serialization.object({ name: core.serialization.string().optional(), description: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/ExternalTargetFieldApiResponse.ts b/src/serialization/resources/fileStorage/types/ExternalTargetFieldApiResponse.ts similarity index 91% rename from src/serialization/resources/filestorage/types/ExternalTargetFieldApiResponse.ts rename to src/serialization/resources/fileStorage/types/ExternalTargetFieldApiResponse.ts index 14c8f5e1a..847660753 100644 --- a/src/serialization/resources/filestorage/types/ExternalTargetFieldApiResponse.ts +++ b/src/serialization/resources/fileStorage/types/ExternalTargetFieldApiResponse.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { ExternalTargetFieldApi } from "./ExternalTargetFieldApi"; export const ExternalTargetFieldApiResponse: core.serialization.ObjectSchema< - serializers.filestorage.ExternalTargetFieldApiResponse.Raw, - Merge.filestorage.ExternalTargetFieldApiResponse + serializers.fileStorage.ExternalTargetFieldApiResponse.Raw, + Merge.fileStorage.ExternalTargetFieldApiResponse > = core.serialization.object({ file: core.serialization.property("File", core.serialization.list(ExternalTargetFieldApi).optional()), folder: core.serialization.property("Folder", core.serialization.list(ExternalTargetFieldApi).optional()), diff --git a/src/serialization/resources/filestorage/types/FieldMappingApiInstance.ts b/src/serialization/resources/fileStorage/types/FieldMappingApiInstance.ts similarity index 92% rename from src/serialization/resources/filestorage/types/FieldMappingApiInstance.ts rename to src/serialization/resources/fileStorage/types/FieldMappingApiInstance.ts index 700f3d928..6d5aa25c2 100644 --- a/src/serialization/resources/filestorage/types/FieldMappingApiInstance.ts +++ b/src/serialization/resources/fileStorage/types/FieldMappingApiInstance.ts @@ -7,8 +7,8 @@ import { FieldMappingApiInstanceRemoteField } from "./FieldMappingApiInstanceRem import { FieldMappingApiInstanceTargetField } from "./FieldMappingApiInstanceTargetField"; export const FieldMappingApiInstance: core.serialization.ObjectSchema< - serializers.filestorage.FieldMappingApiInstance.Raw, - Merge.filestorage.FieldMappingApiInstance + serializers.fileStorage.FieldMappingApiInstance.Raw, + Merge.fileStorage.FieldMappingApiInstance > = core.serialization.object({ id: core.serialization.string().optional(), isIntegrationWide: core.serialization.property("is_integration_wide", core.serialization.boolean().optional()), diff --git a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteField.ts b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceRemoteField.ts similarity index 90% rename from src/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteField.ts rename to src/serialization/resources/fileStorage/types/FieldMappingApiInstanceRemoteField.ts index 09f83008d..0921c51a8 100644 --- a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteField.ts +++ b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceRemoteField.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo } from "./FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo"; export const FieldMappingApiInstanceRemoteField: core.serialization.ObjectSchema< - serializers.filestorage.FieldMappingApiInstanceRemoteField.Raw, - Merge.filestorage.FieldMappingApiInstanceRemoteField + serializers.fileStorage.FieldMappingApiInstanceRemoteField.Raw, + Merge.fileStorage.FieldMappingApiInstanceRemoteField > = core.serialization.object({ remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string().optional()), schema: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), diff --git a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts similarity index 87% rename from src/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts rename to src/serialization/resources/fileStorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts index 79bc80693..b735f4ed3 100644 --- a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts +++ b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo: core.serialization.ObjectSchema< - serializers.filestorage.FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.Raw, - Merge.filestorage.FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo + serializers.fileStorage.FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.Raw, + Merge.fileStorage.FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo > = core.serialization.object({ method: core.serialization.string().optional(), urlPath: core.serialization.property("url_path", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceResponse.ts b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceResponse.ts similarity index 91% rename from src/serialization/resources/filestorage/types/FieldMappingApiInstanceResponse.ts rename to src/serialization/resources/fileStorage/types/FieldMappingApiInstanceResponse.ts index 9af67e117..cc5d4d2ee 100644 --- a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceResponse.ts +++ b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceResponse.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { FieldMappingApiInstance } from "./FieldMappingApiInstance"; export const FieldMappingApiInstanceResponse: core.serialization.ObjectSchema< - serializers.filestorage.FieldMappingApiInstanceResponse.Raw, - Merge.filestorage.FieldMappingApiInstanceResponse + serializers.fileStorage.FieldMappingApiInstanceResponse.Raw, + Merge.fileStorage.FieldMappingApiInstanceResponse > = core.serialization.object({ file: core.serialization.property("File", core.serialization.list(FieldMappingApiInstance).optional()), folder: core.serialization.property("Folder", core.serialization.list(FieldMappingApiInstance).optional()), diff --git a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceTargetField.ts b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceTargetField.ts similarity index 85% rename from src/serialization/resources/filestorage/types/FieldMappingApiInstanceTargetField.ts rename to src/serialization/resources/fileStorage/types/FieldMappingApiInstanceTargetField.ts index 381c9fe9a..5e5a2cc25 100644 --- a/src/serialization/resources/filestorage/types/FieldMappingApiInstanceTargetField.ts +++ b/src/serialization/resources/fileStorage/types/FieldMappingApiInstanceTargetField.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const FieldMappingApiInstanceTargetField: core.serialization.ObjectSchema< - serializers.filestorage.FieldMappingApiInstanceTargetField.Raw, - Merge.filestorage.FieldMappingApiInstanceTargetField + serializers.fileStorage.FieldMappingApiInstanceTargetField.Raw, + Merge.fileStorage.FieldMappingApiInstanceTargetField > = core.serialization.object({ name: core.serialization.string(), description: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/FieldMappingInstanceResponse.ts b/src/serialization/resources/fileStorage/types/FieldMappingInstanceResponse.ts similarity index 90% rename from src/serialization/resources/filestorage/types/FieldMappingInstanceResponse.ts rename to src/serialization/resources/fileStorage/types/FieldMappingInstanceResponse.ts index 37bb4af0a..3852dd134 100644 --- a/src/serialization/resources/filestorage/types/FieldMappingInstanceResponse.ts +++ b/src/serialization/resources/fileStorage/types/FieldMappingInstanceResponse.ts @@ -9,8 +9,8 @@ import { FieldMappingApiInstance } from "./FieldMappingApiInstance"; import { WarningValidationProblem } from "./WarningValidationProblem"; export const FieldMappingInstanceResponse: core.serialization.ObjectSchema< - serializers.filestorage.FieldMappingInstanceResponse.Raw, - Merge.filestorage.FieldMappingInstanceResponse + serializers.fileStorage.FieldMappingInstanceResponse.Raw, + Merge.fileStorage.FieldMappingInstanceResponse > = core.serialization.object({ model: FieldMappingApiInstance, warnings: core.serialization.list(WarningValidationProblem), diff --git a/src/serialization/resources/filestorage/types/FieldPermissionDeserializer.ts b/src/serialization/resources/fileStorage/types/FieldPermissionDeserializer.ts similarity index 88% rename from src/serialization/resources/filestorage/types/FieldPermissionDeserializer.ts rename to src/serialization/resources/fileStorage/types/FieldPermissionDeserializer.ts index 8e85c38b2..6da17f04a 100644 --- a/src/serialization/resources/filestorage/types/FieldPermissionDeserializer.ts +++ b/src/serialization/resources/fileStorage/types/FieldPermissionDeserializer.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const FieldPermissionDeserializer: core.serialization.ObjectSchema< - serializers.filestorage.FieldPermissionDeserializer.Raw, - Merge.filestorage.FieldPermissionDeserializer + serializers.fileStorage.FieldPermissionDeserializer.Raw, + Merge.fileStorage.FieldPermissionDeserializer > = core.serialization.object({ enabledFields: core.serialization.property( "enabled_fields", diff --git a/src/serialization/resources/filestorage/types/FieldPermissionDeserializerRequest.ts b/src/serialization/resources/fileStorage/types/FieldPermissionDeserializerRequest.ts similarity index 87% rename from src/serialization/resources/filestorage/types/FieldPermissionDeserializerRequest.ts rename to src/serialization/resources/fileStorage/types/FieldPermissionDeserializerRequest.ts index 25e8d6021..ac916f73a 100644 --- a/src/serialization/resources/filestorage/types/FieldPermissionDeserializerRequest.ts +++ b/src/serialization/resources/fileStorage/types/FieldPermissionDeserializerRequest.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const FieldPermissionDeserializerRequest: core.serialization.ObjectSchema< - serializers.filestorage.FieldPermissionDeserializerRequest.Raw, - Merge.filestorage.FieldPermissionDeserializerRequest + serializers.fileStorage.FieldPermissionDeserializerRequest.Raw, + Merge.fileStorage.FieldPermissionDeserializerRequest > = core.serialization.object({ enabledFields: core.serialization.property( "enabled_fields", diff --git a/src/serialization/resources/filestorage/types/FileDrive.ts b/src/serialization/resources/fileStorage/types/FileDrive.ts similarity index 89% rename from src/serialization/resources/filestorage/types/FileDrive.ts rename to src/serialization/resources/fileStorage/types/FileDrive.ts index f7bbb1514..de40eea76 100644 --- a/src/serialization/resources/filestorage/types/FileDrive.ts +++ b/src/serialization/resources/fileStorage/types/FileDrive.ts @@ -5,7 +5,7 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { Drive } from "./Drive"; -export const FileDrive: core.serialization.Schema = +export const FileDrive: core.serialization.Schema = core.serialization.undiscriminatedUnion([core.serialization.string(), Drive]); export declare namespace FileDrive { diff --git a/src/serialization/resources/filestorage/types/FileFolder.ts b/src/serialization/resources/fileStorage/types/FileFolder.ts similarity index 65% rename from src/serialization/resources/filestorage/types/FileFolder.ts rename to src/serialization/resources/fileStorage/types/FileFolder.ts index a87652954..865684788 100644 --- a/src/serialization/resources/filestorage/types/FileFolder.ts +++ b/src/serialization/resources/fileStorage/types/FileFolder.ts @@ -5,13 +5,13 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const FileFolder: core.serialization.Schema< - serializers.filestorage.FileFolder.Raw, - Merge.filestorage.FileFolder + serializers.fileStorage.FileFolder.Raw, + Merge.fileStorage.FileFolder > = core.serialization.undiscriminatedUnion([ core.serialization.string(), - core.serialization.lazyObject(() => serializers.filestorage.Folder), + core.serialization.lazyObject(() => serializers.fileStorage.Folder), ]); export declare namespace FileFolder { - export type Raw = string | serializers.filestorage.Folder.Raw; + export type Raw = string | serializers.fileStorage.Folder.Raw; } diff --git a/src/serialization/resources/filestorage/types/FilePermissions.ts b/src/serialization/resources/fileStorage/types/FilePermissions.ts similarity index 61% rename from src/serialization/resources/filestorage/types/FilePermissions.ts rename to src/serialization/resources/fileStorage/types/FilePermissions.ts index 353957ef9..651c8252c 100644 --- a/src/serialization/resources/filestorage/types/FilePermissions.ts +++ b/src/serialization/resources/fileStorage/types/FilePermissions.ts @@ -3,18 +3,18 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { FilePermissionsItem } from "./FilePermissionsItem"; +import { FilePermissionsTwoItem } from "./FilePermissionsTwoItem"; import { Permission } from "./Permission"; export const FilePermissions: core.serialization.Schema< - serializers.filestorage.FilePermissions.Raw, - Merge.filestorage.FilePermissions + serializers.fileStorage.FilePermissions.Raw, + Merge.fileStorage.FilePermissions > = core.serialization.undiscriminatedUnion([ core.serialization.string(), Permission, - core.serialization.list(FilePermissionsItem), + core.serialization.list(FilePermissionsTwoItem), ]); export declare namespace FilePermissions { - export type Raw = string | Permission.Raw | FilePermissionsItem.Raw[]; + export type Raw = string | Permission.Raw | FilePermissionsTwoItem.Raw[]; } diff --git a/src/serialization/resources/filestorage/types/FilePermissionsItem.ts b/src/serialization/resources/fileStorage/types/FilePermissionsTwoItem.ts similarity index 64% rename from src/serialization/resources/filestorage/types/FilePermissionsItem.ts rename to src/serialization/resources/fileStorage/types/FilePermissionsTwoItem.ts index e1a935d38..c6bd211fb 100644 --- a/src/serialization/resources/filestorage/types/FilePermissionsItem.ts +++ b/src/serialization/resources/fileStorage/types/FilePermissionsTwoItem.ts @@ -5,11 +5,11 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { Permission } from "./Permission"; -export const FilePermissionsItem: core.serialization.Schema< - serializers.filestorage.FilePermissionsItem.Raw, - Merge.filestorage.FilePermissionsItem +export const FilePermissionsTwoItem: core.serialization.Schema< + serializers.fileStorage.FilePermissionsTwoItem.Raw, + Merge.fileStorage.FilePermissionsTwoItem > = core.serialization.undiscriminatedUnion([core.serialization.string(), Permission]); -export declare namespace FilePermissionsItem { +export declare namespace FilePermissionsTwoItem { export type Raw = string | Permission.Raw; } diff --git a/src/serialization/resources/filestorage/types/FileRequest.ts b/src/serialization/resources/fileStorage/types/FileRequest.ts similarity index 96% rename from src/serialization/resources/filestorage/types/FileRequest.ts rename to src/serialization/resources/fileStorage/types/FileRequest.ts index b630b8c97..81e62381f 100644 --- a/src/serialization/resources/filestorage/types/FileRequest.ts +++ b/src/serialization/resources/fileStorage/types/FileRequest.ts @@ -8,8 +8,8 @@ import { FileRequestFolder } from "./FileRequestFolder"; import { FileRequestPermissions } from "./FileRequestPermissions"; export const FileRequest: core.serialization.ObjectSchema< - serializers.filestorage.FileRequest.Raw, - Merge.filestorage.FileRequest + serializers.fileStorage.FileRequest.Raw, + Merge.fileStorage.FileRequest > = core.serialization.object({ name: core.serialization.string().optional(), fileUrl: core.serialization.property("file_url", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/FileRequestDrive.ts b/src/serialization/resources/fileStorage/types/FileRequestDrive.ts similarity index 84% rename from src/serialization/resources/filestorage/types/FileRequestDrive.ts rename to src/serialization/resources/fileStorage/types/FileRequestDrive.ts index cbae3b157..44142d689 100644 --- a/src/serialization/resources/filestorage/types/FileRequestDrive.ts +++ b/src/serialization/resources/fileStorage/types/FileRequestDrive.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { Drive } from "./Drive"; export const FileRequestDrive: core.serialization.Schema< - serializers.filestorage.FileRequestDrive.Raw, - Merge.filestorage.FileRequestDrive + serializers.fileStorage.FileRequestDrive.Raw, + Merge.fileStorage.FileRequestDrive > = core.serialization.undiscriminatedUnion([core.serialization.string(), Drive]); export declare namespace FileRequestDrive { diff --git a/src/serialization/resources/filestorage/types/FileRequestFolder.ts b/src/serialization/resources/fileStorage/types/FileRequestFolder.ts similarity index 65% rename from src/serialization/resources/filestorage/types/FileRequestFolder.ts rename to src/serialization/resources/fileStorage/types/FileRequestFolder.ts index 29a95ac5a..d67a05f47 100644 --- a/src/serialization/resources/filestorage/types/FileRequestFolder.ts +++ b/src/serialization/resources/fileStorage/types/FileRequestFolder.ts @@ -5,13 +5,13 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const FileRequestFolder: core.serialization.Schema< - serializers.filestorage.FileRequestFolder.Raw, - Merge.filestorage.FileRequestFolder + serializers.fileStorage.FileRequestFolder.Raw, + Merge.fileStorage.FileRequestFolder > = core.serialization.undiscriminatedUnion([ core.serialization.string(), - core.serialization.lazyObject(() => serializers.filestorage.Folder), + core.serialization.lazyObject(() => serializers.fileStorage.Folder), ]); export declare namespace FileRequestFolder { - export type Raw = string | serializers.filestorage.Folder.Raw; + export type Raw = string | serializers.fileStorage.Folder.Raw; } diff --git a/src/serialization/resources/filestorage/types/FileRequestPermissions.ts b/src/serialization/resources/fileStorage/types/FileRequestPermissions.ts similarity index 67% rename from src/serialization/resources/filestorage/types/FileRequestPermissions.ts rename to src/serialization/resources/fileStorage/types/FileRequestPermissions.ts index 2851774c2..260096803 100644 --- a/src/serialization/resources/filestorage/types/FileRequestPermissions.ts +++ b/src/serialization/resources/fileStorage/types/FileRequestPermissions.ts @@ -3,18 +3,18 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { FileRequestPermissionsItem } from "./FileRequestPermissionsItem"; +import { FileRequestPermissionsTwoItem } from "./FileRequestPermissionsTwoItem"; import { PermissionRequest } from "./PermissionRequest"; export const FileRequestPermissions: core.serialization.Schema< - serializers.filestorage.FileRequestPermissions.Raw, - Merge.filestorage.FileRequestPermissions + serializers.fileStorage.FileRequestPermissions.Raw, + Merge.fileStorage.FileRequestPermissions > = core.serialization.undiscriminatedUnion([ core.serialization.string(), PermissionRequest, - core.serialization.list(FileRequestPermissionsItem), + core.serialization.list(FileRequestPermissionsTwoItem), ]); export declare namespace FileRequestPermissions { - export type Raw = string | PermissionRequest.Raw | FileRequestPermissionsItem.Raw[]; + export type Raw = string | PermissionRequest.Raw | FileRequestPermissionsTwoItem.Raw[]; } diff --git a/src/serialization/resources/filestorage/types/FileRequestPermissionsItem.ts b/src/serialization/resources/fileStorage/types/FileRequestPermissionsTwoItem.ts similarity index 63% rename from src/serialization/resources/filestorage/types/FileRequestPermissionsItem.ts rename to src/serialization/resources/fileStorage/types/FileRequestPermissionsTwoItem.ts index fcc833efd..3d82e4d8c 100644 --- a/src/serialization/resources/filestorage/types/FileRequestPermissionsItem.ts +++ b/src/serialization/resources/fileStorage/types/FileRequestPermissionsTwoItem.ts @@ -5,11 +5,11 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { PermissionRequest } from "./PermissionRequest"; -export const FileRequestPermissionsItem: core.serialization.Schema< - serializers.filestorage.FileRequestPermissionsItem.Raw, - Merge.filestorage.FileRequestPermissionsItem +export const FileRequestPermissionsTwoItem: core.serialization.Schema< + serializers.fileStorage.FileRequestPermissionsTwoItem.Raw, + Merge.fileStorage.FileRequestPermissionsTwoItem > = core.serialization.undiscriminatedUnion([core.serialization.string(), PermissionRequest]); -export declare namespace FileRequestPermissionsItem { +export declare namespace FileRequestPermissionsTwoItem { export type Raw = string | PermissionRequest.Raw; } diff --git a/src/serialization/resources/filestorage/types/FileStorageFileResponse.ts b/src/serialization/resources/fileStorage/types/FileStorageFileResponse.ts similarity index 90% rename from src/serialization/resources/filestorage/types/FileStorageFileResponse.ts rename to src/serialization/resources/fileStorage/types/FileStorageFileResponse.ts index 3549fb89f..a20c5b73e 100644 --- a/src/serialization/resources/filestorage/types/FileStorageFileResponse.ts +++ b/src/serialization/resources/fileStorage/types/FileStorageFileResponse.ts @@ -9,8 +9,8 @@ import { File_ } from "./File_"; import { WarningValidationProblem } from "./WarningValidationProblem"; export const FileStorageFileResponse: core.serialization.ObjectSchema< - serializers.filestorage.FileStorageFileResponse.Raw, - Merge.filestorage.FileStorageFileResponse + serializers.fileStorage.FileStorageFileResponse.Raw, + Merge.fileStorage.FileStorageFileResponse > = core.serialization.object({ model: File_, warnings: core.serialization.list(WarningValidationProblem), diff --git a/src/serialization/resources/filestorage/types/FileStorageFolderResponse.ts b/src/serialization/resources/fileStorage/types/FileStorageFolderResponse.ts similarity index 80% rename from src/serialization/resources/filestorage/types/FileStorageFolderResponse.ts rename to src/serialization/resources/fileStorage/types/FileStorageFolderResponse.ts index 388ce35a3..39c6c2cc6 100644 --- a/src/serialization/resources/filestorage/types/FileStorageFolderResponse.ts +++ b/src/serialization/resources/fileStorage/types/FileStorageFolderResponse.ts @@ -8,10 +8,10 @@ import { ErrorValidationProblem } from "./ErrorValidationProblem"; import { WarningValidationProblem } from "./WarningValidationProblem"; export const FileStorageFolderResponse: core.serialization.ObjectSchema< - serializers.filestorage.FileStorageFolderResponse.Raw, - Merge.filestorage.FileStorageFolderResponse + serializers.fileStorage.FileStorageFolderResponse.Raw, + Merge.fileStorage.FileStorageFolderResponse > = core.serialization.object({ - model: core.serialization.lazyObject(() => serializers.filestorage.Folder), + model: core.serialization.lazyObject(() => serializers.fileStorage.Folder), warnings: core.serialization.list(WarningValidationProblem), errors: core.serialization.list(ErrorValidationProblem), logs: core.serialization.list(DebugModeLog).optional(), @@ -19,7 +19,7 @@ export const FileStorageFolderResponse: core.serialization.ObjectSchema< export declare namespace FileStorageFolderResponse { export interface Raw { - model: serializers.filestorage.Folder.Raw; + model: serializers.fileStorage.Folder.Raw; warnings: WarningValidationProblem.Raw[]; errors: ErrorValidationProblem.Raw[]; logs?: DebugModeLog.Raw[] | null; diff --git a/src/serialization/resources/filestorage/types/File_.ts b/src/serialization/resources/fileStorage/types/File_.ts similarity index 98% rename from src/serialization/resources/filestorage/types/File_.ts rename to src/serialization/resources/fileStorage/types/File_.ts index 86c7ea80c..2a1aa9709 100644 --- a/src/serialization/resources/filestorage/types/File_.ts +++ b/src/serialization/resources/fileStorage/types/File_.ts @@ -8,7 +8,7 @@ import { FileFolder } from "./FileFolder"; import { FilePermissions } from "./FilePermissions"; import { RemoteData } from "./RemoteData"; -export const File_: core.serialization.ObjectSchema = +export const File_: core.serialization.ObjectSchema = core.serialization.object({ id: core.serialization.string().optional(), remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/Folder.ts b/src/serialization/resources/fileStorage/types/Folder.ts similarity index 93% rename from src/serialization/resources/filestorage/types/Folder.ts rename to src/serialization/resources/fileStorage/types/Folder.ts index 737fdbbd7..dd677dcb4 100644 --- a/src/serialization/resources/filestorage/types/Folder.ts +++ b/src/serialization/resources/fileStorage/types/Folder.ts @@ -7,7 +7,7 @@ import { FolderDrive } from "./FolderDrive"; import { FolderPermissions } from "./FolderPermissions"; import { RemoteData } from "./RemoteData"; -export const Folder: core.serialization.ObjectSchema = +export const Folder: core.serialization.ObjectSchema = core.serialization.object({ id: core.serialization.string().optional(), remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), @@ -19,7 +19,7 @@ export const Folder: core.serialization.ObjectSchema serializers.filestorage.FolderParentFolder).optional(), + core.serialization.lazy(() => serializers.fileStorage.FolderParentFolder).optional(), ), drive: FolderDrive.optional(), permissions: FolderPermissions.optional(), @@ -43,7 +43,7 @@ export declare namespace Folder { folder_url?: string | null; size?: number | null; description?: string | null; - parent_folder?: serializers.filestorage.FolderParentFolder.Raw | null; + parent_folder?: serializers.fileStorage.FolderParentFolder.Raw | null; drive?: FolderDrive.Raw | null; permissions?: FolderPermissions.Raw | null; remote_created_at?: string | null; diff --git a/src/serialization/resources/filestorage/types/FolderDrive.ts b/src/serialization/resources/fileStorage/types/FolderDrive.ts similarity index 85% rename from src/serialization/resources/filestorage/types/FolderDrive.ts rename to src/serialization/resources/fileStorage/types/FolderDrive.ts index 4b08b87b1..99d4a148c 100644 --- a/src/serialization/resources/filestorage/types/FolderDrive.ts +++ b/src/serialization/resources/fileStorage/types/FolderDrive.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { Drive } from "./Drive"; export const FolderDrive: core.serialization.Schema< - serializers.filestorage.FolderDrive.Raw, - Merge.filestorage.FolderDrive + serializers.fileStorage.FolderDrive.Raw, + Merge.fileStorage.FolderDrive > = core.serialization.undiscriminatedUnion([core.serialization.string(), Drive]); export declare namespace FolderDrive { diff --git a/src/serialization/resources/filestorage/types/FolderParentFolder.ts b/src/serialization/resources/fileStorage/types/FolderParentFolder.ts similarity index 65% rename from src/serialization/resources/filestorage/types/FolderParentFolder.ts rename to src/serialization/resources/fileStorage/types/FolderParentFolder.ts index 87577b6c1..28b5639e4 100644 --- a/src/serialization/resources/filestorage/types/FolderParentFolder.ts +++ b/src/serialization/resources/fileStorage/types/FolderParentFolder.ts @@ -5,13 +5,13 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const FolderParentFolder: core.serialization.Schema< - serializers.filestorage.FolderParentFolder.Raw, - Merge.filestorage.FolderParentFolder + serializers.fileStorage.FolderParentFolder.Raw, + Merge.fileStorage.FolderParentFolder > = core.serialization.undiscriminatedUnion([ core.serialization.string(), - core.serialization.lazyObject(() => serializers.filestorage.Folder), + core.serialization.lazyObject(() => serializers.fileStorage.Folder), ]); export declare namespace FolderParentFolder { - export type Raw = string | serializers.filestorage.Folder.Raw; + export type Raw = string | serializers.fileStorage.Folder.Raw; } diff --git a/src/serialization/resources/filestorage/types/FolderPermissions.ts b/src/serialization/resources/fileStorage/types/FolderPermissions.ts similarity index 69% rename from src/serialization/resources/filestorage/types/FolderPermissions.ts rename to src/serialization/resources/fileStorage/types/FolderPermissions.ts index d6a43153a..1d23cf26e 100644 --- a/src/serialization/resources/filestorage/types/FolderPermissions.ts +++ b/src/serialization/resources/fileStorage/types/FolderPermissions.ts @@ -3,18 +3,18 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { FolderPermissionsItem } from "./FolderPermissionsItem"; +import { FolderPermissionsTwoItem } from "./FolderPermissionsTwoItem"; import { Permission } from "./Permission"; export const FolderPermissions: core.serialization.Schema< - serializers.filestorage.FolderPermissions.Raw, - Merge.filestorage.FolderPermissions + serializers.fileStorage.FolderPermissions.Raw, + Merge.fileStorage.FolderPermissions > = core.serialization.undiscriminatedUnion([ core.serialization.string(), Permission, - core.serialization.list(FolderPermissionsItem), + core.serialization.list(FolderPermissionsTwoItem), ]); export declare namespace FolderPermissions { - export type Raw = string | Permission.Raw | FolderPermissionsItem.Raw[]; + export type Raw = string | Permission.Raw | FolderPermissionsTwoItem.Raw[]; } diff --git a/src/serialization/resources/filestorage/types/FolderPermissionsItem.ts b/src/serialization/resources/fileStorage/types/FolderPermissionsTwoItem.ts similarity index 63% rename from src/serialization/resources/filestorage/types/FolderPermissionsItem.ts rename to src/serialization/resources/fileStorage/types/FolderPermissionsTwoItem.ts index a3efcc786..d54591ab7 100644 --- a/src/serialization/resources/filestorage/types/FolderPermissionsItem.ts +++ b/src/serialization/resources/fileStorage/types/FolderPermissionsTwoItem.ts @@ -5,11 +5,11 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { Permission } from "./Permission"; -export const FolderPermissionsItem: core.serialization.Schema< - serializers.filestorage.FolderPermissionsItem.Raw, - Merge.filestorage.FolderPermissionsItem +export const FolderPermissionsTwoItem: core.serialization.Schema< + serializers.fileStorage.FolderPermissionsTwoItem.Raw, + Merge.fileStorage.FolderPermissionsTwoItem > = core.serialization.undiscriminatedUnion([core.serialization.string(), Permission]); -export declare namespace FolderPermissionsItem { +export declare namespace FolderPermissionsTwoItem { export type Raw = string | Permission.Raw; } diff --git a/src/serialization/resources/filestorage/types/FolderRequest.ts b/src/serialization/resources/fileStorage/types/FolderRequest.ts similarity index 95% rename from src/serialization/resources/filestorage/types/FolderRequest.ts rename to src/serialization/resources/fileStorage/types/FolderRequest.ts index 5f61c4863..59390d1f4 100644 --- a/src/serialization/resources/filestorage/types/FolderRequest.ts +++ b/src/serialization/resources/fileStorage/types/FolderRequest.ts @@ -8,8 +8,8 @@ import { FolderRequestParentFolder } from "./FolderRequestParentFolder"; import { FolderRequestPermissions } from "./FolderRequestPermissions"; export const FolderRequest: core.serialization.ObjectSchema< - serializers.filestorage.FolderRequest.Raw, - Merge.filestorage.FolderRequest + serializers.fileStorage.FolderRequest.Raw, + Merge.fileStorage.FolderRequest > = core.serialization.object({ name: core.serialization.string().optional(), folderUrl: core.serialization.property("folder_url", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/FolderRequestDrive.ts b/src/serialization/resources/fileStorage/types/FolderRequestDrive.ts similarity index 83% rename from src/serialization/resources/filestorage/types/FolderRequestDrive.ts rename to src/serialization/resources/fileStorage/types/FolderRequestDrive.ts index 0ee005dec..2a60ed734 100644 --- a/src/serialization/resources/filestorage/types/FolderRequestDrive.ts +++ b/src/serialization/resources/fileStorage/types/FolderRequestDrive.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { Drive } from "./Drive"; export const FolderRequestDrive: core.serialization.Schema< - serializers.filestorage.FolderRequestDrive.Raw, - Merge.filestorage.FolderRequestDrive + serializers.fileStorage.FolderRequestDrive.Raw, + Merge.fileStorage.FolderRequestDrive > = core.serialization.undiscriminatedUnion([core.serialization.string(), Drive]); export declare namespace FolderRequestDrive { diff --git a/src/serialization/resources/filestorage/types/FolderRequestParentFolder.ts b/src/serialization/resources/fileStorage/types/FolderRequestParentFolder.ts similarity index 64% rename from src/serialization/resources/filestorage/types/FolderRequestParentFolder.ts rename to src/serialization/resources/fileStorage/types/FolderRequestParentFolder.ts index fed26d90e..c93a606e0 100644 --- a/src/serialization/resources/filestorage/types/FolderRequestParentFolder.ts +++ b/src/serialization/resources/fileStorage/types/FolderRequestParentFolder.ts @@ -5,13 +5,13 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const FolderRequestParentFolder: core.serialization.Schema< - serializers.filestorage.FolderRequestParentFolder.Raw, - Merge.filestorage.FolderRequestParentFolder + serializers.fileStorage.FolderRequestParentFolder.Raw, + Merge.fileStorage.FolderRequestParentFolder > = core.serialization.undiscriminatedUnion([ core.serialization.string(), - core.serialization.lazyObject(() => serializers.filestorage.Folder), + core.serialization.lazyObject(() => serializers.fileStorage.Folder), ]); export declare namespace FolderRequestParentFolder { - export type Raw = string | serializers.filestorage.Folder.Raw; + export type Raw = string | serializers.fileStorage.Folder.Raw; } diff --git a/src/serialization/resources/filestorage/types/FolderRequestPermissions.ts b/src/serialization/resources/fileStorage/types/FolderRequestPermissions.ts similarity index 66% rename from src/serialization/resources/filestorage/types/FolderRequestPermissions.ts rename to src/serialization/resources/fileStorage/types/FolderRequestPermissions.ts index d06ff93fb..4ba346d3b 100644 --- a/src/serialization/resources/filestorage/types/FolderRequestPermissions.ts +++ b/src/serialization/resources/fileStorage/types/FolderRequestPermissions.ts @@ -3,18 +3,18 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { FolderRequestPermissionsItem } from "./FolderRequestPermissionsItem"; +import { FolderRequestPermissionsTwoItem } from "./FolderRequestPermissionsTwoItem"; import { PermissionRequest } from "./PermissionRequest"; export const FolderRequestPermissions: core.serialization.Schema< - serializers.filestorage.FolderRequestPermissions.Raw, - Merge.filestorage.FolderRequestPermissions + serializers.fileStorage.FolderRequestPermissions.Raw, + Merge.fileStorage.FolderRequestPermissions > = core.serialization.undiscriminatedUnion([ core.serialization.string(), PermissionRequest, - core.serialization.list(FolderRequestPermissionsItem), + core.serialization.list(FolderRequestPermissionsTwoItem), ]); export declare namespace FolderRequestPermissions { - export type Raw = string | PermissionRequest.Raw | FolderRequestPermissionsItem.Raw[]; + export type Raw = string | PermissionRequest.Raw | FolderRequestPermissionsTwoItem.Raw[]; } diff --git a/src/serialization/resources/filestorage/types/FolderRequestPermissionsItem.ts b/src/serialization/resources/fileStorage/types/FolderRequestPermissionsTwoItem.ts similarity index 62% rename from src/serialization/resources/filestorage/types/FolderRequestPermissionsItem.ts rename to src/serialization/resources/fileStorage/types/FolderRequestPermissionsTwoItem.ts index 191599507..0ad40874c 100644 --- a/src/serialization/resources/filestorage/types/FolderRequestPermissionsItem.ts +++ b/src/serialization/resources/fileStorage/types/FolderRequestPermissionsTwoItem.ts @@ -5,11 +5,11 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { PermissionRequest } from "./PermissionRequest"; -export const FolderRequestPermissionsItem: core.serialization.Schema< - serializers.filestorage.FolderRequestPermissionsItem.Raw, - Merge.filestorage.FolderRequestPermissionsItem +export const FolderRequestPermissionsTwoItem: core.serialization.Schema< + serializers.fileStorage.FolderRequestPermissionsTwoItem.Raw, + Merge.fileStorage.FolderRequestPermissionsTwoItem > = core.serialization.undiscriminatedUnion([core.serialization.string(), PermissionRequest]); -export declare namespace FolderRequestPermissionsItem { +export declare namespace FolderRequestPermissionsTwoItem { export type Raw = string | PermissionRequest.Raw; } diff --git a/src/serialization/resources/filestorage/types/Group.ts b/src/serialization/resources/fileStorage/types/Group.ts similarity index 92% rename from src/serialization/resources/filestorage/types/Group.ts rename to src/serialization/resources/fileStorage/types/Group.ts index 84ab3a1b1..583ca2b1f 100644 --- a/src/serialization/resources/filestorage/types/Group.ts +++ b/src/serialization/resources/fileStorage/types/Group.ts @@ -5,7 +5,7 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; import { RemoteData } from "./RemoteData"; -export const Group: core.serialization.ObjectSchema = +export const Group: core.serialization.ObjectSchema = core.serialization.object({ id: core.serialization.string().optional(), remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), @@ -16,7 +16,7 @@ export const Group: core.serialization.ObjectSchema serializers.filestorage.GroupChildGroupsItem)) + .list(core.serialization.lazy(() => serializers.fileStorage.GroupChildGroupsItem)) .optional(), ), remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()), @@ -35,7 +35,7 @@ export declare namespace Group { modified_at?: string | null; name?: string | null; users: string[]; - child_groups?: serializers.filestorage.GroupChildGroupsItem.Raw[] | null; + child_groups?: serializers.fileStorage.GroupChildGroupsItem.Raw[] | null; remote_was_deleted?: boolean | null; field_mappings?: Record | null; remote_data?: RemoteData.Raw[] | null; diff --git a/src/serialization/resources/filestorage/types/GroupChildGroupsItem.ts b/src/serialization/resources/fileStorage/types/GroupChildGroupsItem.ts similarity index 64% rename from src/serialization/resources/filestorage/types/GroupChildGroupsItem.ts rename to src/serialization/resources/fileStorage/types/GroupChildGroupsItem.ts index a9c537ac7..05d832d89 100644 --- a/src/serialization/resources/filestorage/types/GroupChildGroupsItem.ts +++ b/src/serialization/resources/fileStorage/types/GroupChildGroupsItem.ts @@ -5,13 +5,13 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const GroupChildGroupsItem: core.serialization.Schema< - serializers.filestorage.GroupChildGroupsItem.Raw, - Merge.filestorage.GroupChildGroupsItem + serializers.fileStorage.GroupChildGroupsItem.Raw, + Merge.fileStorage.GroupChildGroupsItem > = core.serialization.undiscriminatedUnion([ core.serialization.string(), - core.serialization.lazyObject(() => serializers.filestorage.Group), + core.serialization.lazyObject(() => serializers.fileStorage.Group), ]); export declare namespace GroupChildGroupsItem { - export type Raw = string | serializers.filestorage.Group.Raw; + export type Raw = string | serializers.fileStorage.Group.Raw; } diff --git a/src/serialization/resources/filestorage/types/IndividualCommonModelScopeDeserializer.ts b/src/serialization/resources/fileStorage/types/IndividualCommonModelScopeDeserializer.ts similarity index 90% rename from src/serialization/resources/filestorage/types/IndividualCommonModelScopeDeserializer.ts rename to src/serialization/resources/fileStorage/types/IndividualCommonModelScopeDeserializer.ts index df449154c..fe22ad649 100644 --- a/src/serialization/resources/filestorage/types/IndividualCommonModelScopeDeserializer.ts +++ b/src/serialization/resources/fileStorage/types/IndividualCommonModelScopeDeserializer.ts @@ -7,8 +7,8 @@ import { FieldPermissionDeserializer } from "./FieldPermissionDeserializer"; import { ModelPermissionDeserializer } from "./ModelPermissionDeserializer"; export const IndividualCommonModelScopeDeserializer: core.serialization.ObjectSchema< - serializers.filestorage.IndividualCommonModelScopeDeserializer.Raw, - Merge.filestorage.IndividualCommonModelScopeDeserializer + serializers.fileStorage.IndividualCommonModelScopeDeserializer.Raw, + Merge.fileStorage.IndividualCommonModelScopeDeserializer > = core.serialization.object({ modelName: core.serialization.property("model_name", core.serialization.string()), modelPermissions: core.serialization.property( diff --git a/src/serialization/resources/filestorage/types/IndividualCommonModelScopeDeserializerRequest.ts b/src/serialization/resources/fileStorage/types/IndividualCommonModelScopeDeserializerRequest.ts similarity index 90% rename from src/serialization/resources/filestorage/types/IndividualCommonModelScopeDeserializerRequest.ts rename to src/serialization/resources/fileStorage/types/IndividualCommonModelScopeDeserializerRequest.ts index f7f93d113..d913589d1 100644 --- a/src/serialization/resources/filestorage/types/IndividualCommonModelScopeDeserializerRequest.ts +++ b/src/serialization/resources/fileStorage/types/IndividualCommonModelScopeDeserializerRequest.ts @@ -7,8 +7,8 @@ import { FieldPermissionDeserializerRequest } from "./FieldPermissionDeserialize import { ModelPermissionDeserializerRequest } from "./ModelPermissionDeserializerRequest"; export const IndividualCommonModelScopeDeserializerRequest: core.serialization.ObjectSchema< - serializers.filestorage.IndividualCommonModelScopeDeserializerRequest.Raw, - Merge.filestorage.IndividualCommonModelScopeDeserializerRequest + serializers.fileStorage.IndividualCommonModelScopeDeserializerRequest.Raw, + Merge.fileStorage.IndividualCommonModelScopeDeserializerRequest > = core.serialization.object({ modelName: core.serialization.property("model_name", core.serialization.string()), modelPermissions: core.serialization.property( diff --git a/src/serialization/resources/filestorage/types/Issue.ts b/src/serialization/resources/fileStorage/types/Issue.ts similarity index 97% rename from src/serialization/resources/filestorage/types/Issue.ts rename to src/serialization/resources/fileStorage/types/Issue.ts index 3ad97ccac..c1a2a251b 100644 --- a/src/serialization/resources/filestorage/types/Issue.ts +++ b/src/serialization/resources/fileStorage/types/Issue.ts @@ -5,7 +5,7 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { IssueStatus } from "./IssueStatus"; -export const Issue: core.serialization.ObjectSchema = +export const Issue: core.serialization.ObjectSchema = core.serialization.object({ id: core.serialization.string().optional(), status: IssueStatus.optional(), diff --git a/src/serialization/resources/filestorage/types/IssueStatus.ts b/src/serialization/resources/fileStorage/types/IssueStatus.ts similarity index 86% rename from src/serialization/resources/filestorage/types/IssueStatus.ts rename to src/serialization/resources/fileStorage/types/IssueStatus.ts index 05e256250..7f6cbd5d7 100644 --- a/src/serialization/resources/filestorage/types/IssueStatus.ts +++ b/src/serialization/resources/fileStorage/types/IssueStatus.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { IssueStatusEnum } from "./IssueStatusEnum"; export const IssueStatus: core.serialization.Schema< - serializers.filestorage.IssueStatus.Raw, - Merge.filestorage.IssueStatus + serializers.fileStorage.IssueStatus.Raw, + Merge.fileStorage.IssueStatus > = core.serialization.undiscriminatedUnion([IssueStatusEnum, core.serialization.string()]); export declare namespace IssueStatus { diff --git a/src/serialization/resources/filestorage/types/IssueStatusEnum.ts b/src/serialization/resources/fileStorage/types/IssueStatusEnum.ts similarity index 82% rename from src/serialization/resources/filestorage/types/IssueStatusEnum.ts rename to src/serialization/resources/fileStorage/types/IssueStatusEnum.ts index 8d4bdadf2..44d25bd71 100644 --- a/src/serialization/resources/filestorage/types/IssueStatusEnum.ts +++ b/src/serialization/resources/fileStorage/types/IssueStatusEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const IssueStatusEnum: core.serialization.Schema< - serializers.filestorage.IssueStatusEnum.Raw, - Merge.filestorage.IssueStatusEnum + serializers.fileStorage.IssueStatusEnum.Raw, + Merge.fileStorage.IssueStatusEnum > = core.serialization.enum_(["ONGOING", "RESOLVED"]); export declare namespace IssueStatusEnum { diff --git a/src/serialization/resources/filestorage/types/LanguageEnum.ts b/src/serialization/resources/fileStorage/types/LanguageEnum.ts similarity index 82% rename from src/serialization/resources/filestorage/types/LanguageEnum.ts rename to src/serialization/resources/fileStorage/types/LanguageEnum.ts index ee94b4d75..0872ea0b4 100644 --- a/src/serialization/resources/filestorage/types/LanguageEnum.ts +++ b/src/serialization/resources/fileStorage/types/LanguageEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const LanguageEnum: core.serialization.Schema< - serializers.filestorage.LanguageEnum.Raw, - Merge.filestorage.LanguageEnum + serializers.fileStorage.LanguageEnum.Raw, + Merge.fileStorage.LanguageEnum > = core.serialization.enum_(["en", "de"]); export declare namespace LanguageEnum { diff --git a/src/serialization/resources/filestorage/types/LastSyncResultEnum.ts b/src/serialization/resources/fileStorage/types/LastSyncResultEnum.ts similarity index 84% rename from src/serialization/resources/filestorage/types/LastSyncResultEnum.ts rename to src/serialization/resources/fileStorage/types/LastSyncResultEnum.ts index 76e26ed13..062fcb13b 100644 --- a/src/serialization/resources/filestorage/types/LastSyncResultEnum.ts +++ b/src/serialization/resources/fileStorage/types/LastSyncResultEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const LastSyncResultEnum: core.serialization.Schema< - serializers.filestorage.LastSyncResultEnum.Raw, - Merge.filestorage.LastSyncResultEnum + serializers.fileStorage.LastSyncResultEnum.Raw, + Merge.fileStorage.LastSyncResultEnum > = core.serialization.enum_(["SYNCING", "DONE", "FAILED", "DISABLED", "PAUSED", "PARTIALLY_SYNCED"]); export declare namespace LastSyncResultEnum { diff --git a/src/serialization/resources/filestorage/types/LinkToken.ts b/src/serialization/resources/fileStorage/types/LinkToken.ts similarity index 91% rename from src/serialization/resources/filestorage/types/LinkToken.ts rename to src/serialization/resources/fileStorage/types/LinkToken.ts index b69e02697..fb5533b34 100644 --- a/src/serialization/resources/filestorage/types/LinkToken.ts +++ b/src/serialization/resources/fileStorage/types/LinkToken.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const LinkToken: core.serialization.ObjectSchema< - serializers.filestorage.LinkToken.Raw, - Merge.filestorage.LinkToken + serializers.fileStorage.LinkToken.Raw, + Merge.fileStorage.LinkToken > = core.serialization.object({ linkToken: core.serialization.property("link_token", core.serialization.string()), integrationName: core.serialization.property("integration_name", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/LinkedAccountStatus.ts b/src/serialization/resources/fileStorage/types/LinkedAccountStatus.ts similarity index 87% rename from src/serialization/resources/filestorage/types/LinkedAccountStatus.ts rename to src/serialization/resources/fileStorage/types/LinkedAccountStatus.ts index 438449518..a039a308a 100644 --- a/src/serialization/resources/filestorage/types/LinkedAccountStatus.ts +++ b/src/serialization/resources/fileStorage/types/LinkedAccountStatus.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const LinkedAccountStatus: core.serialization.ObjectSchema< - serializers.filestorage.LinkedAccountStatus.Raw, - Merge.filestorage.LinkedAccountStatus + serializers.fileStorage.LinkedAccountStatus.Raw, + Merge.fileStorage.LinkedAccountStatus > = core.serialization.object({ linkedAccountStatus: core.serialization.property("linked_account_status", core.serialization.string()), canMakeRequest: core.serialization.property("can_make_request", core.serialization.boolean()), diff --git a/src/serialization/resources/filestorage/types/MetaResponse.ts b/src/serialization/resources/fileStorage/types/MetaResponse.ts similarity index 94% rename from src/serialization/resources/filestorage/types/MetaResponse.ts rename to src/serialization/resources/fileStorage/types/MetaResponse.ts index 98fbda163..6418e7974 100644 --- a/src/serialization/resources/filestorage/types/MetaResponse.ts +++ b/src/serialization/resources/fileStorage/types/MetaResponse.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { LinkedAccountStatus } from "./LinkedAccountStatus"; export const MetaResponse: core.serialization.ObjectSchema< - serializers.filestorage.MetaResponse.Raw, - Merge.filestorage.MetaResponse + serializers.fileStorage.MetaResponse.Raw, + Merge.fileStorage.MetaResponse > = core.serialization.object({ requestSchema: core.serialization.property( "request_schema", diff --git a/src/serialization/resources/filestorage/types/MethodEnum.ts b/src/serialization/resources/fileStorage/types/MethodEnum.ts similarity index 86% rename from src/serialization/resources/filestorage/types/MethodEnum.ts rename to src/serialization/resources/fileStorage/types/MethodEnum.ts index e8df3eb64..89865050a 100644 --- a/src/serialization/resources/filestorage/types/MethodEnum.ts +++ b/src/serialization/resources/fileStorage/types/MethodEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const MethodEnum: core.serialization.Schema< - serializers.filestorage.MethodEnum.Raw, - Merge.filestorage.MethodEnum + serializers.fileStorage.MethodEnum.Raw, + Merge.fileStorage.MethodEnum > = core.serialization.enum_(["GET", "OPTIONS", "HEAD", "POST", "PUT", "PATCH", "DELETE"]); export declare namespace MethodEnum { diff --git a/src/serialization/resources/filestorage/types/ModelOperation.ts b/src/serialization/resources/fileStorage/types/ModelOperation.ts similarity index 92% rename from src/serialization/resources/filestorage/types/ModelOperation.ts rename to src/serialization/resources/fileStorage/types/ModelOperation.ts index 878480b5e..08c582c30 100644 --- a/src/serialization/resources/filestorage/types/ModelOperation.ts +++ b/src/serialization/resources/fileStorage/types/ModelOperation.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const ModelOperation: core.serialization.ObjectSchema< - serializers.filestorage.ModelOperation.Raw, - Merge.filestorage.ModelOperation + serializers.fileStorage.ModelOperation.Raw, + Merge.fileStorage.ModelOperation > = core.serialization.object({ modelName: core.serialization.property("model_name", core.serialization.string()), availableOperations: core.serialization.property( diff --git a/src/serialization/resources/filestorage/types/ModelPermissionDeserializer.ts b/src/serialization/resources/fileStorage/types/ModelPermissionDeserializer.ts similarity index 83% rename from src/serialization/resources/filestorage/types/ModelPermissionDeserializer.ts rename to src/serialization/resources/fileStorage/types/ModelPermissionDeserializer.ts index aaa31a6f6..8d425476b 100644 --- a/src/serialization/resources/filestorage/types/ModelPermissionDeserializer.ts +++ b/src/serialization/resources/fileStorage/types/ModelPermissionDeserializer.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const ModelPermissionDeserializer: core.serialization.ObjectSchema< - serializers.filestorage.ModelPermissionDeserializer.Raw, - Merge.filestorage.ModelPermissionDeserializer + serializers.fileStorage.ModelPermissionDeserializer.Raw, + Merge.fileStorage.ModelPermissionDeserializer > = core.serialization.object({ isEnabled: core.serialization.property("is_enabled", core.serialization.boolean().optional()), }); diff --git a/src/serialization/resources/filestorage/types/ModelPermissionDeserializerRequest.ts b/src/serialization/resources/fileStorage/types/ModelPermissionDeserializerRequest.ts similarity index 82% rename from src/serialization/resources/filestorage/types/ModelPermissionDeserializerRequest.ts rename to src/serialization/resources/fileStorage/types/ModelPermissionDeserializerRequest.ts index 792d98079..4d8d3123f 100644 --- a/src/serialization/resources/filestorage/types/ModelPermissionDeserializerRequest.ts +++ b/src/serialization/resources/fileStorage/types/ModelPermissionDeserializerRequest.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const ModelPermissionDeserializerRequest: core.serialization.ObjectSchema< - serializers.filestorage.ModelPermissionDeserializerRequest.Raw, - Merge.filestorage.ModelPermissionDeserializerRequest + serializers.fileStorage.ModelPermissionDeserializerRequest.Raw, + Merge.fileStorage.ModelPermissionDeserializerRequest > = core.serialization.object({ isEnabled: core.serialization.property("is_enabled", core.serialization.boolean().optional()), }); diff --git a/src/serialization/resources/filestorage/types/MultipartFormFieldRequest.ts b/src/serialization/resources/fileStorage/types/MultipartFormFieldRequest.ts similarity index 90% rename from src/serialization/resources/filestorage/types/MultipartFormFieldRequest.ts rename to src/serialization/resources/fileStorage/types/MultipartFormFieldRequest.ts index c8db90cdf..f8f778acd 100644 --- a/src/serialization/resources/filestorage/types/MultipartFormFieldRequest.ts +++ b/src/serialization/resources/fileStorage/types/MultipartFormFieldRequest.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { MultipartFormFieldRequestEncoding } from "./MultipartFormFieldRequestEncoding"; export const MultipartFormFieldRequest: core.serialization.ObjectSchema< - serializers.filestorage.MultipartFormFieldRequest.Raw, - Merge.filestorage.MultipartFormFieldRequest + serializers.fileStorage.MultipartFormFieldRequest.Raw, + Merge.fileStorage.MultipartFormFieldRequest > = core.serialization.object({ name: core.serialization.string(), data: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts b/src/serialization/resources/fileStorage/types/MultipartFormFieldRequestEncoding.ts similarity index 81% rename from src/serialization/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts rename to src/serialization/resources/fileStorage/types/MultipartFormFieldRequestEncoding.ts index d9ac2ac8b..8b2bec22e 100644 --- a/src/serialization/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts +++ b/src/serialization/resources/fileStorage/types/MultipartFormFieldRequestEncoding.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { EncodingEnum } from "./EncodingEnum"; export const MultipartFormFieldRequestEncoding: core.serialization.Schema< - serializers.filestorage.MultipartFormFieldRequestEncoding.Raw, - Merge.filestorage.MultipartFormFieldRequestEncoding + serializers.fileStorage.MultipartFormFieldRequestEncoding.Raw, + Merge.fileStorage.MultipartFormFieldRequestEncoding > = core.serialization.undiscriminatedUnion([EncodingEnum, core.serialization.string()]); export declare namespace MultipartFormFieldRequestEncoding { diff --git a/src/serialization/resources/filestorage/types/PaginatedAccountDetailsAndActionsList.ts b/src/serialization/resources/fileStorage/types/PaginatedAccountDetailsAndActionsList.ts similarity index 86% rename from src/serialization/resources/filestorage/types/PaginatedAccountDetailsAndActionsList.ts rename to src/serialization/resources/fileStorage/types/PaginatedAccountDetailsAndActionsList.ts index 1b997ce46..29043d471 100644 --- a/src/serialization/resources/filestorage/types/PaginatedAccountDetailsAndActionsList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedAccountDetailsAndActionsList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { AccountDetailsAndActions } from "./AccountDetailsAndActions"; export const PaginatedAccountDetailsAndActionsList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedAccountDetailsAndActionsList.Raw, - Merge.filestorage.PaginatedAccountDetailsAndActionsList + serializers.fileStorage.PaginatedAccountDetailsAndActionsList.Raw, + Merge.fileStorage.PaginatedAccountDetailsAndActionsList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/PaginatedAuditLogEventList.ts b/src/serialization/resources/fileStorage/types/PaginatedAuditLogEventList.ts similarity index 87% rename from src/serialization/resources/filestorage/types/PaginatedAuditLogEventList.ts rename to src/serialization/resources/fileStorage/types/PaginatedAuditLogEventList.ts index 399a56868..51f106bed 100644 --- a/src/serialization/resources/filestorage/types/PaginatedAuditLogEventList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedAuditLogEventList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { AuditLogEvent } from "./AuditLogEvent"; export const PaginatedAuditLogEventList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedAuditLogEventList.Raw, - Merge.filestorage.PaginatedAuditLogEventList + serializers.fileStorage.PaginatedAuditLogEventList.Raw, + Merge.fileStorage.PaginatedAuditLogEventList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.ts b/src/serialization/resources/fileStorage/types/PaginatedDownloadRequestMetaList.ts similarity index 86% rename from src/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.ts rename to src/serialization/resources/fileStorage/types/PaginatedDownloadRequestMetaList.ts index 10041a599..6cfa06764 100644 --- a/src/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedDownloadRequestMetaList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { DownloadRequestMeta } from "./DownloadRequestMeta"; export const PaginatedDownloadRequestMetaList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedDownloadRequestMetaList.Raw, - Merge.filestorage.PaginatedDownloadRequestMetaList + serializers.fileStorage.PaginatedDownloadRequestMetaList.Raw, + Merge.fileStorage.PaginatedDownloadRequestMetaList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/PaginatedDriveList.ts b/src/serialization/resources/fileStorage/types/PaginatedDriveList.ts similarity index 88% rename from src/serialization/resources/filestorage/types/PaginatedDriveList.ts rename to src/serialization/resources/fileStorage/types/PaginatedDriveList.ts index df9b8ce3c..b96fdcf38 100644 --- a/src/serialization/resources/filestorage/types/PaginatedDriveList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedDriveList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { Drive } from "./Drive"; export const PaginatedDriveList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedDriveList.Raw, - Merge.filestorage.PaginatedDriveList + serializers.fileStorage.PaginatedDriveList.Raw, + Merge.fileStorage.PaginatedDriveList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/PaginatedFileList.ts b/src/serialization/resources/fileStorage/types/PaginatedFileList.ts similarity index 88% rename from src/serialization/resources/filestorage/types/PaginatedFileList.ts rename to src/serialization/resources/fileStorage/types/PaginatedFileList.ts index f491e9422..81d2e7d2e 100644 --- a/src/serialization/resources/filestorage/types/PaginatedFileList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedFileList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { File_ } from "./File_"; export const PaginatedFileList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedFileList.Raw, - Merge.filestorage.PaginatedFileList + serializers.fileStorage.PaginatedFileList.Raw, + Merge.fileStorage.PaginatedFileList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/PaginatedFolderList.ts b/src/serialization/resources/fileStorage/types/PaginatedFolderList.ts similarity index 74% rename from src/serialization/resources/filestorage/types/PaginatedFolderList.ts rename to src/serialization/resources/fileStorage/types/PaginatedFolderList.ts index cdfd1ba4e..ebfa185e0 100644 --- a/src/serialization/resources/filestorage/types/PaginatedFolderList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedFolderList.ts @@ -5,18 +5,18 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const PaginatedFolderList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedFolderList.Raw, - Merge.filestorage.PaginatedFolderList + serializers.fileStorage.PaginatedFolderList.Raw, + Merge.fileStorage.PaginatedFolderList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), - results: core.serialization.list(core.serialization.lazyObject(() => serializers.filestorage.Folder)).optional(), + results: core.serialization.list(core.serialization.lazyObject(() => serializers.fileStorage.Folder)).optional(), }); export declare namespace PaginatedFolderList { export interface Raw { next?: string | null; previous?: string | null; - results?: serializers.filestorage.Folder.Raw[] | null; + results?: serializers.fileStorage.Folder.Raw[] | null; } } diff --git a/src/serialization/resources/filestorage/types/PaginatedGroupList.ts b/src/serialization/resources/fileStorage/types/PaginatedGroupList.ts similarity index 75% rename from src/serialization/resources/filestorage/types/PaginatedGroupList.ts rename to src/serialization/resources/fileStorage/types/PaginatedGroupList.ts index e320e122a..dc24de592 100644 --- a/src/serialization/resources/filestorage/types/PaginatedGroupList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedGroupList.ts @@ -5,18 +5,18 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const PaginatedGroupList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedGroupList.Raw, - Merge.filestorage.PaginatedGroupList + serializers.fileStorage.PaginatedGroupList.Raw, + Merge.fileStorage.PaginatedGroupList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), - results: core.serialization.list(core.serialization.lazyObject(() => serializers.filestorage.Group)).optional(), + results: core.serialization.list(core.serialization.lazyObject(() => serializers.fileStorage.Group)).optional(), }); export declare namespace PaginatedGroupList { export interface Raw { next?: string | null; previous?: string | null; - results?: serializers.filestorage.Group.Raw[] | null; + results?: serializers.fileStorage.Group.Raw[] | null; } } diff --git a/src/serialization/resources/filestorage/types/PaginatedIssueList.ts b/src/serialization/resources/fileStorage/types/PaginatedIssueList.ts similarity index 88% rename from src/serialization/resources/filestorage/types/PaginatedIssueList.ts rename to src/serialization/resources/fileStorage/types/PaginatedIssueList.ts index 5f83c290a..bc2a5ea95 100644 --- a/src/serialization/resources/filestorage/types/PaginatedIssueList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedIssueList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { Issue } from "./Issue"; export const PaginatedIssueList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedIssueList.Raw, - Merge.filestorage.PaginatedIssueList + serializers.fileStorage.PaginatedIssueList.Raw, + Merge.fileStorage.PaginatedIssueList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/PaginatedSyncStatusList.ts b/src/serialization/resources/fileStorage/types/PaginatedSyncStatusList.ts similarity index 87% rename from src/serialization/resources/filestorage/types/PaginatedSyncStatusList.ts rename to src/serialization/resources/fileStorage/types/PaginatedSyncStatusList.ts index 3615df11d..a2c1cc4b6 100644 --- a/src/serialization/resources/filestorage/types/PaginatedSyncStatusList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedSyncStatusList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { SyncStatus } from "./SyncStatus"; export const PaginatedSyncStatusList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedSyncStatusList.Raw, - Merge.filestorage.PaginatedSyncStatusList + serializers.fileStorage.PaginatedSyncStatusList.Raw, + Merge.fileStorage.PaginatedSyncStatusList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/PaginatedUserList.ts b/src/serialization/resources/fileStorage/types/PaginatedUserList.ts similarity index 88% rename from src/serialization/resources/filestorage/types/PaginatedUserList.ts rename to src/serialization/resources/fileStorage/types/PaginatedUserList.ts index fc554f696..f2f95e5b4 100644 --- a/src/serialization/resources/filestorage/types/PaginatedUserList.ts +++ b/src/serialization/resources/fileStorage/types/PaginatedUserList.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { User } from "./User"; export const PaginatedUserList: core.serialization.ObjectSchema< - serializers.filestorage.PaginatedUserList.Raw, - Merge.filestorage.PaginatedUserList + serializers.fileStorage.PaginatedUserList.Raw, + Merge.fileStorage.PaginatedUserList > = core.serialization.object({ next: core.serialization.string().optional(), previous: core.serialization.string().optional(), diff --git a/src/serialization/resources/filestorage/types/Permission.ts b/src/serialization/resources/fileStorage/types/Permission.ts similarity index 95% rename from src/serialization/resources/filestorage/types/Permission.ts rename to src/serialization/resources/fileStorage/types/Permission.ts index 0e7b14aec..2db52f256 100644 --- a/src/serialization/resources/filestorage/types/Permission.ts +++ b/src/serialization/resources/fileStorage/types/Permission.ts @@ -9,8 +9,8 @@ import { PermissionType } from "./PermissionType"; import { PermissionUser } from "./PermissionUser"; export const Permission: core.serialization.ObjectSchema< - serializers.filestorage.Permission.Raw, - Merge.filestorage.Permission + serializers.fileStorage.Permission.Raw, + Merge.fileStorage.Permission > = core.serialization.object({ id: core.serialization.string().optional(), remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/PermissionGroup.ts b/src/serialization/resources/fileStorage/types/PermissionGroup.ts similarity index 65% rename from src/serialization/resources/filestorage/types/PermissionGroup.ts rename to src/serialization/resources/fileStorage/types/PermissionGroup.ts index 0139146e7..e02a2951f 100644 --- a/src/serialization/resources/filestorage/types/PermissionGroup.ts +++ b/src/serialization/resources/fileStorage/types/PermissionGroup.ts @@ -5,13 +5,13 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const PermissionGroup: core.serialization.Schema< - serializers.filestorage.PermissionGroup.Raw, - Merge.filestorage.PermissionGroup + serializers.fileStorage.PermissionGroup.Raw, + Merge.fileStorage.PermissionGroup > = core.serialization.undiscriminatedUnion([ core.serialization.string(), - core.serialization.lazyObject(() => serializers.filestorage.Group), + core.serialization.lazyObject(() => serializers.fileStorage.Group), ]); export declare namespace PermissionGroup { - export type Raw = string | serializers.filestorage.Group.Raw; + export type Raw = string | serializers.fileStorage.Group.Raw; } diff --git a/src/serialization/resources/filestorage/types/PermissionRequest.ts b/src/serialization/resources/fileStorage/types/PermissionRequest.ts similarity index 95% rename from src/serialization/resources/filestorage/types/PermissionRequest.ts rename to src/serialization/resources/fileStorage/types/PermissionRequest.ts index bddba1dbb..ccfa3a4ea 100644 --- a/src/serialization/resources/filestorage/types/PermissionRequest.ts +++ b/src/serialization/resources/fileStorage/types/PermissionRequest.ts @@ -9,8 +9,8 @@ import { PermissionRequestType } from "./PermissionRequestType"; import { PermissionRequestUser } from "./PermissionRequestUser"; export const PermissionRequest: core.serialization.ObjectSchema< - serializers.filestorage.PermissionRequest.Raw, - Merge.filestorage.PermissionRequest + serializers.fileStorage.PermissionRequest.Raw, + Merge.fileStorage.PermissionRequest > = core.serialization.object({ remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), user: PermissionRequestUser.optional(), diff --git a/src/serialization/resources/filestorage/types/PermissionRequestGroup.ts b/src/serialization/resources/fileStorage/types/PermissionRequestGroup.ts similarity index 64% rename from src/serialization/resources/filestorage/types/PermissionRequestGroup.ts rename to src/serialization/resources/fileStorage/types/PermissionRequestGroup.ts index 018f4192a..c787dcbd5 100644 --- a/src/serialization/resources/filestorage/types/PermissionRequestGroup.ts +++ b/src/serialization/resources/fileStorage/types/PermissionRequestGroup.ts @@ -5,13 +5,13 @@ import * as core from "../../../../core"; import * as serializers from "../../../index"; export const PermissionRequestGroup: core.serialization.Schema< - serializers.filestorage.PermissionRequestGroup.Raw, - Merge.filestorage.PermissionRequestGroup + serializers.fileStorage.PermissionRequestGroup.Raw, + Merge.fileStorage.PermissionRequestGroup > = core.serialization.undiscriminatedUnion([ core.serialization.string(), - core.serialization.lazyObject(() => serializers.filestorage.Group), + core.serialization.lazyObject(() => serializers.fileStorage.Group), ]); export declare namespace PermissionRequestGroup { - export type Raw = string | serializers.filestorage.Group.Raw; + export type Raw = string | serializers.fileStorage.Group.Raw; } diff --git a/src/serialization/resources/filestorage/types/PermissionRequestRolesItem.ts b/src/serialization/resources/fileStorage/types/PermissionRequestRolesItem.ts similarity index 82% rename from src/serialization/resources/filestorage/types/PermissionRequestRolesItem.ts rename to src/serialization/resources/fileStorage/types/PermissionRequestRolesItem.ts index 037d23b9a..3aa49dd76 100644 --- a/src/serialization/resources/filestorage/types/PermissionRequestRolesItem.ts +++ b/src/serialization/resources/fileStorage/types/PermissionRequestRolesItem.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { RolesEnum } from "./RolesEnum"; export const PermissionRequestRolesItem: core.serialization.Schema< - serializers.filestorage.PermissionRequestRolesItem.Raw, - Merge.filestorage.PermissionRequestRolesItem + serializers.fileStorage.PermissionRequestRolesItem.Raw, + Merge.fileStorage.PermissionRequestRolesItem > = core.serialization.undiscriminatedUnion([RolesEnum, core.serialization.string()]); export declare namespace PermissionRequestRolesItem { diff --git a/src/serialization/resources/filestorage/types/PermissionRequestType.ts b/src/serialization/resources/fileStorage/types/PermissionRequestType.ts similarity index 83% rename from src/serialization/resources/filestorage/types/PermissionRequestType.ts rename to src/serialization/resources/fileStorage/types/PermissionRequestType.ts index 0d5d66ecb..05df868a3 100644 --- a/src/serialization/resources/filestorage/types/PermissionRequestType.ts +++ b/src/serialization/resources/fileStorage/types/PermissionRequestType.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { TypeEnum } from "./TypeEnum"; export const PermissionRequestType: core.serialization.Schema< - serializers.filestorage.PermissionRequestType.Raw, - Merge.filestorage.PermissionRequestType + serializers.fileStorage.PermissionRequestType.Raw, + Merge.fileStorage.PermissionRequestType > = core.serialization.undiscriminatedUnion([TypeEnum, core.serialization.string()]); export declare namespace PermissionRequestType { diff --git a/src/serialization/resources/filestorage/types/PermissionRequestUser.ts b/src/serialization/resources/fileStorage/types/PermissionRequestUser.ts similarity index 82% rename from src/serialization/resources/filestorage/types/PermissionRequestUser.ts rename to src/serialization/resources/fileStorage/types/PermissionRequestUser.ts index 3f386caf9..acedc93dc 100644 --- a/src/serialization/resources/filestorage/types/PermissionRequestUser.ts +++ b/src/serialization/resources/fileStorage/types/PermissionRequestUser.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { User } from "./User"; export const PermissionRequestUser: core.serialization.Schema< - serializers.filestorage.PermissionRequestUser.Raw, - Merge.filestorage.PermissionRequestUser + serializers.fileStorage.PermissionRequestUser.Raw, + Merge.fileStorage.PermissionRequestUser > = core.serialization.undiscriminatedUnion([core.serialization.string(), User]); export declare namespace PermissionRequestUser { diff --git a/src/serialization/resources/filestorage/types/PermissionRolesItem.ts b/src/serialization/resources/fileStorage/types/PermissionRolesItem.ts similarity index 84% rename from src/serialization/resources/filestorage/types/PermissionRolesItem.ts rename to src/serialization/resources/fileStorage/types/PermissionRolesItem.ts index c0d49cb12..80afce67d 100644 --- a/src/serialization/resources/filestorage/types/PermissionRolesItem.ts +++ b/src/serialization/resources/fileStorage/types/PermissionRolesItem.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { RolesEnum } from "./RolesEnum"; export const PermissionRolesItem: core.serialization.Schema< - serializers.filestorage.PermissionRolesItem.Raw, - Merge.filestorage.PermissionRolesItem + serializers.fileStorage.PermissionRolesItem.Raw, + Merge.fileStorage.PermissionRolesItem > = core.serialization.undiscriminatedUnion([RolesEnum, core.serialization.string()]); export declare namespace PermissionRolesItem { diff --git a/src/serialization/resources/filestorage/types/PermissionType.ts b/src/serialization/resources/fileStorage/types/PermissionType.ts similarity index 85% rename from src/serialization/resources/filestorage/types/PermissionType.ts rename to src/serialization/resources/fileStorage/types/PermissionType.ts index 3b6abd7b0..562b4a055 100644 --- a/src/serialization/resources/filestorage/types/PermissionType.ts +++ b/src/serialization/resources/fileStorage/types/PermissionType.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { TypeEnum } from "./TypeEnum"; export const PermissionType: core.serialization.Schema< - serializers.filestorage.PermissionType.Raw, - Merge.filestorage.PermissionType + serializers.fileStorage.PermissionType.Raw, + Merge.fileStorage.PermissionType > = core.serialization.undiscriminatedUnion([TypeEnum, core.serialization.string()]); export declare namespace PermissionType { diff --git a/src/serialization/resources/filestorage/types/PermissionUser.ts b/src/serialization/resources/fileStorage/types/PermissionUser.ts similarity index 84% rename from src/serialization/resources/filestorage/types/PermissionUser.ts rename to src/serialization/resources/fileStorage/types/PermissionUser.ts index 19d436cac..1285d55d2 100644 --- a/src/serialization/resources/filestorage/types/PermissionUser.ts +++ b/src/serialization/resources/fileStorage/types/PermissionUser.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { User } from "./User"; export const PermissionUser: core.serialization.Schema< - serializers.filestorage.PermissionUser.Raw, - Merge.filestorage.PermissionUser + serializers.fileStorage.PermissionUser.Raw, + Merge.fileStorage.PermissionUser > = core.serialization.undiscriminatedUnion([core.serialization.string(), User]); export declare namespace PermissionUser { diff --git a/src/serialization/resources/filestorage/types/RemoteData.ts b/src/serialization/resources/fileStorage/types/RemoteData.ts similarity index 87% rename from src/serialization/resources/filestorage/types/RemoteData.ts rename to src/serialization/resources/fileStorage/types/RemoteData.ts index 177e8561e..3e89ff22f 100644 --- a/src/serialization/resources/filestorage/types/RemoteData.ts +++ b/src/serialization/resources/fileStorage/types/RemoteData.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const RemoteData: core.serialization.ObjectSchema< - serializers.filestorage.RemoteData.Raw, - Merge.filestorage.RemoteData + serializers.fileStorage.RemoteData.Raw, + Merge.fileStorage.RemoteData > = core.serialization.object({ path: core.serialization.string(), data: core.serialization.unknown().optional(), diff --git a/src/serialization/resources/filestorage/types/RemoteEndpointInfo.ts b/src/serialization/resources/fileStorage/types/RemoteEndpointInfo.ts similarity index 89% rename from src/serialization/resources/filestorage/types/RemoteEndpointInfo.ts rename to src/serialization/resources/fileStorage/types/RemoteEndpointInfo.ts index cdf8c1bc1..ed9842a9d 100644 --- a/src/serialization/resources/filestorage/types/RemoteEndpointInfo.ts +++ b/src/serialization/resources/fileStorage/types/RemoteEndpointInfo.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const RemoteEndpointInfo: core.serialization.ObjectSchema< - serializers.filestorage.RemoteEndpointInfo.Raw, - Merge.filestorage.RemoteEndpointInfo + serializers.fileStorage.RemoteEndpointInfo.Raw, + Merge.fileStorage.RemoteEndpointInfo > = core.serialization.object({ method: core.serialization.string(), urlPath: core.serialization.property("url_path", core.serialization.string()), diff --git a/src/serialization/resources/filestorage/types/RemoteFieldApi.ts b/src/serialization/resources/fileStorage/types/RemoteFieldApi.ts similarity index 94% rename from src/serialization/resources/filestorage/types/RemoteFieldApi.ts rename to src/serialization/resources/fileStorage/types/RemoteFieldApi.ts index ae1c53d1d..2270e9958 100644 --- a/src/serialization/resources/filestorage/types/RemoteFieldApi.ts +++ b/src/serialization/resources/fileStorage/types/RemoteFieldApi.ts @@ -8,8 +8,8 @@ import { RemoteEndpointInfo } from "./RemoteEndpointInfo"; import { RemoteFieldApiCoverage } from "./RemoteFieldApiCoverage"; export const RemoteFieldApi: core.serialization.ObjectSchema< - serializers.filestorage.RemoteFieldApi.Raw, - Merge.filestorage.RemoteFieldApi + serializers.fileStorage.RemoteFieldApi.Raw, + Merge.fileStorage.RemoteFieldApi > = core.serialization.object({ schema: core.serialization.record(core.serialization.string(), core.serialization.unknown()), remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string()), diff --git a/src/serialization/resources/filestorage/types/RemoteFieldApiCoverage.ts b/src/serialization/resources/fileStorage/types/RemoteFieldApiCoverage.ts similarity index 82% rename from src/serialization/resources/filestorage/types/RemoteFieldApiCoverage.ts rename to src/serialization/resources/fileStorage/types/RemoteFieldApiCoverage.ts index 147966c14..de29167c3 100644 --- a/src/serialization/resources/filestorage/types/RemoteFieldApiCoverage.ts +++ b/src/serialization/resources/fileStorage/types/RemoteFieldApiCoverage.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const RemoteFieldApiCoverage: core.serialization.Schema< - serializers.filestorage.RemoteFieldApiCoverage.Raw, - Merge.filestorage.RemoteFieldApiCoverage + serializers.fileStorage.RemoteFieldApiCoverage.Raw, + Merge.fileStorage.RemoteFieldApiCoverage > = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.number()]); export declare namespace RemoteFieldApiCoverage { diff --git a/src/serialization/resources/filestorage/types/RemoteFieldApiResponse.ts b/src/serialization/resources/fileStorage/types/RemoteFieldApiResponse.ts similarity index 92% rename from src/serialization/resources/filestorage/types/RemoteFieldApiResponse.ts rename to src/serialization/resources/fileStorage/types/RemoteFieldApiResponse.ts index 4683aa40b..502ad2917 100644 --- a/src/serialization/resources/filestorage/types/RemoteFieldApiResponse.ts +++ b/src/serialization/resources/fileStorage/types/RemoteFieldApiResponse.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { RemoteFieldApi } from "./RemoteFieldApi"; export const RemoteFieldApiResponse: core.serialization.ObjectSchema< - serializers.filestorage.RemoteFieldApiResponse.Raw, - Merge.filestorage.RemoteFieldApiResponse + serializers.fileStorage.RemoteFieldApiResponse.Raw, + Merge.fileStorage.RemoteFieldApiResponse > = core.serialization.object({ file: core.serialization.property("File", core.serialization.list(RemoteFieldApi).optional()), folder: core.serialization.property("Folder", core.serialization.list(RemoteFieldApi).optional()), diff --git a/src/serialization/resources/filestorage/types/RemoteKey.ts b/src/serialization/resources/fileStorage/types/RemoteKey.ts similarity index 86% rename from src/serialization/resources/filestorage/types/RemoteKey.ts rename to src/serialization/resources/fileStorage/types/RemoteKey.ts index c417d51be..034b9b4d3 100644 --- a/src/serialization/resources/filestorage/types/RemoteKey.ts +++ b/src/serialization/resources/fileStorage/types/RemoteKey.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const RemoteKey: core.serialization.ObjectSchema< - serializers.filestorage.RemoteKey.Raw, - Merge.filestorage.RemoteKey + serializers.fileStorage.RemoteKey.Raw, + Merge.fileStorage.RemoteKey > = core.serialization.object({ name: core.serialization.string(), key: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/RemoteResponse.ts b/src/serialization/resources/fileStorage/types/RemoteResponse.ts similarity index 81% rename from src/serialization/resources/filestorage/types/RemoteResponse.ts rename to src/serialization/resources/fileStorage/types/RemoteResponse.ts index af7d959a6..d7de945e7 100644 --- a/src/serialization/resources/filestorage/types/RemoteResponse.ts +++ b/src/serialization/resources/fileStorage/types/RemoteResponse.ts @@ -3,11 +3,11 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { ResponseTypeEnum } from "./ResponseTypeEnum"; +import { RemoteResponseResponseType } from "./RemoteResponseResponseType"; export const RemoteResponse: core.serialization.ObjectSchema< - serializers.filestorage.RemoteResponse.Raw, - Merge.filestorage.RemoteResponse + serializers.fileStorage.RemoteResponse.Raw, + Merge.fileStorage.RemoteResponse > = core.serialization.object({ method: core.serialization.string(), path: core.serialization.string(), @@ -17,7 +17,7 @@ export const RemoteResponse: core.serialization.ObjectSchema< "response_headers", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), ), - responseType: core.serialization.property("response_type", ResponseTypeEnum.optional()), + responseType: core.serialization.property("response_type", RemoteResponseResponseType.optional()), headers: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), }); @@ -28,7 +28,7 @@ export declare namespace RemoteResponse { status: number; response?: unknown; response_headers?: Record | null; - response_type?: ResponseTypeEnum.Raw | null; + response_type?: RemoteResponseResponseType.Raw | null; headers?: Record | null; } } diff --git a/src/serialization/resources/fileStorage/types/RemoteResponseResponseType.ts b/src/serialization/resources/fileStorage/types/RemoteResponseResponseType.ts new file mode 100644 index 000000000..61aa7d66e --- /dev/null +++ b/src/serialization/resources/fileStorage/types/RemoteResponseResponseType.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { ResponseTypeEnum } from "./ResponseTypeEnum"; + +export const RemoteResponseResponseType: core.serialization.Schema< + serializers.fileStorage.RemoteResponseResponseType.Raw, + Merge.fileStorage.RemoteResponseResponseType +> = core.serialization.undiscriminatedUnion([ResponseTypeEnum, core.serialization.string()]); + +export declare namespace RemoteResponseResponseType { + export type Raw = ResponseTypeEnum.Raw | string; +} diff --git a/src/serialization/resources/filestorage/types/RequestFormatEnum.ts b/src/serialization/resources/fileStorage/types/RequestFormatEnum.ts similarity index 82% rename from src/serialization/resources/filestorage/types/RequestFormatEnum.ts rename to src/serialization/resources/fileStorage/types/RequestFormatEnum.ts index 51c816679..14f64bdc0 100644 --- a/src/serialization/resources/filestorage/types/RequestFormatEnum.ts +++ b/src/serialization/resources/fileStorage/types/RequestFormatEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const RequestFormatEnum: core.serialization.Schema< - serializers.filestorage.RequestFormatEnum.Raw, - Merge.filestorage.RequestFormatEnum + serializers.fileStorage.RequestFormatEnum.Raw, + Merge.fileStorage.RequestFormatEnum > = core.serialization.enum_(["JSON", "XML", "MULTIPART"]); export declare namespace RequestFormatEnum { diff --git a/src/serialization/resources/filestorage/types/ResponseTypeEnum.ts b/src/serialization/resources/fileStorage/types/ResponseTypeEnum.ts similarity index 82% rename from src/serialization/resources/filestorage/types/ResponseTypeEnum.ts rename to src/serialization/resources/fileStorage/types/ResponseTypeEnum.ts index fe073f161..a3a478e85 100644 --- a/src/serialization/resources/filestorage/types/ResponseTypeEnum.ts +++ b/src/serialization/resources/fileStorage/types/ResponseTypeEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const ResponseTypeEnum: core.serialization.Schema< - serializers.filestorage.ResponseTypeEnum.Raw, - Merge.filestorage.ResponseTypeEnum + serializers.fileStorage.ResponseTypeEnum.Raw, + Merge.fileStorage.ResponseTypeEnum > = core.serialization.enum_(["JSON", "BASE64_GZIP"]); export declare namespace ResponseTypeEnum { diff --git a/src/serialization/resources/filestorage/types/RoleEnum.ts b/src/serialization/resources/fileStorage/types/RoleEnum.ts similarity index 90% rename from src/serialization/resources/filestorage/types/RoleEnum.ts rename to src/serialization/resources/fileStorage/types/RoleEnum.ts index ec40585dc..b56c6a3ef 100644 --- a/src/serialization/resources/filestorage/types/RoleEnum.ts +++ b/src/serialization/resources/fileStorage/types/RoleEnum.ts @@ -4,7 +4,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -export const RoleEnum: core.serialization.Schema = +export const RoleEnum: core.serialization.Schema = core.serialization.enum_(["ADMIN", "DEVELOPER", "MEMBER", "API", "SYSTEM", "MERGE_TEAM"]); export declare namespace RoleEnum { diff --git a/src/serialization/resources/filestorage/types/RolesEnum.ts b/src/serialization/resources/fileStorage/types/RolesEnum.ts similarity index 88% rename from src/serialization/resources/filestorage/types/RolesEnum.ts rename to src/serialization/resources/fileStorage/types/RolesEnum.ts index 75954b141..82068dc10 100644 --- a/src/serialization/resources/filestorage/types/RolesEnum.ts +++ b/src/serialization/resources/fileStorage/types/RolesEnum.ts @@ -4,7 +4,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -export const RolesEnum: core.serialization.Schema = +export const RolesEnum: core.serialization.Schema = core.serialization.enum_(["READ", "WRITE", "OWNER"]); export declare namespace RolesEnum { diff --git a/src/serialization/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/serialization/resources/fileStorage/types/SelectiveSyncConfigurationsUsageEnum.ts similarity index 79% rename from src/serialization/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts rename to src/serialization/resources/fileStorage/types/SelectiveSyncConfigurationsUsageEnum.ts index 523cbfd4a..8c6ece6e2 100644 --- a/src/serialization/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts +++ b/src/serialization/resources/fileStorage/types/SelectiveSyncConfigurationsUsageEnum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const SelectiveSyncConfigurationsUsageEnum: core.serialization.Schema< - serializers.filestorage.SelectiveSyncConfigurationsUsageEnum.Raw, - Merge.filestorage.SelectiveSyncConfigurationsUsageEnum + serializers.fileStorage.SelectiveSyncConfigurationsUsageEnum.Raw, + Merge.fileStorage.SelectiveSyncConfigurationsUsageEnum > = core.serialization.enum_(["IN_NEXT_SYNC", "IN_LAST_SYNC"]); export declare namespace SelectiveSyncConfigurationsUsageEnum { diff --git a/src/serialization/resources/filestorage/types/StatusFd5Enum.ts b/src/serialization/resources/fileStorage/types/StatusFd5Enum.ts similarity index 86% rename from src/serialization/resources/filestorage/types/StatusFd5Enum.ts rename to src/serialization/resources/fileStorage/types/StatusFd5Enum.ts index ba12cad9d..ac5f14c52 100644 --- a/src/serialization/resources/filestorage/types/StatusFd5Enum.ts +++ b/src/serialization/resources/fileStorage/types/StatusFd5Enum.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const StatusFd5Enum: core.serialization.Schema< - serializers.filestorage.StatusFd5Enum.Raw, - Merge.filestorage.StatusFd5Enum + serializers.fileStorage.StatusFd5Enum.Raw, + Merge.fileStorage.StatusFd5Enum > = core.serialization.enum_(["SYNCING", "DONE", "FAILED", "DISABLED", "PAUSED", "PARTIALLY_SYNCED"]); export declare namespace StatusFd5Enum { diff --git a/src/serialization/resources/filestorage/types/SyncStatus.ts b/src/serialization/resources/fileStorage/types/SyncStatus.ts similarity index 89% rename from src/serialization/resources/filestorage/types/SyncStatus.ts rename to src/serialization/resources/fileStorage/types/SyncStatus.ts index 58bb814ae..7163af218 100644 --- a/src/serialization/resources/filestorage/types/SyncStatus.ts +++ b/src/serialization/resources/fileStorage/types/SyncStatus.ts @@ -4,12 +4,12 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { SelectiveSyncConfigurationsUsageEnum } from "./SelectiveSyncConfigurationsUsageEnum"; -import { StatusFd5Enum } from "./StatusFd5Enum"; import { SyncStatusLastSyncResult } from "./SyncStatusLastSyncResult"; +import { SyncStatusStatus } from "./SyncStatusStatus"; export const SyncStatus: core.serialization.ObjectSchema< - serializers.filestorage.SyncStatus.Raw, - Merge.filestorage.SyncStatus + serializers.fileStorage.SyncStatus.Raw, + Merge.fileStorage.SyncStatus > = core.serialization.object({ modelName: core.serialization.property("model_name", core.serialization.string()), modelId: core.serialization.property("model_id", core.serialization.string()), @@ -17,7 +17,7 @@ export const SyncStatus: core.serialization.ObjectSchema< nextSyncStart: core.serialization.property("next_sync_start", core.serialization.date().optional()), lastSyncResult: core.serialization.property("last_sync_result", SyncStatusLastSyncResult.optional()), lastSyncFinished: core.serialization.property("last_sync_finished", core.serialization.date().optional()), - status: StatusFd5Enum, + status: SyncStatusStatus, isInitialSync: core.serialization.property("is_initial_sync", core.serialization.boolean()), selectiveSyncConfigurationsUsage: core.serialization.property( "selective_sync_configurations_usage", @@ -33,7 +33,7 @@ export declare namespace SyncStatus { next_sync_start?: string | null; last_sync_result?: SyncStatusLastSyncResult.Raw | null; last_sync_finished?: string | null; - status: StatusFd5Enum.Raw; + status: SyncStatusStatus.Raw; is_initial_sync: boolean; selective_sync_configurations_usage?: SelectiveSyncConfigurationsUsageEnum.Raw | null; } diff --git a/src/serialization/resources/fileStorage/types/SyncStatusLastSyncResult.ts b/src/serialization/resources/fileStorage/types/SyncStatusLastSyncResult.ts new file mode 100644 index 000000000..47cebb2db --- /dev/null +++ b/src/serialization/resources/fileStorage/types/SyncStatusLastSyncResult.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { LastSyncResultEnum } from "./LastSyncResultEnum"; + +export const SyncStatusLastSyncResult: core.serialization.Schema< + serializers.fileStorage.SyncStatusLastSyncResult.Raw, + Merge.fileStorage.SyncStatusLastSyncResult +> = core.serialization.undiscriminatedUnion([LastSyncResultEnum, core.serialization.string()]); + +export declare namespace SyncStatusLastSyncResult { + export type Raw = LastSyncResultEnum.Raw | string; +} diff --git a/src/serialization/resources/fileStorage/types/SyncStatusStatus.ts b/src/serialization/resources/fileStorage/types/SyncStatusStatus.ts new file mode 100644 index 000000000..528f7d99e --- /dev/null +++ b/src/serialization/resources/fileStorage/types/SyncStatusStatus.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { StatusFd5Enum } from "./StatusFd5Enum"; + +export const SyncStatusStatus: core.serialization.Schema< + serializers.fileStorage.SyncStatusStatus.Raw, + Merge.fileStorage.SyncStatusStatus +> = core.serialization.undiscriminatedUnion([StatusFd5Enum, core.serialization.string()]); + +export declare namespace SyncStatusStatus { + export type Raw = StatusFd5Enum.Raw | string; +} diff --git a/src/serialization/resources/filestorage/types/TypeEnum.ts b/src/serialization/resources/fileStorage/types/TypeEnum.ts similarity index 89% rename from src/serialization/resources/filestorage/types/TypeEnum.ts rename to src/serialization/resources/fileStorage/types/TypeEnum.ts index 2531349b4..bca0ab14c 100644 --- a/src/serialization/resources/filestorage/types/TypeEnum.ts +++ b/src/serialization/resources/fileStorage/types/TypeEnum.ts @@ -4,7 +4,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -export const TypeEnum: core.serialization.Schema = +export const TypeEnum: core.serialization.Schema = core.serialization.enum_(["USER", "GROUP", "COMPANY", "ANYONE"]); export declare namespace TypeEnum { diff --git a/src/serialization/resources/filestorage/types/User.ts b/src/serialization/resources/fileStorage/types/User.ts similarity index 97% rename from src/serialization/resources/filestorage/types/User.ts rename to src/serialization/resources/fileStorage/types/User.ts index 7ee16d495..956537b05 100644 --- a/src/serialization/resources/filestorage/types/User.ts +++ b/src/serialization/resources/fileStorage/types/User.ts @@ -5,7 +5,7 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { RemoteData } from "./RemoteData"; -export const User: core.serialization.ObjectSchema = +export const User: core.serialization.ObjectSchema = core.serialization.object({ id: core.serialization.string().optional(), remoteId: core.serialization.property("remote_id", core.serialization.string().optional()), diff --git a/src/serialization/resources/filestorage/types/ValidationProblemSource.ts b/src/serialization/resources/fileStorage/types/ValidationProblemSource.ts similarity index 82% rename from src/serialization/resources/filestorage/types/ValidationProblemSource.ts rename to src/serialization/resources/fileStorage/types/ValidationProblemSource.ts index 203aee23b..a498ae300 100644 --- a/src/serialization/resources/filestorage/types/ValidationProblemSource.ts +++ b/src/serialization/resources/fileStorage/types/ValidationProblemSource.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const ValidationProblemSource: core.serialization.ObjectSchema< - serializers.filestorage.ValidationProblemSource.Raw, - Merge.filestorage.ValidationProblemSource + serializers.fileStorage.ValidationProblemSource.Raw, + Merge.fileStorage.ValidationProblemSource > = core.serialization.object({ pointer: core.serialization.string(), }); diff --git a/src/serialization/resources/filestorage/types/WarningValidationProblem.ts b/src/serialization/resources/fileStorage/types/WarningValidationProblem.ts similarity index 88% rename from src/serialization/resources/filestorage/types/WarningValidationProblem.ts rename to src/serialization/resources/fileStorage/types/WarningValidationProblem.ts index 80bb2e950..b576cbf6b 100644 --- a/src/serialization/resources/filestorage/types/WarningValidationProblem.ts +++ b/src/serialization/resources/fileStorage/types/WarningValidationProblem.ts @@ -6,8 +6,8 @@ import type * as serializers from "../../../index"; import { ValidationProblemSource } from "./ValidationProblemSource"; export const WarningValidationProblem: core.serialization.ObjectSchema< - serializers.filestorage.WarningValidationProblem.Raw, - Merge.filestorage.WarningValidationProblem + serializers.fileStorage.WarningValidationProblem.Raw, + Merge.fileStorage.WarningValidationProblem > = core.serialization.object({ source: ValidationProblemSource.optional(), title: core.serialization.string(), diff --git a/src/serialization/resources/filestorage/types/WebhookReceiver.ts b/src/serialization/resources/fileStorage/types/WebhookReceiver.ts similarity index 88% rename from src/serialization/resources/filestorage/types/WebhookReceiver.ts rename to src/serialization/resources/fileStorage/types/WebhookReceiver.ts index a5efa12b7..bf69cbc00 100644 --- a/src/serialization/resources/filestorage/types/WebhookReceiver.ts +++ b/src/serialization/resources/fileStorage/types/WebhookReceiver.ts @@ -5,8 +5,8 @@ import * as core from "../../../../core"; import type * as serializers from "../../../index"; export const WebhookReceiver: core.serialization.ObjectSchema< - serializers.filestorage.WebhookReceiver.Raw, - Merge.filestorage.WebhookReceiver + serializers.fileStorage.WebhookReceiver.Raw, + Merge.fileStorage.WebhookReceiver > = core.serialization.object({ event: core.serialization.string(), isActive: core.serialization.property("is_active", core.serialization.boolean()), diff --git a/src/api/resources/filestorage/types/index.ts b/src/serialization/resources/fileStorage/types/index.ts similarity index 91% rename from src/api/resources/filestorage/types/index.ts rename to src/serialization/resources/fileStorage/types/index.ts index 80763bb71..167814e8e 100644 --- a/src/api/resources/filestorage/types/index.ts +++ b/src/serialization/resources/fileStorage/types/index.ts @@ -1,7 +1,10 @@ export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; +export * from "./AccountDetailsAndActionsCategory"; export * from "./AccountDetailsAndActionsIntegration"; +export * from "./AccountDetailsAndActionsStatus"; export * from "./AccountDetailsAndActionsStatusEnum"; +export * from "./AccountDetailsCategory"; export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AdvancedMetadata"; @@ -37,24 +40,24 @@ export * from "./File_"; export * from "./FileDrive"; export * from "./FileFolder"; export * from "./FilePermissions"; -export * from "./FilePermissionsItem"; +export * from "./FilePermissionsTwoItem"; export * from "./FileRequest"; export * from "./FileRequestDrive"; export * from "./FileRequestFolder"; export * from "./FileRequestPermissions"; -export * from "./FileRequestPermissionsItem"; +export * from "./FileRequestPermissionsTwoItem"; export * from "./FileStorageFileResponse"; export * from "./FileStorageFolderResponse"; export * from "./Folder"; export * from "./FolderDrive"; export * from "./FolderParentFolder"; export * from "./FolderPermissions"; -export * from "./FolderPermissionsItem"; +export * from "./FolderPermissionsTwoItem"; export * from "./FolderRequest"; export * from "./FolderRequestDrive"; export * from "./FolderRequestParentFolder"; export * from "./FolderRequestPermissions"; -export * from "./FolderRequestPermissionsItem"; +export * from "./FolderRequestPermissionsTwoItem"; export * from "./Group"; export * from "./GroupChildGroupsItem"; export * from "./IndividualCommonModelScopeDeserializer"; @@ -100,6 +103,7 @@ export * from "./RemoteFieldApiCoverage"; export * from "./RemoteFieldApiResponse"; export * from "./RemoteKey"; export * from "./RemoteResponse"; +export * from "./RemoteResponseResponseType"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./RoleEnum"; @@ -108,6 +112,7 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; export * from "./SyncStatusLastSyncResult"; +export * from "./SyncStatusStatus"; export * from "./TypeEnum"; export * from "./User"; export * from "./ValidationProblemSource"; diff --git a/src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts b/src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts deleted file mode 100644 index b1f469255..000000000 --- a/src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const FilesListRequestExpand: core.serialization.Schema< - serializers.filestorage.FilesListRequestExpand.Raw, - Merge.filestorage.FilesListRequestExpand -> = core.serialization.enum_([ - "drive", - "folder", - "folder,drive", - "permissions", - "permissions,drive", - "permissions,folder", - "permissions,folder,drive", -]); - -export declare namespace FilesListRequestExpand { - export type Raw = - | "drive" - | "folder" - | "folder,drive" - | "permissions" - | "permissions,drive" - | "permissions,folder" - | "permissions,folder,drive"; -} diff --git a/src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts b/src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts deleted file mode 100644 index 1d1fc88d8..000000000 --- a/src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const FilesRetrieveRequestExpand: core.serialization.Schema< - serializers.filestorage.FilesRetrieveRequestExpand.Raw, - Merge.filestorage.FilesRetrieveRequestExpand -> = core.serialization.enum_([ - "drive", - "folder", - "folder,drive", - "permissions", - "permissions,drive", - "permissions,folder", - "permissions,folder,drive", -]); - -export declare namespace FilesRetrieveRequestExpand { - export type Raw = - | "drive" - | "folder" - | "folder,drive" - | "permissions" - | "permissions,drive" - | "permissions,folder" - | "permissions,folder,drive"; -} diff --git a/src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts b/src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts deleted file mode 100644 index 41e819b12..000000000 --- a/src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const FoldersListRequestExpand: core.serialization.Schema< - serializers.filestorage.FoldersListRequestExpand.Raw, - Merge.filestorage.FoldersListRequestExpand -> = core.serialization.enum_([ - "drive", - "parent_folder", - "parent_folder,drive", - "permissions", - "permissions,drive", - "permissions,parent_folder", - "permissions,parent_folder,drive", -]); - -export declare namespace FoldersListRequestExpand { - export type Raw = - | "drive" - | "parent_folder" - | "parent_folder,drive" - | "permissions" - | "permissions,drive" - | "permissions,parent_folder" - | "permissions,parent_folder,drive"; -} diff --git a/src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts b/src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts deleted file mode 100644 index b4d1394d3..000000000 --- a/src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const FoldersRetrieveRequestExpand: core.serialization.Schema< - serializers.filestorage.FoldersRetrieveRequestExpand.Raw, - Merge.filestorage.FoldersRetrieveRequestExpand -> = core.serialization.enum_([ - "drive", - "parent_folder", - "parent_folder,drive", - "permissions", - "permissions,drive", - "permissions,parent_folder", - "permissions,parent_folder,drive", -]); - -export declare namespace FoldersRetrieveRequestExpand { - export type Raw = - | "drive" - | "parent_folder" - | "parent_folder,drive" - | "permissions" - | "permissions,drive" - | "permissions,parent_folder" - | "permissions,parent_folder,drive"; -} diff --git a/src/serialization/resources/filestorage/resources/folders/types/index.ts b/src/serialization/resources/filestorage/resources/folders/types/index.ts deleted file mode 100644 index 855f5754e..000000000 --- a/src/serialization/resources/filestorage/resources/folders/types/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./FoldersListRequestExpand"; -export * from "./FoldersRetrieveRequestExpand"; diff --git a/src/serialization/resources/filestorage/resources/regenerateKey/client/index.ts b/src/serialization/resources/filestorage/resources/regenerateKey/client/index.ts deleted file mode 100644 index 415726b7f..000000000 --- a/src/serialization/resources/filestorage/resources/regenerateKey/client/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./requests"; diff --git a/src/serialization/resources/filestorage/resources/scopes/client/index.ts b/src/serialization/resources/filestorage/resources/scopes/client/index.ts deleted file mode 100644 index 415726b7f..000000000 --- a/src/serialization/resources/filestorage/resources/scopes/client/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./requests"; diff --git a/src/serialization/resources/filestorage/resources/scopes/index.ts b/src/serialization/resources/filestorage/resources/scopes/index.ts deleted file mode 100644 index 5ec76921e..000000000 --- a/src/serialization/resources/filestorage/resources/scopes/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./client"; diff --git a/src/serialization/resources/filestorage/resources/webhookReceivers/index.ts b/src/serialization/resources/filestorage/resources/webhookReceivers/index.ts deleted file mode 100644 index 5ec76921e..000000000 --- a/src/serialization/resources/filestorage/resources/webhookReceivers/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./client"; diff --git a/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts deleted file mode 100644 index 3097fcfa3..000000000 --- a/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EmployeePayrollRunsListRequestExpand: core.serialization.Schema< - serializers.hris.EmployeePayrollRunsListRequestExpand.Raw, - Merge.hris.EmployeePayrollRunsListRequestExpand -> = core.serialization.enum_(["employee", "employee,payroll_run", "payroll_run"]); - -export declare namespace EmployeePayrollRunsListRequestExpand { - export type Raw = "employee" | "employee,payroll_run" | "payroll_run"; -} diff --git a/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts new file mode 100644 index 000000000..d8504229c --- /dev/null +++ b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EmployeePayrollRunsListRequestExpandItem: core.serialization.Schema< + serializers.hris.EmployeePayrollRunsListRequestExpandItem.Raw, + Merge.hris.EmployeePayrollRunsListRequestExpandItem +> = core.serialization.enum_(["employee", "payroll_run"]); + +export declare namespace EmployeePayrollRunsListRequestExpandItem { + export type Raw = "employee" | "payroll_run"; +} diff --git a/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts deleted file mode 100644 index e25f11673..000000000 --- a/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EmployeePayrollRunsRetrieveRequestExpand: core.serialization.Schema< - serializers.hris.EmployeePayrollRunsRetrieveRequestExpand.Raw, - Merge.hris.EmployeePayrollRunsRetrieveRequestExpand -> = core.serialization.enum_(["employee", "employee,payroll_run", "payroll_run"]); - -export declare namespace EmployeePayrollRunsRetrieveRequestExpand { - export type Raw = "employee" | "employee,payroll_run" | "payroll_run"; -} diff --git a/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..002689b57 --- /dev/null +++ b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EmployeePayrollRunsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.hris.EmployeePayrollRunsRetrieveRequestExpandItem.Raw, + Merge.hris.EmployeePayrollRunsRetrieveRequestExpandItem +> = core.serialization.enum_(["employee", "payroll_run"]); + +export declare namespace EmployeePayrollRunsRetrieveRequestExpandItem { + export type Raw = "employee" | "payroll_run"; +} diff --git a/src/serialization/resources/hris/resources/employeePayrollRuns/types/index.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/index.ts index 7adf16728..adee6252a 100644 --- a/src/serialization/resources/hris/resources/employeePayrollRuns/types/index.ts +++ b/src/serialization/resources/hris/resources/employeePayrollRuns/types/index.ts @@ -1,2 +1,2 @@ -export * from "./EmployeePayrollRunsListRequestExpand"; -export * from "./EmployeePayrollRunsRetrieveRequestExpand"; +export * from "./EmployeePayrollRunsListRequestExpandItem"; +export * from "./EmployeePayrollRunsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/hris/resources/employees/client/requests/index.ts b/src/serialization/resources/hris/resources/employees/client/requests/index.ts index 276232eee..aff660065 100644 --- a/src/serialization/resources/hris/resources/employees/client/requests/index.ts +++ b/src/serialization/resources/hris/resources/employees/client/requests/index.ts @@ -1,2 +1 @@ export { EmployeeEndpointRequest } from "./EmployeeEndpointRequest"; -export { IgnoreCommonModelRequest } from "./IgnoreCommonModelRequest"; diff --git a/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts deleted file mode 100644 index d8878e85f..000000000 --- a/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts +++ /dev/null @@ -1,525 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EmployeesListRequestExpand: core.serialization.Schema< - serializers.hris.EmployeesListRequestExpand.Raw, - Merge.hris.EmployeesListRequestExpand -> = core.serialization.enum_([ - "company", - "company,pay_group", - "employments", - "employments,company", - "employments,company,pay_group", - "employments,groups", - "employments,groups,company", - "employments,groups,company,pay_group", - "employments,groups,home_location", - "employments,groups,home_location,company", - "employments,groups,home_location,company,pay_group", - "employments,groups,home_location,manager", - "employments,groups,home_location,manager,company", - "employments,groups,home_location,manager,company,pay_group", - "employments,groups,home_location,manager,pay_group", - "employments,groups,home_location,manager,team", - "employments,groups,home_location,manager,team,company", - "employments,groups,home_location,manager,team,company,pay_group", - "employments,groups,home_location,manager,team,pay_group", - "employments,groups,home_location,pay_group", - "employments,groups,home_location,team", - "employments,groups,home_location,team,company", - "employments,groups,home_location,team,company,pay_group", - "employments,groups,home_location,team,pay_group", - "employments,groups,home_location,work_location", - "employments,groups,home_location,work_location,company", - "employments,groups,home_location,work_location,company,pay_group", - "employments,groups,home_location,work_location,manager", - "employments,groups,home_location,work_location,manager,company", - "employments,groups,home_location,work_location,manager,company,pay_group", - "employments,groups,home_location,work_location,manager,pay_group", - "employments,groups,home_location,work_location,manager,team", - "employments,groups,home_location,work_location,manager,team,company", - "employments,groups,home_location,work_location,manager,team,company,pay_group", - "employments,groups,home_location,work_location,manager,team,pay_group", - "employments,groups,home_location,work_location,pay_group", - "employments,groups,home_location,work_location,team", - "employments,groups,home_location,work_location,team,company", - "employments,groups,home_location,work_location,team,company,pay_group", - "employments,groups,home_location,work_location,team,pay_group", - "employments,groups,manager", - "employments,groups,manager,company", - "employments,groups,manager,company,pay_group", - "employments,groups,manager,pay_group", - "employments,groups,manager,team", - "employments,groups,manager,team,company", - "employments,groups,manager,team,company,pay_group", - "employments,groups,manager,team,pay_group", - "employments,groups,pay_group", - "employments,groups,team", - "employments,groups,team,company", - "employments,groups,team,company,pay_group", - "employments,groups,team,pay_group", - "employments,groups,work_location", - "employments,groups,work_location,company", - "employments,groups,work_location,company,pay_group", - "employments,groups,work_location,manager", - "employments,groups,work_location,manager,company", - "employments,groups,work_location,manager,company,pay_group", - "employments,groups,work_location,manager,pay_group", - "employments,groups,work_location,manager,team", - "employments,groups,work_location,manager,team,company", - "employments,groups,work_location,manager,team,company,pay_group", - "employments,groups,work_location,manager,team,pay_group", - "employments,groups,work_location,pay_group", - "employments,groups,work_location,team", - "employments,groups,work_location,team,company", - "employments,groups,work_location,team,company,pay_group", - "employments,groups,work_location,team,pay_group", - "employments,home_location", - "employments,home_location,company", - "employments,home_location,company,pay_group", - "employments,home_location,manager", - "employments,home_location,manager,company", - "employments,home_location,manager,company,pay_group", - "employments,home_location,manager,pay_group", - "employments,home_location,manager,team", - "employments,home_location,manager,team,company", - "employments,home_location,manager,team,company,pay_group", - "employments,home_location,manager,team,pay_group", - "employments,home_location,pay_group", - "employments,home_location,team", - "employments,home_location,team,company", - "employments,home_location,team,company,pay_group", - "employments,home_location,team,pay_group", - "employments,home_location,work_location", - "employments,home_location,work_location,company", - "employments,home_location,work_location,company,pay_group", - "employments,home_location,work_location,manager", - "employments,home_location,work_location,manager,company", - "employments,home_location,work_location,manager,company,pay_group", - "employments,home_location,work_location,manager,pay_group", - "employments,home_location,work_location,manager,team", - "employments,home_location,work_location,manager,team,company", - "employments,home_location,work_location,manager,team,company,pay_group", - "employments,home_location,work_location,manager,team,pay_group", - "employments,home_location,work_location,pay_group", - "employments,home_location,work_location,team", - "employments,home_location,work_location,team,company", - "employments,home_location,work_location,team,company,pay_group", - "employments,home_location,work_location,team,pay_group", - "employments,manager", - "employments,manager,company", - "employments,manager,company,pay_group", - "employments,manager,pay_group", - "employments,manager,team", - "employments,manager,team,company", - "employments,manager,team,company,pay_group", - "employments,manager,team,pay_group", - "employments,pay_group", - "employments,team", - "employments,team,company", - "employments,team,company,pay_group", - "employments,team,pay_group", - "employments,work_location", - "employments,work_location,company", - "employments,work_location,company,pay_group", - "employments,work_location,manager", - "employments,work_location,manager,company", - "employments,work_location,manager,company,pay_group", - "employments,work_location,manager,pay_group", - "employments,work_location,manager,team", - "employments,work_location,manager,team,company", - "employments,work_location,manager,team,company,pay_group", - "employments,work_location,manager,team,pay_group", - "employments,work_location,pay_group", - "employments,work_location,team", - "employments,work_location,team,company", - "employments,work_location,team,company,pay_group", - "employments,work_location,team,pay_group", - "groups", - "groups,company", - "groups,company,pay_group", - "groups,home_location", - "groups,home_location,company", - "groups,home_location,company,pay_group", - "groups,home_location,manager", - "groups,home_location,manager,company", - "groups,home_location,manager,company,pay_group", - "groups,home_location,manager,pay_group", - "groups,home_location,manager,team", - "groups,home_location,manager,team,company", - "groups,home_location,manager,team,company,pay_group", - "groups,home_location,manager,team,pay_group", - "groups,home_location,pay_group", - "groups,home_location,team", - "groups,home_location,team,company", - "groups,home_location,team,company,pay_group", - "groups,home_location,team,pay_group", - "groups,home_location,work_location", - "groups,home_location,work_location,company", - "groups,home_location,work_location,company,pay_group", - "groups,home_location,work_location,manager", - "groups,home_location,work_location,manager,company", - "groups,home_location,work_location,manager,company,pay_group", - "groups,home_location,work_location,manager,pay_group", - "groups,home_location,work_location,manager,team", - "groups,home_location,work_location,manager,team,company", - "groups,home_location,work_location,manager,team,company,pay_group", - "groups,home_location,work_location,manager,team,pay_group", - "groups,home_location,work_location,pay_group", - "groups,home_location,work_location,team", - "groups,home_location,work_location,team,company", - "groups,home_location,work_location,team,company,pay_group", - "groups,home_location,work_location,team,pay_group", - "groups,manager", - "groups,manager,company", - "groups,manager,company,pay_group", - "groups,manager,pay_group", - "groups,manager,team", - "groups,manager,team,company", - "groups,manager,team,company,pay_group", - "groups,manager,team,pay_group", - "groups,pay_group", - "groups,team", - "groups,team,company", - "groups,team,company,pay_group", - "groups,team,pay_group", - "groups,work_location", - "groups,work_location,company", - "groups,work_location,company,pay_group", - "groups,work_location,manager", - "groups,work_location,manager,company", - "groups,work_location,manager,company,pay_group", - "groups,work_location,manager,pay_group", - "groups,work_location,manager,team", - "groups,work_location,manager,team,company", - "groups,work_location,manager,team,company,pay_group", - "groups,work_location,manager,team,pay_group", - "groups,work_location,pay_group", - "groups,work_location,team", - "groups,work_location,team,company", - "groups,work_location,team,company,pay_group", - "groups,work_location,team,pay_group", - "home_location", - "home_location,company", - "home_location,company,pay_group", - "home_location,manager", - "home_location,manager,company", - "home_location,manager,company,pay_group", - "home_location,manager,pay_group", - "home_location,manager,team", - "home_location,manager,team,company", - "home_location,manager,team,company,pay_group", - "home_location,manager,team,pay_group", - "home_location,pay_group", - "home_location,team", - "home_location,team,company", - "home_location,team,company,pay_group", - "home_location,team,pay_group", - "home_location,work_location", - "home_location,work_location,company", - "home_location,work_location,company,pay_group", - "home_location,work_location,manager", - "home_location,work_location,manager,company", - "home_location,work_location,manager,company,pay_group", - "home_location,work_location,manager,pay_group", - "home_location,work_location,manager,team", - "home_location,work_location,manager,team,company", - "home_location,work_location,manager,team,company,pay_group", - "home_location,work_location,manager,team,pay_group", - "home_location,work_location,pay_group", - "home_location,work_location,team", - "home_location,work_location,team,company", - "home_location,work_location,team,company,pay_group", - "home_location,work_location,team,pay_group", - "manager", - "manager,company", - "manager,company,pay_group", - "manager,pay_group", - "manager,team", - "manager,team,company", - "manager,team,company,pay_group", - "manager,team,pay_group", - "pay_group", - "team", - "team,company", - "team,company,pay_group", - "team,pay_group", - "work_location", - "work_location,company", - "work_location,company,pay_group", - "work_location,manager", - "work_location,manager,company", - "work_location,manager,company,pay_group", - "work_location,manager,pay_group", - "work_location,manager,team", - "work_location,manager,team,company", - "work_location,manager,team,company,pay_group", - "work_location,manager,team,pay_group", - "work_location,pay_group", - "work_location,team", - "work_location,team,company", - "work_location,team,company,pay_group", - "work_location,team,pay_group", -]); - -export declare namespace EmployeesListRequestExpand { - export type Raw = - | "company" - | "company,pay_group" - | "employments" - | "employments,company" - | "employments,company,pay_group" - | "employments,groups" - | "employments,groups,company" - | "employments,groups,company,pay_group" - | "employments,groups,home_location" - | "employments,groups,home_location,company" - | "employments,groups,home_location,company,pay_group" - | "employments,groups,home_location,manager" - | "employments,groups,home_location,manager,company" - | "employments,groups,home_location,manager,company,pay_group" - | "employments,groups,home_location,manager,pay_group" - | "employments,groups,home_location,manager,team" - | "employments,groups,home_location,manager,team,company" - | "employments,groups,home_location,manager,team,company,pay_group" - | "employments,groups,home_location,manager,team,pay_group" - | "employments,groups,home_location,pay_group" - | "employments,groups,home_location,team" - | "employments,groups,home_location,team,company" - | "employments,groups,home_location,team,company,pay_group" - | "employments,groups,home_location,team,pay_group" - | "employments,groups,home_location,work_location" - | "employments,groups,home_location,work_location,company" - | "employments,groups,home_location,work_location,company,pay_group" - | "employments,groups,home_location,work_location,manager" - | "employments,groups,home_location,work_location,manager,company" - | "employments,groups,home_location,work_location,manager,company,pay_group" - | "employments,groups,home_location,work_location,manager,pay_group" - | "employments,groups,home_location,work_location,manager,team" - | "employments,groups,home_location,work_location,manager,team,company" - | "employments,groups,home_location,work_location,manager,team,company,pay_group" - | "employments,groups,home_location,work_location,manager,team,pay_group" - | "employments,groups,home_location,work_location,pay_group" - | "employments,groups,home_location,work_location,team" - | "employments,groups,home_location,work_location,team,company" - | "employments,groups,home_location,work_location,team,company,pay_group" - | "employments,groups,home_location,work_location,team,pay_group" - | "employments,groups,manager" - | "employments,groups,manager,company" - | "employments,groups,manager,company,pay_group" - | "employments,groups,manager,pay_group" - | "employments,groups,manager,team" - | "employments,groups,manager,team,company" - | "employments,groups,manager,team,company,pay_group" - | "employments,groups,manager,team,pay_group" - | "employments,groups,pay_group" - | "employments,groups,team" - | "employments,groups,team,company" - | "employments,groups,team,company,pay_group" - | "employments,groups,team,pay_group" - | "employments,groups,work_location" - | "employments,groups,work_location,company" - | "employments,groups,work_location,company,pay_group" - | "employments,groups,work_location,manager" - | "employments,groups,work_location,manager,company" - | "employments,groups,work_location,manager,company,pay_group" - | "employments,groups,work_location,manager,pay_group" - | "employments,groups,work_location,manager,team" - | "employments,groups,work_location,manager,team,company" - | "employments,groups,work_location,manager,team,company,pay_group" - | "employments,groups,work_location,manager,team,pay_group" - | "employments,groups,work_location,pay_group" - | "employments,groups,work_location,team" - | "employments,groups,work_location,team,company" - | "employments,groups,work_location,team,company,pay_group" - | "employments,groups,work_location,team,pay_group" - | "employments,home_location" - | "employments,home_location,company" - | "employments,home_location,company,pay_group" - | "employments,home_location,manager" - | "employments,home_location,manager,company" - | "employments,home_location,manager,company,pay_group" - | "employments,home_location,manager,pay_group" - | "employments,home_location,manager,team" - | "employments,home_location,manager,team,company" - | "employments,home_location,manager,team,company,pay_group" - | "employments,home_location,manager,team,pay_group" - | "employments,home_location,pay_group" - | "employments,home_location,team" - | "employments,home_location,team,company" - | "employments,home_location,team,company,pay_group" - | "employments,home_location,team,pay_group" - | "employments,home_location,work_location" - | "employments,home_location,work_location,company" - | "employments,home_location,work_location,company,pay_group" - | "employments,home_location,work_location,manager" - | "employments,home_location,work_location,manager,company" - | "employments,home_location,work_location,manager,company,pay_group" - | "employments,home_location,work_location,manager,pay_group" - | "employments,home_location,work_location,manager,team" - | "employments,home_location,work_location,manager,team,company" - | "employments,home_location,work_location,manager,team,company,pay_group" - | "employments,home_location,work_location,manager,team,pay_group" - | "employments,home_location,work_location,pay_group" - | "employments,home_location,work_location,team" - | "employments,home_location,work_location,team,company" - | "employments,home_location,work_location,team,company,pay_group" - | "employments,home_location,work_location,team,pay_group" - | "employments,manager" - | "employments,manager,company" - | "employments,manager,company,pay_group" - | "employments,manager,pay_group" - | "employments,manager,team" - | "employments,manager,team,company" - | "employments,manager,team,company,pay_group" - | "employments,manager,team,pay_group" - | "employments,pay_group" - | "employments,team" - | "employments,team,company" - | "employments,team,company,pay_group" - | "employments,team,pay_group" - | "employments,work_location" - | "employments,work_location,company" - | "employments,work_location,company,pay_group" - | "employments,work_location,manager" - | "employments,work_location,manager,company" - | "employments,work_location,manager,company,pay_group" - | "employments,work_location,manager,pay_group" - | "employments,work_location,manager,team" - | "employments,work_location,manager,team,company" - | "employments,work_location,manager,team,company,pay_group" - | "employments,work_location,manager,team,pay_group" - | "employments,work_location,pay_group" - | "employments,work_location,team" - | "employments,work_location,team,company" - | "employments,work_location,team,company,pay_group" - | "employments,work_location,team,pay_group" - | "groups" - | "groups,company" - | "groups,company,pay_group" - | "groups,home_location" - | "groups,home_location,company" - | "groups,home_location,company,pay_group" - | "groups,home_location,manager" - | "groups,home_location,manager,company" - | "groups,home_location,manager,company,pay_group" - | "groups,home_location,manager,pay_group" - | "groups,home_location,manager,team" - | "groups,home_location,manager,team,company" - | "groups,home_location,manager,team,company,pay_group" - | "groups,home_location,manager,team,pay_group" - | "groups,home_location,pay_group" - | "groups,home_location,team" - | "groups,home_location,team,company" - | "groups,home_location,team,company,pay_group" - | "groups,home_location,team,pay_group" - | "groups,home_location,work_location" - | "groups,home_location,work_location,company" - | "groups,home_location,work_location,company,pay_group" - | "groups,home_location,work_location,manager" - | "groups,home_location,work_location,manager,company" - | "groups,home_location,work_location,manager,company,pay_group" - | "groups,home_location,work_location,manager,pay_group" - | "groups,home_location,work_location,manager,team" - | "groups,home_location,work_location,manager,team,company" - | "groups,home_location,work_location,manager,team,company,pay_group" - | "groups,home_location,work_location,manager,team,pay_group" - | "groups,home_location,work_location,pay_group" - | "groups,home_location,work_location,team" - | "groups,home_location,work_location,team,company" - | "groups,home_location,work_location,team,company,pay_group" - | "groups,home_location,work_location,team,pay_group" - | "groups,manager" - | "groups,manager,company" - | "groups,manager,company,pay_group" - | "groups,manager,pay_group" - | "groups,manager,team" - | "groups,manager,team,company" - | "groups,manager,team,company,pay_group" - | "groups,manager,team,pay_group" - | "groups,pay_group" - | "groups,team" - | "groups,team,company" - | "groups,team,company,pay_group" - | "groups,team,pay_group" - | "groups,work_location" - | "groups,work_location,company" - | "groups,work_location,company,pay_group" - | "groups,work_location,manager" - | "groups,work_location,manager,company" - | "groups,work_location,manager,company,pay_group" - | "groups,work_location,manager,pay_group" - | "groups,work_location,manager,team" - | "groups,work_location,manager,team,company" - | "groups,work_location,manager,team,company,pay_group" - | "groups,work_location,manager,team,pay_group" - | "groups,work_location,pay_group" - | "groups,work_location,team" - | "groups,work_location,team,company" - | "groups,work_location,team,company,pay_group" - | "groups,work_location,team,pay_group" - | "home_location" - | "home_location,company" - | "home_location,company,pay_group" - | "home_location,manager" - | "home_location,manager,company" - | "home_location,manager,company,pay_group" - | "home_location,manager,pay_group" - | "home_location,manager,team" - | "home_location,manager,team,company" - | "home_location,manager,team,company,pay_group" - | "home_location,manager,team,pay_group" - | "home_location,pay_group" - | "home_location,team" - | "home_location,team,company" - | "home_location,team,company,pay_group" - | "home_location,team,pay_group" - | "home_location,work_location" - | "home_location,work_location,company" - | "home_location,work_location,company,pay_group" - | "home_location,work_location,manager" - | "home_location,work_location,manager,company" - | "home_location,work_location,manager,company,pay_group" - | "home_location,work_location,manager,pay_group" - | "home_location,work_location,manager,team" - | "home_location,work_location,manager,team,company" - | "home_location,work_location,manager,team,company,pay_group" - | "home_location,work_location,manager,team,pay_group" - | "home_location,work_location,pay_group" - | "home_location,work_location,team" - | "home_location,work_location,team,company" - | "home_location,work_location,team,company,pay_group" - | "home_location,work_location,team,pay_group" - | "manager" - | "manager,company" - | "manager,company,pay_group" - | "manager,pay_group" - | "manager,team" - | "manager,team,company" - | "manager,team,company,pay_group" - | "manager,team,pay_group" - | "pay_group" - | "team" - | "team,company" - | "team,company,pay_group" - | "team,pay_group" - | "work_location" - | "work_location,company" - | "work_location,company,pay_group" - | "work_location,manager" - | "work_location,manager,company" - | "work_location,manager,company,pay_group" - | "work_location,manager,pay_group" - | "work_location,manager,team" - | "work_location,manager,team,company" - | "work_location,manager,team,company,pay_group" - | "work_location,manager,team,pay_group" - | "work_location,pay_group" - | "work_location,team" - | "work_location,team,company" - | "work_location,team,company,pay_group" - | "work_location,team,pay_group"; -} diff --git a/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts new file mode 100644 index 000000000..9746e7943 --- /dev/null +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts @@ -0,0 +1,31 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EmployeesListRequestExpandItem: core.serialization.Schema< + serializers.hris.EmployeesListRequestExpandItem.Raw, + Merge.hris.EmployeesListRequestExpandItem +> = core.serialization.enum_([ + "company", + "employments", + "groups", + "home_location", + "manager", + "pay_group", + "team", + "work_location", +]); + +export declare namespace EmployeesListRequestExpandItem { + export type Raw = + | "company" + | "employments" + | "groups" + | "home_location" + | "manager" + | "pay_group" + | "team" + | "work_location"; +} diff --git a/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts deleted file mode 100644 index 5f64251a9..000000000 --- a/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts +++ /dev/null @@ -1,525 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EmployeesRetrieveRequestExpand: core.serialization.Schema< - serializers.hris.EmployeesRetrieveRequestExpand.Raw, - Merge.hris.EmployeesRetrieveRequestExpand -> = core.serialization.enum_([ - "company", - "company,pay_group", - "employments", - "employments,company", - "employments,company,pay_group", - "employments,groups", - "employments,groups,company", - "employments,groups,company,pay_group", - "employments,groups,home_location", - "employments,groups,home_location,company", - "employments,groups,home_location,company,pay_group", - "employments,groups,home_location,manager", - "employments,groups,home_location,manager,company", - "employments,groups,home_location,manager,company,pay_group", - "employments,groups,home_location,manager,pay_group", - "employments,groups,home_location,manager,team", - "employments,groups,home_location,manager,team,company", - "employments,groups,home_location,manager,team,company,pay_group", - "employments,groups,home_location,manager,team,pay_group", - "employments,groups,home_location,pay_group", - "employments,groups,home_location,team", - "employments,groups,home_location,team,company", - "employments,groups,home_location,team,company,pay_group", - "employments,groups,home_location,team,pay_group", - "employments,groups,home_location,work_location", - "employments,groups,home_location,work_location,company", - "employments,groups,home_location,work_location,company,pay_group", - "employments,groups,home_location,work_location,manager", - "employments,groups,home_location,work_location,manager,company", - "employments,groups,home_location,work_location,manager,company,pay_group", - "employments,groups,home_location,work_location,manager,pay_group", - "employments,groups,home_location,work_location,manager,team", - "employments,groups,home_location,work_location,manager,team,company", - "employments,groups,home_location,work_location,manager,team,company,pay_group", - "employments,groups,home_location,work_location,manager,team,pay_group", - "employments,groups,home_location,work_location,pay_group", - "employments,groups,home_location,work_location,team", - "employments,groups,home_location,work_location,team,company", - "employments,groups,home_location,work_location,team,company,pay_group", - "employments,groups,home_location,work_location,team,pay_group", - "employments,groups,manager", - "employments,groups,manager,company", - "employments,groups,manager,company,pay_group", - "employments,groups,manager,pay_group", - "employments,groups,manager,team", - "employments,groups,manager,team,company", - "employments,groups,manager,team,company,pay_group", - "employments,groups,manager,team,pay_group", - "employments,groups,pay_group", - "employments,groups,team", - "employments,groups,team,company", - "employments,groups,team,company,pay_group", - "employments,groups,team,pay_group", - "employments,groups,work_location", - "employments,groups,work_location,company", - "employments,groups,work_location,company,pay_group", - "employments,groups,work_location,manager", - "employments,groups,work_location,manager,company", - "employments,groups,work_location,manager,company,pay_group", - "employments,groups,work_location,manager,pay_group", - "employments,groups,work_location,manager,team", - "employments,groups,work_location,manager,team,company", - "employments,groups,work_location,manager,team,company,pay_group", - "employments,groups,work_location,manager,team,pay_group", - "employments,groups,work_location,pay_group", - "employments,groups,work_location,team", - "employments,groups,work_location,team,company", - "employments,groups,work_location,team,company,pay_group", - "employments,groups,work_location,team,pay_group", - "employments,home_location", - "employments,home_location,company", - "employments,home_location,company,pay_group", - "employments,home_location,manager", - "employments,home_location,manager,company", - "employments,home_location,manager,company,pay_group", - "employments,home_location,manager,pay_group", - "employments,home_location,manager,team", - "employments,home_location,manager,team,company", - "employments,home_location,manager,team,company,pay_group", - "employments,home_location,manager,team,pay_group", - "employments,home_location,pay_group", - "employments,home_location,team", - "employments,home_location,team,company", - "employments,home_location,team,company,pay_group", - "employments,home_location,team,pay_group", - "employments,home_location,work_location", - "employments,home_location,work_location,company", - "employments,home_location,work_location,company,pay_group", - "employments,home_location,work_location,manager", - "employments,home_location,work_location,manager,company", - "employments,home_location,work_location,manager,company,pay_group", - "employments,home_location,work_location,manager,pay_group", - "employments,home_location,work_location,manager,team", - "employments,home_location,work_location,manager,team,company", - "employments,home_location,work_location,manager,team,company,pay_group", - "employments,home_location,work_location,manager,team,pay_group", - "employments,home_location,work_location,pay_group", - "employments,home_location,work_location,team", - "employments,home_location,work_location,team,company", - "employments,home_location,work_location,team,company,pay_group", - "employments,home_location,work_location,team,pay_group", - "employments,manager", - "employments,manager,company", - "employments,manager,company,pay_group", - "employments,manager,pay_group", - "employments,manager,team", - "employments,manager,team,company", - "employments,manager,team,company,pay_group", - "employments,manager,team,pay_group", - "employments,pay_group", - "employments,team", - "employments,team,company", - "employments,team,company,pay_group", - "employments,team,pay_group", - "employments,work_location", - "employments,work_location,company", - "employments,work_location,company,pay_group", - "employments,work_location,manager", - "employments,work_location,manager,company", - "employments,work_location,manager,company,pay_group", - "employments,work_location,manager,pay_group", - "employments,work_location,manager,team", - "employments,work_location,manager,team,company", - "employments,work_location,manager,team,company,pay_group", - "employments,work_location,manager,team,pay_group", - "employments,work_location,pay_group", - "employments,work_location,team", - "employments,work_location,team,company", - "employments,work_location,team,company,pay_group", - "employments,work_location,team,pay_group", - "groups", - "groups,company", - "groups,company,pay_group", - "groups,home_location", - "groups,home_location,company", - "groups,home_location,company,pay_group", - "groups,home_location,manager", - "groups,home_location,manager,company", - "groups,home_location,manager,company,pay_group", - "groups,home_location,manager,pay_group", - "groups,home_location,manager,team", - "groups,home_location,manager,team,company", - "groups,home_location,manager,team,company,pay_group", - "groups,home_location,manager,team,pay_group", - "groups,home_location,pay_group", - "groups,home_location,team", - "groups,home_location,team,company", - "groups,home_location,team,company,pay_group", - "groups,home_location,team,pay_group", - "groups,home_location,work_location", - "groups,home_location,work_location,company", - "groups,home_location,work_location,company,pay_group", - "groups,home_location,work_location,manager", - "groups,home_location,work_location,manager,company", - "groups,home_location,work_location,manager,company,pay_group", - "groups,home_location,work_location,manager,pay_group", - "groups,home_location,work_location,manager,team", - "groups,home_location,work_location,manager,team,company", - "groups,home_location,work_location,manager,team,company,pay_group", - "groups,home_location,work_location,manager,team,pay_group", - "groups,home_location,work_location,pay_group", - "groups,home_location,work_location,team", - "groups,home_location,work_location,team,company", - "groups,home_location,work_location,team,company,pay_group", - "groups,home_location,work_location,team,pay_group", - "groups,manager", - "groups,manager,company", - "groups,manager,company,pay_group", - "groups,manager,pay_group", - "groups,manager,team", - "groups,manager,team,company", - "groups,manager,team,company,pay_group", - "groups,manager,team,pay_group", - "groups,pay_group", - "groups,team", - "groups,team,company", - "groups,team,company,pay_group", - "groups,team,pay_group", - "groups,work_location", - "groups,work_location,company", - "groups,work_location,company,pay_group", - "groups,work_location,manager", - "groups,work_location,manager,company", - "groups,work_location,manager,company,pay_group", - "groups,work_location,manager,pay_group", - "groups,work_location,manager,team", - "groups,work_location,manager,team,company", - "groups,work_location,manager,team,company,pay_group", - "groups,work_location,manager,team,pay_group", - "groups,work_location,pay_group", - "groups,work_location,team", - "groups,work_location,team,company", - "groups,work_location,team,company,pay_group", - "groups,work_location,team,pay_group", - "home_location", - "home_location,company", - "home_location,company,pay_group", - "home_location,manager", - "home_location,manager,company", - "home_location,manager,company,pay_group", - "home_location,manager,pay_group", - "home_location,manager,team", - "home_location,manager,team,company", - "home_location,manager,team,company,pay_group", - "home_location,manager,team,pay_group", - "home_location,pay_group", - "home_location,team", - "home_location,team,company", - "home_location,team,company,pay_group", - "home_location,team,pay_group", - "home_location,work_location", - "home_location,work_location,company", - "home_location,work_location,company,pay_group", - "home_location,work_location,manager", - "home_location,work_location,manager,company", - "home_location,work_location,manager,company,pay_group", - "home_location,work_location,manager,pay_group", - "home_location,work_location,manager,team", - "home_location,work_location,manager,team,company", - "home_location,work_location,manager,team,company,pay_group", - "home_location,work_location,manager,team,pay_group", - "home_location,work_location,pay_group", - "home_location,work_location,team", - "home_location,work_location,team,company", - "home_location,work_location,team,company,pay_group", - "home_location,work_location,team,pay_group", - "manager", - "manager,company", - "manager,company,pay_group", - "manager,pay_group", - "manager,team", - "manager,team,company", - "manager,team,company,pay_group", - "manager,team,pay_group", - "pay_group", - "team", - "team,company", - "team,company,pay_group", - "team,pay_group", - "work_location", - "work_location,company", - "work_location,company,pay_group", - "work_location,manager", - "work_location,manager,company", - "work_location,manager,company,pay_group", - "work_location,manager,pay_group", - "work_location,manager,team", - "work_location,manager,team,company", - "work_location,manager,team,company,pay_group", - "work_location,manager,team,pay_group", - "work_location,pay_group", - "work_location,team", - "work_location,team,company", - "work_location,team,company,pay_group", - "work_location,team,pay_group", -]); - -export declare namespace EmployeesRetrieveRequestExpand { - export type Raw = - | "company" - | "company,pay_group" - | "employments" - | "employments,company" - | "employments,company,pay_group" - | "employments,groups" - | "employments,groups,company" - | "employments,groups,company,pay_group" - | "employments,groups,home_location" - | "employments,groups,home_location,company" - | "employments,groups,home_location,company,pay_group" - | "employments,groups,home_location,manager" - | "employments,groups,home_location,manager,company" - | "employments,groups,home_location,manager,company,pay_group" - | "employments,groups,home_location,manager,pay_group" - | "employments,groups,home_location,manager,team" - | "employments,groups,home_location,manager,team,company" - | "employments,groups,home_location,manager,team,company,pay_group" - | "employments,groups,home_location,manager,team,pay_group" - | "employments,groups,home_location,pay_group" - | "employments,groups,home_location,team" - | "employments,groups,home_location,team,company" - | "employments,groups,home_location,team,company,pay_group" - | "employments,groups,home_location,team,pay_group" - | "employments,groups,home_location,work_location" - | "employments,groups,home_location,work_location,company" - | "employments,groups,home_location,work_location,company,pay_group" - | "employments,groups,home_location,work_location,manager" - | "employments,groups,home_location,work_location,manager,company" - | "employments,groups,home_location,work_location,manager,company,pay_group" - | "employments,groups,home_location,work_location,manager,pay_group" - | "employments,groups,home_location,work_location,manager,team" - | "employments,groups,home_location,work_location,manager,team,company" - | "employments,groups,home_location,work_location,manager,team,company,pay_group" - | "employments,groups,home_location,work_location,manager,team,pay_group" - | "employments,groups,home_location,work_location,pay_group" - | "employments,groups,home_location,work_location,team" - | "employments,groups,home_location,work_location,team,company" - | "employments,groups,home_location,work_location,team,company,pay_group" - | "employments,groups,home_location,work_location,team,pay_group" - | "employments,groups,manager" - | "employments,groups,manager,company" - | "employments,groups,manager,company,pay_group" - | "employments,groups,manager,pay_group" - | "employments,groups,manager,team" - | "employments,groups,manager,team,company" - | "employments,groups,manager,team,company,pay_group" - | "employments,groups,manager,team,pay_group" - | "employments,groups,pay_group" - | "employments,groups,team" - | "employments,groups,team,company" - | "employments,groups,team,company,pay_group" - | "employments,groups,team,pay_group" - | "employments,groups,work_location" - | "employments,groups,work_location,company" - | "employments,groups,work_location,company,pay_group" - | "employments,groups,work_location,manager" - | "employments,groups,work_location,manager,company" - | "employments,groups,work_location,manager,company,pay_group" - | "employments,groups,work_location,manager,pay_group" - | "employments,groups,work_location,manager,team" - | "employments,groups,work_location,manager,team,company" - | "employments,groups,work_location,manager,team,company,pay_group" - | "employments,groups,work_location,manager,team,pay_group" - | "employments,groups,work_location,pay_group" - | "employments,groups,work_location,team" - | "employments,groups,work_location,team,company" - | "employments,groups,work_location,team,company,pay_group" - | "employments,groups,work_location,team,pay_group" - | "employments,home_location" - | "employments,home_location,company" - | "employments,home_location,company,pay_group" - | "employments,home_location,manager" - | "employments,home_location,manager,company" - | "employments,home_location,manager,company,pay_group" - | "employments,home_location,manager,pay_group" - | "employments,home_location,manager,team" - | "employments,home_location,manager,team,company" - | "employments,home_location,manager,team,company,pay_group" - | "employments,home_location,manager,team,pay_group" - | "employments,home_location,pay_group" - | "employments,home_location,team" - | "employments,home_location,team,company" - | "employments,home_location,team,company,pay_group" - | "employments,home_location,team,pay_group" - | "employments,home_location,work_location" - | "employments,home_location,work_location,company" - | "employments,home_location,work_location,company,pay_group" - | "employments,home_location,work_location,manager" - | "employments,home_location,work_location,manager,company" - | "employments,home_location,work_location,manager,company,pay_group" - | "employments,home_location,work_location,manager,pay_group" - | "employments,home_location,work_location,manager,team" - | "employments,home_location,work_location,manager,team,company" - | "employments,home_location,work_location,manager,team,company,pay_group" - | "employments,home_location,work_location,manager,team,pay_group" - | "employments,home_location,work_location,pay_group" - | "employments,home_location,work_location,team" - | "employments,home_location,work_location,team,company" - | "employments,home_location,work_location,team,company,pay_group" - | "employments,home_location,work_location,team,pay_group" - | "employments,manager" - | "employments,manager,company" - | "employments,manager,company,pay_group" - | "employments,manager,pay_group" - | "employments,manager,team" - | "employments,manager,team,company" - | "employments,manager,team,company,pay_group" - | "employments,manager,team,pay_group" - | "employments,pay_group" - | "employments,team" - | "employments,team,company" - | "employments,team,company,pay_group" - | "employments,team,pay_group" - | "employments,work_location" - | "employments,work_location,company" - | "employments,work_location,company,pay_group" - | "employments,work_location,manager" - | "employments,work_location,manager,company" - | "employments,work_location,manager,company,pay_group" - | "employments,work_location,manager,pay_group" - | "employments,work_location,manager,team" - | "employments,work_location,manager,team,company" - | "employments,work_location,manager,team,company,pay_group" - | "employments,work_location,manager,team,pay_group" - | "employments,work_location,pay_group" - | "employments,work_location,team" - | "employments,work_location,team,company" - | "employments,work_location,team,company,pay_group" - | "employments,work_location,team,pay_group" - | "groups" - | "groups,company" - | "groups,company,pay_group" - | "groups,home_location" - | "groups,home_location,company" - | "groups,home_location,company,pay_group" - | "groups,home_location,manager" - | "groups,home_location,manager,company" - | "groups,home_location,manager,company,pay_group" - | "groups,home_location,manager,pay_group" - | "groups,home_location,manager,team" - | "groups,home_location,manager,team,company" - | "groups,home_location,manager,team,company,pay_group" - | "groups,home_location,manager,team,pay_group" - | "groups,home_location,pay_group" - | "groups,home_location,team" - | "groups,home_location,team,company" - | "groups,home_location,team,company,pay_group" - | "groups,home_location,team,pay_group" - | "groups,home_location,work_location" - | "groups,home_location,work_location,company" - | "groups,home_location,work_location,company,pay_group" - | "groups,home_location,work_location,manager" - | "groups,home_location,work_location,manager,company" - | "groups,home_location,work_location,manager,company,pay_group" - | "groups,home_location,work_location,manager,pay_group" - | "groups,home_location,work_location,manager,team" - | "groups,home_location,work_location,manager,team,company" - | "groups,home_location,work_location,manager,team,company,pay_group" - | "groups,home_location,work_location,manager,team,pay_group" - | "groups,home_location,work_location,pay_group" - | "groups,home_location,work_location,team" - | "groups,home_location,work_location,team,company" - | "groups,home_location,work_location,team,company,pay_group" - | "groups,home_location,work_location,team,pay_group" - | "groups,manager" - | "groups,manager,company" - | "groups,manager,company,pay_group" - | "groups,manager,pay_group" - | "groups,manager,team" - | "groups,manager,team,company" - | "groups,manager,team,company,pay_group" - | "groups,manager,team,pay_group" - | "groups,pay_group" - | "groups,team" - | "groups,team,company" - | "groups,team,company,pay_group" - | "groups,team,pay_group" - | "groups,work_location" - | "groups,work_location,company" - | "groups,work_location,company,pay_group" - | "groups,work_location,manager" - | "groups,work_location,manager,company" - | "groups,work_location,manager,company,pay_group" - | "groups,work_location,manager,pay_group" - | "groups,work_location,manager,team" - | "groups,work_location,manager,team,company" - | "groups,work_location,manager,team,company,pay_group" - | "groups,work_location,manager,team,pay_group" - | "groups,work_location,pay_group" - | "groups,work_location,team" - | "groups,work_location,team,company" - | "groups,work_location,team,company,pay_group" - | "groups,work_location,team,pay_group" - | "home_location" - | "home_location,company" - | "home_location,company,pay_group" - | "home_location,manager" - | "home_location,manager,company" - | "home_location,manager,company,pay_group" - | "home_location,manager,pay_group" - | "home_location,manager,team" - | "home_location,manager,team,company" - | "home_location,manager,team,company,pay_group" - | "home_location,manager,team,pay_group" - | "home_location,pay_group" - | "home_location,team" - | "home_location,team,company" - | "home_location,team,company,pay_group" - | "home_location,team,pay_group" - | "home_location,work_location" - | "home_location,work_location,company" - | "home_location,work_location,company,pay_group" - | "home_location,work_location,manager" - | "home_location,work_location,manager,company" - | "home_location,work_location,manager,company,pay_group" - | "home_location,work_location,manager,pay_group" - | "home_location,work_location,manager,team" - | "home_location,work_location,manager,team,company" - | "home_location,work_location,manager,team,company,pay_group" - | "home_location,work_location,manager,team,pay_group" - | "home_location,work_location,pay_group" - | "home_location,work_location,team" - | "home_location,work_location,team,company" - | "home_location,work_location,team,company,pay_group" - | "home_location,work_location,team,pay_group" - | "manager" - | "manager,company" - | "manager,company,pay_group" - | "manager,pay_group" - | "manager,team" - | "manager,team,company" - | "manager,team,company,pay_group" - | "manager,team,pay_group" - | "pay_group" - | "team" - | "team,company" - | "team,company,pay_group" - | "team,pay_group" - | "work_location" - | "work_location,company" - | "work_location,company,pay_group" - | "work_location,manager" - | "work_location,manager,company" - | "work_location,manager,company,pay_group" - | "work_location,manager,pay_group" - | "work_location,manager,team" - | "work_location,manager,team,company" - | "work_location,manager,team,company,pay_group" - | "work_location,manager,team,pay_group" - | "work_location,pay_group" - | "work_location,team" - | "work_location,team,company" - | "work_location,team,company,pay_group" - | "work_location,team,pay_group"; -} diff --git a/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..5fca0c186 --- /dev/null +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts @@ -0,0 +1,31 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EmployeesRetrieveRequestExpandItem: core.serialization.Schema< + serializers.hris.EmployeesRetrieveRequestExpandItem.Raw, + Merge.hris.EmployeesRetrieveRequestExpandItem +> = core.serialization.enum_([ + "company", + "employments", + "groups", + "home_location", + "manager", + "pay_group", + "team", + "work_location", +]); + +export declare namespace EmployeesRetrieveRequestExpandItem { + export type Raw = + | "company" + | "employments" + | "groups" + | "home_location" + | "manager" + | "pay_group" + | "team" + | "work_location"; +} diff --git a/src/serialization/resources/hris/resources/employees/types/index.ts b/src/serialization/resources/hris/resources/employees/types/index.ts index 86b6c6805..23a52c088 100644 --- a/src/serialization/resources/hris/resources/employees/types/index.ts +++ b/src/serialization/resources/hris/resources/employees/types/index.ts @@ -1,8 +1,7 @@ export * from "./EmployeesListRequestEmploymentStatus"; -export * from "./EmployeesListRequestExpand"; +export * from "./EmployeesListRequestExpandItem"; export * from "./EmployeesListRequestRemoteFields"; export * from "./EmployeesListRequestShowEnumOrigins"; -export * from "./EmployeesRetrieveRequestExpand"; +export * from "./EmployeesRetrieveRequestExpandItem"; export * from "./EmployeesRetrieveRequestRemoteFields"; export * from "./EmployeesRetrieveRequestShowEnumOrigins"; -export * from "./IgnoreCommonModelRequestReason"; diff --git a/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts deleted file mode 100644 index a226c15d9..000000000 --- a/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EmploymentsListRequestExpand: core.serialization.Schema< - serializers.hris.EmploymentsListRequestExpand.Raw, - Merge.hris.EmploymentsListRequestExpand -> = core.serialization.enum_(["employee", "employee,pay_group", "pay_group"]); - -export declare namespace EmploymentsListRequestExpand { - export type Raw = "employee" | "employee,pay_group" | "pay_group"; -} diff --git a/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts new file mode 100644 index 000000000..64e457cff --- /dev/null +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EmploymentsListRequestExpandItem: core.serialization.Schema< + serializers.hris.EmploymentsListRequestExpandItem.Raw, + Merge.hris.EmploymentsListRequestExpandItem +> = core.serialization.enum_(["employee", "pay_group"]); + +export declare namespace EmploymentsListRequestExpandItem { + export type Raw = "employee" | "pay_group"; +} diff --git a/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts deleted file mode 100644 index b989f2e53..000000000 --- a/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const EmploymentsRetrieveRequestExpand: core.serialization.Schema< - serializers.hris.EmploymentsRetrieveRequestExpand.Raw, - Merge.hris.EmploymentsRetrieveRequestExpand -> = core.serialization.enum_(["employee", "employee,pay_group", "pay_group"]); - -export declare namespace EmploymentsRetrieveRequestExpand { - export type Raw = "employee" | "employee,pay_group" | "pay_group"; -} diff --git a/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..1f98fe0e5 --- /dev/null +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const EmploymentsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.hris.EmploymentsRetrieveRequestExpandItem.Raw, + Merge.hris.EmploymentsRetrieveRequestExpandItem +> = core.serialization.enum_(["employee", "pay_group"]); + +export declare namespace EmploymentsRetrieveRequestExpandItem { + export type Raw = "employee" | "pay_group"; +} diff --git a/src/serialization/resources/hris/resources/employments/types/index.ts b/src/serialization/resources/hris/resources/employments/types/index.ts index 4d767a4f5..b37f6e136 100644 --- a/src/serialization/resources/hris/resources/employments/types/index.ts +++ b/src/serialization/resources/hris/resources/employments/types/index.ts @@ -1,7 +1,7 @@ -export * from "./EmploymentsListRequestExpand"; +export * from "./EmploymentsListRequestExpandItem"; export * from "./EmploymentsListRequestOrderBy"; export * from "./EmploymentsListRequestRemoteFields"; export * from "./EmploymentsListRequestShowEnumOrigins"; -export * from "./EmploymentsRetrieveRequestExpand"; +export * from "./EmploymentsRetrieveRequestExpandItem"; export * from "./EmploymentsRetrieveRequestRemoteFields"; export * from "./EmploymentsRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts b/src/serialization/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts index 144399f85..516477283 100644 --- a/src/serialization/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts +++ b/src/serialization/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts @@ -17,7 +17,6 @@ export const CreateFieldMappingRequest: core.serialization.Schema< remoteMethod: core.serialization.property("remote_method", core.serialization.string()), remoteUrlPath: core.serialization.property("remote_url_path", core.serialization.string()), commonModelName: core.serialization.property("common_model_name", core.serialization.string()), - jmesPath: core.serialization.property("jmes_path", core.serialization.string().optional()), }); export declare namespace CreateFieldMappingRequest { @@ -28,6 +27,5 @@ export declare namespace CreateFieldMappingRequest { remote_method: string; remote_url_path: string; common_model_name: string; - jmes_path?: string | null; } } diff --git a/src/serialization/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts b/src/serialization/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts index d7ab015fc..f1c026cd7 100644 --- a/src/serialization/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts +++ b/src/serialization/resources/hris/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts @@ -14,7 +14,6 @@ export const PatchedEditFieldMappingRequest: core.serialization.Schema< ), remoteMethod: core.serialization.property("remote_method", core.serialization.string().optional()), remoteUrlPath: core.serialization.property("remote_url_path", core.serialization.string().optional()), - jmesPath: core.serialization.property("jmes_path", core.serialization.string().optional()), }); export declare namespace PatchedEditFieldMappingRequest { @@ -22,6 +21,5 @@ export declare namespace PatchedEditFieldMappingRequest { remote_field_traversal_path?: unknown[] | null; remote_method?: string | null; remote_url_path?: string | null; - jmes_path?: string | null; } } diff --git a/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 87edec772..a832150d3 100644 --- a/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -6,7 +6,6 @@ import type * as serializers from "../../../../../../index"; import { CategoriesEnum } from "../../../../types/CategoriesEnum"; import { CommonModelScopesBodyRequest } from "../../../../types/CommonModelScopesBodyRequest"; import { IndividualCommonModelScopeDeserializerRequest } from "../../../../types/IndividualCommonModelScopeDeserializerRequest"; -import { EndUserDetailsRequestCompletedAccountInitialScreen } from "../../types/EndUserDetailsRequestCompletedAccountInitialScreen"; import { EndUserDetailsRequestLanguage } from "../../types/EndUserDetailsRequestLanguage"; export const EndUserDetailsRequest: core.serialization.Schema< @@ -43,10 +42,6 @@ export const EndUserDetailsRequest: core.serialization.Schema< "integration_specific_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), ), - completedAccountInitialScreen: core.serialization.property( - "completed_account_initial_screen", - EndUserDetailsRequestCompletedAccountInitialScreen.optional(), - ), }); export declare namespace EndUserDetailsRequest { @@ -67,6 +62,5 @@ export declare namespace EndUserDetailsRequest { language?: EndUserDetailsRequestLanguage.Raw | null; are_syncs_disabled?: boolean | null; integration_specific_config?: Record | null; - completed_account_initial_screen?: EndUserDetailsRequestCompletedAccountInitialScreen.Raw | null; } } diff --git a/src/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts b/src/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts deleted file mode 100644 index 47ba300af..000000000 --- a/src/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; -import { CompletedAccountInitialScreenEnum } from "../../../types/CompletedAccountInitialScreenEnum"; - -export const EndUserDetailsRequestCompletedAccountInitialScreen: core.serialization.Schema< - serializers.hris.EndUserDetailsRequestCompletedAccountInitialScreen.Raw, - Merge.hris.EndUserDetailsRequestCompletedAccountInitialScreen -> = core.serialization.undiscriminatedUnion([CompletedAccountInitialScreenEnum, core.serialization.string()]); - -export declare namespace EndUserDetailsRequestCompletedAccountInitialScreen { - export type Raw = CompletedAccountInitialScreenEnum.Raw | string; -} diff --git a/src/serialization/resources/hris/resources/linkToken/types/index.ts b/src/serialization/resources/hris/resources/linkToken/types/index.ts index 7aed25cb1..c90e13c37 100644 --- a/src/serialization/resources/hris/resources/linkToken/types/index.ts +++ b/src/serialization/resources/hris/resources/linkToken/types/index.ts @@ -1,2 +1 @@ -export * from "./EndUserDetailsRequestCompletedAccountInitialScreen"; export * from "./EndUserDetailsRequestLanguage"; diff --git a/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts deleted file mode 100644 index 47b1bdfc4..000000000 --- a/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TimeOffListRequestExpand: core.serialization.Schema< - serializers.hris.TimeOffListRequestExpand.Raw, - Merge.hris.TimeOffListRequestExpand -> = core.serialization.enum_(["approver", "employee", "employee,approver"]); - -export declare namespace TimeOffListRequestExpand { - export type Raw = "approver" | "employee" | "employee,approver"; -} diff --git a/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts new file mode 100644 index 000000000..a3136fa1b --- /dev/null +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TimeOffListRequestExpandItem: core.serialization.Schema< + serializers.hris.TimeOffListRequestExpandItem.Raw, + Merge.hris.TimeOffListRequestExpandItem +> = core.serialization.enum_(["approver", "employee"]); + +export declare namespace TimeOffListRequestExpandItem { + export type Raw = "approver" | "employee"; +} diff --git a/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts deleted file mode 100644 index 0c65852de..000000000 --- a/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TimeOffRetrieveRequestExpand: core.serialization.Schema< - serializers.hris.TimeOffRetrieveRequestExpand.Raw, - Merge.hris.TimeOffRetrieveRequestExpand -> = core.serialization.enum_(["approver", "employee", "employee,approver"]); - -export declare namespace TimeOffRetrieveRequestExpand { - export type Raw = "approver" | "employee" | "employee,approver"; -} diff --git a/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..cf4959b53 --- /dev/null +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TimeOffRetrieveRequestExpandItem: core.serialization.Schema< + serializers.hris.TimeOffRetrieveRequestExpandItem.Raw, + Merge.hris.TimeOffRetrieveRequestExpandItem +> = core.serialization.enum_(["approver", "employee"]); + +export declare namespace TimeOffRetrieveRequestExpandItem { + export type Raw = "approver" | "employee"; +} diff --git a/src/serialization/resources/hris/resources/timeOff/types/index.ts b/src/serialization/resources/hris/resources/timeOff/types/index.ts index da891165f..5ccb53437 100644 --- a/src/serialization/resources/hris/resources/timeOff/types/index.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/index.ts @@ -1,8 +1,8 @@ -export * from "./TimeOffListRequestExpand"; +export * from "./TimeOffListRequestExpandItem"; export * from "./TimeOffListRequestRemoteFields"; export * from "./TimeOffListRequestRequestType"; export * from "./TimeOffListRequestShowEnumOrigins"; export * from "./TimeOffListRequestStatus"; -export * from "./TimeOffRetrieveRequestExpand"; +export * from "./TimeOffRetrieveRequestExpandItem"; export * from "./TimeOffRetrieveRequestRemoteFields"; export * from "./TimeOffRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/hris/types/AccountDetailsAndActions.ts b/src/serialization/resources/hris/types/AccountDetailsAndActions.ts index 3e69a5db0..99ea8a903 100644 --- a/src/serialization/resources/hris/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/hris/types/AccountDetailsAndActions.ts @@ -24,10 +24,6 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< integration: AccountDetailsAndActionsIntegration.optional(), accountType: core.serialization.property("account_type", core.serialization.string()), completedAt: core.serialization.property("completed_at", core.serialization.date()), - integrationSpecificFields: core.serialization.property( - "integration_specific_fields", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), }); export declare namespace AccountDetailsAndActions { @@ -45,6 +41,5 @@ export declare namespace AccountDetailsAndActions { integration?: AccountDetailsAndActionsIntegration.Raw | null; account_type: string; completed_at: string; - integration_specific_fields?: Record | null; } } diff --git a/src/serialization/resources/hris/types/Benefit.ts b/src/serialization/resources/hris/types/Benefit.ts index d29b9eb8a..e4a6dc6ea 100644 --- a/src/serialization/resources/hris/types/Benefit.ts +++ b/src/serialization/resources/hris/types/Benefit.ts @@ -25,8 +25,8 @@ export const Benefit: core.serialization.ObjectSchema | null; remote_data?: RemoteData.Raw[] | null; } diff --git a/src/serialization/resources/hris/types/CompletedAccountInitialScreenEnum.ts b/src/serialization/resources/hris/types/CompletedAccountInitialScreenEnum.ts deleted file mode 100644 index 5d4d89baf..000000000 --- a/src/serialization/resources/hris/types/CompletedAccountInitialScreenEnum.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; - -export const CompletedAccountInitialScreenEnum: core.serialization.Schema< - serializers.hris.CompletedAccountInitialScreenEnum.Raw, - Merge.hris.CompletedAccountInitialScreenEnum -> = core.serialization.stringLiteral("SELECTIVE_SYNC"); - -export declare namespace CompletedAccountInitialScreenEnum { - export type Raw = "SELECTIVE_SYNC"; -} diff --git a/src/serialization/resources/hris/types/FieldMappingApiInstance.ts b/src/serialization/resources/hris/types/FieldMappingApiInstance.ts index 7ed4beed7..80970372c 100644 --- a/src/serialization/resources/hris/types/FieldMappingApiInstance.ts +++ b/src/serialization/resources/hris/types/FieldMappingApiInstance.ts @@ -14,7 +14,6 @@ export const FieldMappingApiInstance: core.serialization.ObjectSchema< isIntegrationWide: core.serialization.property("is_integration_wide", core.serialization.boolean().optional()), targetField: core.serialization.property("target_field", FieldMappingApiInstanceTargetField.optional()), remoteField: core.serialization.property("remote_field", FieldMappingApiInstanceRemoteField.optional()), - jmesPath: core.serialization.property("jmes_path", core.serialization.string().optional()), }); export declare namespace FieldMappingApiInstance { @@ -23,6 +22,5 @@ export declare namespace FieldMappingApiInstance { is_integration_wide?: boolean | null; target_field?: FieldMappingApiInstanceTargetField.Raw | null; remote_field?: FieldMappingApiInstanceRemoteField.Raw | null; - jmes_path?: string | null; } } diff --git a/src/serialization/resources/hris/resources/employees/client/requests/IgnoreCommonModelRequest.ts b/src/serialization/resources/hris/types/IgnoreCommonModelRequest.ts similarity index 58% rename from src/serialization/resources/hris/resources/employees/client/requests/IgnoreCommonModelRequest.ts rename to src/serialization/resources/hris/types/IgnoreCommonModelRequest.ts index dc99f68b3..819fc4d87 100644 --- a/src/serialization/resources/hris/resources/employees/client/requests/IgnoreCommonModelRequest.ts +++ b/src/serialization/resources/hris/types/IgnoreCommonModelRequest.ts @@ -1,11 +1,11 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../../../api/index"; -import * as core from "../../../../../../../core"; -import type * as serializers from "../../../../../../index"; -import { IgnoreCommonModelRequestReason } from "../../types/IgnoreCommonModelRequestReason"; +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { IgnoreCommonModelRequestReason } from "./IgnoreCommonModelRequestReason"; -export const IgnoreCommonModelRequest: core.serialization.Schema< +export const IgnoreCommonModelRequest: core.serialization.ObjectSchema< serializers.hris.IgnoreCommonModelRequest.Raw, Merge.hris.IgnoreCommonModelRequest > = core.serialization.object({ diff --git a/src/serialization/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts b/src/serialization/resources/hris/types/IgnoreCommonModelRequestReason.ts similarity index 66% rename from src/serialization/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts rename to src/serialization/resources/hris/types/IgnoreCommonModelRequestReason.ts index 7fb38d081..f1cb1a9d3 100644 --- a/src/serialization/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts +++ b/src/serialization/resources/hris/types/IgnoreCommonModelRequestReason.ts @@ -1,9 +1,9 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; -import { ReasonEnum } from "../../../types/ReasonEnum"; +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { ReasonEnum } from "./ReasonEnum"; export const IgnoreCommonModelRequestReason: core.serialization.Schema< serializers.hris.IgnoreCommonModelRequestReason.Raw, diff --git a/src/serialization/resources/hris/types/MultipartFormFieldRequest.ts b/src/serialization/resources/hris/types/MultipartFormFieldRequest.ts index a1289cd43..06b1d3854 100644 --- a/src/serialization/resources/hris/types/MultipartFormFieldRequest.ts +++ b/src/serialization/resources/hris/types/MultipartFormFieldRequest.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { MultipartFormFieldRequestEncoding } from "./MultipartFormFieldRequestEncoding"; +import { EncodingEnum } from "./EncodingEnum"; export const MultipartFormFieldRequest: core.serialization.ObjectSchema< serializers.hris.MultipartFormFieldRequest.Raw, @@ -11,7 +11,7 @@ export const MultipartFormFieldRequest: core.serialization.ObjectSchema< > = core.serialization.object({ name: core.serialization.string(), data: core.serialization.string(), - encoding: MultipartFormFieldRequestEncoding.optional(), + encoding: EncodingEnum.optional(), fileName: core.serialization.property("file_name", core.serialization.string().optional()), contentType: core.serialization.property("content_type", core.serialization.string().optional()), }); @@ -20,7 +20,7 @@ export declare namespace MultipartFormFieldRequest { export interface Raw { name: string; data: string; - encoding?: MultipartFormFieldRequestEncoding.Raw | null; + encoding?: EncodingEnum.Raw | null; file_name?: string | null; content_type?: string | null; } diff --git a/src/serialization/resources/hris/types/MultipartFormFieldRequestEncoding.ts b/src/serialization/resources/hris/types/MultipartFormFieldRequestEncoding.ts deleted file mode 100644 index e020ebbe6..000000000 --- a/src/serialization/resources/hris/types/MultipartFormFieldRequestEncoding.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { EncodingEnum } from "./EncodingEnum"; - -export const MultipartFormFieldRequestEncoding: core.serialization.Schema< - serializers.hris.MultipartFormFieldRequestEncoding.Raw, - Merge.hris.MultipartFormFieldRequestEncoding -> = core.serialization.undiscriminatedUnion([EncodingEnum, core.serialization.string()]); - -export declare namespace MultipartFormFieldRequestEncoding { - export type Raw = EncodingEnum.Raw | string; -} diff --git a/src/serialization/resources/hris/types/SyncStatus.ts b/src/serialization/resources/hris/types/SyncStatus.ts index 51e52036d..7cba5662c 100644 --- a/src/serialization/resources/hris/types/SyncStatus.ts +++ b/src/serialization/resources/hris/types/SyncStatus.ts @@ -4,8 +4,8 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { SelectiveSyncConfigurationsUsageEnum } from "./SelectiveSyncConfigurationsUsageEnum"; -import { StatusFd5Enum } from "./StatusFd5Enum"; import { SyncStatusLastSyncResult } from "./SyncStatusLastSyncResult"; +import { SyncStatusStatus } from "./SyncStatusStatus"; export const SyncStatus: core.serialization.ObjectSchema = core.serialization.object({ @@ -15,7 +15,7 @@ export const SyncStatus: core.serialization.ObjectSchema = core.serialization.undiscriminatedUnion([StatusFd5Enum, core.serialization.string()]); + +export declare namespace SyncStatusStatus { + export type Raw = StatusFd5Enum.Raw | string; +} diff --git a/src/serialization/resources/hris/types/index.ts b/src/serialization/resources/hris/types/index.ts index 92f0860a7..cef886e8d 100644 --- a/src/serialization/resources/hris/types/index.ts +++ b/src/serialization/resources/hris/types/index.ts @@ -25,7 +25,6 @@ export * from "./CategoryEnum"; export * from "./CommonModelScopeApi"; export * from "./CommonModelScopesBodyRequest"; export * from "./Company"; -export * from "./CompletedAccountInitialScreenEnum"; export * from "./CountryEnum"; export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; @@ -99,6 +98,8 @@ export * from "./GenderEnum"; export * from "./Group"; export * from "./GroupType"; export * from "./GroupTypeEnum"; +export * from "./IgnoreCommonModelRequest"; +export * from "./IgnoreCommonModelRequestReason"; export * from "./IndividualCommonModelScopeDeserializer"; export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./Issue"; @@ -119,7 +120,6 @@ export * from "./ModelOperation"; export * from "./ModelPermissionDeserializer"; export * from "./ModelPermissionDeserializerRequest"; export * from "./MultipartFormFieldRequest"; -export * from "./MultipartFormFieldRequestEncoding"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAuditLogEventList"; export * from "./PaginatedBankInfoList"; @@ -168,6 +168,7 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; export * from "./SyncStatusLastSyncResult"; +export * from "./SyncStatusStatus"; export * from "./Tax"; export * from "./Team"; export * from "./TeamParentTeam"; diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts index 759acc241..8ce0ef329 100644 --- a/src/serialization/resources/index.ts +++ b/src/serialization/resources/index.ts @@ -1,6 +1,6 @@ export * as accounting from "./accounting"; export * as ats from "./ats"; export * as crm from "./crm"; -export * as filestorage from "./filestorage"; +export * as fileStorage from "./fileStorage"; export * as hris from "./hris"; export * as ticketing from "./ticketing"; diff --git a/src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts b/src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts deleted file mode 100644 index 94151574f..000000000 --- a/src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CollectionsViewersListRequestExpand: core.serialization.Schema< - serializers.ticketing.CollectionsViewersListRequestExpand.Raw, - Merge.ticketing.CollectionsViewersListRequestExpand -> = core.serialization.enum_(["team", "user", "user,team"]); - -export declare namespace CollectionsViewersListRequestExpand { - export type Raw = "team" | "user" | "user,team"; -} diff --git a/src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts new file mode 100644 index 000000000..2a087e8ce --- /dev/null +++ b/src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CollectionsViewersListRequestExpandItem: core.serialization.Schema< + serializers.ticketing.CollectionsViewersListRequestExpandItem.Raw, + Merge.ticketing.CollectionsViewersListRequestExpandItem +> = core.serialization.enum_(["team", "user"]); + +export declare namespace CollectionsViewersListRequestExpandItem { + export type Raw = "team" | "user"; +} diff --git a/src/serialization/resources/ticketing/resources/collections/types/index.ts b/src/serialization/resources/ticketing/resources/collections/types/index.ts index fa9590b69..b1b11522e 100644 --- a/src/serialization/resources/ticketing/resources/collections/types/index.ts +++ b/src/serialization/resources/ticketing/resources/collections/types/index.ts @@ -1,2 +1,2 @@ export * from "./CollectionsListRequestCollectionType"; -export * from "./CollectionsViewersListRequestExpand"; +export * from "./CollectionsViewersListRequestExpandItem"; diff --git a/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts b/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts deleted file mode 100644 index 5e75e19f1..000000000 --- a/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CommentsListRequestExpand: core.serialization.Schema< - serializers.ticketing.CommentsListRequestExpand.Raw, - Merge.ticketing.CommentsListRequestExpand -> = core.serialization.enum_([ - "contact", - "contact,ticket", - "ticket", - "user", - "user,contact", - "user,contact,ticket", - "user,ticket", -]); - -export declare namespace CommentsListRequestExpand { - export type Raw = - | "contact" - | "contact,ticket" - | "ticket" - | "user" - | "user,contact" - | "user,contact,ticket" - | "user,ticket"; -} diff --git a/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts new file mode 100644 index 000000000..987bfec31 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CommentsListRequestExpandItem: core.serialization.Schema< + serializers.ticketing.CommentsListRequestExpandItem.Raw, + Merge.ticketing.CommentsListRequestExpandItem +> = core.serialization.enum_(["contact", "ticket", "user"]); + +export declare namespace CommentsListRequestExpandItem { + export type Raw = "contact" | "ticket" | "user"; +} diff --git a/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts b/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts deleted file mode 100644 index dbdd95a24..000000000 --- a/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const CommentsRetrieveRequestExpand: core.serialization.Schema< - serializers.ticketing.CommentsRetrieveRequestExpand.Raw, - Merge.ticketing.CommentsRetrieveRequestExpand -> = core.serialization.enum_([ - "contact", - "contact,ticket", - "ticket", - "user", - "user,contact", - "user,contact,ticket", - "user,ticket", -]); - -export declare namespace CommentsRetrieveRequestExpand { - export type Raw = - | "contact" - | "contact,ticket" - | "ticket" - | "user" - | "user,contact" - | "user,contact,ticket" - | "user,ticket"; -} diff --git a/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..9b2a38596 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const CommentsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ticketing.CommentsRetrieveRequestExpandItem.Raw, + Merge.ticketing.CommentsRetrieveRequestExpandItem +> = core.serialization.enum_(["contact", "ticket", "user"]); + +export declare namespace CommentsRetrieveRequestExpandItem { + export type Raw = "contact" | "ticket" | "user"; +} diff --git a/src/serialization/resources/ticketing/resources/comments/types/index.ts b/src/serialization/resources/ticketing/resources/comments/types/index.ts index cbff3a9fc..9df4e0118 100644 --- a/src/serialization/resources/ticketing/resources/comments/types/index.ts +++ b/src/serialization/resources/ticketing/resources/comments/types/index.ts @@ -1,2 +1,2 @@ -export * from "./CommentsListRequestExpand"; -export * from "./CommentsRetrieveRequestExpand"; +export * from "./CommentsListRequestExpandItem"; +export * from "./CommentsRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts b/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts index e22fe8c22..ca996c4ba 100644 --- a/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts +++ b/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.ts @@ -17,7 +17,6 @@ export const CreateFieldMappingRequest: core.serialization.Schema< remoteMethod: core.serialization.property("remote_method", core.serialization.string()), remoteUrlPath: core.serialization.property("remote_url_path", core.serialization.string()), commonModelName: core.serialization.property("common_model_name", core.serialization.string()), - jmesPath: core.serialization.property("jmes_path", core.serialization.string().optional()), }); export declare namespace CreateFieldMappingRequest { @@ -28,6 +27,5 @@ export declare namespace CreateFieldMappingRequest { remote_method: string; remote_url_path: string; common_model_name: string; - jmes_path?: string | null; } } diff --git a/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts b/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts index c31353c22..0257a7eac 100644 --- a/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts +++ b/src/serialization/resources/ticketing/resources/fieldMapping/client/requests/PatchedEditFieldMappingRequest.ts @@ -14,7 +14,6 @@ export const PatchedEditFieldMappingRequest: core.serialization.Schema< ), remoteMethod: core.serialization.property("remote_method", core.serialization.string().optional()), remoteUrlPath: core.serialization.property("remote_url_path", core.serialization.string().optional()), - jmesPath: core.serialization.property("jmes_path", core.serialization.string().optional()), }); export declare namespace PatchedEditFieldMappingRequest { @@ -22,6 +21,5 @@ export declare namespace PatchedEditFieldMappingRequest { remote_field_traversal_path?: unknown[] | null; remote_method?: string | null; remote_url_path?: string | null; - jmes_path?: string | null; } } diff --git a/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts index e9926e29f..9f6f96683 100644 --- a/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -6,7 +6,6 @@ import type * as serializers from "../../../../../../index"; import { CategoriesEnum } from "../../../../types/CategoriesEnum"; import { CommonModelScopesBodyRequest } from "../../../../types/CommonModelScopesBodyRequest"; import { IndividualCommonModelScopeDeserializerRequest } from "../../../../types/IndividualCommonModelScopeDeserializerRequest"; -import { EndUserDetailsRequestCompletedAccountInitialScreen } from "../../types/EndUserDetailsRequestCompletedAccountInitialScreen"; import { EndUserDetailsRequestLanguage } from "../../types/EndUserDetailsRequestLanguage"; export const EndUserDetailsRequest: core.serialization.Schema< @@ -43,10 +42,6 @@ export const EndUserDetailsRequest: core.serialization.Schema< "integration_specific_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), ), - completedAccountInitialScreen: core.serialization.property( - "completed_account_initial_screen", - EndUserDetailsRequestCompletedAccountInitialScreen.optional(), - ), }); export declare namespace EndUserDetailsRequest { @@ -67,6 +62,5 @@ export declare namespace EndUserDetailsRequest { language?: EndUserDetailsRequestLanguage.Raw | null; are_syncs_disabled?: boolean | null; integration_specific_config?: Record | null; - completed_account_initial_screen?: EndUserDetailsRequestCompletedAccountInitialScreen.Raw | null; } } diff --git a/src/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts b/src/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts deleted file mode 100644 index 4958c8fea..000000000 --- a/src/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; -import { CompletedAccountInitialScreenEnum } from "../../../types/CompletedAccountInitialScreenEnum"; - -export const EndUserDetailsRequestCompletedAccountInitialScreen: core.serialization.Schema< - serializers.ticketing.EndUserDetailsRequestCompletedAccountInitialScreen.Raw, - Merge.ticketing.EndUserDetailsRequestCompletedAccountInitialScreen -> = core.serialization.undiscriminatedUnion([CompletedAccountInitialScreenEnum, core.serialization.string()]); - -export declare namespace EndUserDetailsRequestCompletedAccountInitialScreen { - export type Raw = CompletedAccountInitialScreenEnum.Raw | string; -} diff --git a/src/serialization/resources/ticketing/resources/linkToken/types/index.ts b/src/serialization/resources/ticketing/resources/linkToken/types/index.ts index 7aed25cb1..c90e13c37 100644 --- a/src/serialization/resources/ticketing/resources/linkToken/types/index.ts +++ b/src/serialization/resources/ticketing/resources/linkToken/types/index.ts @@ -1,2 +1 @@ -export * from "./EndUserDetailsRequestCompletedAccountInitialScreen"; export * from "./EndUserDetailsRequestLanguage"; diff --git a/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts b/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts deleted file mode 100644 index 47641fa4f..000000000 --- a/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const ProjectsUsersListRequestExpand: core.serialization.Schema< - serializers.ticketing.ProjectsUsersListRequestExpand.Raw, - Merge.ticketing.ProjectsUsersListRequestExpand -> = core.serialization.enum_(["roles", "teams", "teams,roles"]); - -export declare namespace ProjectsUsersListRequestExpand { - export type Raw = "roles" | "teams" | "teams,roles"; -} diff --git a/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts new file mode 100644 index 000000000..a2924a310 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const ProjectsUsersListRequestExpandItem: core.serialization.Schema< + serializers.ticketing.ProjectsUsersListRequestExpandItem.Raw, + Merge.ticketing.ProjectsUsersListRequestExpandItem +> = core.serialization.enum_(["roles", "teams"]); + +export declare namespace ProjectsUsersListRequestExpandItem { + export type Raw = "roles" | "teams"; +} diff --git a/src/serialization/resources/ticketing/resources/projects/types/index.ts b/src/serialization/resources/ticketing/resources/projects/types/index.ts index d28a1cea3..db2e2aa6b 100644 --- a/src/serialization/resources/ticketing/resources/projects/types/index.ts +++ b/src/serialization/resources/ticketing/resources/projects/types/index.ts @@ -1 +1 @@ -export * from "./ProjectsUsersListRequestExpand"; +export * from "./ProjectsUsersListRequestExpandItem"; diff --git a/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts deleted file mode 100644 index 561c34ce0..000000000 --- a/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts +++ /dev/null @@ -1,525 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TicketsListRequestExpand: core.serialization.Schema< - serializers.ticketing.TicketsListRequestExpand.Raw, - Merge.ticketing.TicketsListRequestExpand -> = core.serialization.enum_([ - "account", - "account,contact", - "account,contact,creator", - "account,contact,creator,parent_ticket", - "account,contact,parent_ticket", - "account,creator", - "account,creator,parent_ticket", - "account,parent_ticket", - "assigned_teams", - "assigned_teams,account", - "assigned_teams,account,contact", - "assigned_teams,account,contact,creator", - "assigned_teams,account,contact,creator,parent_ticket", - "assigned_teams,account,contact,parent_ticket", - "assigned_teams,account,creator", - "assigned_teams,account,creator,parent_ticket", - "assigned_teams,account,parent_ticket", - "assigned_teams,contact", - "assigned_teams,contact,creator", - "assigned_teams,contact,creator,parent_ticket", - "assigned_teams,contact,parent_ticket", - "assigned_teams,creator", - "assigned_teams,creator,parent_ticket", - "assigned_teams,parent_ticket", - "assignees", - "assignees,account", - "assignees,account,contact", - "assignees,account,contact,creator", - "assignees,account,contact,creator,parent_ticket", - "assignees,account,contact,parent_ticket", - "assignees,account,creator", - "assignees,account,creator,parent_ticket", - "assignees,account,parent_ticket", - "assignees,assigned_teams", - "assignees,assigned_teams,account", - "assignees,assigned_teams,account,contact", - "assignees,assigned_teams,account,contact,creator", - "assignees,assigned_teams,account,contact,creator,parent_ticket", - "assignees,assigned_teams,account,contact,parent_ticket", - "assignees,assigned_teams,account,creator", - "assignees,assigned_teams,account,creator,parent_ticket", - "assignees,assigned_teams,account,parent_ticket", - "assignees,assigned_teams,contact", - "assignees,assigned_teams,contact,creator", - "assignees,assigned_teams,contact,creator,parent_ticket", - "assignees,assigned_teams,contact,parent_ticket", - "assignees,assigned_teams,creator", - "assignees,assigned_teams,creator,parent_ticket", - "assignees,assigned_teams,parent_ticket", - "assignees,collections", - "assignees,collections,account", - "assignees,collections,account,contact", - "assignees,collections,account,contact,creator", - "assignees,collections,account,contact,creator,parent_ticket", - "assignees,collections,account,contact,parent_ticket", - "assignees,collections,account,creator", - "assignees,collections,account,creator,parent_ticket", - "assignees,collections,account,parent_ticket", - "assignees,collections,assigned_teams", - "assignees,collections,assigned_teams,account", - "assignees,collections,assigned_teams,account,contact", - "assignees,collections,assigned_teams,account,contact,creator", - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - "assignees,collections,assigned_teams,account,contact,parent_ticket", - "assignees,collections,assigned_teams,account,creator", - "assignees,collections,assigned_teams,account,creator,parent_ticket", - "assignees,collections,assigned_teams,account,parent_ticket", - "assignees,collections,assigned_teams,contact", - "assignees,collections,assigned_teams,contact,creator", - "assignees,collections,assigned_teams,contact,creator,parent_ticket", - "assignees,collections,assigned_teams,contact,parent_ticket", - "assignees,collections,assigned_teams,creator", - "assignees,collections,assigned_teams,creator,parent_ticket", - "assignees,collections,assigned_teams,parent_ticket", - "assignees,collections,contact", - "assignees,collections,contact,creator", - "assignees,collections,contact,creator,parent_ticket", - "assignees,collections,contact,parent_ticket", - "assignees,collections,creator", - "assignees,collections,creator,parent_ticket", - "assignees,collections,parent_ticket", - "assignees,contact", - "assignees,contact,creator", - "assignees,contact,creator,parent_ticket", - "assignees,contact,parent_ticket", - "assignees,creator", - "assignees,creator,parent_ticket", - "assignees,parent_ticket", - "attachments", - "attachments,account", - "attachments,account,contact", - "attachments,account,contact,creator", - "attachments,account,contact,creator,parent_ticket", - "attachments,account,contact,parent_ticket", - "attachments,account,creator", - "attachments,account,creator,parent_ticket", - "attachments,account,parent_ticket", - "attachments,assigned_teams", - "attachments,assigned_teams,account", - "attachments,assigned_teams,account,contact", - "attachments,assigned_teams,account,contact,creator", - "attachments,assigned_teams,account,contact,creator,parent_ticket", - "attachments,assigned_teams,account,contact,parent_ticket", - "attachments,assigned_teams,account,creator", - "attachments,assigned_teams,account,creator,parent_ticket", - "attachments,assigned_teams,account,parent_ticket", - "attachments,assigned_teams,contact", - "attachments,assigned_teams,contact,creator", - "attachments,assigned_teams,contact,creator,parent_ticket", - "attachments,assigned_teams,contact,parent_ticket", - "attachments,assigned_teams,creator", - "attachments,assigned_teams,creator,parent_ticket", - "attachments,assigned_teams,parent_ticket", - "attachments,assignees", - "attachments,assignees,account", - "attachments,assignees,account,contact", - "attachments,assignees,account,contact,creator", - "attachments,assignees,account,contact,creator,parent_ticket", - "attachments,assignees,account,contact,parent_ticket", - "attachments,assignees,account,creator", - "attachments,assignees,account,creator,parent_ticket", - "attachments,assignees,account,parent_ticket", - "attachments,assignees,assigned_teams", - "attachments,assignees,assigned_teams,account", - "attachments,assignees,assigned_teams,account,contact", - "attachments,assignees,assigned_teams,account,contact,creator", - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket", - "attachments,assignees,assigned_teams,account,contact,parent_ticket", - "attachments,assignees,assigned_teams,account,creator", - "attachments,assignees,assigned_teams,account,creator,parent_ticket", - "attachments,assignees,assigned_teams,account,parent_ticket", - "attachments,assignees,assigned_teams,contact", - "attachments,assignees,assigned_teams,contact,creator", - "attachments,assignees,assigned_teams,contact,creator,parent_ticket", - "attachments,assignees,assigned_teams,contact,parent_ticket", - "attachments,assignees,assigned_teams,creator", - "attachments,assignees,assigned_teams,creator,parent_ticket", - "attachments,assignees,assigned_teams,parent_ticket", - "attachments,assignees,collections", - "attachments,assignees,collections,account", - "attachments,assignees,collections,account,contact", - "attachments,assignees,collections,account,contact,creator", - "attachments,assignees,collections,account,contact,creator,parent_ticket", - "attachments,assignees,collections,account,contact,parent_ticket", - "attachments,assignees,collections,account,creator", - "attachments,assignees,collections,account,creator,parent_ticket", - "attachments,assignees,collections,account,parent_ticket", - "attachments,assignees,collections,assigned_teams", - "attachments,assignees,collections,assigned_teams,account", - "attachments,assignees,collections,assigned_teams,account,contact", - "attachments,assignees,collections,assigned_teams,account,contact,creator", - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket", - "attachments,assignees,collections,assigned_teams,account,creator", - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,account,parent_ticket", - "attachments,assignees,collections,assigned_teams,contact", - "attachments,assignees,collections,assigned_teams,contact,creator", - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,contact,parent_ticket", - "attachments,assignees,collections,assigned_teams,creator", - "attachments,assignees,collections,assigned_teams,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,parent_ticket", - "attachments,assignees,collections,contact", - "attachments,assignees,collections,contact,creator", - "attachments,assignees,collections,contact,creator,parent_ticket", - "attachments,assignees,collections,contact,parent_ticket", - "attachments,assignees,collections,creator", - "attachments,assignees,collections,creator,parent_ticket", - "attachments,assignees,collections,parent_ticket", - "attachments,assignees,contact", - "attachments,assignees,contact,creator", - "attachments,assignees,contact,creator,parent_ticket", - "attachments,assignees,contact,parent_ticket", - "attachments,assignees,creator", - "attachments,assignees,creator,parent_ticket", - "attachments,assignees,parent_ticket", - "attachments,collections", - "attachments,collections,account", - "attachments,collections,account,contact", - "attachments,collections,account,contact,creator", - "attachments,collections,account,contact,creator,parent_ticket", - "attachments,collections,account,contact,parent_ticket", - "attachments,collections,account,creator", - "attachments,collections,account,creator,parent_ticket", - "attachments,collections,account,parent_ticket", - "attachments,collections,assigned_teams", - "attachments,collections,assigned_teams,account", - "attachments,collections,assigned_teams,account,contact", - "attachments,collections,assigned_teams,account,contact,creator", - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket", - "attachments,collections,assigned_teams,account,contact,parent_ticket", - "attachments,collections,assigned_teams,account,creator", - "attachments,collections,assigned_teams,account,creator,parent_ticket", - "attachments,collections,assigned_teams,account,parent_ticket", - "attachments,collections,assigned_teams,contact", - "attachments,collections,assigned_teams,contact,creator", - "attachments,collections,assigned_teams,contact,creator,parent_ticket", - "attachments,collections,assigned_teams,contact,parent_ticket", - "attachments,collections,assigned_teams,creator", - "attachments,collections,assigned_teams,creator,parent_ticket", - "attachments,collections,assigned_teams,parent_ticket", - "attachments,collections,contact", - "attachments,collections,contact,creator", - "attachments,collections,contact,creator,parent_ticket", - "attachments,collections,contact,parent_ticket", - "attachments,collections,creator", - "attachments,collections,creator,parent_ticket", - "attachments,collections,parent_ticket", - "attachments,contact", - "attachments,contact,creator", - "attachments,contact,creator,parent_ticket", - "attachments,contact,parent_ticket", - "attachments,creator", - "attachments,creator,parent_ticket", - "attachments,parent_ticket", - "collections", - "collections,account", - "collections,account,contact", - "collections,account,contact,creator", - "collections,account,contact,creator,parent_ticket", - "collections,account,contact,parent_ticket", - "collections,account,creator", - "collections,account,creator,parent_ticket", - "collections,account,parent_ticket", - "collections,assigned_teams", - "collections,assigned_teams,account", - "collections,assigned_teams,account,contact", - "collections,assigned_teams,account,contact,creator", - "collections,assigned_teams,account,contact,creator,parent_ticket", - "collections,assigned_teams,account,contact,parent_ticket", - "collections,assigned_teams,account,creator", - "collections,assigned_teams,account,creator,parent_ticket", - "collections,assigned_teams,account,parent_ticket", - "collections,assigned_teams,contact", - "collections,assigned_teams,contact,creator", - "collections,assigned_teams,contact,creator,parent_ticket", - "collections,assigned_teams,contact,parent_ticket", - "collections,assigned_teams,creator", - "collections,assigned_teams,creator,parent_ticket", - "collections,assigned_teams,parent_ticket", - "collections,contact", - "collections,contact,creator", - "collections,contact,creator,parent_ticket", - "collections,contact,parent_ticket", - "collections,creator", - "collections,creator,parent_ticket", - "collections,parent_ticket", - "contact", - "contact,creator", - "contact,creator,parent_ticket", - "contact,parent_ticket", - "creator", - "creator,parent_ticket", - "parent_ticket", -]); - -export declare namespace TicketsListRequestExpand { - export type Raw = - | "account" - | "account,contact" - | "account,contact,creator" - | "account,contact,creator,parent_ticket" - | "account,contact,parent_ticket" - | "account,creator" - | "account,creator,parent_ticket" - | "account,parent_ticket" - | "assigned_teams" - | "assigned_teams,account" - | "assigned_teams,account,contact" - | "assigned_teams,account,contact,creator" - | "assigned_teams,account,contact,creator,parent_ticket" - | "assigned_teams,account,contact,parent_ticket" - | "assigned_teams,account,creator" - | "assigned_teams,account,creator,parent_ticket" - | "assigned_teams,account,parent_ticket" - | "assigned_teams,contact" - | "assigned_teams,contact,creator" - | "assigned_teams,contact,creator,parent_ticket" - | "assigned_teams,contact,parent_ticket" - | "assigned_teams,creator" - | "assigned_teams,creator,parent_ticket" - | "assigned_teams,parent_ticket" - | "assignees" - | "assignees,account" - | "assignees,account,contact" - | "assignees,account,contact,creator" - | "assignees,account,contact,creator,parent_ticket" - | "assignees,account,contact,parent_ticket" - | "assignees,account,creator" - | "assignees,account,creator,parent_ticket" - | "assignees,account,parent_ticket" - | "assignees,assigned_teams" - | "assignees,assigned_teams,account" - | "assignees,assigned_teams,account,contact" - | "assignees,assigned_teams,account,contact,creator" - | "assignees,assigned_teams,account,contact,creator,parent_ticket" - | "assignees,assigned_teams,account,contact,parent_ticket" - | "assignees,assigned_teams,account,creator" - | "assignees,assigned_teams,account,creator,parent_ticket" - | "assignees,assigned_teams,account,parent_ticket" - | "assignees,assigned_teams,contact" - | "assignees,assigned_teams,contact,creator" - | "assignees,assigned_teams,contact,creator,parent_ticket" - | "assignees,assigned_teams,contact,parent_ticket" - | "assignees,assigned_teams,creator" - | "assignees,assigned_teams,creator,parent_ticket" - | "assignees,assigned_teams,parent_ticket" - | "assignees,collections" - | "assignees,collections,account" - | "assignees,collections,account,contact" - | "assignees,collections,account,contact,creator" - | "assignees,collections,account,contact,creator,parent_ticket" - | "assignees,collections,account,contact,parent_ticket" - | "assignees,collections,account,creator" - | "assignees,collections,account,creator,parent_ticket" - | "assignees,collections,account,parent_ticket" - | "assignees,collections,assigned_teams" - | "assignees,collections,assigned_teams,account" - | "assignees,collections,assigned_teams,account,contact" - | "assignees,collections,assigned_teams,account,contact,creator" - | "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - | "assignees,collections,assigned_teams,account,contact,parent_ticket" - | "assignees,collections,assigned_teams,account,creator" - | "assignees,collections,assigned_teams,account,creator,parent_ticket" - | "assignees,collections,assigned_teams,account,parent_ticket" - | "assignees,collections,assigned_teams,contact" - | "assignees,collections,assigned_teams,contact,creator" - | "assignees,collections,assigned_teams,contact,creator,parent_ticket" - | "assignees,collections,assigned_teams,contact,parent_ticket" - | "assignees,collections,assigned_teams,creator" - | "assignees,collections,assigned_teams,creator,parent_ticket" - | "assignees,collections,assigned_teams,parent_ticket" - | "assignees,collections,contact" - | "assignees,collections,contact,creator" - | "assignees,collections,contact,creator,parent_ticket" - | "assignees,collections,contact,parent_ticket" - | "assignees,collections,creator" - | "assignees,collections,creator,parent_ticket" - | "assignees,collections,parent_ticket" - | "assignees,contact" - | "assignees,contact,creator" - | "assignees,contact,creator,parent_ticket" - | "assignees,contact,parent_ticket" - | "assignees,creator" - | "assignees,creator,parent_ticket" - | "assignees,parent_ticket" - | "attachments" - | "attachments,account" - | "attachments,account,contact" - | "attachments,account,contact,creator" - | "attachments,account,contact,creator,parent_ticket" - | "attachments,account,contact,parent_ticket" - | "attachments,account,creator" - | "attachments,account,creator,parent_ticket" - | "attachments,account,parent_ticket" - | "attachments,assigned_teams" - | "attachments,assigned_teams,account" - | "attachments,assigned_teams,account,contact" - | "attachments,assigned_teams,account,contact,creator" - | "attachments,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,assigned_teams,account,contact,parent_ticket" - | "attachments,assigned_teams,account,creator" - | "attachments,assigned_teams,account,creator,parent_ticket" - | "attachments,assigned_teams,account,parent_ticket" - | "attachments,assigned_teams,contact" - | "attachments,assigned_teams,contact,creator" - | "attachments,assigned_teams,contact,creator,parent_ticket" - | "attachments,assigned_teams,contact,parent_ticket" - | "attachments,assigned_teams,creator" - | "attachments,assigned_teams,creator,parent_ticket" - | "attachments,assigned_teams,parent_ticket" - | "attachments,assignees" - | "attachments,assignees,account" - | "attachments,assignees,account,contact" - | "attachments,assignees,account,contact,creator" - | "attachments,assignees,account,contact,creator,parent_ticket" - | "attachments,assignees,account,contact,parent_ticket" - | "attachments,assignees,account,creator" - | "attachments,assignees,account,creator,parent_ticket" - | "attachments,assignees,account,parent_ticket" - | "attachments,assignees,assigned_teams" - | "attachments,assignees,assigned_teams,account" - | "attachments,assignees,assigned_teams,account,contact" - | "attachments,assignees,assigned_teams,account,contact,creator" - | "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,assignees,assigned_teams,account,contact,parent_ticket" - | "attachments,assignees,assigned_teams,account,creator" - | "attachments,assignees,assigned_teams,account,creator,parent_ticket" - | "attachments,assignees,assigned_teams,account,parent_ticket" - | "attachments,assignees,assigned_teams,contact" - | "attachments,assignees,assigned_teams,contact,creator" - | "attachments,assignees,assigned_teams,contact,creator,parent_ticket" - | "attachments,assignees,assigned_teams,contact,parent_ticket" - | "attachments,assignees,assigned_teams,creator" - | "attachments,assignees,assigned_teams,creator,parent_ticket" - | "attachments,assignees,assigned_teams,parent_ticket" - | "attachments,assignees,collections" - | "attachments,assignees,collections,account" - | "attachments,assignees,collections,account,contact" - | "attachments,assignees,collections,account,contact,creator" - | "attachments,assignees,collections,account,contact,creator,parent_ticket" - | "attachments,assignees,collections,account,contact,parent_ticket" - | "attachments,assignees,collections,account,creator" - | "attachments,assignees,collections,account,creator,parent_ticket" - | "attachments,assignees,collections,account,parent_ticket" - | "attachments,assignees,collections,assigned_teams" - | "attachments,assignees,collections,assigned_teams,account" - | "attachments,assignees,collections,assigned_teams,account,contact" - | "attachments,assignees,collections,assigned_teams,account,contact,creator" - | "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" - | "attachments,assignees,collections,assigned_teams,account,creator" - | "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,account,parent_ticket" - | "attachments,assignees,collections,assigned_teams,contact" - | "attachments,assignees,collections,assigned_teams,contact,creator" - | "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,contact,parent_ticket" - | "attachments,assignees,collections,assigned_teams,creator" - | "attachments,assignees,collections,assigned_teams,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,parent_ticket" - | "attachments,assignees,collections,contact" - | "attachments,assignees,collections,contact,creator" - | "attachments,assignees,collections,contact,creator,parent_ticket" - | "attachments,assignees,collections,contact,parent_ticket" - | "attachments,assignees,collections,creator" - | "attachments,assignees,collections,creator,parent_ticket" - | "attachments,assignees,collections,parent_ticket" - | "attachments,assignees,contact" - | "attachments,assignees,contact,creator" - | "attachments,assignees,contact,creator,parent_ticket" - | "attachments,assignees,contact,parent_ticket" - | "attachments,assignees,creator" - | "attachments,assignees,creator,parent_ticket" - | "attachments,assignees,parent_ticket" - | "attachments,collections" - | "attachments,collections,account" - | "attachments,collections,account,contact" - | "attachments,collections,account,contact,creator" - | "attachments,collections,account,contact,creator,parent_ticket" - | "attachments,collections,account,contact,parent_ticket" - | "attachments,collections,account,creator" - | "attachments,collections,account,creator,parent_ticket" - | "attachments,collections,account,parent_ticket" - | "attachments,collections,assigned_teams" - | "attachments,collections,assigned_teams,account" - | "attachments,collections,assigned_teams,account,contact" - | "attachments,collections,assigned_teams,account,contact,creator" - | "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,collections,assigned_teams,account,contact,parent_ticket" - | "attachments,collections,assigned_teams,account,creator" - | "attachments,collections,assigned_teams,account,creator,parent_ticket" - | "attachments,collections,assigned_teams,account,parent_ticket" - | "attachments,collections,assigned_teams,contact" - | "attachments,collections,assigned_teams,contact,creator" - | "attachments,collections,assigned_teams,contact,creator,parent_ticket" - | "attachments,collections,assigned_teams,contact,parent_ticket" - | "attachments,collections,assigned_teams,creator" - | "attachments,collections,assigned_teams,creator,parent_ticket" - | "attachments,collections,assigned_teams,parent_ticket" - | "attachments,collections,contact" - | "attachments,collections,contact,creator" - | "attachments,collections,contact,creator,parent_ticket" - | "attachments,collections,contact,parent_ticket" - | "attachments,collections,creator" - | "attachments,collections,creator,parent_ticket" - | "attachments,collections,parent_ticket" - | "attachments,contact" - | "attachments,contact,creator" - | "attachments,contact,creator,parent_ticket" - | "attachments,contact,parent_ticket" - | "attachments,creator" - | "attachments,creator,parent_ticket" - | "attachments,parent_ticket" - | "collections" - | "collections,account" - | "collections,account,contact" - | "collections,account,contact,creator" - | "collections,account,contact,creator,parent_ticket" - | "collections,account,contact,parent_ticket" - | "collections,account,creator" - | "collections,account,creator,parent_ticket" - | "collections,account,parent_ticket" - | "collections,assigned_teams" - | "collections,assigned_teams,account" - | "collections,assigned_teams,account,contact" - | "collections,assigned_teams,account,contact,creator" - | "collections,assigned_teams,account,contact,creator,parent_ticket" - | "collections,assigned_teams,account,contact,parent_ticket" - | "collections,assigned_teams,account,creator" - | "collections,assigned_teams,account,creator,parent_ticket" - | "collections,assigned_teams,account,parent_ticket" - | "collections,assigned_teams,contact" - | "collections,assigned_teams,contact,creator" - | "collections,assigned_teams,contact,creator,parent_ticket" - | "collections,assigned_teams,contact,parent_ticket" - | "collections,assigned_teams,creator" - | "collections,assigned_teams,creator,parent_ticket" - | "collections,assigned_teams,parent_ticket" - | "collections,contact" - | "collections,contact,creator" - | "collections,contact,creator,parent_ticket" - | "collections,contact,parent_ticket" - | "collections,creator" - | "collections,creator,parent_ticket" - | "collections,parent_ticket" - | "contact" - | "contact,creator" - | "contact,creator,parent_ticket" - | "contact,parent_ticket" - | "creator" - | "creator,parent_ticket" - | "parent_ticket"; -} diff --git a/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts new file mode 100644 index 000000000..db0ece061 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts @@ -0,0 +1,31 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TicketsListRequestExpandItem: core.serialization.Schema< + serializers.ticketing.TicketsListRequestExpandItem.Raw, + Merge.ticketing.TicketsListRequestExpandItem +> = core.serialization.enum_([ + "account", + "assigned_teams", + "assignees", + "attachments", + "collections", + "contact", + "creator", + "parent_ticket", +]); + +export declare namespace TicketsListRequestExpandItem { + export type Raw = + | "account" + | "assigned_teams" + | "assignees" + | "attachments" + | "collections" + | "contact" + | "creator" + | "parent_ticket"; +} diff --git a/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts deleted file mode 100644 index 6c3842e9f..000000000 --- a/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts +++ /dev/null @@ -1,525 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TicketsRetrieveRequestExpand: core.serialization.Schema< - serializers.ticketing.TicketsRetrieveRequestExpand.Raw, - Merge.ticketing.TicketsRetrieveRequestExpand -> = core.serialization.enum_([ - "account", - "account,contact", - "account,contact,creator", - "account,contact,creator,parent_ticket", - "account,contact,parent_ticket", - "account,creator", - "account,creator,parent_ticket", - "account,parent_ticket", - "assigned_teams", - "assigned_teams,account", - "assigned_teams,account,contact", - "assigned_teams,account,contact,creator", - "assigned_teams,account,contact,creator,parent_ticket", - "assigned_teams,account,contact,parent_ticket", - "assigned_teams,account,creator", - "assigned_teams,account,creator,parent_ticket", - "assigned_teams,account,parent_ticket", - "assigned_teams,contact", - "assigned_teams,contact,creator", - "assigned_teams,contact,creator,parent_ticket", - "assigned_teams,contact,parent_ticket", - "assigned_teams,creator", - "assigned_teams,creator,parent_ticket", - "assigned_teams,parent_ticket", - "assignees", - "assignees,account", - "assignees,account,contact", - "assignees,account,contact,creator", - "assignees,account,contact,creator,parent_ticket", - "assignees,account,contact,parent_ticket", - "assignees,account,creator", - "assignees,account,creator,parent_ticket", - "assignees,account,parent_ticket", - "assignees,assigned_teams", - "assignees,assigned_teams,account", - "assignees,assigned_teams,account,contact", - "assignees,assigned_teams,account,contact,creator", - "assignees,assigned_teams,account,contact,creator,parent_ticket", - "assignees,assigned_teams,account,contact,parent_ticket", - "assignees,assigned_teams,account,creator", - "assignees,assigned_teams,account,creator,parent_ticket", - "assignees,assigned_teams,account,parent_ticket", - "assignees,assigned_teams,contact", - "assignees,assigned_teams,contact,creator", - "assignees,assigned_teams,contact,creator,parent_ticket", - "assignees,assigned_teams,contact,parent_ticket", - "assignees,assigned_teams,creator", - "assignees,assigned_teams,creator,parent_ticket", - "assignees,assigned_teams,parent_ticket", - "assignees,collections", - "assignees,collections,account", - "assignees,collections,account,contact", - "assignees,collections,account,contact,creator", - "assignees,collections,account,contact,creator,parent_ticket", - "assignees,collections,account,contact,parent_ticket", - "assignees,collections,account,creator", - "assignees,collections,account,creator,parent_ticket", - "assignees,collections,account,parent_ticket", - "assignees,collections,assigned_teams", - "assignees,collections,assigned_teams,account", - "assignees,collections,assigned_teams,account,contact", - "assignees,collections,assigned_teams,account,contact,creator", - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - "assignees,collections,assigned_teams,account,contact,parent_ticket", - "assignees,collections,assigned_teams,account,creator", - "assignees,collections,assigned_teams,account,creator,parent_ticket", - "assignees,collections,assigned_teams,account,parent_ticket", - "assignees,collections,assigned_teams,contact", - "assignees,collections,assigned_teams,contact,creator", - "assignees,collections,assigned_teams,contact,creator,parent_ticket", - "assignees,collections,assigned_teams,contact,parent_ticket", - "assignees,collections,assigned_teams,creator", - "assignees,collections,assigned_teams,creator,parent_ticket", - "assignees,collections,assigned_teams,parent_ticket", - "assignees,collections,contact", - "assignees,collections,contact,creator", - "assignees,collections,contact,creator,parent_ticket", - "assignees,collections,contact,parent_ticket", - "assignees,collections,creator", - "assignees,collections,creator,parent_ticket", - "assignees,collections,parent_ticket", - "assignees,contact", - "assignees,contact,creator", - "assignees,contact,creator,parent_ticket", - "assignees,contact,parent_ticket", - "assignees,creator", - "assignees,creator,parent_ticket", - "assignees,parent_ticket", - "attachments", - "attachments,account", - "attachments,account,contact", - "attachments,account,contact,creator", - "attachments,account,contact,creator,parent_ticket", - "attachments,account,contact,parent_ticket", - "attachments,account,creator", - "attachments,account,creator,parent_ticket", - "attachments,account,parent_ticket", - "attachments,assigned_teams", - "attachments,assigned_teams,account", - "attachments,assigned_teams,account,contact", - "attachments,assigned_teams,account,contact,creator", - "attachments,assigned_teams,account,contact,creator,parent_ticket", - "attachments,assigned_teams,account,contact,parent_ticket", - "attachments,assigned_teams,account,creator", - "attachments,assigned_teams,account,creator,parent_ticket", - "attachments,assigned_teams,account,parent_ticket", - "attachments,assigned_teams,contact", - "attachments,assigned_teams,contact,creator", - "attachments,assigned_teams,contact,creator,parent_ticket", - "attachments,assigned_teams,contact,parent_ticket", - "attachments,assigned_teams,creator", - "attachments,assigned_teams,creator,parent_ticket", - "attachments,assigned_teams,parent_ticket", - "attachments,assignees", - "attachments,assignees,account", - "attachments,assignees,account,contact", - "attachments,assignees,account,contact,creator", - "attachments,assignees,account,contact,creator,parent_ticket", - "attachments,assignees,account,contact,parent_ticket", - "attachments,assignees,account,creator", - "attachments,assignees,account,creator,parent_ticket", - "attachments,assignees,account,parent_ticket", - "attachments,assignees,assigned_teams", - "attachments,assignees,assigned_teams,account", - "attachments,assignees,assigned_teams,account,contact", - "attachments,assignees,assigned_teams,account,contact,creator", - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket", - "attachments,assignees,assigned_teams,account,contact,parent_ticket", - "attachments,assignees,assigned_teams,account,creator", - "attachments,assignees,assigned_teams,account,creator,parent_ticket", - "attachments,assignees,assigned_teams,account,parent_ticket", - "attachments,assignees,assigned_teams,contact", - "attachments,assignees,assigned_teams,contact,creator", - "attachments,assignees,assigned_teams,contact,creator,parent_ticket", - "attachments,assignees,assigned_teams,contact,parent_ticket", - "attachments,assignees,assigned_teams,creator", - "attachments,assignees,assigned_teams,creator,parent_ticket", - "attachments,assignees,assigned_teams,parent_ticket", - "attachments,assignees,collections", - "attachments,assignees,collections,account", - "attachments,assignees,collections,account,contact", - "attachments,assignees,collections,account,contact,creator", - "attachments,assignees,collections,account,contact,creator,parent_ticket", - "attachments,assignees,collections,account,contact,parent_ticket", - "attachments,assignees,collections,account,creator", - "attachments,assignees,collections,account,creator,parent_ticket", - "attachments,assignees,collections,account,parent_ticket", - "attachments,assignees,collections,assigned_teams", - "attachments,assignees,collections,assigned_teams,account", - "attachments,assignees,collections,assigned_teams,account,contact", - "attachments,assignees,collections,assigned_teams,account,contact,creator", - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket", - "attachments,assignees,collections,assigned_teams,account,creator", - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,account,parent_ticket", - "attachments,assignees,collections,assigned_teams,contact", - "attachments,assignees,collections,assigned_teams,contact,creator", - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,contact,parent_ticket", - "attachments,assignees,collections,assigned_teams,creator", - "attachments,assignees,collections,assigned_teams,creator,parent_ticket", - "attachments,assignees,collections,assigned_teams,parent_ticket", - "attachments,assignees,collections,contact", - "attachments,assignees,collections,contact,creator", - "attachments,assignees,collections,contact,creator,parent_ticket", - "attachments,assignees,collections,contact,parent_ticket", - "attachments,assignees,collections,creator", - "attachments,assignees,collections,creator,parent_ticket", - "attachments,assignees,collections,parent_ticket", - "attachments,assignees,contact", - "attachments,assignees,contact,creator", - "attachments,assignees,contact,creator,parent_ticket", - "attachments,assignees,contact,parent_ticket", - "attachments,assignees,creator", - "attachments,assignees,creator,parent_ticket", - "attachments,assignees,parent_ticket", - "attachments,collections", - "attachments,collections,account", - "attachments,collections,account,contact", - "attachments,collections,account,contact,creator", - "attachments,collections,account,contact,creator,parent_ticket", - "attachments,collections,account,contact,parent_ticket", - "attachments,collections,account,creator", - "attachments,collections,account,creator,parent_ticket", - "attachments,collections,account,parent_ticket", - "attachments,collections,assigned_teams", - "attachments,collections,assigned_teams,account", - "attachments,collections,assigned_teams,account,contact", - "attachments,collections,assigned_teams,account,contact,creator", - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket", - "attachments,collections,assigned_teams,account,contact,parent_ticket", - "attachments,collections,assigned_teams,account,creator", - "attachments,collections,assigned_teams,account,creator,parent_ticket", - "attachments,collections,assigned_teams,account,parent_ticket", - "attachments,collections,assigned_teams,contact", - "attachments,collections,assigned_teams,contact,creator", - "attachments,collections,assigned_teams,contact,creator,parent_ticket", - "attachments,collections,assigned_teams,contact,parent_ticket", - "attachments,collections,assigned_teams,creator", - "attachments,collections,assigned_teams,creator,parent_ticket", - "attachments,collections,assigned_teams,parent_ticket", - "attachments,collections,contact", - "attachments,collections,contact,creator", - "attachments,collections,contact,creator,parent_ticket", - "attachments,collections,contact,parent_ticket", - "attachments,collections,creator", - "attachments,collections,creator,parent_ticket", - "attachments,collections,parent_ticket", - "attachments,contact", - "attachments,contact,creator", - "attachments,contact,creator,parent_ticket", - "attachments,contact,parent_ticket", - "attachments,creator", - "attachments,creator,parent_ticket", - "attachments,parent_ticket", - "collections", - "collections,account", - "collections,account,contact", - "collections,account,contact,creator", - "collections,account,contact,creator,parent_ticket", - "collections,account,contact,parent_ticket", - "collections,account,creator", - "collections,account,creator,parent_ticket", - "collections,account,parent_ticket", - "collections,assigned_teams", - "collections,assigned_teams,account", - "collections,assigned_teams,account,contact", - "collections,assigned_teams,account,contact,creator", - "collections,assigned_teams,account,contact,creator,parent_ticket", - "collections,assigned_teams,account,contact,parent_ticket", - "collections,assigned_teams,account,creator", - "collections,assigned_teams,account,creator,parent_ticket", - "collections,assigned_teams,account,parent_ticket", - "collections,assigned_teams,contact", - "collections,assigned_teams,contact,creator", - "collections,assigned_teams,contact,creator,parent_ticket", - "collections,assigned_teams,contact,parent_ticket", - "collections,assigned_teams,creator", - "collections,assigned_teams,creator,parent_ticket", - "collections,assigned_teams,parent_ticket", - "collections,contact", - "collections,contact,creator", - "collections,contact,creator,parent_ticket", - "collections,contact,parent_ticket", - "collections,creator", - "collections,creator,parent_ticket", - "collections,parent_ticket", - "contact", - "contact,creator", - "contact,creator,parent_ticket", - "contact,parent_ticket", - "creator", - "creator,parent_ticket", - "parent_ticket", -]); - -export declare namespace TicketsRetrieveRequestExpand { - export type Raw = - | "account" - | "account,contact" - | "account,contact,creator" - | "account,contact,creator,parent_ticket" - | "account,contact,parent_ticket" - | "account,creator" - | "account,creator,parent_ticket" - | "account,parent_ticket" - | "assigned_teams" - | "assigned_teams,account" - | "assigned_teams,account,contact" - | "assigned_teams,account,contact,creator" - | "assigned_teams,account,contact,creator,parent_ticket" - | "assigned_teams,account,contact,parent_ticket" - | "assigned_teams,account,creator" - | "assigned_teams,account,creator,parent_ticket" - | "assigned_teams,account,parent_ticket" - | "assigned_teams,contact" - | "assigned_teams,contact,creator" - | "assigned_teams,contact,creator,parent_ticket" - | "assigned_teams,contact,parent_ticket" - | "assigned_teams,creator" - | "assigned_teams,creator,parent_ticket" - | "assigned_teams,parent_ticket" - | "assignees" - | "assignees,account" - | "assignees,account,contact" - | "assignees,account,contact,creator" - | "assignees,account,contact,creator,parent_ticket" - | "assignees,account,contact,parent_ticket" - | "assignees,account,creator" - | "assignees,account,creator,parent_ticket" - | "assignees,account,parent_ticket" - | "assignees,assigned_teams" - | "assignees,assigned_teams,account" - | "assignees,assigned_teams,account,contact" - | "assignees,assigned_teams,account,contact,creator" - | "assignees,assigned_teams,account,contact,creator,parent_ticket" - | "assignees,assigned_teams,account,contact,parent_ticket" - | "assignees,assigned_teams,account,creator" - | "assignees,assigned_teams,account,creator,parent_ticket" - | "assignees,assigned_teams,account,parent_ticket" - | "assignees,assigned_teams,contact" - | "assignees,assigned_teams,contact,creator" - | "assignees,assigned_teams,contact,creator,parent_ticket" - | "assignees,assigned_teams,contact,parent_ticket" - | "assignees,assigned_teams,creator" - | "assignees,assigned_teams,creator,parent_ticket" - | "assignees,assigned_teams,parent_ticket" - | "assignees,collections" - | "assignees,collections,account" - | "assignees,collections,account,contact" - | "assignees,collections,account,contact,creator" - | "assignees,collections,account,contact,creator,parent_ticket" - | "assignees,collections,account,contact,parent_ticket" - | "assignees,collections,account,creator" - | "assignees,collections,account,creator,parent_ticket" - | "assignees,collections,account,parent_ticket" - | "assignees,collections,assigned_teams" - | "assignees,collections,assigned_teams,account" - | "assignees,collections,assigned_teams,account,contact" - | "assignees,collections,assigned_teams,account,contact,creator" - | "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - | "assignees,collections,assigned_teams,account,contact,parent_ticket" - | "assignees,collections,assigned_teams,account,creator" - | "assignees,collections,assigned_teams,account,creator,parent_ticket" - | "assignees,collections,assigned_teams,account,parent_ticket" - | "assignees,collections,assigned_teams,contact" - | "assignees,collections,assigned_teams,contact,creator" - | "assignees,collections,assigned_teams,contact,creator,parent_ticket" - | "assignees,collections,assigned_teams,contact,parent_ticket" - | "assignees,collections,assigned_teams,creator" - | "assignees,collections,assigned_teams,creator,parent_ticket" - | "assignees,collections,assigned_teams,parent_ticket" - | "assignees,collections,contact" - | "assignees,collections,contact,creator" - | "assignees,collections,contact,creator,parent_ticket" - | "assignees,collections,contact,parent_ticket" - | "assignees,collections,creator" - | "assignees,collections,creator,parent_ticket" - | "assignees,collections,parent_ticket" - | "assignees,contact" - | "assignees,contact,creator" - | "assignees,contact,creator,parent_ticket" - | "assignees,contact,parent_ticket" - | "assignees,creator" - | "assignees,creator,parent_ticket" - | "assignees,parent_ticket" - | "attachments" - | "attachments,account" - | "attachments,account,contact" - | "attachments,account,contact,creator" - | "attachments,account,contact,creator,parent_ticket" - | "attachments,account,contact,parent_ticket" - | "attachments,account,creator" - | "attachments,account,creator,parent_ticket" - | "attachments,account,parent_ticket" - | "attachments,assigned_teams" - | "attachments,assigned_teams,account" - | "attachments,assigned_teams,account,contact" - | "attachments,assigned_teams,account,contact,creator" - | "attachments,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,assigned_teams,account,contact,parent_ticket" - | "attachments,assigned_teams,account,creator" - | "attachments,assigned_teams,account,creator,parent_ticket" - | "attachments,assigned_teams,account,parent_ticket" - | "attachments,assigned_teams,contact" - | "attachments,assigned_teams,contact,creator" - | "attachments,assigned_teams,contact,creator,parent_ticket" - | "attachments,assigned_teams,contact,parent_ticket" - | "attachments,assigned_teams,creator" - | "attachments,assigned_teams,creator,parent_ticket" - | "attachments,assigned_teams,parent_ticket" - | "attachments,assignees" - | "attachments,assignees,account" - | "attachments,assignees,account,contact" - | "attachments,assignees,account,contact,creator" - | "attachments,assignees,account,contact,creator,parent_ticket" - | "attachments,assignees,account,contact,parent_ticket" - | "attachments,assignees,account,creator" - | "attachments,assignees,account,creator,parent_ticket" - | "attachments,assignees,account,parent_ticket" - | "attachments,assignees,assigned_teams" - | "attachments,assignees,assigned_teams,account" - | "attachments,assignees,assigned_teams,account,contact" - | "attachments,assignees,assigned_teams,account,contact,creator" - | "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,assignees,assigned_teams,account,contact,parent_ticket" - | "attachments,assignees,assigned_teams,account,creator" - | "attachments,assignees,assigned_teams,account,creator,parent_ticket" - | "attachments,assignees,assigned_teams,account,parent_ticket" - | "attachments,assignees,assigned_teams,contact" - | "attachments,assignees,assigned_teams,contact,creator" - | "attachments,assignees,assigned_teams,contact,creator,parent_ticket" - | "attachments,assignees,assigned_teams,contact,parent_ticket" - | "attachments,assignees,assigned_teams,creator" - | "attachments,assignees,assigned_teams,creator,parent_ticket" - | "attachments,assignees,assigned_teams,parent_ticket" - | "attachments,assignees,collections" - | "attachments,assignees,collections,account" - | "attachments,assignees,collections,account,contact" - | "attachments,assignees,collections,account,contact,creator" - | "attachments,assignees,collections,account,contact,creator,parent_ticket" - | "attachments,assignees,collections,account,contact,parent_ticket" - | "attachments,assignees,collections,account,creator" - | "attachments,assignees,collections,account,creator,parent_ticket" - | "attachments,assignees,collections,account,parent_ticket" - | "attachments,assignees,collections,assigned_teams" - | "attachments,assignees,collections,assigned_teams,account" - | "attachments,assignees,collections,assigned_teams,account,contact" - | "attachments,assignees,collections,assigned_teams,account,contact,creator" - | "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" - | "attachments,assignees,collections,assigned_teams,account,creator" - | "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,account,parent_ticket" - | "attachments,assignees,collections,assigned_teams,contact" - | "attachments,assignees,collections,assigned_teams,contact,creator" - | "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,contact,parent_ticket" - | "attachments,assignees,collections,assigned_teams,creator" - | "attachments,assignees,collections,assigned_teams,creator,parent_ticket" - | "attachments,assignees,collections,assigned_teams,parent_ticket" - | "attachments,assignees,collections,contact" - | "attachments,assignees,collections,contact,creator" - | "attachments,assignees,collections,contact,creator,parent_ticket" - | "attachments,assignees,collections,contact,parent_ticket" - | "attachments,assignees,collections,creator" - | "attachments,assignees,collections,creator,parent_ticket" - | "attachments,assignees,collections,parent_ticket" - | "attachments,assignees,contact" - | "attachments,assignees,contact,creator" - | "attachments,assignees,contact,creator,parent_ticket" - | "attachments,assignees,contact,parent_ticket" - | "attachments,assignees,creator" - | "attachments,assignees,creator,parent_ticket" - | "attachments,assignees,parent_ticket" - | "attachments,collections" - | "attachments,collections,account" - | "attachments,collections,account,contact" - | "attachments,collections,account,contact,creator" - | "attachments,collections,account,contact,creator,parent_ticket" - | "attachments,collections,account,contact,parent_ticket" - | "attachments,collections,account,creator" - | "attachments,collections,account,creator,parent_ticket" - | "attachments,collections,account,parent_ticket" - | "attachments,collections,assigned_teams" - | "attachments,collections,assigned_teams,account" - | "attachments,collections,assigned_teams,account,contact" - | "attachments,collections,assigned_teams,account,contact,creator" - | "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" - | "attachments,collections,assigned_teams,account,contact,parent_ticket" - | "attachments,collections,assigned_teams,account,creator" - | "attachments,collections,assigned_teams,account,creator,parent_ticket" - | "attachments,collections,assigned_teams,account,parent_ticket" - | "attachments,collections,assigned_teams,contact" - | "attachments,collections,assigned_teams,contact,creator" - | "attachments,collections,assigned_teams,contact,creator,parent_ticket" - | "attachments,collections,assigned_teams,contact,parent_ticket" - | "attachments,collections,assigned_teams,creator" - | "attachments,collections,assigned_teams,creator,parent_ticket" - | "attachments,collections,assigned_teams,parent_ticket" - | "attachments,collections,contact" - | "attachments,collections,contact,creator" - | "attachments,collections,contact,creator,parent_ticket" - | "attachments,collections,contact,parent_ticket" - | "attachments,collections,creator" - | "attachments,collections,creator,parent_ticket" - | "attachments,collections,parent_ticket" - | "attachments,contact" - | "attachments,contact,creator" - | "attachments,contact,creator,parent_ticket" - | "attachments,contact,parent_ticket" - | "attachments,creator" - | "attachments,creator,parent_ticket" - | "attachments,parent_ticket" - | "collections" - | "collections,account" - | "collections,account,contact" - | "collections,account,contact,creator" - | "collections,account,contact,creator,parent_ticket" - | "collections,account,contact,parent_ticket" - | "collections,account,creator" - | "collections,account,creator,parent_ticket" - | "collections,account,parent_ticket" - | "collections,assigned_teams" - | "collections,assigned_teams,account" - | "collections,assigned_teams,account,contact" - | "collections,assigned_teams,account,contact,creator" - | "collections,assigned_teams,account,contact,creator,parent_ticket" - | "collections,assigned_teams,account,contact,parent_ticket" - | "collections,assigned_teams,account,creator" - | "collections,assigned_teams,account,creator,parent_ticket" - | "collections,assigned_teams,account,parent_ticket" - | "collections,assigned_teams,contact" - | "collections,assigned_teams,contact,creator" - | "collections,assigned_teams,contact,creator,parent_ticket" - | "collections,assigned_teams,contact,parent_ticket" - | "collections,assigned_teams,creator" - | "collections,assigned_teams,creator,parent_ticket" - | "collections,assigned_teams,parent_ticket" - | "collections,contact" - | "collections,contact,creator" - | "collections,contact,creator,parent_ticket" - | "collections,contact,parent_ticket" - | "collections,creator" - | "collections,creator,parent_ticket" - | "collections,parent_ticket" - | "contact" - | "contact,creator" - | "contact,creator,parent_ticket" - | "contact,parent_ticket" - | "creator" - | "creator,parent_ticket" - | "parent_ticket"; -} diff --git a/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..88bbf9c5b --- /dev/null +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts @@ -0,0 +1,31 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TicketsRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ticketing.TicketsRetrieveRequestExpandItem.Raw, + Merge.ticketing.TicketsRetrieveRequestExpandItem +> = core.serialization.enum_([ + "account", + "assigned_teams", + "assignees", + "attachments", + "collections", + "contact", + "creator", + "parent_ticket", +]); + +export declare namespace TicketsRetrieveRequestExpandItem { + export type Raw = + | "account" + | "assigned_teams" + | "assignees" + | "attachments" + | "collections" + | "contact" + | "creator" + | "parent_ticket"; +} diff --git a/src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts deleted file mode 100644 index 2a3243dfd..000000000 --- a/src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const TicketsViewersListRequestExpand: core.serialization.Schema< - serializers.ticketing.TicketsViewersListRequestExpand.Raw, - Merge.ticketing.TicketsViewersListRequestExpand -> = core.serialization.enum_(["team", "user", "user,team"]); - -export declare namespace TicketsViewersListRequestExpand { - export type Raw = "team" | "user" | "user,team"; -} diff --git a/src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts new file mode 100644 index 000000000..36c9596fb --- /dev/null +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const TicketsViewersListRequestExpandItem: core.serialization.Schema< + serializers.ticketing.TicketsViewersListRequestExpandItem.Raw, + Merge.ticketing.TicketsViewersListRequestExpandItem +> = core.serialization.enum_(["team", "user"]); + +export declare namespace TicketsViewersListRequestExpandItem { + export type Raw = "team" | "user"; +} diff --git a/src/serialization/resources/ticketing/resources/tickets/types/index.ts b/src/serialization/resources/ticketing/resources/tickets/types/index.ts index 2f77f6366..96720a793 100644 --- a/src/serialization/resources/ticketing/resources/tickets/types/index.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/index.ts @@ -1,9 +1,9 @@ -export * from "./TicketsListRequestExpand"; +export * from "./TicketsListRequestExpandItem"; export * from "./TicketsListRequestPriority"; export * from "./TicketsListRequestRemoteFields"; export * from "./TicketsListRequestShowEnumOrigins"; export * from "./TicketsListRequestStatus"; -export * from "./TicketsRetrieveRequestExpand"; +export * from "./TicketsRetrieveRequestExpandItem"; export * from "./TicketsRetrieveRequestRemoteFields"; export * from "./TicketsRetrieveRequestShowEnumOrigins"; -export * from "./TicketsViewersListRequestExpand"; +export * from "./TicketsViewersListRequestExpandItem"; diff --git a/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts b/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts deleted file mode 100644 index 3607fe4d9..000000000 --- a/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const UsersListRequestExpand: core.serialization.Schema< - serializers.ticketing.UsersListRequestExpand.Raw, - Merge.ticketing.UsersListRequestExpand -> = core.serialization.enum_(["roles", "teams", "teams,roles"]); - -export declare namespace UsersListRequestExpand { - export type Raw = "roles" | "teams" | "teams,roles"; -} diff --git a/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts new file mode 100644 index 000000000..c3483e6fb --- /dev/null +++ b/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const UsersListRequestExpandItem: core.serialization.Schema< + serializers.ticketing.UsersListRequestExpandItem.Raw, + Merge.ticketing.UsersListRequestExpandItem +> = core.serialization.enum_(["roles", "teams"]); + +export declare namespace UsersListRequestExpandItem { + export type Raw = "roles" | "teams"; +} diff --git a/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts b/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts deleted file mode 100644 index dc33581a2..000000000 --- a/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import type * as serializers from "../../../../../index"; - -export const UsersRetrieveRequestExpand: core.serialization.Schema< - serializers.ticketing.UsersRetrieveRequestExpand.Raw, - Merge.ticketing.UsersRetrieveRequestExpand -> = core.serialization.enum_(["roles", "teams", "teams,roles"]); - -export declare namespace UsersRetrieveRequestExpand { - export type Raw = "roles" | "teams" | "teams,roles"; -} diff --git a/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts b/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts new file mode 100644 index 000000000..06eb97966 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../../../api/index"; +import * as core from "../../../../../../core"; +import type * as serializers from "../../../../../index"; + +export const UsersRetrieveRequestExpandItem: core.serialization.Schema< + serializers.ticketing.UsersRetrieveRequestExpandItem.Raw, + Merge.ticketing.UsersRetrieveRequestExpandItem +> = core.serialization.enum_(["roles", "teams"]); + +export declare namespace UsersRetrieveRequestExpandItem { + export type Raw = "roles" | "teams"; +} diff --git a/src/serialization/resources/ticketing/resources/users/types/index.ts b/src/serialization/resources/ticketing/resources/users/types/index.ts index e07d9f0f0..6b3250680 100644 --- a/src/serialization/resources/ticketing/resources/users/types/index.ts +++ b/src/serialization/resources/ticketing/resources/users/types/index.ts @@ -1,2 +1,2 @@ -export * from "./UsersListRequestExpand"; -export * from "./UsersRetrieveRequestExpand"; +export * from "./UsersListRequestExpandItem"; +export * from "./UsersRetrieveRequestExpandItem"; diff --git a/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts b/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts index 22afb7316..3471a266f 100644 --- a/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts @@ -24,10 +24,6 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< integration: AccountDetailsAndActionsIntegration.optional(), accountType: core.serialization.property("account_type", core.serialization.string()), completedAt: core.serialization.property("completed_at", core.serialization.date()), - integrationSpecificFields: core.serialization.property( - "integration_specific_fields", - core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - ), }); export declare namespace AccountDetailsAndActions { @@ -45,6 +41,5 @@ export declare namespace AccountDetailsAndActions { integration?: AccountDetailsAndActionsIntegration.Raw | null; account_type: string; completed_at: string; - integration_specific_fields?: Record | null; } } diff --git a/src/serialization/resources/ticketing/types/CategoriesEnum.ts b/src/serialization/resources/ticketing/types/CategoriesEnum.ts index 7653068bb..4f96dc8e8 100644 --- a/src/serialization/resources/ticketing/types/CategoriesEnum.ts +++ b/src/serialization/resources/ticketing/types/CategoriesEnum.ts @@ -7,8 +7,8 @@ import type * as serializers from "../../../index"; export const CategoriesEnum: core.serialization.Schema< serializers.ticketing.CategoriesEnum.Raw, Merge.ticketing.CategoriesEnum -> = core.serialization.enum_(["hris", "ats", "accounting", "ticketing", "crm", "mktg", "filestorage", "knowledgebase"]); +> = core.serialization.enum_(["hris", "ats", "accounting", "ticketing", "crm", "mktg", "filestorage"]); export declare namespace CategoriesEnum { - export type Raw = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage" | "knowledgebase"; + export type Raw = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; } diff --git a/src/serialization/resources/ticketing/types/CategoryEnum.ts b/src/serialization/resources/ticketing/types/CategoryEnum.ts index 014e43771..fe83ec526 100644 --- a/src/serialization/resources/ticketing/types/CategoryEnum.ts +++ b/src/serialization/resources/ticketing/types/CategoryEnum.ts @@ -7,8 +7,8 @@ import type * as serializers from "../../../index"; export const CategoryEnum: core.serialization.Schema< serializers.ticketing.CategoryEnum.Raw, Merge.ticketing.CategoryEnum -> = core.serialization.enum_(["hris", "ats", "accounting", "ticketing", "crm", "mktg", "filestorage", "knowledgebase"]); +> = core.serialization.enum_(["hris", "ats", "accounting", "ticketing", "crm", "mktg", "filestorage"]); export declare namespace CategoryEnum { - export type Raw = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage" | "knowledgebase"; + export type Raw = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; } diff --git a/src/serialization/resources/ticketing/types/Collection.ts b/src/serialization/resources/ticketing/types/Collection.ts index ecc9bd950..0ada0a820 100644 --- a/src/serialization/resources/ticketing/types/Collection.ts +++ b/src/serialization/resources/ticketing/types/Collection.ts @@ -4,7 +4,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import * as serializers from "../../../index"; import { CollectionAccessLevel } from "./CollectionAccessLevel"; -import { CollectionCollectionType } from "./CollectionCollectionType"; +import { CollectionTypeEnum } from "./CollectionTypeEnum"; import { RemoteData } from "./RemoteData"; export const Collection: core.serialization.ObjectSchema< @@ -18,7 +18,7 @@ export const Collection: core.serialization.ObjectSchema< name: core.serialization.string().optional(), description: core.serialization.string().optional(), accessLevel: core.serialization.property("access_level", CollectionAccessLevel.optional()), - collectionType: core.serialization.property("collection_type", CollectionCollectionType.optional()), + collectionType: core.serialization.property("collection_type", CollectionTypeEnum.optional()), parentCollection: core.serialization.property( "parent_collection", core.serialization.lazy(() => serializers.ticketing.CollectionParentCollection).optional(), @@ -43,7 +43,7 @@ export declare namespace Collection { name?: string | null; description?: string | null; access_level?: CollectionAccessLevel.Raw | null; - collection_type?: CollectionCollectionType.Raw | null; + collection_type?: CollectionTypeEnum.Raw | null; parent_collection?: serializers.ticketing.CollectionParentCollection.Raw | null; collection_url?: string | null; remote_created_at?: string | null; diff --git a/src/serialization/resources/ticketing/types/CollectionCollectionType.ts b/src/serialization/resources/ticketing/types/CollectionCollectionType.ts deleted file mode 100644 index 0838c805e..000000000 --- a/src/serialization/resources/ticketing/types/CollectionCollectionType.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { CollectionTypeEnum } from "./CollectionTypeEnum"; - -export const CollectionCollectionType: core.serialization.Schema< - serializers.ticketing.CollectionCollectionType.Raw, - Merge.ticketing.CollectionCollectionType -> = core.serialization.undiscriminatedUnion([CollectionTypeEnum, core.serialization.string()]); - -export declare namespace CollectionCollectionType { - export type Raw = CollectionTypeEnum.Raw | string; -} diff --git a/src/serialization/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts b/src/serialization/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts deleted file mode 100644 index 026241e70..000000000 --- a/src/serialization/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts +++ /dev/null @@ -1,14 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; - -export const CompletedAccountInitialScreenEnum: core.serialization.Schema< - serializers.ticketing.CompletedAccountInitialScreenEnum.Raw, - Merge.ticketing.CompletedAccountInitialScreenEnum -> = core.serialization.stringLiteral("SELECTIVE_SYNC"); - -export declare namespace CompletedAccountInitialScreenEnum { - export type Raw = "SELECTIVE_SYNC"; -} diff --git a/src/serialization/resources/ticketing/types/FieldMappingApiInstance.ts b/src/serialization/resources/ticketing/types/FieldMappingApiInstance.ts index 7825a2692..5fddc0cb6 100644 --- a/src/serialization/resources/ticketing/types/FieldMappingApiInstance.ts +++ b/src/serialization/resources/ticketing/types/FieldMappingApiInstance.ts @@ -14,7 +14,6 @@ export const FieldMappingApiInstance: core.serialization.ObjectSchema< isIntegrationWide: core.serialization.property("is_integration_wide", core.serialization.boolean().optional()), targetField: core.serialization.property("target_field", FieldMappingApiInstanceTargetField.optional()), remoteField: core.serialization.property("remote_field", FieldMappingApiInstanceRemoteField.optional()), - jmesPath: core.serialization.property("jmes_path", core.serialization.string().optional()), }); export declare namespace FieldMappingApiInstance { @@ -23,6 +22,5 @@ export declare namespace FieldMappingApiInstance { is_integration_wide?: boolean | null; target_field?: FieldMappingApiInstanceTargetField.Raw | null; remote_field?: FieldMappingApiInstanceRemoteField.Raw | null; - jmes_path?: string | null; } } diff --git a/src/serialization/resources/ticketing/types/PatchedTicketRequest.ts b/src/serialization/resources/ticketing/types/PatchedTicketRequest.ts index a5da2c8ca..f98faa732 100644 --- a/src/serialization/resources/ticketing/types/PatchedTicketRequest.ts +++ b/src/serialization/resources/ticketing/types/PatchedTicketRequest.ts @@ -4,8 +4,8 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { PatchedTicketRequestAccessLevel } from "./PatchedTicketRequestAccessLevel"; -import { PatchedTicketRequestPriority } from "./PatchedTicketRequestPriority"; import { PatchedTicketRequestStatus } from "./PatchedTicketRequestStatus"; +import { PriorityEnum } from "./PriorityEnum"; import { RemoteFieldRequest } from "./RemoteFieldRequest"; export const PatchedTicketRequest: core.serialization.ObjectSchema< @@ -30,9 +30,9 @@ export const PatchedTicketRequest: core.serialization.ObjectSchema< accessLevel: core.serialization.property("access_level", PatchedTicketRequestAccessLevel.optional()), tags: core.serialization.list(core.serialization.string().optional()).optional(), roles: core.serialization.list(core.serialization.string().optional()).optional(), - ticketUrl: core.serialization.property("ticket_url", core.serialization.string().optional()), - priority: PatchedTicketRequestPriority.optional(), completedAt: core.serialization.property("completed_at", core.serialization.date().optional()), + ticketUrl: core.serialization.property("ticket_url", core.serialization.string().optional()), + priority: PriorityEnum.optional(), integrationParams: core.serialization.property( "integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), @@ -61,9 +61,9 @@ export declare namespace PatchedTicketRequest { access_level?: PatchedTicketRequestAccessLevel.Raw | null; tags?: (string | null | undefined)[] | null; roles?: (string | null | undefined)[] | null; - ticket_url?: string | null; - priority?: PatchedTicketRequestPriority.Raw | null; completed_at?: string | null; + ticket_url?: string | null; + priority?: PriorityEnum.Raw | null; integration_params?: Record | null; linked_account_params?: Record | null; remote_fields?: RemoteFieldRequest.Raw[] | null; diff --git a/src/serialization/resources/ticketing/types/PatchedTicketRequestPriority.ts b/src/serialization/resources/ticketing/types/PatchedTicketRequestPriority.ts deleted file mode 100644 index f5df29e0a..000000000 --- a/src/serialization/resources/ticketing/types/PatchedTicketRequestPriority.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { PriorityEnum } from "./PriorityEnum"; - -export const PatchedTicketRequestPriority: core.serialization.Schema< - serializers.ticketing.PatchedTicketRequestPriority.Raw, - Merge.ticketing.PatchedTicketRequestPriority -> = core.serialization.undiscriminatedUnion([PriorityEnum, core.serialization.string()]); - -export declare namespace PatchedTicketRequestPriority { - export type Raw = PriorityEnum.Raw | string; -} diff --git a/src/serialization/resources/ticketing/types/RemoteFieldClass.ts b/src/serialization/resources/ticketing/types/RemoteFieldClass.ts index ae8d03356..41d7380a7 100644 --- a/src/serialization/resources/ticketing/types/RemoteFieldClass.ts +++ b/src/serialization/resources/ticketing/types/RemoteFieldClass.ts @@ -3,10 +3,10 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; +import { FieldFormatEnum } from "./FieldFormatEnum"; +import { FieldTypeEnum } from "./FieldTypeEnum"; import { ItemSchema } from "./ItemSchema"; import { RemoteFieldClassFieldChoicesItem } from "./RemoteFieldClassFieldChoicesItem"; -import { RemoteFieldClassFieldFormat } from "./RemoteFieldClassFieldFormat"; -import { RemoteFieldClassFieldType } from "./RemoteFieldClassFieldType"; export const RemoteFieldClass: core.serialization.ObjectSchema< serializers.ticketing.RemoteFieldClass.Raw, @@ -19,8 +19,8 @@ export const RemoteFieldClass: core.serialization.ObjectSchema< isCustom: core.serialization.property("is_custom", core.serialization.boolean().optional()), isCommonModelField: core.serialization.property("is_common_model_field", core.serialization.boolean().optional()), isRequired: core.serialization.property("is_required", core.serialization.boolean().optional()), - fieldType: core.serialization.property("field_type", RemoteFieldClassFieldType.optional()), - fieldFormat: core.serialization.property("field_format", RemoteFieldClassFieldFormat.optional()), + fieldType: core.serialization.property("field_type", FieldTypeEnum.optional()), + fieldFormat: core.serialization.property("field_format", FieldFormatEnum.optional()), fieldChoices: core.serialization.property( "field_choices", core.serialization.list(RemoteFieldClassFieldChoicesItem).optional(), @@ -37,8 +37,8 @@ export declare namespace RemoteFieldClass { is_custom?: boolean | null; is_common_model_field?: boolean | null; is_required?: boolean | null; - field_type?: RemoteFieldClassFieldType.Raw | null; - field_format?: RemoteFieldClassFieldFormat.Raw | null; + field_type?: FieldTypeEnum.Raw | null; + field_format?: FieldFormatEnum.Raw | null; field_choices?: RemoteFieldClassFieldChoicesItem.Raw[] | null; item_schema?: ItemSchema.Raw | null; } diff --git a/src/serialization/resources/ticketing/types/RemoteFieldClassFieldFormat.ts b/src/serialization/resources/ticketing/types/RemoteFieldClassFieldFormat.ts deleted file mode 100644 index 7d87f60d3..000000000 --- a/src/serialization/resources/ticketing/types/RemoteFieldClassFieldFormat.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { FieldFormatEnum } from "./FieldFormatEnum"; - -export const RemoteFieldClassFieldFormat: core.serialization.Schema< - serializers.ticketing.RemoteFieldClassFieldFormat.Raw, - Merge.ticketing.RemoteFieldClassFieldFormat -> = core.serialization.undiscriminatedUnion([core.serialization.string(), FieldFormatEnum]); - -export declare namespace RemoteFieldClassFieldFormat { - export type Raw = string | FieldFormatEnum.Raw; -} diff --git a/src/serialization/resources/ticketing/types/RemoteFieldClassFieldType.ts b/src/serialization/resources/ticketing/types/RemoteFieldClassFieldType.ts deleted file mode 100644 index 86010f7b7..000000000 --- a/src/serialization/resources/ticketing/types/RemoteFieldClassFieldType.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Merge from "../../../../api/index"; -import * as core from "../../../../core"; -import type * as serializers from "../../../index"; -import { FieldTypeEnum } from "./FieldTypeEnum"; - -export const RemoteFieldClassFieldType: core.serialization.Schema< - serializers.ticketing.RemoteFieldClassFieldType.Raw, - Merge.ticketing.RemoteFieldClassFieldType -> = core.serialization.undiscriminatedUnion([core.serialization.string(), FieldTypeEnum]); - -export declare namespace RemoteFieldClassFieldType { - export type Raw = string | FieldTypeEnum.Raw; -} diff --git a/src/serialization/resources/ticketing/types/RemoteResponse.ts b/src/serialization/resources/ticketing/types/RemoteResponse.ts index e00702ea4..b863e76bf 100644 --- a/src/serialization/resources/ticketing/types/RemoteResponse.ts +++ b/src/serialization/resources/ticketing/types/RemoteResponse.ts @@ -3,7 +3,7 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; -import { ResponseTypeEnum } from "./ResponseTypeEnum"; +import { RemoteResponseResponseType } from "./RemoteResponseResponseType"; export const RemoteResponse: core.serialization.ObjectSchema< serializers.ticketing.RemoteResponse.Raw, @@ -17,7 +17,7 @@ export const RemoteResponse: core.serialization.ObjectSchema< "response_headers", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), ), - responseType: core.serialization.property("response_type", ResponseTypeEnum.optional()), + responseType: core.serialization.property("response_type", RemoteResponseResponseType.optional()), headers: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), }); @@ -28,7 +28,7 @@ export declare namespace RemoteResponse { status: number; response?: unknown; response_headers?: Record | null; - response_type?: ResponseTypeEnum.Raw | null; + response_type?: RemoteResponseResponseType.Raw | null; headers?: Record | null; } } diff --git a/src/serialization/resources/ticketing/types/RemoteResponseResponseType.ts b/src/serialization/resources/ticketing/types/RemoteResponseResponseType.ts new file mode 100644 index 000000000..7cf7fe84b --- /dev/null +++ b/src/serialization/resources/ticketing/types/RemoteResponseResponseType.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { ResponseTypeEnum } from "./ResponseTypeEnum"; + +export const RemoteResponseResponseType: core.serialization.Schema< + serializers.ticketing.RemoteResponseResponseType.Raw, + Merge.ticketing.RemoteResponseResponseType +> = core.serialization.undiscriminatedUnion([ResponseTypeEnum, core.serialization.string()]); + +export declare namespace RemoteResponseResponseType { + export type Raw = ResponseTypeEnum.Raw | string; +} diff --git a/src/serialization/resources/ticketing/types/RoleTicketAccess.ts b/src/serialization/resources/ticketing/types/RoleTicketAccess.ts index 293d7ee56..8d636abd9 100644 --- a/src/serialization/resources/ticketing/types/RoleTicketAccess.ts +++ b/src/serialization/resources/ticketing/types/RoleTicketAccess.ts @@ -8,8 +8,8 @@ import { TicketAccessEnum } from "./TicketAccessEnum"; export const RoleTicketAccess: core.serialization.Schema< serializers.ticketing.RoleTicketAccess.Raw, Merge.ticketing.RoleTicketAccess -> = core.serialization.undiscriminatedUnion([core.serialization.string(), TicketAccessEnum]); +> = core.serialization.undiscriminatedUnion([TicketAccessEnum, core.serialization.string()]); export declare namespace RoleTicketAccess { - export type Raw = string | TicketAccessEnum.Raw; + export type Raw = TicketAccessEnum.Raw | string; } diff --git a/src/serialization/resources/ticketing/types/RoleTicketActionsItem.ts b/src/serialization/resources/ticketing/types/RoleTicketActionsItem.ts index 647bafdd5..c658412ea 100644 --- a/src/serialization/resources/ticketing/types/RoleTicketActionsItem.ts +++ b/src/serialization/resources/ticketing/types/RoleTicketActionsItem.ts @@ -8,8 +8,8 @@ import { TicketActionsEnum } from "./TicketActionsEnum"; export const RoleTicketActionsItem: core.serialization.Schema< serializers.ticketing.RoleTicketActionsItem.Raw, Merge.ticketing.RoleTicketActionsItem -> = core.serialization.undiscriminatedUnion([core.serialization.string(), TicketActionsEnum]); +> = core.serialization.undiscriminatedUnion([TicketActionsEnum, core.serialization.string()]); export declare namespace RoleTicketActionsItem { - export type Raw = string | TicketActionsEnum.Raw; + export type Raw = TicketActionsEnum.Raw | string; } diff --git a/src/serialization/resources/ticketing/types/SyncStatus.ts b/src/serialization/resources/ticketing/types/SyncStatus.ts index 6a6d41909..7d278abbb 100644 --- a/src/serialization/resources/ticketing/types/SyncStatus.ts +++ b/src/serialization/resources/ticketing/types/SyncStatus.ts @@ -4,8 +4,8 @@ import type * as Merge from "../../../../api/index"; import * as core from "../../../../core"; import type * as serializers from "../../../index"; import { SelectiveSyncConfigurationsUsageEnum } from "./SelectiveSyncConfigurationsUsageEnum"; -import { StatusFd5Enum } from "./StatusFd5Enum"; import { SyncStatusLastSyncResult } from "./SyncStatusLastSyncResult"; +import { SyncStatusStatus } from "./SyncStatusStatus"; export const SyncStatus: core.serialization.ObjectSchema< serializers.ticketing.SyncStatus.Raw, @@ -17,7 +17,7 @@ export const SyncStatus: core.serialization.ObjectSchema< nextSyncStart: core.serialization.property("next_sync_start", core.serialization.date().optional()), lastSyncResult: core.serialization.property("last_sync_result", SyncStatusLastSyncResult.optional()), lastSyncFinished: core.serialization.property("last_sync_finished", core.serialization.date().optional()), - status: StatusFd5Enum, + status: SyncStatusStatus, isInitialSync: core.serialization.property("is_initial_sync", core.serialization.boolean()), selectiveSyncConfigurationsUsage: core.serialization.property( "selective_sync_configurations_usage", @@ -33,7 +33,7 @@ export declare namespace SyncStatus { next_sync_start?: string | null; last_sync_result?: SyncStatusLastSyncResult.Raw | null; last_sync_finished?: string | null; - status: StatusFd5Enum.Raw; + status: SyncStatusStatus.Raw; is_initial_sync: boolean; selective_sync_configurations_usage?: SelectiveSyncConfigurationsUsageEnum.Raw | null; } diff --git a/src/serialization/resources/ticketing/types/SyncStatusStatus.ts b/src/serialization/resources/ticketing/types/SyncStatusStatus.ts new file mode 100644 index 000000000..58135abc9 --- /dev/null +++ b/src/serialization/resources/ticketing/types/SyncStatusStatus.ts @@ -0,0 +1,15 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Merge from "../../../../api/index"; +import * as core from "../../../../core"; +import type * as serializers from "../../../index"; +import { StatusFd5Enum } from "./StatusFd5Enum"; + +export const SyncStatusStatus: core.serialization.Schema< + serializers.ticketing.SyncStatusStatus.Raw, + Merge.ticketing.SyncStatusStatus +> = core.serialization.undiscriminatedUnion([StatusFd5Enum, core.serialization.string()]); + +export declare namespace SyncStatusStatus { + export type Raw = StatusFd5Enum.Raw | string; +} diff --git a/src/serialization/resources/ticketing/types/Ticket.ts b/src/serialization/resources/ticketing/types/Ticket.ts index 75c447a27..15f2bb330 100644 --- a/src/serialization/resources/ticketing/types/Ticket.ts +++ b/src/serialization/resources/ticketing/types/Ticket.ts @@ -45,12 +45,12 @@ export const Ticket: core.serialization.ObjectSchema | null; remote_data?: RemoteData.Raw[] | null; remote_fields?: RemoteField.Raw[] | null; diff --git a/src/serialization/resources/ticketing/types/index.ts b/src/serialization/resources/ticketing/types/index.ts index 66f871985..fa80099f0 100644 --- a/src/serialization/resources/ticketing/types/index.ts +++ b/src/serialization/resources/ticketing/types/index.ts @@ -23,7 +23,6 @@ export * from "./CategoryEnum"; export * from "./Collection"; export * from "./CollectionAccessLevel"; export * from "./CollectionAccessLevelEnum"; -export * from "./CollectionCollectionType"; export * from "./CollectionParentCollection"; export * from "./CollectionTypeEnum"; export * from "./Comment"; @@ -37,7 +36,6 @@ export * from "./CommentTicket"; export * from "./CommentUser"; export * from "./CommonModelScopeApi"; export * from "./CommonModelScopesBodyRequest"; -export * from "./CompletedAccountInitialScreenEnum"; export * from "./Contact"; export * from "./ContactAccount"; export * from "./ContactRequest"; @@ -99,7 +97,6 @@ export * from "./PaginatedUserList"; export * from "./PaginatedViewerList"; export * from "./PatchedTicketRequest"; export * from "./PatchedTicketRequestAccessLevel"; -export * from "./PatchedTicketRequestPriority"; export * from "./PatchedTicketRequestStatus"; export * from "./PriorityEnum"; export * from "./Project"; @@ -111,13 +108,12 @@ export * from "./RemoteFieldApiCoverage"; export * from "./RemoteFieldApiResponse"; export * from "./RemoteFieldClass"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldClassFieldFormat"; -export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldRemoteFieldClass"; export * from "./RemoteFieldRequest"; export * from "./RemoteFieldRequestRemoteFieldClass"; export * from "./RemoteKey"; export * from "./RemoteResponse"; +export * from "./RemoteResponseResponseType"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./Role"; @@ -128,6 +124,7 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./StatusFd5Enum"; export * from "./SyncStatus"; export * from "./SyncStatusLastSyncResult"; +export * from "./SyncStatusStatus"; export * from "./Tag"; export * from "./Team"; export * from "./Ticket"; diff --git a/src/version.ts b/src/version.ts index 68e5be6bd..4125bde54 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "3.0.1"; +export const SDK_VERSION = "3.0.3"; diff --git a/tests/unit/utils/setObjectProperty.test.ts b/tests/unit/utils/setObjectProperty.test.ts new file mode 100644 index 000000000..29f8e638d --- /dev/null +++ b/tests/unit/utils/setObjectProperty.test.ts @@ -0,0 +1,76 @@ +import { setObjectProperty } from "../../../src/core/utils/setObjectProperty"; + +interface TestCase { + description: string; + giveObject: object; + givePath: string; + giveValue: any; + wantObject: object; +} + +describe("Test setObjectProperty", () => { + const testCases: TestCase[] = [ + { + description: "empty", + giveObject: {}, + givePath: "", + giveValue: 0, + wantObject: { "": 0 }, + }, + { + description: "top-level primitive", + giveObject: {}, + givePath: "age", + giveValue: 42, + wantObject: { age: 42 }, + }, + { + description: "top-level object", + giveObject: {}, + givePath: "name", + giveValue: { first: "John", last: "Doe" }, + wantObject: { name: { first: "John", last: "Doe" } }, + }, + { + description: "top-level array", + giveObject: {}, + givePath: "values", + giveValue: [1, 2, 3], + wantObject: { values: [1, 2, 3] }, + }, + { + description: "nested object property", + giveObject: { + name: { + first: "John", + }, + }, + givePath: "name.last", + giveValue: "Doe", + wantObject: { name: { first: "John", last: "Doe" } }, + }, + { + description: "deeply nested object property", + giveObject: { + info: { + address: { + street: "123 Main St.", + }, + age: 42, + name: { + last: "Doe", + }, + }, + }, + givePath: "info.name.first", + giveValue: "John", + wantObject: { + info: { age: 42, address: { street: "123 Main St." }, name: { first: "John", last: "Doe" } }, + }, + }, + ]; + test.each(testCases)("$description", ({ giveObject, givePath, giveValue, wantObject }) => { + const result = setObjectProperty(giveObject, givePath, giveValue); + expect(result).toEqual(wantObject); + }); +}); diff --git a/tests/wire/ats/accountDetails.test.ts b/tests/wire/ATS/accountDetails.test.ts similarity index 100% rename from tests/wire/ats/accountDetails.test.ts rename to tests/wire/ATS/accountDetails.test.ts diff --git a/tests/wire/ats/accountToken.test.ts b/tests/wire/ATS/accountToken.test.ts similarity index 100% rename from tests/wire/ats/accountToken.test.ts rename to tests/wire/ATS/accountToken.test.ts diff --git a/tests/wire/ats/activities.test.ts b/tests/wire/ATS/activities.test.ts similarity index 98% rename from tests/wire/ats/activities.test.ts rename to tests/wire/ATS/activities.test.ts index b0fb7c10d..a19552e05 100644 --- a/tests/wire/ats/activities.test.ts +++ b/tests/wire/ATS/activities.test.ts @@ -38,25 +38,15 @@ describe("ActivitiesClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/activities").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/activities") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.activities.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "user", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "activity_type", - remoteId: "remote_id", - showEnumOrigins: "activity_type", - userId: "user_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -89,7 +79,27 @@ describe("ActivitiesClient", () => { ], }, ], + }; + const page = await client.ats.activities.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "activity_type", + remoteId: "remote_id", + showEnumOrigins: "activity_type", + userId: "user_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -264,7 +274,6 @@ describe("ActivitiesClient", () => { .build(); const response = await client.ats.activities.retrieve("id", { - expand: "user", includeRemoteData: true, includeShellData: true, remoteFields: "activity_type", diff --git a/tests/wire/ats/applications.test.ts b/tests/wire/ATS/applications.test.ts similarity index 99% rename from tests/wire/ats/applications.test.ts rename to tests/wire/ATS/applications.test.ts index 4aa013b0a..50d442906 100644 --- a/tests/wire/ats/applications.test.ts +++ b/tests/wire/ATS/applications.test.ts @@ -42,33 +42,14 @@ describe("ApplicationsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/applications") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.applications.list({ - candidateId: "candidate_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - creditedToId: "credited_to_id", - currentStageId: "current_stage_id", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "candidate", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - jobId: "job_id", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - rejectReasonId: "reject_reason_id", - remoteId: "remote_id", - source: "source", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -104,7 +85,30 @@ describe("ApplicationsClient", () => { ], }, ], + }; + const page = await client.ats.applications.list({ + candidateId: "candidate_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + creditedToId: "credited_to_id", + currentStageId: "current_stage_id", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + jobId: "job_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + rejectReasonId: "reject_reason_id", + remoteId: "remote_id", + source: "source", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -288,7 +292,6 @@ describe("ApplicationsClient", () => { .build(); const response = await client.ats.applications.retrieve("id", { - expand: "candidate", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ats/asyncPassthrough.test.ts b/tests/wire/ATS/asyncPassthrough.test.ts similarity index 100% rename from tests/wire/ats/asyncPassthrough.test.ts rename to tests/wire/ATS/asyncPassthrough.test.ts diff --git a/tests/wire/ats/attachments.test.ts b/tests/wire/ATS/attachments.test.ts similarity index 98% rename from tests/wire/ats/attachments.test.ts rename to tests/wire/ATS/attachments.test.ts index 5f4000281..a5f8443b5 100644 --- a/tests/wire/ats/attachments.test.ts +++ b/tests/wire/ATS/attachments.test.ts @@ -36,30 +36,14 @@ describe("AttachmentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/attachments") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.attachments.list({ - candidateId: "candidate_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "candidate", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "attachment_type", - remoteId: "remote_id", - showEnumOrigins: "attachment_type", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -89,7 +73,27 @@ describe("AttachmentsClient", () => { ], }, ], + }; + const page = await client.ats.attachments.list({ + candidateId: "candidate_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "attachment_type", + remoteId: "remote_id", + showEnumOrigins: "attachment_type", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -255,7 +259,6 @@ describe("AttachmentsClient", () => { .build(); const response = await client.ats.attachments.retrieve("id", { - expand: "candidate", includeRemoteData: true, includeShellData: true, remoteFields: "attachment_type", diff --git a/tests/wire/ats/auditTrail.test.ts b/tests/wire/ATS/auditTrail.test.ts similarity index 87% rename from tests/wire/ats/auditTrail.test.ts rename to tests/wire/ATS/auditTrail.test.ts index a3cff831b..5edb57afc 100644 --- a/tests/wire/ats/auditTrail.test.ts +++ b/tests/wire/ATS/auditTrail.test.ts @@ -31,22 +31,14 @@ describe("AuditTrailClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/audit-trail") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -62,6 +54,19 @@ describe("AuditTrailClient", () => { createdAt: new Date("2024-01-15T09:30:00.000Z"), }, ], + }; + const page = await client.ats.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ats/availableActions.test.ts b/tests/wire/ATS/availableActions.test.ts similarity index 100% rename from tests/wire/ats/availableActions.test.ts rename to tests/wire/ATS/availableActions.test.ts diff --git a/tests/wire/ats/candidates.test.ts b/tests/wire/ATS/candidates.test.ts similarity index 99% rename from tests/wire/ats/candidates.test.ts rename to tests/wire/ATS/candidates.test.ts index 49d50be5f..c5e1c555d 100644 --- a/tests/wire/ats/candidates.test.ts +++ b/tests/wire/ATS/candidates.test.ts @@ -72,26 +72,15 @@ describe("CandidatesClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/candidates").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/candidates") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.candidates.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddresses: "email_addresses", - expand: "applications", - firstName: "first_name", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - lastName: "last_name", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - tags: "tags", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -158,7 +147,28 @@ describe("CandidatesClient", () => { ], }, ], + }; + const page = await client.ats.candidates.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + firstName: "first_name", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + lastName: "last_name", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + tags: "tags", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -438,7 +448,6 @@ describe("CandidatesClient", () => { .build(); const response = await client.ats.candidates.retrieve("id", { - expand: "applications", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ats/deleteAccount.test.ts b/tests/wire/ATS/deleteAccount.test.ts similarity index 100% rename from tests/wire/ats/deleteAccount.test.ts rename to tests/wire/ATS/deleteAccount.test.ts diff --git a/tests/wire/ats/departments.test.ts b/tests/wire/ATS/departments.test.ts similarity index 93% rename from tests/wire/ats/departments.test.ts rename to tests/wire/ATS/departments.test.ts index d1ea77d42..f9b783163 100644 --- a/tests/wire/ats/departments.test.ts +++ b/tests/wire/ATS/departments.test.ts @@ -33,26 +33,14 @@ describe("DepartmentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/departments") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.departments.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -79,7 +67,24 @@ describe("DepartmentsClient", () => { ], }, ], + }; + const page = await client.ats.departments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ats/eeocs.test.ts b/tests/wire/ATS/eeocs.test.ts similarity index 92% rename from tests/wire/ats/eeocs.test.ts rename to tests/wire/ATS/eeocs.test.ts index bc757e33c..a4c4e5461 100644 --- a/tests/wire/ats/eeocs.test.ts +++ b/tests/wire/ATS/eeocs.test.ts @@ -37,25 +37,15 @@ describe("EeocsClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/eeocs").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/eeocs") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.eeocs.list({ - candidateId: "candidate_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "candidate", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "disability_status", - remoteId: "remote_id", - showEnumOrigins: "disability_status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -87,7 +77,27 @@ describe("EeocsClient", () => { ], }, ], + }; + const page = await client.ats.eeocs.list({ + candidateId: "candidate_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "disability_status", + remoteId: "remote_id", + showEnumOrigins: "disability_status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -120,7 +130,6 @@ describe("EeocsClient", () => { server.mockEndpoint().get("/ats/v1/eeocs/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); const response = await client.ats.eeocs.retrieve("id", { - expand: "candidate", includeRemoteData: true, includeShellData: true, remoteFields: "disability_status", diff --git a/tests/wire/ats/fieldMapping.test.ts b/tests/wire/ATS/fieldMapping.test.ts similarity index 100% rename from tests/wire/ats/fieldMapping.test.ts rename to tests/wire/ATS/fieldMapping.test.ts diff --git a/tests/wire/ats/forceResync.test.ts b/tests/wire/ATS/forceResync.test.ts similarity index 100% rename from tests/wire/ats/forceResync.test.ts rename to tests/wire/ATS/forceResync.test.ts diff --git a/tests/wire/ats/generateKey.test.ts b/tests/wire/ATS/generateKey.test.ts similarity index 100% rename from tests/wire/ats/generateKey.test.ts rename to tests/wire/ATS/generateKey.test.ts diff --git a/tests/wire/ats/interviews.test.ts b/tests/wire/ATS/interviews.test.ts similarity index 98% rename from tests/wire/ats/interviews.test.ts rename to tests/wire/ATS/interviews.test.ts index 3bcda1426..f14c71d91 100644 --- a/tests/wire/ats/interviews.test.ts +++ b/tests/wire/ATS/interviews.test.ts @@ -41,28 +41,15 @@ describe("InterviewsClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/interviews").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/interviews") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.interviews.list({ - applicationId: "application_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "application", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - jobId: "job_id", - jobInterviewStageId: "job_interview_stage_id", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - organizerId: "organizer_id", - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -98,7 +85,30 @@ describe("InterviewsClient", () => { ], }, ], + }; + const page = await client.ats.interviews.list({ + applicationId: "application_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + jobId: "job_id", + jobInterviewStageId: "job_interview_stage_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + organizerId: "organizer_id", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -282,7 +292,6 @@ describe("InterviewsClient", () => { .build(); const response = await client.ats.interviews.retrieve("id", { - expand: "application", includeRemoteData: true, includeShellData: true, remoteFields: "status", diff --git a/tests/wire/ats/issues.test.ts b/tests/wire/ATS/issues.test.ts similarity index 89% rename from tests/wire/ats/issues.test.ts rename to tests/wire/ATS/issues.test.ts index 6ebf9b39c..f6b288644 100644 --- a/tests/wire/ats/issues.test.ts +++ b/tests/wire/ATS/issues.test.ts @@ -29,25 +29,15 @@ describe("IssuesClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/issues").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/issues") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -64,7 +54,28 @@ describe("IssuesClient", () => { errorDetails: ["Missing employee permissions.", "Missing time off permissions."], }, ], + }; + const page = await client.ats.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ats/jobInterviewStages.test.ts b/tests/wire/ATS/jobInterviewStages.test.ts similarity index 94% rename from tests/wire/ats/jobInterviewStages.test.ts rename to tests/wire/ATS/jobInterviewStages.test.ts index 66c6ff263..1aa0ec77c 100644 --- a/tests/wire/ats/jobInterviewStages.test.ts +++ b/tests/wire/ATS/jobInterviewStages.test.ts @@ -35,28 +35,14 @@ describe("JobInterviewStagesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/job-interview-stages") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.jobInterviewStages.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "job", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - jobId: "job_id", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -85,7 +71,25 @@ describe("JobInterviewStagesClient", () => { ], }, ], + }; + const page = await client.ats.jobInterviewStages.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + jobId: "job_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -121,7 +125,6 @@ describe("JobInterviewStagesClient", () => { .build(); const response = await client.ats.jobInterviewStages.retrieve("id", { - expand: "job", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ats/jobPostings.test.ts b/tests/wire/ATS/jobPostings.test.ts similarity index 95% rename from tests/wire/ats/jobPostings.test.ts rename to tests/wire/ATS/jobPostings.test.ts index 13e2d88d2..9c5270b30 100644 --- a/tests/wire/ats/jobPostings.test.ts +++ b/tests/wire/ATS/jobPostings.test.ts @@ -47,28 +47,14 @@ describe("JobPostingsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/job-postings") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.jobPostings.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "job", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - status: "CLOSED", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -109,7 +95,25 @@ describe("JobPostingsClient", () => { ], }, ], + }; + const page = await client.ats.jobPostings.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + status: "CLOSED", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -158,7 +162,6 @@ describe("JobPostingsClient", () => { .build(); const response = await client.ats.jobPostings.retrieve("id", { - expand: "job", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ats/jobs.test.ts b/tests/wire/ATS/jobs.test.ts similarity index 93% rename from tests/wire/ats/jobs.test.ts rename to tests/wire/ATS/jobs.test.ts index 838251877..87680c864 100644 --- a/tests/wire/ats/jobs.test.ts +++ b/tests/wire/ATS/jobs.test.ts @@ -52,27 +52,15 @@ describe("JobsClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/jobs").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/jobs") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.jobs.list({ - code: "code", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "departments", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - offices: "offices", - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - status: "ARCHIVED", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -119,7 +107,29 @@ describe("JobsClient", () => { ], }, ], + }; + const page = await client.ats.jobs.list({ + code: "code", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + offices: "offices", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "ARCHIVED", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -168,7 +178,6 @@ describe("JobsClient", () => { server.mockEndpoint().get("/ats/v1/jobs/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); const response = await client.ats.jobs.retrieve("id", { - expand: "departments", includeRemoteData: true, includeShellData: true, remoteFields: "status", @@ -252,22 +261,14 @@ describe("JobsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/jobs/job_id/screening-questions") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.jobs.screeningQuestionsList("job_id", { - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "job", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -295,6 +296,18 @@ describe("JobsClient", () => { remoteWasDeleted: true, }, ], + }; + const page = await client.ats.jobs.screeningQuestionsList("job_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ats/linkToken.test.ts b/tests/wire/ATS/linkToken.test.ts similarity index 100% rename from tests/wire/ats/linkToken.test.ts rename to tests/wire/ATS/linkToken.test.ts diff --git a/tests/wire/ats/linkedAccounts.test.ts b/tests/wire/ATS/linkedAccounts.test.ts similarity index 92% rename from tests/wire/ats/linkedAccounts.test.ts rename to tests/wire/ATS/linkedAccounts.test.ts index b8d173ea3..115933206 100644 --- a/tests/wire/ats/linkedAccounts.test.ts +++ b/tests/wire/ATS/linkedAccounts.test.ts @@ -45,34 +45,18 @@ describe("LinkedAccountsClient", () => { }, account_type: "PRODUCTION", completed_at: "2024-08-26T20:11:19Z", - integration_specific_fields: { integration_specific_field: "Varies by platform" }, }, ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/linked-accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -104,11 +88,28 @@ describe("LinkedAccountsClient", () => { }, accountType: "PRODUCTION", completedAt: new Date("2024-08-26T20:11:19.000Z"), - integrationSpecificFields: { - integration_specific_field: "Varies by platform", - }, }, ], + }; + const page = await client.ats.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ats/offers.test.ts b/tests/wire/ATS/offers.test.ts similarity index 92% rename from tests/wire/ats/offers.test.ts rename to tests/wire/ATS/offers.test.ts index c955d359b..f08d71b31 100644 --- a/tests/wire/ats/offers.test.ts +++ b/tests/wire/ATS/offers.test.ts @@ -38,26 +38,15 @@ describe("OffersClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/offers").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/offers") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.offers.list({ - applicationId: "application_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - creatorId: "creator_id", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "application", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -90,7 +79,28 @@ describe("OffersClient", () => { ], }, ], + }; + const page = await client.ats.offers.list({ + applicationId: "application_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + creatorId: "creator_id", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -124,7 +134,6 @@ describe("OffersClient", () => { server.mockEndpoint().get("/ats/v1/offers/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); const response = await client.ats.offers.retrieve("id", { - expand: "application", includeRemoteData: true, includeShellData: true, remoteFields: "status", diff --git a/tests/wire/ats/offices.test.ts b/tests/wire/ATS/offices.test.ts similarity index 91% rename from tests/wire/ats/offices.test.ts rename to tests/wire/ATS/offices.test.ts index 878e89e5c..ce702c685 100644 --- a/tests/wire/ats/offices.test.ts +++ b/tests/wire/ATS/offices.test.ts @@ -33,21 +33,15 @@ describe("OfficesClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/offices").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/offices") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.offices.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -75,7 +69,24 @@ describe("OfficesClient", () => { ], }, ], + }; + const page = await client.ats.offices.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ats/passthrough.test.ts b/tests/wire/ATS/passthrough.test.ts similarity index 100% rename from tests/wire/ats/passthrough.test.ts rename to tests/wire/ATS/passthrough.test.ts diff --git a/tests/wire/ats/regenerateKey.test.ts b/tests/wire/ATS/regenerateKey.test.ts similarity index 100% rename from tests/wire/ats/regenerateKey.test.ts rename to tests/wire/ATS/regenerateKey.test.ts diff --git a/tests/wire/ats/rejectReasons.test.ts b/tests/wire/ATS/rejectReasons.test.ts similarity index 93% rename from tests/wire/ats/rejectReasons.test.ts rename to tests/wire/ATS/rejectReasons.test.ts index 4f3b4c5d0..935bfeb59 100644 --- a/tests/wire/ats/rejectReasons.test.ts +++ b/tests/wire/ATS/rejectReasons.test.ts @@ -33,26 +33,14 @@ describe("RejectReasonsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/reject-reasons") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.rejectReasons.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -79,7 +67,24 @@ describe("RejectReasonsClient", () => { ], }, ], + }; + const page = await client.ats.rejectReasons.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ats/scopes.test.ts b/tests/wire/ATS/scopes.test.ts similarity index 100% rename from tests/wire/ats/scopes.test.ts rename to tests/wire/ATS/scopes.test.ts diff --git a/tests/wire/ats/scorecards.test.ts b/tests/wire/ATS/scorecards.test.ts similarity index 92% rename from tests/wire/ats/scorecards.test.ts rename to tests/wire/ATS/scorecards.test.ts index 645f015b4..bbc75a213 100644 --- a/tests/wire/ats/scorecards.test.ts +++ b/tests/wire/ATS/scorecards.test.ts @@ -37,27 +37,15 @@ describe("ScorecardsClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/scorecards").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/scorecards") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.scorecards.list({ - applicationId: "application_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "application", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - interviewId: "interview_id", - interviewerId: "interviewer_id", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "overall_recommendation", - remoteId: "remote_id", - showEnumOrigins: "overall_recommendation", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -89,7 +77,29 @@ describe("ScorecardsClient", () => { ], }, ], + }; + const page = await client.ats.scorecards.list({ + applicationId: "application_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + interviewId: "interview_id", + interviewerId: "interviewer_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "overall_recommendation", + remoteId: "remote_id", + showEnumOrigins: "overall_recommendation", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -128,7 +138,6 @@ describe("ScorecardsClient", () => { .build(); const response = await client.ats.scorecards.retrieve("id", { - expand: "application", includeRemoteData: true, includeShellData: true, remoteFields: "overall_recommendation", diff --git a/tests/wire/ats/syncStatus.test.ts b/tests/wire/ATS/syncStatus.test.ts similarity index 86% rename from tests/wire/ats/syncStatus.test.ts rename to tests/wire/ATS/syncStatus.test.ts index 7fefb7080..18d51682b 100644 --- a/tests/wire/ats/syncStatus.test.ts +++ b/tests/wire/ATS/syncStatus.test.ts @@ -31,18 +31,14 @@ describe("SyncStatusClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ats/v1/sync-status") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ats.syncStatus.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -58,6 +54,15 @@ describe("SyncStatusClient", () => { selectiveSyncConfigurationsUsage: "IN_NEXT_SYNC", }, ], + }; + const page = await client.ats.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ats/tags.test.ts b/tests/wire/ATS/tags.test.ts similarity index 85% rename from tests/wire/ats/tags.test.ts rename to tests/wire/ATS/tags.test.ts index 8aee34a45..6f509662f 100644 --- a/tests/wire/ats/tags.test.ts +++ b/tests/wire/ATS/tags.test.ts @@ -31,21 +31,15 @@ describe("TagsClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/tags").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/tags") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.tags.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -71,6 +65,23 @@ describe("TagsClient", () => { ], }, ], + }; + const page = await client.ats.tags.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ats/users.test.ts b/tests/wire/ATS/users.test.ts similarity index 92% rename from tests/wire/ats/users.test.ts rename to tests/wire/ATS/users.test.ts index 47221bdcc..2b2123644 100644 --- a/tests/wire/ats/users.test.ts +++ b/tests/wire/ATS/users.test.ts @@ -37,24 +37,15 @@ describe("UsersClient", () => { }, ], }; - server.mockEndpoint().get("/ats/v1/users").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ats/v1/users") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ats.users.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email: "email", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "access_role", - remoteId: "remote_id", - showEnumOrigins: "access_role", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -86,7 +77,27 @@ describe("UsersClient", () => { ], }, ], + }; + const page = await client.ats.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email: "email", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "access_role", + remoteId: "remote_id", + showEnumOrigins: "access_role", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ats/webhookReceivers.test.ts b/tests/wire/ATS/webhookReceivers.test.ts similarity index 100% rename from tests/wire/ats/webhookReceivers.test.ts rename to tests/wire/ATS/webhookReceivers.test.ts diff --git a/tests/wire/accounting/accountDetails.test.ts b/tests/wire/Accounting/accountDetails.test.ts similarity index 100% rename from tests/wire/accounting/accountDetails.test.ts rename to tests/wire/Accounting/accountDetails.test.ts diff --git a/tests/wire/accounting/accountToken.test.ts b/tests/wire/Accounting/accountToken.test.ts similarity index 100% rename from tests/wire/accounting/accountToken.test.ts rename to tests/wire/Accounting/accountToken.test.ts diff --git a/tests/wire/accounting/accountingPeriods.test.ts b/tests/wire/Accounting/accountingPeriods.test.ts similarity index 93% rename from tests/wire/accounting/accountingPeriods.test.ts rename to tests/wire/Accounting/accountingPeriods.test.ts index a2dd69ed1..a4a33ae66 100644 --- a/tests/wire/accounting/accountingPeriods.test.ts +++ b/tests/wire/Accounting/accountingPeriods.test.ts @@ -35,21 +35,14 @@ describe("AccountingPeriodsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/accounting-periods") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.accountingPeriods.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -78,7 +71,19 @@ describe("AccountingPeriodsClient", () => { ], }, ], + }; + const page = await client.accounting.accountingPeriods.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/accounting/accounts.test.ts b/tests/wire/Accounting/accounts.test.ts similarity index 98% rename from tests/wire/accounting/accounts.test.ts rename to tests/wire/Accounting/accounts.test.ts index c40158350..fccd2c8bd 100644 --- a/tests/wire/accounting/accounts.test.ts +++ b/tests/wire/Accounting/accounts.test.ts @@ -43,34 +43,14 @@ describe("AccountsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.accounts.list({ - accountType: "account_type", - classification: "", - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteFields: "classification", - remoteId: "remote_id", - showEnumOrigins: "classification", - status: "", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -107,7 +87,31 @@ describe("AccountsClient", () => { ], }, ], + }; + const page = await client.accounting.accounts.list({ + accountType: "account_type", + classification: "", + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteFields: "classification", + remoteId: "remote_id", + showEnumOrigins: "classification", + status: "", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -293,7 +297,6 @@ describe("AccountsClient", () => { .build(); const response = await client.accounting.accounts.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, remoteFields: "classification", diff --git a/tests/wire/accounting/addresses.test.ts b/tests/wire/Accounting/addresses.test.ts similarity index 100% rename from tests/wire/accounting/addresses.test.ts rename to tests/wire/Accounting/addresses.test.ts diff --git a/tests/wire/accounting/asyncPassthrough.test.ts b/tests/wire/Accounting/asyncPassthrough.test.ts similarity index 100% rename from tests/wire/accounting/asyncPassthrough.test.ts rename to tests/wire/Accounting/asyncPassthrough.test.ts diff --git a/tests/wire/accounting/asyncTasks.test.ts b/tests/wire/Accounting/asyncTasks.test.ts similarity index 100% rename from tests/wire/accounting/asyncTasks.test.ts rename to tests/wire/Accounting/asyncTasks.test.ts diff --git a/tests/wire/accounting/attachments.test.ts b/tests/wire/Accounting/attachments.test.ts similarity index 98% rename from tests/wire/accounting/attachments.test.ts rename to tests/wire/Accounting/attachments.test.ts index 009f8a317..b6a9ea1f4 100644 --- a/tests/wire/accounting/attachments.test.ts +++ b/tests/wire/Accounting/attachments.test.ts @@ -35,27 +35,14 @@ describe("AttachmentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/attachments") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.attachments.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -84,7 +71,25 @@ describe("AttachmentsClient", () => { ], }, ], + }; + const page = await client.accounting.attachments.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { diff --git a/tests/wire/accounting/auditTrail.test.ts b/tests/wire/Accounting/auditTrail.test.ts similarity index 87% rename from tests/wire/accounting/auditTrail.test.ts rename to tests/wire/Accounting/auditTrail.test.ts index 365ee5008..6ebca1566 100644 --- a/tests/wire/accounting/auditTrail.test.ts +++ b/tests/wire/Accounting/auditTrail.test.ts @@ -31,22 +31,14 @@ describe("AuditTrailClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/audit-trail") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -62,6 +54,19 @@ describe("AuditTrailClient", () => { createdAt: new Date("2024-01-15T09:30:00.000Z"), }, ], + }; + const page = await client.accounting.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/availableActions.test.ts b/tests/wire/Accounting/availableActions.test.ts similarity index 100% rename from tests/wire/accounting/availableActions.test.ts rename to tests/wire/Accounting/availableActions.test.ts diff --git a/tests/wire/accounting/balanceSheets.test.ts b/tests/wire/Accounting/balanceSheets.test.ts similarity index 97% rename from tests/wire/accounting/balanceSheets.test.ts rename to tests/wire/Accounting/balanceSheets.test.ts index b8a0dbd93..4169af98b 100644 --- a/tests/wire/accounting/balanceSheets.test.ts +++ b/tests/wire/Accounting/balanceSheets.test.ts @@ -80,28 +80,14 @@ describe("BalanceSheetsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/balance-sheets") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.balanceSheets.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -199,7 +185,25 @@ describe("BalanceSheetsClient", () => { ], }, ], + }; + const page = await client.accounting.balanceSheets.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -283,7 +287,6 @@ describe("BalanceSheetsClient", () => { .build(); const response = await client.accounting.balanceSheets.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/bankFeedAccounts.test.ts b/tests/wire/Accounting/bankFeedAccounts.test.ts similarity index 98% rename from tests/wire/accounting/bankFeedAccounts.test.ts rename to tests/wire/Accounting/bankFeedAccounts.test.ts index 0de0abc45..43aefdd83 100644 --- a/tests/wire/accounting/bankFeedAccounts.test.ts +++ b/tests/wire/Accounting/bankFeedAccounts.test.ts @@ -42,21 +42,14 @@ describe("BankFeedAccountsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/bank-feed-accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.bankFeedAccounts.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -87,7 +80,19 @@ describe("BankFeedAccountsClient", () => { remoteData: [], }, ], + }; + const page = await client.accounting.bankFeedAccounts.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { diff --git a/tests/wire/accounting/bankFeedTransactions.test.ts b/tests/wire/Accounting/bankFeedTransactions.test.ts similarity index 98% rename from tests/wire/accounting/bankFeedTransactions.test.ts rename to tests/wire/Accounting/bankFeedTransactions.test.ts index 97b99c349..815453fac 100644 --- a/tests/wire/accounting/bankFeedTransactions.test.ts +++ b/tests/wire/Accounting/bankFeedTransactions.test.ts @@ -37,28 +37,14 @@ describe("BankFeedTransactionsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/bank-feed-transactions") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.bankFeedTransactions.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "bank_feed_account", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isProcessed: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -80,7 +66,25 @@ describe("BankFeedTransactionsClient", () => { isProcessed: true, }, ], + }; + const page = await client.accounting.bankFeedTransactions.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isProcessed: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -239,7 +243,6 @@ describe("BankFeedTransactionsClient", () => { .build(); const response = await client.accounting.bankFeedTransactions.retrieve("id", { - expand: "bank_feed_account", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/cashFlowStatements.test.ts b/tests/wire/Accounting/cashFlowStatements.test.ts similarity index 97% rename from tests/wire/accounting/cashFlowStatements.test.ts rename to tests/wire/Accounting/cashFlowStatements.test.ts index c7bfe3a0f..962060345 100644 --- a/tests/wire/accounting/cashFlowStatements.test.ts +++ b/tests/wire/Accounting/cashFlowStatements.test.ts @@ -91,28 +91,14 @@ describe("CashFlowStatementsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/cash-flow-statements") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.cashFlowStatements.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -205,7 +191,25 @@ describe("CashFlowStatementsClient", () => { ], }, ], + }; + const page = await client.accounting.cashFlowStatements.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -300,7 +304,6 @@ describe("CashFlowStatementsClient", () => { .build(); const response = await client.accounting.cashFlowStatements.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/companyInfo.test.ts b/tests/wire/Accounting/companyInfo.test.ts similarity index 95% rename from tests/wire/accounting/companyInfo.test.ts rename to tests/wire/Accounting/companyInfo.test.ts index a4c42b11b..9bbe910e3 100644 --- a/tests/wire/accounting/companyInfo.test.ts +++ b/tests/wire/Accounting/companyInfo.test.ts @@ -27,7 +27,7 @@ describe("CompanyInfoClient", () => { tax_number: "11-0011000", fiscal_year_end_month: 12, fiscal_year_end_day: 31, - currency: "XUA", + currency: "USD", remote_created_at: "2020-03-31T00:00:00Z", urls: [], addresses: [ @@ -61,27 +61,14 @@ describe("CompanyInfoClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/company-info") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.companyInfo.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "addresses", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -95,7 +82,7 @@ describe("CompanyInfoClient", () => { taxNumber: "11-0011000", fiscalYearEndMonth: 12, fiscalYearEndDay: 31, - currency: "XUA", + currency: "USD", remoteCreatedAt: new Date("2020-03-31T00:00:00.000Z"), urls: [], addresses: [ @@ -136,7 +123,24 @@ describe("CompanyInfoClient", () => { ], }, ], + }; + const page = await client.accounting.companyInfo.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -158,7 +162,7 @@ describe("CompanyInfoClient", () => { tax_number: "11-0011000", fiscal_year_end_month: 12, fiscal_year_end_day: 31, - currency: "XUA", + currency: "USD", remote_created_at: "2020-03-31T00:00:00Z", urls: ["urls"], addresses: [ @@ -199,7 +203,6 @@ describe("CompanyInfoClient", () => { .build(); const response = await client.accounting.companyInfo.retrieve("id", { - expand: "addresses", includeRemoteData: true, includeShellData: true, }); @@ -213,7 +216,7 @@ describe("CompanyInfoClient", () => { taxNumber: "11-0011000", fiscalYearEndMonth: 12, fiscalYearEndDay: 31, - currency: "XUA", + currency: "USD", remoteCreatedAt: new Date("2020-03-31T00:00:00.000Z"), urls: ["urls"], addresses: [ diff --git a/tests/wire/Accounting/contacts.test.ts b/tests/wire/Accounting/contacts.test.ts new file mode 100644 index 000000000..a18edb41c --- /dev/null +++ b/tests/wire/Accounting/contacts.test.ts @@ -0,0 +1,892 @@ +// This file was auto-generated by Fern from our API Definition. + +import { MergeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; + +describe("ContactsClient", () => { + test("list", async () => { + const server = mockServerPool.createServer(); + const client = new MergeClient({ + maxRetries: 0, + apiKey: "test", + accountToken: "test", + environment: server.baseUrl, + }); + + const rawResponseBody = { + next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", + results: [ + { + id: "c640b80b-fac9-409f-aa19-1f9221aec445", + remote_id: "11167", + created_at: "2021-09-15T00:00:00Z", + modified_at: "2021-10-16T00:00:00Z", + name: "Gil Feig's pickleball store", + is_supplier: true, + is_customer: true, + email_address: "pickleball@merge.dev", + tax_number: "12-3456789", + status: "ACTIVE", + currency: "USD", + remote_updated_at: "2020-03-31T00:00:00Z", + company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], + phone_numbers: [ + { + created_at: "2021-09-15T00:00:00Z", + modified_at: "2021-10-16T00:00:00Z", + number: "+3198675309", + type: "Mobile", + }, + ], + remote_was_deleted: true, + field_mappings: { + organization_defined_targets: { custom_key: "custom_value" }, + linked_account_defined_targets: { custom_key: "custom_value" }, + }, + remote_data: [{ path: "/actions", data: ["Varies by platform"] }], + remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], + }, + ], + }; + server + .mockEndpoint({ once: false }) + .get("/accounting/v1/contacts") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); + + const expected = { + next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", + results: [ + { + id: "c640b80b-fac9-409f-aa19-1f9221aec445", + remoteId: "11167", + createdAt: new Date("2021-09-15T00:00:00.000Z"), + modifiedAt: new Date("2021-10-16T00:00:00.000Z"), + name: "Gil Feig's pickleball store", + isSupplier: true, + isCustomer: true, + emailAddress: "pickleball@merge.dev", + taxNumber: "12-3456789", + status: "ACTIVE", + currency: "USD", + remoteUpdatedAt: new Date("2020-03-31T00:00:00.000Z"), + company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], + phoneNumbers: [ + { + createdAt: new Date("2021-09-15T00:00:00.000Z"), + modifiedAt: new Date("2021-10-16T00:00:00.000Z"), + number: "+3198675309", + type: "Mobile", + }, + ], + remoteWasDeleted: true, + fieldMappings: { + organization_defined_targets: { + custom_key: "custom_value", + }, + linked_account_defined_targets: { + custom_key: "custom_value", + }, + }, + remoteData: [ + { + path: "/actions", + data: ["Varies by platform"], + }, + ], + remoteFields: [ + { + remoteFieldClass: "remote_field_class", + value: "string", + }, + ], + }, + ], + }; + const page = await client.accounting.contacts.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCustomer: "is_customer", + isSupplier: "is_supplier", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "", + }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); + }); + + test("create", async () => { + const server = mockServerPool.createServer(); + const client = new MergeClient({ + maxRetries: 0, + apiKey: "test", + accountToken: "test", + environment: server.baseUrl, + }); + const rawRequestBody = { model: {} }; + const rawResponseBody = { + model: { + id: "c640b80b-fac9-409f-aa19-1f9221aec445", + remote_id: "11167", + created_at: "2021-09-15T00:00:00Z", + modified_at: "2021-10-16T00:00:00Z", + name: "Gil Feig's pickleball store", + is_supplier: true, + is_customer: true, + email_address: "pickleball@merge.dev", + tax_number: "12-3456789", + status: "ACTIVE", + currency: "USD", + remote_updated_at: "2020-03-31T00:00:00Z", + company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], + phone_numbers: [ + { + created_at: "2021-09-15T00:00:00Z", + modified_at: "2021-10-16T00:00:00Z", + number: "+3198675309", + type: "Mobile", + }, + ], + remote_was_deleted: true, + field_mappings: { + organization_defined_targets: { custom_key: "custom_value" }, + linked_account_defined_targets: { custom_key: "custom_value" }, + }, + remote_data: [{ path: "/actions", data: ["Varies by platform"] }], + remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], + }, + warnings: [ + { + source: { pointer: "pointer" }, + title: "Unrecognized Field", + detail: "An unrecognized field, age, was passed in with request data.", + problem_type: "UNRECOGNIZED_FIELD", + }, + ], + errors: [ + { + source: { pointer: "pointer" }, + title: "Missing Required Field", + detail: "custom_fields is a required field on model.", + problem_type: "MISSING_REQUIRED_FIELD", + }, + ], + logs: [ + { + log_id: "99433219-8017-4acd-bb3c-ceb23d663832", + dashboard_view: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", + log_summary: { + url: "www.exampleintegration.com/api/v1/exampleapi", + method: "POST", + status_code: 200, + }, + }, + ], + }; + server + .mockEndpoint() + .post("/accounting/v1/contacts") + .jsonBody(rawRequestBody) + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); + + const response = await client.accounting.contacts.create({ + isDebugMode: true, + runAsync: true, + model: {}, + }); + expect(response).toEqual({ + model: { + id: "c640b80b-fac9-409f-aa19-1f9221aec445", + remoteId: "11167", + createdAt: new Date("2021-09-15T00:00:00.000Z"), + modifiedAt: new Date("2021-10-16T00:00:00.000Z"), + name: "Gil Feig's pickleball store", + isSupplier: true, + isCustomer: true, + emailAddress: "pickleball@merge.dev", + taxNumber: "12-3456789", + status: "ACTIVE", + currency: "USD", + remoteUpdatedAt: new Date("2020-03-31T00:00:00.000Z"), + company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], + phoneNumbers: [ + { + createdAt: new Date("2021-09-15T00:00:00.000Z"), + modifiedAt: new Date("2021-10-16T00:00:00.000Z"), + number: "+3198675309", + type: "Mobile", + }, + ], + remoteWasDeleted: true, + fieldMappings: { + organization_defined_targets: { + custom_key: "custom_value", + }, + linked_account_defined_targets: { + custom_key: "custom_value", + }, + }, + remoteData: [ + { + path: "/actions", + data: ["Varies by platform"], + }, + ], + remoteFields: [ + { + remoteFieldClass: "remote_field_class", + value: "string", + }, + ], + }, + warnings: [ + { + source: { + pointer: "pointer", + }, + title: "Unrecognized Field", + detail: "An unrecognized field, age, was passed in with request data.", + problemType: "UNRECOGNIZED_FIELD", + }, + ], + errors: [ + { + source: { + pointer: "pointer", + }, + title: "Missing Required Field", + detail: "custom_fields is a required field on model.", + problemType: "MISSING_REQUIRED_FIELD", + }, + ], + logs: [ + { + logId: "99433219-8017-4acd-bb3c-ceb23d663832", + dashboardView: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", + logSummary: { + url: "www.exampleintegration.com/api/v1/exampleapi", + method: "POST", + statusCode: 200, + }, + }, + ], + }); + }); + + test("retrieve", async () => { + const server = mockServerPool.createServer(); + const client = new MergeClient({ + maxRetries: 0, + apiKey: "test", + accountToken: "test", + environment: server.baseUrl, + }); + + const rawResponseBody = { + id: "c640b80b-fac9-409f-aa19-1f9221aec445", + remote_id: "11167", + created_at: "2021-09-15T00:00:00Z", + modified_at: "2021-10-16T00:00:00Z", + name: "Gil Feig's pickleball store", + is_supplier: true, + is_customer: true, + email_address: "pickleball@merge.dev", + tax_number: "12-3456789", + status: "ACTIVE", + currency: "USD", + remote_updated_at: "2020-03-31T00:00:00Z", + company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], + phone_numbers: [ + { + created_at: "2021-09-15T00:00:00Z", + modified_at: "2021-10-16T00:00:00Z", + number: "+3198675309", + type: "Mobile", + }, + ], + remote_was_deleted: true, + field_mappings: { + organization_defined_targets: { custom_key: "custom_value" }, + linked_account_defined_targets: { custom_key: "custom_value" }, + }, + remote_data: [{ path: "/actions", data: ["Varies by platform"] }], + remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], + }; + server + .mockEndpoint() + .get("/accounting/v1/contacts/id") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); + + const response = await client.accounting.contacts.retrieve("id", { + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + remoteFields: "status", + showEnumOrigins: "status", + }); + expect(response).toEqual({ + id: "c640b80b-fac9-409f-aa19-1f9221aec445", + remoteId: "11167", + createdAt: new Date("2021-09-15T00:00:00.000Z"), + modifiedAt: new Date("2021-10-16T00:00:00.000Z"), + name: "Gil Feig's pickleball store", + isSupplier: true, + isCustomer: true, + emailAddress: "pickleball@merge.dev", + taxNumber: "12-3456789", + status: "ACTIVE", + currency: "USD", + remoteUpdatedAt: new Date("2020-03-31T00:00:00.000Z"), + company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], + phoneNumbers: [ + { + createdAt: new Date("2021-09-15T00:00:00.000Z"), + modifiedAt: new Date("2021-10-16T00:00:00.000Z"), + number: "+3198675309", + type: "Mobile", + }, + ], + remoteWasDeleted: true, + fieldMappings: { + organization_defined_targets: { + custom_key: "custom_value", + }, + linked_account_defined_targets: { + custom_key: "custom_value", + }, + }, + remoteData: [ + { + path: "/actions", + data: ["Varies by platform"], + }, + ], + remoteFields: [ + { + remoteFieldClass: "remote_field_class", + value: "string", + }, + ], + }); + }); + + test("metaPostRetrieve", async () => { + const server = mockServerPool.createServer(); + const client = new MergeClient({ + maxRetries: 0, + apiKey: "test", + accountToken: "test", + environment: server.baseUrl, + }); + + const rawResponseBody = { + request_schema: { + type: "object", + properties: { + model: { + type: "object", + required: [ + "last_name", + "first_name", + "merge_categories", + "new_york_city_neighborhood", + "favorite_tv_shows", + "favorite_watch", + ], + properties: { + email_addresses: { + type: "array", + items: { + type: "object", + properties: { + value: { type: "string", title: "value" }, + email_address_type: { type: "string", title: "email_address_type" }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "email_addresses", + description: "Array of email_addresses objects", + }, + urls: { + type: "array", + items: { + type: "object", + properties: { + value: { type: "string", title: "value" }, + url_type: { type: "string", title: "url_type" }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "urls", + description: "Array of urls objects", + }, + first_name: { type: "string", title: "first_name", description: "The first name." }, + last_name: { type: "string", title: "last_name", description: "The last name." }, + phone_numbers: { + type: "array", + items: { + type: "object", + properties: { + value: { type: "string", title: "value" }, + phone_number_type: { type: "string", title: "phone_number_type" }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "phone_numbers", + description: "Array of phone_numbers objects", + }, + tags: { + type: "array", + items: { type: "string", format: "uuid" }, + title: "tags", + description: "Array of tags names", + }, + attachments: { + type: "array", + items: { + type: "object", + properties: { + id: { type: "string", title: "id" }, + file_url: { type: "string", title: "file_url" }, + file_name: { type: "string", title: "file_name" }, + attachment_type: { type: "string", title: "attachment_type" }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "attachments", + description: "Array of attachments objects ", + }, + merge_categories: { + type: "array", + categories: { + type: "string", + enum: [ + "HRIS", + "ATS", + "Accounting", + "Ticketing", + "File Storage", + "CRM", + "Marketing Automation", + ], + enum_information: [ + { value: "HRIS", description: "Merge HRIS Category" }, + { value: "ATS", description: "Merge ATS Category" }, + { value: "Accounting", description: "Merge Accounting Category" }, + { value: "Ticketing", description: "Merge Ticketing Category" }, + { value: "File Storage", description: "Merge File Storage Category" }, + { value: "CRM", description: "Merge CRM Category" }, + { + value: "Marketing Automation", + description: "Merge Marketing Automation Category", + }, + ], + }, + title: "Merge Categories", + description: "Array of Merge's Unified API Categories", + }, + new_york_city_neighborhood: { + type: "string", + title: "Borough", + description: "One of the 5 Boroughs of New York City", + }, + favorite_tv_shows: { + type: "array", + items: { type: "string", format: "uuid" }, + title: "Favorite TV Shows", + description: "Array of TV Show objects on merge.tv_shows", + }, + favorite_watch: { + type: "string", + title: "Favorite Watch", + description: "Favorite watch of all time", + }, + }, + }, + }, + }, + remote_field_classes: { key: "value" }, + status: { linked_account_status: "linked_account_status", can_make_request: true }, + has_conditional_params: true, + has_required_linked_account_params: true, + }; + server + .mockEndpoint() + .get("/accounting/v1/contacts/meta/post") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); + + const response = await client.accounting.contacts.metaPostRetrieve(); + expect(response).toEqual({ + requestSchema: { + type: "object", + properties: { + model: { + type: "object", + required: [ + "last_name", + "first_name", + "merge_categories", + "new_york_city_neighborhood", + "favorite_tv_shows", + "favorite_watch", + ], + properties: { + email_addresses: { + type: "array", + items: { + type: "object", + properties: { + value: { + type: "string", + title: "value", + }, + email_address_type: { + type: "string", + title: "email_address_type", + }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "email_addresses", + description: "Array of email_addresses objects", + }, + urls: { + type: "array", + items: { + type: "object", + properties: { + value: { + type: "string", + title: "value", + }, + url_type: { + type: "string", + title: "url_type", + }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "urls", + description: "Array of urls objects", + }, + first_name: { + type: "string", + title: "first_name", + description: "The first name.", + }, + last_name: { + type: "string", + title: "last_name", + description: "The last name.", + }, + phone_numbers: { + type: "array", + items: { + type: "object", + properties: { + value: { + type: "string", + title: "value", + }, + phone_number_type: { + type: "string", + title: "phone_number_type", + }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "phone_numbers", + description: "Array of phone_numbers objects", + }, + tags: { + type: "array", + items: { + type: "string", + format: "uuid", + }, + title: "tags", + description: "Array of tags names", + }, + attachments: { + type: "array", + items: { + type: "object", + properties: { + id: { + type: "string", + title: "id", + }, + file_url: { + type: "string", + title: "file_url", + }, + file_name: { + type: "string", + title: "file_name", + }, + attachment_type: { + type: "string", + title: "attachment_type", + }, + integration_params: { + type: "object", + title: "integration_params", + properties: {}, + }, + linked_account_params: { + type: "object", + title: "linked_account_params", + properties: {}, + }, + }, + }, + title: "attachments", + description: "Array of attachments objects ", + }, + merge_categories: { + type: "array", + categories: { + type: "string", + enum: [ + "HRIS", + "ATS", + "Accounting", + "Ticketing", + "File Storage", + "CRM", + "Marketing Automation", + ], + enum_information: [ + { + value: "HRIS", + description: "Merge HRIS Category", + }, + { + value: "ATS", + description: "Merge ATS Category", + }, + { + value: "Accounting", + description: "Merge Accounting Category", + }, + { + value: "Ticketing", + description: "Merge Ticketing Category", + }, + { + value: "File Storage", + description: "Merge File Storage Category", + }, + { + value: "CRM", + description: "Merge CRM Category", + }, + { + value: "Marketing Automation", + description: "Merge Marketing Automation Category", + }, + ], + }, + title: "Merge Categories", + description: "Array of Merge's Unified API Categories", + }, + new_york_city_neighborhood: { + type: "string", + title: "Borough", + description: "One of the 5 Boroughs of New York City", + }, + favorite_tv_shows: { + type: "array", + items: { + type: "string", + format: "uuid", + }, + title: "Favorite TV Shows", + description: "Array of TV Show objects on merge.tv_shows", + }, + favorite_watch: { + type: "string", + title: "Favorite Watch", + description: "Favorite watch of all time", + }, + }, + }, + }, + }, + remoteFieldClasses: { + key: "value", + }, + status: { + linkedAccountStatus: "linked_account_status", + canMakeRequest: true, + }, + hasConditionalParams: true, + hasRequiredLinkedAccountParams: true, + }); + }); + + test("remoteFieldClassesList", async () => { + const server = mockServerPool.createServer(); + const client = new MergeClient({ + maxRetries: 0, + apiKey: "test", + accountToken: "test", + environment: server.baseUrl, + }); + + const rawResponseBody = { + next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", + results: [ + { + id: "id", + display_name: "display_name", + remote_key_name: "remote_key_name", + description: "description", + is_custom: true, + is_required: true, + field_type: "string", + field_format: "string", + field_choices: ["field_choices"], + }, + ], + }; + server + .mockEndpoint({ once: false }) + .get("/accounting/v1/contacts/remote-field-classes") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); + + const expected = { + next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", + results: [ + { + id: "id", + displayName: "display_name", + remoteKeyName: "remote_key_name", + description: "description", + isCustom: true, + isRequired: true, + fieldType: "string", + fieldFormat: "string", + fieldChoices: ["field_choices"], + }, + ], + }; + const page = await client.accounting.contacts.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, + }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); + }); +}); diff --git a/tests/wire/accounting/creditNotes.test.ts b/tests/wire/Accounting/creditNotes.test.ts similarity index 99% rename from tests/wire/accounting/creditNotes.test.ts rename to tests/wire/Accounting/creditNotes.test.ts index f5de767b0..1bcef2787 100644 --- a/tests/wire/accounting/creditNotes.test.ts +++ b/tests/wire/Accounting/creditNotes.test.ts @@ -88,32 +88,14 @@ describe("CreditNotesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/credit-notes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.creditNotes.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -195,7 +177,29 @@ describe("CreditNotesClient", () => { ], }, ], + }; + const page = await client.accounting.creditNotes.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -517,7 +521,6 @@ describe("CreditNotesClient", () => { .build(); const response = await client.accounting.creditNotes.retrieve("id", { - expand: "accounting_period", includeRemoteData: true, includeShellData: true, remoteFields: "status", diff --git a/tests/wire/accounting/deleteAccount.test.ts b/tests/wire/Accounting/deleteAccount.test.ts similarity index 100% rename from tests/wire/accounting/deleteAccount.test.ts rename to tests/wire/Accounting/deleteAccount.test.ts diff --git a/tests/wire/accounting/employees.test.ts b/tests/wire/Accounting/employees.test.ts similarity index 91% rename from tests/wire/accounting/employees.test.ts rename to tests/wire/Accounting/employees.test.ts index c9499783c..d9d9c9189 100644 --- a/tests/wire/accounting/employees.test.ts +++ b/tests/wire/Accounting/employees.test.ts @@ -39,28 +39,14 @@ describe("EmployeesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/employees") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.employees.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -93,7 +79,19 @@ describe("EmployeesClient", () => { ], }, ], + }; + const page = await client.accounting.employees.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -133,7 +131,6 @@ describe("EmployeesClient", () => { .build(); const response = await client.accounting.employees.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/expenses.test.ts b/tests/wire/Accounting/expenses.test.ts similarity index 97% rename from tests/wire/accounting/expenses.test.ts rename to tests/wire/Accounting/expenses.test.ts index 6664d2db7..7a76888cf 100644 --- a/tests/wire/accounting/expenses.test.ts +++ b/tests/wire/Accounting/expenses.test.ts @@ -56,8 +56,6 @@ describe("ExpensesClient", () => { description: "MacBook Pro", exchange_rate: "2.9", tax_rate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unit_price: "unit_price", remote_was_deleted: false, }, { @@ -96,31 +94,14 @@ describe("ExpensesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/expenses") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.expenses.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -163,8 +144,6 @@ describe("ExpensesClient", () => { description: "MacBook Pro", exchangeRate: "2.9", taxRate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unitPrice: "unit_price", remoteWasDeleted: false, }, { @@ -215,7 +194,28 @@ describe("ExpensesClient", () => { ], }, ], + }; + const page = await client.accounting.expenses.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -267,8 +267,6 @@ describe("ExpensesClient", () => { description: "MacBook Pro", exchange_rate: "2.9", tax_rate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unit_price: "unit_price", remote_was_deleted: false, }, { @@ -386,8 +384,6 @@ describe("ExpensesClient", () => { description: "MacBook Pro", exchangeRate: "2.9", taxRate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unitPrice: "unit_price", remoteWasDeleted: false, }, { @@ -520,8 +516,6 @@ describe("ExpensesClient", () => { description: "MacBook Pro", exchange_rate: "2.9", tax_rate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unit_price: "unit_price", remote_was_deleted: false, }, { @@ -545,8 +539,6 @@ describe("ExpensesClient", () => { description: "Desk Lamp", exchange_rate: "2.9", tax_rate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unit_price: "unit_price", remote_was_deleted: true, }, ], @@ -573,7 +565,6 @@ describe("ExpensesClient", () => { .build(); const response = await client.accounting.expenses.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -618,8 +609,6 @@ describe("ExpensesClient", () => { description: "MacBook Pro", exchangeRate: "2.9", taxRate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unitPrice: "unit_price", remoteWasDeleted: false, }, { @@ -643,8 +632,6 @@ describe("ExpensesClient", () => { description: "Desk Lamp", exchangeRate: "2.9", taxRate: "a12e7c20-1922-9df7-s75n-edfeewnn7384", - quantity: "quantity", - unitPrice: "unit_price", remoteWasDeleted: true, }, ], @@ -697,7 +684,6 @@ describe("ExpensesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -706,23 +692,14 @@ describe("ExpensesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/expenses/lines/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.expenses.linesRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -732,14 +709,27 @@ describe("ExpensesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.expenses.linesRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("metaPostRetrieve", async () => { @@ -1182,7 +1172,6 @@ describe("ExpensesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1191,23 +1180,14 @@ describe("ExpensesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/expenses/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.expenses.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1217,13 +1197,26 @@ describe("ExpensesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.expenses.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/fieldMapping.test.ts b/tests/wire/Accounting/fieldMapping.test.ts similarity index 97% rename from tests/wire/accounting/fieldMapping.test.ts rename to tests/wire/Accounting/fieldMapping.test.ts index 876cba868..d8f949c88 100644 --- a/tests/wire/accounting/fieldMapping.test.ts +++ b/tests/wire/Accounting/fieldMapping.test.ts @@ -214,26 +214,6 @@ describe("FieldMappingClient", () => { }, }, ], - ExpenseReport: [ - { - id: "3fa85f64-5717-4562-b3fc-2c963f66afa6", - is_integration_wide: true, - target_field: { - name: "example_target_field_name", - description: "this is a example description of a target field", - is_organization_wide: true, - }, - remote_field: { - remote_key_name: "example_remote_field_key", - schema: { type: "string" }, - remote_endpoint_info: { - method: "GET", - url_path: "/example-url-path", - field_traversal_path: ["example_remote_field_key"], - }, - }, - }, - ], TrackingCategory: [ { id: "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -767,28 +747,6 @@ describe("FieldMappingClient", () => { }, }, ], - expenseReport: [ - { - id: "3fa85f64-5717-4562-b3fc-2c963f66afa6", - isIntegrationWide: true, - targetField: { - name: "example_target_field_name", - description: "this is a example description of a target field", - isOrganizationWide: true, - }, - remoteField: { - remoteKeyName: "example_remote_field_key", - schema: { - type: "string", - }, - remoteEndpointInfo: { - method: "GET", - urlPath: "/example-url-path", - fieldTraversalPath: ["example_remote_field_key"], - }, - }, - }, - ], trackingCategory: [ { id: "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -2406,13 +2364,6 @@ describe("FieldMappingClient", () => { is_mapped: "is_mapped", }, ], - ExpenseReport: [ - { - name: "example_target_field_name", - description: "this is a example description of a target field", - is_mapped: "is_mapped", - }, - ], TrackingCategory: [ { name: "example_target_field_name", @@ -2599,13 +2550,6 @@ describe("FieldMappingClient", () => { isMapped: "is_mapped", }, ], - expenseReport: [ - { - name: "example_target_field_name", - description: "this is a example description of a target field", - isMapped: "is_mapped", - }, - ], trackingCategory: [ { name: "example_target_field_name", diff --git a/tests/wire/accounting/forceResync.test.ts b/tests/wire/Accounting/forceResync.test.ts similarity index 100% rename from tests/wire/accounting/forceResync.test.ts rename to tests/wire/Accounting/forceResync.test.ts diff --git a/tests/wire/accounting/generalLedgerTransactions.test.ts b/tests/wire/Accounting/generalLedgerTransactions.test.ts similarity index 97% rename from tests/wire/accounting/generalLedgerTransactions.test.ts rename to tests/wire/Accounting/generalLedgerTransactions.test.ts index e8316aac2..491450112 100644 --- a/tests/wire/accounting/generalLedgerTransactions.test.ts +++ b/tests/wire/Accounting/generalLedgerTransactions.test.ts @@ -74,30 +74,14 @@ describe("GeneralLedgerTransactionsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/general-ledger-transactions") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.generalLedgerTransactions.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - postedDateAfter: new Date("2024-01-15T09:30:00.000Z"), - postedDateBefore: new Date("2024-01-15T09:30:00.000Z"), - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -169,7 +153,27 @@ describe("GeneralLedgerTransactionsClient", () => { ], }, ], + }; + const page = await client.accounting.generalLedgerTransactions.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + postedDateAfter: new Date("2024-01-15T09:30:00.000Z"), + postedDateBefore: new Date("2024-01-15T09:30:00.000Z"), + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -246,7 +250,6 @@ describe("GeneralLedgerTransactionsClient", () => { .build(); const response = await client.accounting.generalLedgerTransactions.retrieve("id", { - expand: "accounting_period", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/generateKey.test.ts b/tests/wire/Accounting/generateKey.test.ts similarity index 100% rename from tests/wire/accounting/generateKey.test.ts rename to tests/wire/Accounting/generateKey.test.ts diff --git a/tests/wire/accounting/incomeStatements.test.ts b/tests/wire/Accounting/incomeStatements.test.ts similarity index 98% rename from tests/wire/accounting/incomeStatements.test.ts rename to tests/wire/Accounting/incomeStatements.test.ts index d4a825201..e592c767b 100644 --- a/tests/wire/accounting/incomeStatements.test.ts +++ b/tests/wire/Accounting/incomeStatements.test.ts @@ -93,28 +93,14 @@ describe("IncomeStatementsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/income-statements") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.incomeStatements.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -231,7 +217,25 @@ describe("IncomeStatementsClient", () => { ], }, ], + }; + const page = await client.accounting.incomeStatements.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -329,7 +333,6 @@ describe("IncomeStatementsClient", () => { .build(); const response = await client.accounting.incomeStatements.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/invoices.test.ts b/tests/wire/Accounting/invoices.test.ts similarity index 98% rename from tests/wire/accounting/invoices.test.ts rename to tests/wire/Accounting/invoices.test.ts index 929602226..a112a6720 100644 --- a/tests/wire/accounting/invoices.test.ts +++ b/tests/wire/Accounting/invoices.test.ts @@ -116,37 +116,14 @@ describe("InvoicesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/invoices") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.invoices.list({ - companyId: "company_id", - contactId: "contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), - issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - number: "number", - pageSize: 1, - remoteFields: "type", - remoteId: "remote_id", - showEnumOrigins: "type", - status: "DRAFT", - type: "ACCOUNTS_PAYABLE", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -265,7 +242,34 @@ describe("InvoicesClient", () => { ], }, ], + }; + const page = await client.accounting.invoices.list({ + companyId: "company_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), + issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + number: "number", + pageSize: 1, + remoteFields: "type", + remoteId: "remote_id", + showEnumOrigins: "type", + status: "DRAFT", + type: "ACCOUNTS_PAYABLE", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -683,7 +687,6 @@ describe("InvoicesClient", () => { .build(); const response = await client.accounting.invoices.retrieve("id", { - expand: "accounting_period", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -1131,7 +1134,6 @@ describe("InvoicesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1140,23 +1142,14 @@ describe("InvoicesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/invoices/line-items/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.invoices.lineItemsRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1166,14 +1159,27 @@ describe("InvoicesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.invoices.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("metaPatchRetrieve", async () => { @@ -2037,7 +2043,6 @@ describe("InvoicesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -2046,23 +2051,14 @@ describe("InvoicesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/invoices/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.invoices.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -2072,13 +2068,26 @@ describe("InvoicesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.invoices.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/issues.test.ts b/tests/wire/Accounting/issues.test.ts similarity index 92% rename from tests/wire/accounting/issues.test.ts rename to tests/wire/Accounting/issues.test.ts index c1f081d95..633d85110 100644 --- a/tests/wire/accounting/issues.test.ts +++ b/tests/wire/Accounting/issues.test.ts @@ -30,30 +30,14 @@ describe("IssuesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/issues") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -70,7 +54,28 @@ describe("IssuesClient", () => { errorDetails: ["Missing employee permissions.", "Missing time off permissions."], }, ], + }; + const page = await client.accounting.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/accounting/items.test.ts b/tests/wire/Accounting/items.test.ts similarity index 99% rename from tests/wire/accounting/items.test.ts rename to tests/wire/Accounting/items.test.ts index ef3708dc8..401f61c50 100644 --- a/tests/wire/accounting/items.test.ts +++ b/tests/wire/Accounting/items.test.ts @@ -43,30 +43,14 @@ describe("ItemsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/items") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.items.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -103,7 +87,27 @@ describe("ItemsClient", () => { ], }, ], + }; + const page = await client.accounting.items.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -289,7 +293,6 @@ describe("ItemsClient", () => { .build(); const response = await client.accounting.items.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, remoteFields: "status", diff --git a/tests/wire/accounting/journalEntries.test.ts b/tests/wire/Accounting/journalEntries.test.ts similarity index 98% rename from tests/wire/accounting/journalEntries.test.ts rename to tests/wire/Accounting/journalEntries.test.ts index ad3c41642..c0de0c34f 100644 --- a/tests/wire/accounting/journalEntries.test.ts +++ b/tests/wire/Accounting/journalEntries.test.ts @@ -93,31 +93,14 @@ describe("JournalEntriesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/journal-entries") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.journalEntries.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -209,7 +192,28 @@ describe("JournalEntriesClient", () => { ], }, ], + }; + const page = await client.accounting.journalEntries.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -556,7 +560,6 @@ describe("JournalEntriesClient", () => { .build(); const response = await client.accounting.journalEntries.retrieve("id", { - expand: "accounting_period", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -685,7 +688,6 @@ describe("JournalEntriesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -694,23 +696,14 @@ describe("JournalEntriesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/journal-entries/lines/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.journalEntries.linesRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -720,14 +713,27 @@ describe("JournalEntriesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.journalEntries.linesRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("metaPostRetrieve", async () => { @@ -1170,7 +1176,6 @@ describe("JournalEntriesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1179,23 +1184,14 @@ describe("JournalEntriesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/journal-entries/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.journalEntries.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1205,13 +1201,26 @@ describe("JournalEntriesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.journalEntries.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/linkToken.test.ts b/tests/wire/Accounting/linkToken.test.ts similarity index 100% rename from tests/wire/accounting/linkToken.test.ts rename to tests/wire/Accounting/linkToken.test.ts diff --git a/tests/wire/accounting/linkedAccounts.test.ts b/tests/wire/Accounting/linkedAccounts.test.ts similarity index 92% rename from tests/wire/accounting/linkedAccounts.test.ts rename to tests/wire/Accounting/linkedAccounts.test.ts index fbe46bcb1..cd5eb35b4 100644 --- a/tests/wire/accounting/linkedAccounts.test.ts +++ b/tests/wire/Accounting/linkedAccounts.test.ts @@ -45,34 +45,18 @@ describe("LinkedAccountsClient", () => { }, account_type: "PRODUCTION", completed_at: "2024-08-26T20:11:19Z", - integration_specific_fields: { integration_specific_field: "Varies by platform" }, }, ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/linked-accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -104,11 +88,28 @@ describe("LinkedAccountsClient", () => { }, accountType: "PRODUCTION", completedAt: new Date("2024-08-26T20:11:19.000Z"), - integrationSpecificFields: { - integration_specific_field: "Varies by platform", - }, }, ], + }; + const page = await client.accounting.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/passthrough.test.ts b/tests/wire/Accounting/passthrough.test.ts similarity index 100% rename from tests/wire/accounting/passthrough.test.ts rename to tests/wire/Accounting/passthrough.test.ts diff --git a/tests/wire/accounting/paymentMethods.test.ts b/tests/wire/Accounting/paymentMethods.test.ts similarity index 93% rename from tests/wire/accounting/paymentMethods.test.ts rename to tests/wire/Accounting/paymentMethods.test.ts index ee7f0c5e2..9e1487f9f 100644 --- a/tests/wire/accounting/paymentMethods.test.ts +++ b/tests/wire/Accounting/paymentMethods.test.ts @@ -35,21 +35,14 @@ describe("PaymentMethodsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/payment-methods") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.paymentMethods.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -78,7 +71,19 @@ describe("PaymentMethodsClient", () => { ], }, ], + }; + const page = await client.accounting.paymentMethods.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/accounting/paymentTerms.test.ts b/tests/wire/Accounting/paymentTerms.test.ts similarity index 94% rename from tests/wire/accounting/paymentTerms.test.ts rename to tests/wire/Accounting/paymentTerms.test.ts index 7b05d7145..e35a5a937 100644 --- a/tests/wire/accounting/paymentTerms.test.ts +++ b/tests/wire/Accounting/paymentTerms.test.ts @@ -37,22 +37,14 @@ describe("PaymentTermsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/payment-terms") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.paymentTerms.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -83,7 +75,19 @@ describe("PaymentTermsClient", () => { ], }, ], + }; + const page = await client.accounting.paymentTerms.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -121,7 +125,6 @@ describe("PaymentTermsClient", () => { .build(); const response = await client.accounting.paymentTerms.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/payments.test.ts b/tests/wire/Accounting/payments.test.ts similarity index 98% rename from tests/wire/accounting/payments.test.ts rename to tests/wire/Accounting/payments.test.ts index d51a9570b..dfff5516a 100644 --- a/tests/wire/accounting/payments.test.ts +++ b/tests/wire/Accounting/payments.test.ts @@ -71,33 +71,14 @@ describe("PaymentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/payments") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.payments.list({ - accountId: "account_id", - companyId: "company_id", - contactId: "contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -167,7 +148,30 @@ describe("PaymentsClient", () => { ], }, ], + }; + const page = await client.accounting.payments.list({ + accountId: "account_id", + companyId: "company_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -442,7 +446,6 @@ describe("PaymentsClient", () => { .build(); const response = await client.accounting.payments.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -736,7 +739,6 @@ describe("PaymentsClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -745,23 +747,14 @@ describe("PaymentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/payments/line-items/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.payments.lineItemsRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -771,14 +764,27 @@ describe("PaymentsClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.payments.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("metaPatchRetrieve", async () => { @@ -1642,7 +1648,6 @@ describe("PaymentsClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1651,23 +1656,14 @@ describe("PaymentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/payments/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.payments.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1677,13 +1673,26 @@ describe("PaymentsClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.payments.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/phoneNumbers.test.ts b/tests/wire/Accounting/phoneNumbers.test.ts similarity index 100% rename from tests/wire/accounting/phoneNumbers.test.ts rename to tests/wire/Accounting/phoneNumbers.test.ts diff --git a/tests/wire/accounting/projects.test.ts b/tests/wire/Accounting/projects.test.ts similarity index 93% rename from tests/wire/accounting/projects.test.ts rename to tests/wire/Accounting/projects.test.ts index ee68e23b7..fd9cbd047 100644 --- a/tests/wire/accounting/projects.test.ts +++ b/tests/wire/Accounting/projects.test.ts @@ -43,18 +43,11 @@ describe("ProjectsClient", () => { .build(); const response = await client.accounting.projects.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", includeDeletedData: true, includeRemoteData: true, includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), pageSize: 1, - remoteId: "remote_id", }); expect(response).toEqual({ next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -121,7 +114,6 @@ describe("ProjectsClient", () => { .build(); const response = await client.accounting.projects.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/purchaseOrders.test.ts b/tests/wire/Accounting/purchaseOrders.test.ts similarity index 98% rename from tests/wire/accounting/purchaseOrders.test.ts rename to tests/wire/Accounting/purchaseOrders.test.ts index 684e0fc4b..00d29e787 100644 --- a/tests/wire/accounting/purchaseOrders.test.ts +++ b/tests/wire/Accounting/purchaseOrders.test.ts @@ -99,33 +99,14 @@ describe("PurchaseOrdersClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/purchase-orders") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.purchaseOrders.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), - issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -223,7 +204,30 @@ describe("PurchaseOrdersClient", () => { ], }, ], + }; + const page = await client.accounting.purchaseOrders.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + issueDateAfter: new Date("2024-01-15T09:30:00.000Z"), + issueDateBefore: new Date("2024-01-15T09:30:00.000Z"), + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -588,7 +592,6 @@ describe("PurchaseOrdersClient", () => { .build(); const response = await client.accounting.purchaseOrders.retrieve("id", { - expand: "accounting_period", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -725,7 +728,6 @@ describe("PurchaseOrdersClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -734,23 +736,14 @@ describe("PurchaseOrdersClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/purchase-orders/line-items/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -760,14 +753,27 @@ describe("PurchaseOrdersClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("metaPostRetrieve", async () => { @@ -1210,7 +1216,6 @@ describe("PurchaseOrdersClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1219,23 +1224,14 @@ describe("PurchaseOrdersClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/purchase-orders/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.purchaseOrders.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1245,13 +1241,26 @@ describe("PurchaseOrdersClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: ["field_choices"], }, ], + }; + const page = await client.accounting.purchaseOrders.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/regenerateKey.test.ts b/tests/wire/Accounting/regenerateKey.test.ts similarity index 100% rename from tests/wire/accounting/regenerateKey.test.ts rename to tests/wire/Accounting/regenerateKey.test.ts diff --git a/tests/wire/accounting/scopes.test.ts b/tests/wire/Accounting/scopes.test.ts similarity index 100% rename from tests/wire/accounting/scopes.test.ts rename to tests/wire/Accounting/scopes.test.ts diff --git a/tests/wire/accounting/syncStatus.test.ts b/tests/wire/Accounting/syncStatus.test.ts similarity index 86% rename from tests/wire/accounting/syncStatus.test.ts rename to tests/wire/Accounting/syncStatus.test.ts index 6af1e3c70..d8b1bd05d 100644 --- a/tests/wire/accounting/syncStatus.test.ts +++ b/tests/wire/Accounting/syncStatus.test.ts @@ -31,18 +31,14 @@ describe("SyncStatusClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/sync-status") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.syncStatus.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -58,6 +54,15 @@ describe("SyncStatusClient", () => { selectiveSyncConfigurationsUsage: "IN_NEXT_SYNC", }, ], + }; + const page = await client.accounting.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/accounting/taxRates.test.ts b/tests/wire/Accounting/taxRates.test.ts similarity index 96% rename from tests/wire/accounting/taxRates.test.ts rename to tests/wire/Accounting/taxRates.test.ts index 4608c819e..c73de71db 100644 --- a/tests/wire/accounting/taxRates.test.ts +++ b/tests/wire/Accounting/taxRates.test.ts @@ -52,29 +52,14 @@ describe("TaxRatesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/tax-rates") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.taxRates.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -120,7 +105,26 @@ describe("TaxRatesClient", () => { ], }, ], + }; + const page = await client.accounting.taxRates.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -174,7 +178,6 @@ describe("TaxRatesClient", () => { .build(); const response = await client.accounting.taxRates.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/trackingCategories.test.ts b/tests/wire/Accounting/trackingCategories.test.ts similarity index 94% rename from tests/wire/accounting/trackingCategories.test.ts rename to tests/wire/Accounting/trackingCategories.test.ts index 0d0a3c8fd..da31ecbc6 100644 --- a/tests/wire/accounting/trackingCategories.test.ts +++ b/tests/wire/Accounting/trackingCategories.test.ts @@ -36,33 +36,14 @@ describe("TrackingCategoriesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/tracking-categories") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.trackingCategories.list({ - categoryType: "", - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "company", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - status: "", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -87,7 +68,30 @@ describe("TrackingCategoriesClient", () => { }, }, ], + }; + const page = await client.accounting.trackingCategories.list({ + categoryType: "", + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + status: "", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -124,7 +128,6 @@ describe("TrackingCategoriesClient", () => { .build(); const response = await client.accounting.trackingCategories.retrieve("id", { - expand: "company", includeRemoteData: true, includeShellData: true, remoteFields: "status", diff --git a/tests/wire/accounting/transactions.test.ts b/tests/wire/Accounting/transactions.test.ts similarity index 98% rename from tests/wire/accounting/transactions.test.ts rename to tests/wire/Accounting/transactions.test.ts index 22c8e2ee8..25c2b586c 100644 --- a/tests/wire/accounting/transactions.test.ts +++ b/tests/wire/Accounting/transactions.test.ts @@ -92,30 +92,14 @@ describe("TransactionsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/transactions") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.transactions.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -201,7 +185,27 @@ describe("TransactionsClient", () => { ], }, ], + }; + const page = await client.accounting.transactions.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -296,7 +300,6 @@ describe("TransactionsClient", () => { .build(); const response = await client.accounting.transactions.retrieve("id", { - expand: "account", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/vendorCredits.test.ts b/tests/wire/Accounting/vendorCredits.test.ts similarity index 99% rename from tests/wire/accounting/vendorCredits.test.ts rename to tests/wire/Accounting/vendorCredits.test.ts index 36f2b1c46..1e2d8f22f 100644 --- a/tests/wire/accounting/vendorCredits.test.ts +++ b/tests/wire/Accounting/vendorCredits.test.ts @@ -95,30 +95,14 @@ describe("VendorCreditsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/accounting/v1/vendor-credits") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.accounting.vendorCredits.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), - transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -207,7 +191,27 @@ describe("VendorCreditsClient", () => { ], }, ], + }; + const page = await client.accounting.vendorCredits.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"), + transactionDateBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -553,7 +557,6 @@ describe("VendorCreditsClient", () => { .build(); const response = await client.accounting.vendorCredits.retrieve("id", { - expand: "accounting_period", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/accounting/webhookReceivers.test.ts b/tests/wire/Accounting/webhookReceivers.test.ts similarity index 100% rename from tests/wire/accounting/webhookReceivers.test.ts rename to tests/wire/Accounting/webhookReceivers.test.ts diff --git a/tests/wire/crm/accountDetails.test.ts b/tests/wire/CRM/accountDetails.test.ts similarity index 100% rename from tests/wire/crm/accountDetails.test.ts rename to tests/wire/CRM/accountDetails.test.ts diff --git a/tests/wire/crm/accountToken.test.ts b/tests/wire/CRM/accountToken.test.ts similarity index 100% rename from tests/wire/crm/accountToken.test.ts rename to tests/wire/CRM/accountToken.test.ts diff --git a/tests/wire/crm/accounts.test.ts b/tests/wire/CRM/accounts.test.ts similarity index 98% rename from tests/wire/crm/accounts.test.ts rename to tests/wire/CRM/accounts.test.ts index 1b48deea4..6c2ed5e19 100644 --- a/tests/wire/crm/accounts.test.ts +++ b/tests/wire/CRM/accounts.test.ts @@ -62,25 +62,15 @@ describe("AccountsClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/accounts").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/accounts") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.accounts.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "owner", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - ownerId: "owner_id", - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -142,7 +132,27 @@ describe("AccountsClient", () => { ], }, ], + }; + const page = await client.crm.accounts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + ownerId: "owner_id", + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -393,7 +403,6 @@ describe("AccountsClient", () => { .build(); const response = await client.crm.accounts.retrieve("id", { - expand: "owner", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -1505,7 +1514,6 @@ describe("AccountsClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1514,24 +1522,14 @@ describe("AccountsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/accounts/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.accounts.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1541,13 +1539,27 @@ describe("AccountsClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.accounts.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/associationTypes.test.ts b/tests/wire/CRM/associationTypes.test.ts similarity index 98% rename from tests/wire/crm/associationTypes.test.ts rename to tests/wire/CRM/associationTypes.test.ts index 2dae7eefe..e60cd419a 100644 --- a/tests/wire/crm/associationTypes.test.ts +++ b/tests/wire/CRM/associationTypes.test.ts @@ -32,30 +32,14 @@ describe("AssociationTypesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/custom-object-classes/custom_object_class_id/association-types") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.associationTypes.customObjectClassesAssociationTypesList( - "custom_object_class_id", - { - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "target_object_classes", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }, - ); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -80,7 +64,27 @@ describe("AssociationTypesClient", () => { isRequired: true, }, ], - }); + }; + const page = await client.crm.associationTypes.customObjectClassesAssociationTypesList( + "custom_object_class_id", + { + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + }, + ); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("custom_object_classes_association_types_create", async () => { @@ -263,7 +267,6 @@ describe("AssociationTypesClient", () => { "custom_object_class_id", "id", { - expand: "target_object_classes", includeRemoteData: true, includeShellData: true, }, diff --git a/tests/wire/crm/associations.test.ts b/tests/wire/CRM/associations.test.ts similarity index 91% rename from tests/wire/crm/associations.test.ts rename to tests/wire/CRM/associations.test.ts index 58d2b8392..1297ac132 100644 --- a/tests/wire/crm/associations.test.ts +++ b/tests/wire/CRM/associations.test.ts @@ -27,14 +27,27 @@ describe("AssociationsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/custom-object-classes/custom_object_class_id/custom-objects/object_id/associations") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.associations.customObjectClassesCustomObjectsAssociationsList( + const expected = { + next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", + results: [ + { + createdAt: new Date("2021-09-15T00:00:00.000Z"), + modifiedAt: new Date("2021-10-16T00:00:00.000Z"), + sourceObject: "a8f5d29f-4e50-473f-8f12-27128ffcd37a", + targetObject: "da0b1963-be70-469c-9f8c-06a81d0fe759", + associationType: "association_type", + }, + ], + }; + const page = await client.crm.associations.customObjectClassesCustomObjectsAssociationsList( "custom_object_class_id", "object_id", { @@ -42,7 +55,6 @@ describe("AssociationsClient", () => { createdAfter: new Date("2024-01-15T09:30:00.000Z"), createdBefore: new Date("2024-01-15T09:30:00.000Z"), cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "association_type", includeDeletedData: true, includeRemoteData: true, includeShellData: true, @@ -52,19 +64,11 @@ describe("AssociationsClient", () => { remoteId: "remote_id", }, ); - expect(response).toEqual({ - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - sourceObject: "a8f5d29f-4e50-473f-8f12-27128ffcd37a", - targetObject: "da0b1963-be70-469c-9f8c-06a81d0fe759", - associationType: "association_type", - }, - ], - }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("custom_object_classes_custom_objects_associations_update", async () => { diff --git a/tests/wire/crm/asyncPassthrough.test.ts b/tests/wire/CRM/asyncPassthrough.test.ts similarity index 100% rename from tests/wire/crm/asyncPassthrough.test.ts rename to tests/wire/CRM/asyncPassthrough.test.ts diff --git a/tests/wire/crm/auditTrail.test.ts b/tests/wire/CRM/auditTrail.test.ts similarity index 87% rename from tests/wire/crm/auditTrail.test.ts rename to tests/wire/CRM/auditTrail.test.ts index edae76d15..033448a4a 100644 --- a/tests/wire/crm/auditTrail.test.ts +++ b/tests/wire/CRM/auditTrail.test.ts @@ -31,22 +31,14 @@ describe("AuditTrailClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/audit-trail") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -62,6 +54,19 @@ describe("AuditTrailClient", () => { createdAt: new Date("2024-01-15T09:30:00.000Z"), }, ], + }; + const page = await client.crm.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/availableActions.test.ts b/tests/wire/CRM/availableActions.test.ts similarity index 100% rename from tests/wire/crm/availableActions.test.ts rename to tests/wire/CRM/availableActions.test.ts diff --git a/tests/wire/crm/contacts.test.ts b/tests/wire/CRM/contacts.test.ts similarity index 98% rename from tests/wire/crm/contacts.test.ts rename to tests/wire/CRM/contacts.test.ts index f37b6a709..7a19cfd72 100644 --- a/tests/wire/crm/contacts.test.ts +++ b/tests/wire/CRM/contacts.test.ts @@ -67,26 +67,15 @@ describe("ContactsClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/contacts").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/contacts") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.contacts.list({ - accountId: "account_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddresses: "email_addresses", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - phoneNumbers: "phone_numbers", - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -153,7 +142,28 @@ describe("ContactsClient", () => { ], }, ], + }; + const page = await client.crm.contacts.list({ + accountId: "account_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + phoneNumbers: "phone_numbers", + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -419,7 +429,6 @@ describe("ContactsClient", () => { .build(); const response = await client.crm.contacts.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -1570,7 +1579,6 @@ describe("ContactsClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1579,24 +1587,14 @@ describe("ContactsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/contacts/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.contacts.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1606,13 +1604,27 @@ describe("ContactsClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.contacts.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/customObjectClasses.test.ts b/tests/wire/CRM/customObjectClasses.test.ts similarity index 96% rename from tests/wire/crm/customObjectClasses.test.ts rename to tests/wire/CRM/customObjectClasses.test.ts index d319575ba..5bb8636f0 100644 --- a/tests/wire/crm/customObjectClasses.test.ts +++ b/tests/wire/CRM/customObjectClasses.test.ts @@ -61,27 +61,14 @@ describe("CustomObjectClassesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/custom-object-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.customObjectClasses.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "fields", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -134,7 +121,24 @@ describe("CustomObjectClassesClient", () => { ], }, ], + }; + const page = await client.crm.customObjectClasses.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -202,7 +206,6 @@ describe("CustomObjectClassesClient", () => { .build(); const response = await client.crm.customObjectClasses.retrieve("id", { - expand: "fields", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/crm/customObjects.test.ts b/tests/wire/CRM/customObjects.test.ts similarity index 97% rename from tests/wire/crm/customObjects.test.ts rename to tests/wire/CRM/customObjects.test.ts index 9796e03a0..fa63797d0 100644 --- a/tests/wire/crm/customObjects.test.ts +++ b/tests/wire/CRM/customObjects.test.ts @@ -29,27 +29,14 @@ describe("CustomObjectsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/custom-object-classes/custom_object_class_id/custom-objects") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", { - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -72,7 +59,25 @@ describe("CustomObjectsClient", () => { ], }, ], + }; + const page = await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", { + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("custom_object_classes_custom_objects_create", async () => { @@ -692,7 +697,6 @@ describe("CustomObjectsClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -701,24 +705,14 @@ describe("CustomObjectsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/custom-object-classes/custom-objects/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -728,13 +722,27 @@ describe("CustomObjectsClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/deleteAccount.test.ts b/tests/wire/CRM/deleteAccount.test.ts similarity index 100% rename from tests/wire/crm/deleteAccount.test.ts rename to tests/wire/CRM/deleteAccount.test.ts diff --git a/tests/wire/crm/engagementTypes.test.ts b/tests/wire/CRM/engagementTypes.test.ts similarity index 89% rename from tests/wire/crm/engagementTypes.test.ts rename to tests/wire/CRM/engagementTypes.test.ts index 61f296094..4b2531598 100644 --- a/tests/wire/crm/engagementTypes.test.ts +++ b/tests/wire/CRM/engagementTypes.test.ts @@ -29,27 +29,14 @@ describe("EngagementTypesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/engagement-types") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.engagementTypes.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -68,7 +55,25 @@ describe("EngagementTypesClient", () => { ], }, ], + }; + const page = await client.crm.engagementTypes.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -137,7 +142,6 @@ describe("EngagementTypesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -146,24 +150,14 @@ describe("EngagementTypesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/engagement-types/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.engagementTypes.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -173,13 +167,27 @@ describe("EngagementTypesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.engagementTypes.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/engagements.test.ts b/tests/wire/CRM/engagements.test.ts similarity index 98% rename from tests/wire/crm/engagements.test.ts rename to tests/wire/CRM/engagements.test.ts index 906513dda..0ab612136 100644 --- a/tests/wire/crm/engagements.test.ts +++ b/tests/wire/CRM/engagements.test.ts @@ -42,30 +42,14 @@ describe("EngagementsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/engagements") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.engagements.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -106,7 +90,27 @@ describe("EngagementsClient", () => { ], }, ], + }; + const page = await client.crm.engagements.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -294,7 +298,6 @@ describe("EngagementsClient", () => { .build(); const response = await client.crm.engagements.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -1343,7 +1346,6 @@ describe("EngagementsClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1352,24 +1354,14 @@ describe("EngagementsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/engagements/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.engagements.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1379,13 +1371,27 @@ describe("EngagementsClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.engagements.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/fieldMapping.test.ts b/tests/wire/CRM/fieldMapping.test.ts similarity index 100% rename from tests/wire/crm/fieldMapping.test.ts rename to tests/wire/CRM/fieldMapping.test.ts diff --git a/tests/wire/crm/forceResync.test.ts b/tests/wire/CRM/forceResync.test.ts similarity index 100% rename from tests/wire/crm/forceResync.test.ts rename to tests/wire/CRM/forceResync.test.ts diff --git a/tests/wire/crm/generateKey.test.ts b/tests/wire/CRM/generateKey.test.ts similarity index 100% rename from tests/wire/crm/generateKey.test.ts rename to tests/wire/CRM/generateKey.test.ts diff --git a/tests/wire/crm/issues.test.ts b/tests/wire/CRM/issues.test.ts similarity index 89% rename from tests/wire/crm/issues.test.ts rename to tests/wire/CRM/issues.test.ts index ed98b91fc..f9c2cff88 100644 --- a/tests/wire/crm/issues.test.ts +++ b/tests/wire/CRM/issues.test.ts @@ -29,25 +29,15 @@ describe("IssuesClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/issues").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/issues") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -64,7 +54,28 @@ describe("IssuesClient", () => { errorDetails: ["Missing employee permissions.", "Missing time off permissions."], }, ], + }; + const page = await client.crm.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/crm/leads.test.ts b/tests/wire/CRM/leads.test.ts similarity index 98% rename from tests/wire/crm/leads.test.ts rename to tests/wire/CRM/leads.test.ts index 5815896aa..66d2fc479 100644 --- a/tests/wire/crm/leads.test.ts +++ b/tests/wire/CRM/leads.test.ts @@ -72,28 +72,15 @@ describe("LeadsClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/leads").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/leads") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.leads.list({ - convertedAccountId: "converted_account_id", - convertedContactId: "converted_contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddresses: "email_addresses", - expand: "converted_account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - ownerId: "owner_id", - pageSize: 1, - phoneNumbers: "phone_numbers", - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -165,7 +152,30 @@ describe("LeadsClient", () => { ], }, ], + }; + const page = await client.crm.leads.list({ + convertedAccountId: "converted_account_id", + convertedContactId: "converted_contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddresses: "email_addresses", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + ownerId: "owner_id", + pageSize: 1, + phoneNumbers: "phone_numbers", + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -440,7 +450,6 @@ describe("LeadsClient", () => { server.mockEndpoint().get("/crm/v1/leads/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); const response = await client.crm.leads.retrieve("id", { - expand: "converted_account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -954,7 +963,6 @@ describe("LeadsClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -963,24 +971,14 @@ describe("LeadsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/leads/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.leads.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -990,13 +988,27 @@ describe("LeadsClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.leads.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/linkToken.test.ts b/tests/wire/CRM/linkToken.test.ts similarity index 100% rename from tests/wire/crm/linkToken.test.ts rename to tests/wire/CRM/linkToken.test.ts diff --git a/tests/wire/crm/linkedAccounts.test.ts b/tests/wire/CRM/linkedAccounts.test.ts similarity index 93% rename from tests/wire/crm/linkedAccounts.test.ts rename to tests/wire/CRM/linkedAccounts.test.ts index 70f57a465..ca80984bf 100644 --- a/tests/wire/crm/linkedAccounts.test.ts +++ b/tests/wire/CRM/linkedAccounts.test.ts @@ -49,29 +49,14 @@ describe("LinkedAccountsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/linked-accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -105,6 +90,26 @@ describe("LinkedAccountsClient", () => { completedAt: new Date("2024-08-26T20:11:19.000Z"), }, ], + }; + const page = await client.crm.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/notes.test.ts b/tests/wire/CRM/notes.test.ts similarity index 97% rename from tests/wire/crm/notes.test.ts rename to tests/wire/CRM/notes.test.ts index bb2f59fe5..586b26356 100644 --- a/tests/wire/crm/notes.test.ts +++ b/tests/wire/CRM/notes.test.ts @@ -39,27 +39,15 @@ describe("NotesClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/notes").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/notes") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.notes.list({ - accountId: "account_id", - contactId: "contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - opportunityId: "opportunity_id", - ownerId: "owner_id", - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -98,7 +86,29 @@ describe("NotesClient", () => { ], }, ], + }; + const page = await client.crm.notes.list({ + accountId: "account_id", + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + opportunityId: "opportunity_id", + ownerId: "owner_id", + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -274,7 +284,6 @@ describe("NotesClient", () => { server.mockEndpoint().get("/crm/v1/notes/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); const response = await client.crm.notes.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -755,7 +764,6 @@ describe("NotesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -764,24 +772,14 @@ describe("NotesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/notes/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.notes.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -791,13 +789,27 @@ describe("NotesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.notes.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/opportunities.test.ts b/tests/wire/CRM/opportunities.test.ts similarity index 98% rename from tests/wire/crm/opportunities.test.ts rename to tests/wire/CRM/opportunities.test.ts index 1fde575e3..253e7a6a3 100644 --- a/tests/wire/crm/opportunities.test.ts +++ b/tests/wire/CRM/opportunities.test.ts @@ -43,35 +43,14 @@ describe("OpportunitiesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/opportunities") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.opportunities.list({ - accountId: "account_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - ownerId: "owner_id", - pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - stageId: "stage_id", - status: "LOST", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -113,7 +92,32 @@ describe("OpportunitiesClient", () => { ], }, ], + }; + const page = await client.crm.opportunities.list({ + accountId: "account_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + ownerId: "owner_id", + pageSize: 1, + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteFields: "status", + remoteId: "remote_id", + showEnumOrigins: "status", + stageId: "stage_id", + status: "LOST", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -304,7 +308,6 @@ describe("OpportunitiesClient", () => { .build(); const response = await client.crm.opportunities.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -1358,7 +1361,6 @@ describe("OpportunitiesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1367,24 +1369,14 @@ describe("OpportunitiesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/opportunities/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.opportunities.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1394,13 +1386,27 @@ describe("OpportunitiesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.opportunities.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/passthrough.test.ts b/tests/wire/CRM/passthrough.test.ts similarity index 100% rename from tests/wire/crm/passthrough.test.ts rename to tests/wire/CRM/passthrough.test.ts diff --git a/tests/wire/crm/regenerateKey.test.ts b/tests/wire/CRM/regenerateKey.test.ts similarity index 100% rename from tests/wire/crm/regenerateKey.test.ts rename to tests/wire/CRM/regenerateKey.test.ts diff --git a/tests/wire/crm/scopes.test.ts b/tests/wire/CRM/scopes.test.ts similarity index 100% rename from tests/wire/crm/scopes.test.ts rename to tests/wire/CRM/scopes.test.ts diff --git a/tests/wire/crm/stages.test.ts b/tests/wire/CRM/stages.test.ts similarity index 89% rename from tests/wire/crm/stages.test.ts rename to tests/wire/CRM/stages.test.ts index 48a3eaa75..b570460fd 100644 --- a/tests/wire/crm/stages.test.ts +++ b/tests/wire/CRM/stages.test.ts @@ -33,22 +33,15 @@ describe("StagesClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/stages").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/stages") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.stages.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -81,7 +74,25 @@ describe("StagesClient", () => { ], }, ], + }; + const page = await client.crm.stages.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -163,7 +174,6 @@ describe("StagesClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -172,24 +182,14 @@ describe("StagesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/stages/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.stages.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -199,13 +199,27 @@ describe("StagesClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.stages.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/syncStatus.test.ts b/tests/wire/CRM/syncStatus.test.ts similarity index 100% rename from tests/wire/crm/syncStatus.test.ts rename to tests/wire/CRM/syncStatus.test.ts diff --git a/tests/wire/crm/tasks.test.ts b/tests/wire/CRM/tasks.test.ts similarity index 98% rename from tests/wire/crm/tasks.test.ts rename to tests/wire/CRM/tasks.test.ts index 0a16f7a9f..28795f503 100644 --- a/tests/wire/crm/tasks.test.ts +++ b/tests/wire/CRM/tasks.test.ts @@ -40,23 +40,15 @@ describe("TasksClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/tasks").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/tasks") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.tasks.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -96,7 +88,25 @@ describe("TasksClient", () => { ], }, ], + }; + const page = await client.crm.tasks.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -275,7 +285,6 @@ describe("TasksClient", () => { server.mockEndpoint().get("/crm/v1/tasks/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); const response = await client.crm.tasks.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -1321,7 +1330,6 @@ describe("TasksClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -1330,24 +1338,14 @@ describe("TasksClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/tasks/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.tasks.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1357,13 +1355,27 @@ describe("TasksClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.tasks.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/users.test.ts b/tests/wire/CRM/users.test.ts similarity index 91% rename from tests/wire/crm/users.test.ts rename to tests/wire/CRM/users.test.ts index d9c314ef7..9a62affa3 100644 --- a/tests/wire/crm/users.test.ts +++ b/tests/wire/CRM/users.test.ts @@ -35,23 +35,15 @@ describe("UsersClient", () => { }, ], }; - server.mockEndpoint().get("/crm/v1/users").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/crm/v1/users") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.crm.users.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email: "email", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -86,7 +78,26 @@ describe("UsersClient", () => { ], }, ], + }; + const page = await client.crm.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email: "email", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -196,7 +207,6 @@ describe("UsersClient", () => { remote_key_name: "remote_key_name", description: "description", is_custom: true, - is_common_model_field: true, is_required: true, field_type: "string", field_format: "string", @@ -205,24 +215,14 @@ describe("UsersClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/crm/v1/users/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.crm.users.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -232,13 +232,27 @@ describe("UsersClient", () => { remoteKeyName: "remote_key_name", description: "description", isCustom: true, - isCommonModelField: true, isRequired: true, fieldType: "string", fieldFormat: "string", fieldChoices: [{}], }, ], + }; + const page = await client.crm.users.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/crm/webhookReceivers.test.ts b/tests/wire/CRM/webhookReceivers.test.ts similarity index 100% rename from tests/wire/crm/webhookReceivers.test.ts rename to tests/wire/CRM/webhookReceivers.test.ts diff --git a/tests/wire/filestorage/accountDetails.test.ts b/tests/wire/FileStorage/accountDetails.test.ts similarity index 97% rename from tests/wire/filestorage/accountDetails.test.ts rename to tests/wire/FileStorage/accountDetails.test.ts index abaec9706..61a59768f 100644 --- a/tests/wire/filestorage/accountDetails.test.ts +++ b/tests/wire/FileStorage/accountDetails.test.ts @@ -35,7 +35,7 @@ describe("AccountDetailsClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.accountDetails.retrieve(); + const response = await client.fileStorage.accountDetails.retrieve(); expect(response).toEqual({ id: "0496d4c2-42e6-4072-80b3-7b69bfdc76fd", integration: "BambooHR", diff --git a/tests/wire/filestorage/accountToken.test.ts b/tests/wire/FileStorage/accountToken.test.ts similarity index 97% rename from tests/wire/filestorage/accountToken.test.ts rename to tests/wire/FileStorage/accountToken.test.ts index 557a582d2..7dfd1f735 100644 --- a/tests/wire/filestorage/accountToken.test.ts +++ b/tests/wire/FileStorage/accountToken.test.ts @@ -37,7 +37,7 @@ describe("AccountTokenClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.accountToken.retrieve("public_token"); + const response = await client.fileStorage.accountToken.retrieve("public_token"); expect(response).toEqual({ accountToken: "T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB", integration: { diff --git a/tests/wire/filestorage/asyncPassthrough.test.ts b/tests/wire/FileStorage/asyncPassthrough.test.ts similarity index 95% rename from tests/wire/filestorage/asyncPassthrough.test.ts rename to tests/wire/FileStorage/asyncPassthrough.test.ts index 93ae52595..0dc7c93ef 100644 --- a/tests/wire/filestorage/asyncPassthrough.test.ts +++ b/tests/wire/FileStorage/asyncPassthrough.test.ts @@ -23,7 +23,7 @@ describe("AsyncPassthroughClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.asyncPassthrough.create({ + const response = await client.fileStorage.asyncPassthrough.create({ method: "GET", path: "/scooters", }); @@ -63,7 +63,7 @@ describe("AsyncPassthroughClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id"); + const response = await client.fileStorage.asyncPassthrough.retrieve("async_passthrough_receipt_id"); expect(response).toEqual({ method: "GET", path: "/scooters", diff --git a/tests/wire/filestorage/auditTrail.test.ts b/tests/wire/FileStorage/auditTrail.test.ts similarity index 87% rename from tests/wire/filestorage/auditTrail.test.ts rename to tests/wire/FileStorage/auditTrail.test.ts index c0f7b1aee..4c7e41c01 100644 --- a/tests/wire/filestorage/auditTrail.test.ts +++ b/tests/wire/FileStorage/auditTrail.test.ts @@ -31,22 +31,14 @@ describe("AuditTrailClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/audit-trail") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -62,6 +54,19 @@ describe("AuditTrailClient", () => { createdAt: new Date("2024-01-15T09:30:00.000Z"), }, ], + }; + const page = await client.fileStorage.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/filestorage/availableActions.test.ts b/tests/wire/FileStorage/availableActions.test.ts similarity index 97% rename from tests/wire/filestorage/availableActions.test.ts rename to tests/wire/FileStorage/availableActions.test.ts index aa15af91e..cced3d4a5 100644 --- a/tests/wire/filestorage/availableActions.test.ts +++ b/tests/wire/FileStorage/availableActions.test.ts @@ -44,7 +44,7 @@ describe("AvailableActionsClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.availableActions.retrieve(); + const response = await client.fileStorage.availableActions.retrieve(); expect(response).toEqual({ integration: { name: "name", diff --git a/tests/wire/filestorage/deleteAccount.test.ts b/tests/wire/FileStorage/deleteAccount.test.ts similarity index 91% rename from tests/wire/filestorage/deleteAccount.test.ts rename to tests/wire/FileStorage/deleteAccount.test.ts index 08ad73e47..8dcdfe011 100644 --- a/tests/wire/filestorage/deleteAccount.test.ts +++ b/tests/wire/FileStorage/deleteAccount.test.ts @@ -15,7 +15,7 @@ describe("DeleteAccountClient", () => { server.mockEndpoint().post("/filestorage/v1/delete-account").respondWith().statusCode(200).build(); - const response = await client.filestorage.deleteAccount.delete(); + const response = await client.fileStorage.deleteAccount.delete(); expect(response).toEqual(undefined); }); }); diff --git a/tests/wire/filestorage/drives.test.ts b/tests/wire/FileStorage/drives.test.ts similarity index 93% rename from tests/wire/filestorage/drives.test.ts rename to tests/wire/FileStorage/drives.test.ts index 559d61e6c..feeb06fc5 100644 --- a/tests/wire/filestorage/drives.test.ts +++ b/tests/wire/FileStorage/drives.test.ts @@ -35,27 +35,14 @@ describe("DrivesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/drives") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.drives.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -84,7 +71,25 @@ describe("DrivesClient", () => { ], }, ], + }; + const page = await client.fileStorage.drives.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -119,7 +124,7 @@ describe("DrivesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.drives.retrieve("id", { + const response = await client.fileStorage.drives.retrieve("id", { includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/filestorage/fieldMapping.test.ts b/tests/wire/FileStorage/fieldMapping.test.ts similarity index 98% rename from tests/wire/filestorage/fieldMapping.test.ts rename to tests/wire/FileStorage/fieldMapping.test.ts index 2b8379099..a28d41b40 100644 --- a/tests/wire/filestorage/fieldMapping.test.ts +++ b/tests/wire/FileStorage/fieldMapping.test.ts @@ -123,7 +123,7 @@ describe("FieldMappingClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.fieldMapping.fieldMappingsRetrieve({ + const response = await client.fileStorage.fieldMapping.fieldMappingsRetrieve({ excludeRemoteFieldMetadata: true, }); expect(response).toEqual({ @@ -312,7 +312,7 @@ describe("FieldMappingClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.fieldMapping.fieldMappingsCreate({ + const response = await client.fileStorage.fieldMapping.fieldMappingsCreate({ excludeRemoteFieldMetadata: true, targetFieldName: "example_target_field_name", targetFieldDescription: "this is a example description of the target field", @@ -440,7 +440,7 @@ describe("FieldMappingClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id"); + const response = await client.fileStorage.fieldMapping.fieldMappingsDestroy("field_mapping_id"); expect(response).toEqual({ model: { id: "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -561,7 +561,7 @@ describe("FieldMappingClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); + const response = await client.fileStorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id"); expect(response).toEqual({ model: { id: "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -706,7 +706,7 @@ describe("FieldMappingClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.fieldMapping.remoteFieldsRetrieve({ + const response = await client.fileStorage.fieldMapping.remoteFieldsRetrieve({ commonModels: "common_models", includeExampleValues: "include_example_values", }); @@ -858,7 +858,7 @@ describe("FieldMappingClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.fieldMapping.targetFieldsRetrieve(); + const response = await client.fileStorage.fieldMapping.targetFieldsRetrieve(); expect(response).toEqual({ file: [ { diff --git a/tests/wire/filestorage/files.test.ts b/tests/wire/FileStorage/files.test.ts similarity index 97% rename from tests/wire/filestorage/files.test.ts rename to tests/wire/FileStorage/files.test.ts index 1362c37c3..24e84d06e 100644 --- a/tests/wire/filestorage/files.test.ts +++ b/tests/wire/FileStorage/files.test.ts @@ -47,34 +47,14 @@ describe("FilesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/files") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.files.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - driveId: "drive_id", - expand: "drive", - folderId: "folder_id", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - mimeType: "mime_type", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - orderBy: "-created_at", - pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -115,7 +95,29 @@ describe("FilesClient", () => { ], }, ], + }; + const page = await client.fileStorage.files.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + driveId: "drive_id", + folderId: "folder_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + mimeType: "mime_type", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + orderBy: "-created_at", + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -192,7 +194,7 @@ describe("FilesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.files.create({ + const response = await client.fileStorage.files.create({ isDebugMode: true, runAsync: true, model: {}, @@ -312,8 +314,7 @@ describe("FilesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.files.retrieve("id", { - expand: "drive", + const response = await client.fileStorage.files.retrieve("id", { includeRemoteData: true, includeShellData: true, }); @@ -378,7 +379,7 @@ describe("FilesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.files.downloadRequestMetaRetrieve("id", { + const response = await client.fileStorage.files.downloadRequestMetaRetrieve("id", { mimeType: "mime_type", }); expect(response).toEqual({ @@ -413,25 +414,14 @@ describe("FilesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/files/download/request-meta") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.files.downloadRequestMetaList({ - createdAfter: "created_after", - createdBefore: "created_before", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - mimeTypes: "mime_types", - modifiedAfter: "modified_after", - modifiedBefore: "modified_before", - orderBy: "-created_at", - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -444,7 +434,23 @@ describe("FilesClient", () => { }, }, ], + }; + const page = await client.fileStorage.files.downloadRequestMetaList({ + createdAfter: "created_after", + createdBefore: "created_before", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + mimeTypes: "mime_types", + modifiedAfter: "modified_after", + modifiedBefore: "modified_before", + orderBy: "-created_at", + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("metaPostRetrieve", async () => { @@ -631,7 +637,7 @@ describe("FilesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.files.metaPostRetrieve(); + const response = await client.fileStorage.files.metaPostRetrieve(); expect(response).toEqual({ requestSchema: { type: "object", diff --git a/tests/wire/filestorage/folders.test.ts b/tests/wire/FileStorage/folders.test.ts similarity index 98% rename from tests/wire/filestorage/folders.test.ts rename to tests/wire/FileStorage/folders.test.ts index da8103572..0a4d2225b 100644 --- a/tests/wire/filestorage/folders.test.ts +++ b/tests/wire/FileStorage/folders.test.ts @@ -41,30 +41,14 @@ describe("FoldersClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/folders") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.folders.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - driveId: "drive_id", - expand: "drive", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - parentFolderId: "parent_folder_id", - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -99,7 +83,27 @@ describe("FoldersClient", () => { ], }, ], + }; + const page = await client.fileStorage.folders.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + driveId: "drive_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentFolderId: "parent_folder_id", + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -170,7 +174,7 @@ describe("FoldersClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.folders.create({ + const response = await client.fileStorage.folders.create({ isDebugMode: true, runAsync: true, model: {}, @@ -278,8 +282,7 @@ describe("FoldersClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.folders.retrieve("id", { - expand: "drive", + const response = await client.fileStorage.folders.retrieve("id", { includeRemoteData: true, includeShellData: true, }); @@ -499,7 +502,7 @@ describe("FoldersClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.folders.metaPostRetrieve(); + const response = await client.fileStorage.folders.metaPostRetrieve(); expect(response).toEqual({ requestSchema: { type: "object", diff --git a/tests/wire/filestorage/forceResync.test.ts b/tests/wire/FileStorage/forceResync.test.ts similarity index 96% rename from tests/wire/filestorage/forceResync.test.ts rename to tests/wire/FileStorage/forceResync.test.ts index b8c57c814..52fb98e78 100644 --- a/tests/wire/filestorage/forceResync.test.ts +++ b/tests/wire/FileStorage/forceResync.test.ts @@ -34,7 +34,7 @@ describe("ForceResyncClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.forceResync.syncStatusResyncCreate(); + const response = await client.fileStorage.forceResync.syncStatusResyncCreate(); expect(response).toEqual([ { modelName: "File", diff --git a/tests/wire/filestorage/generateKey.test.ts b/tests/wire/FileStorage/generateKey.test.ts similarity index 95% rename from tests/wire/filestorage/generateKey.test.ts rename to tests/wire/FileStorage/generateKey.test.ts index afd9c7c56..932cf42dd 100644 --- a/tests/wire/filestorage/generateKey.test.ts +++ b/tests/wire/FileStorage/generateKey.test.ts @@ -26,7 +26,7 @@ describe("GenerateKeyClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.generateKey.create({ + const response = await client.fileStorage.generateKey.create({ name: "Remote Deployment Key 1", }); expect(response).toEqual({ diff --git a/tests/wire/filestorage/groups.test.ts b/tests/wire/FileStorage/groups.test.ts similarity index 93% rename from tests/wire/filestorage/groups.test.ts rename to tests/wire/FileStorage/groups.test.ts index 8b3b67768..20199a59f 100644 --- a/tests/wire/filestorage/groups.test.ts +++ b/tests/wire/FileStorage/groups.test.ts @@ -35,27 +35,14 @@ describe("GroupsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/groups") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.groups.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "child_groups", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -84,7 +71,24 @@ describe("GroupsClient", () => { ], }, ], + }; + const page = await client.fileStorage.groups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -119,8 +123,7 @@ describe("GroupsClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.groups.retrieve("id", { - expand: "child_groups", + const response = await client.fileStorage.groups.retrieve("id", { includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/filestorage/issues.test.ts b/tests/wire/FileStorage/issues.test.ts similarity index 91% rename from tests/wire/filestorage/issues.test.ts rename to tests/wire/FileStorage/issues.test.ts index c6ea7c562..c3ec5058b 100644 --- a/tests/wire/filestorage/issues.test.ts +++ b/tests/wire/FileStorage/issues.test.ts @@ -30,30 +30,14 @@ describe("IssuesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/issues") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -70,7 +54,28 @@ describe("IssuesClient", () => { errorDetails: ["Missing employee permissions.", "Missing time off permissions."], }, ], + }; + const page = await client.fileStorage.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -100,7 +105,7 @@ describe("IssuesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.issues.retrieve("id"); + const response = await client.fileStorage.issues.retrieve("id"); expect(response).toEqual({ id: "3fa85f64-5717-4562-b3fc-2c963f66afa6", status: "ONGOING", diff --git a/tests/wire/filestorage/linkToken.test.ts b/tests/wire/FileStorage/linkToken.test.ts similarity index 96% rename from tests/wire/filestorage/linkToken.test.ts rename to tests/wire/FileStorage/linkToken.test.ts index fdc656ffc..a7761b6ea 100644 --- a/tests/wire/filestorage/linkToken.test.ts +++ b/tests/wire/FileStorage/linkToken.test.ts @@ -32,7 +32,7 @@ describe("LinkTokenClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.linkToken.create({ + const response = await client.fileStorage.linkToken.create({ endUserEmailAddress: "example@gmail.com", endUserOrganizationName: "Test Organization", endUserOriginId: "12345", diff --git a/tests/wire/filestorage/linkedAccounts.test.ts b/tests/wire/FileStorage/linkedAccounts.test.ts similarity index 92% rename from tests/wire/filestorage/linkedAccounts.test.ts rename to tests/wire/FileStorage/linkedAccounts.test.ts index b0f4b4940..98f732013 100644 --- a/tests/wire/filestorage/linkedAccounts.test.ts +++ b/tests/wire/FileStorage/linkedAccounts.test.ts @@ -45,34 +45,18 @@ describe("LinkedAccountsClient", () => { }, account_type: "PRODUCTION", completed_at: "2024-08-26T20:11:19Z", - integration_specific_fields: { integration_specific_field: "Varies by platform" }, }, ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/linked-accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -104,11 +88,28 @@ describe("LinkedAccountsClient", () => { }, accountType: "PRODUCTION", completedAt: new Date("2024-08-26T20:11:19.000Z"), - integrationSpecificFields: { - integration_specific_field: "Varies by platform", - }, }, ], + }; + const page = await client.fileStorage.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/filestorage/passthrough.test.ts b/tests/wire/FileStorage/passthrough.test.ts similarity index 97% rename from tests/wire/filestorage/passthrough.test.ts rename to tests/wire/FileStorage/passthrough.test.ts index c507438b7..e25f00f33 100644 --- a/tests/wire/filestorage/passthrough.test.ts +++ b/tests/wire/FileStorage/passthrough.test.ts @@ -36,7 +36,7 @@ describe("PassthroughClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.passthrough.create({ + const response = await client.fileStorage.passthrough.create({ method: "GET", path: "/scooters", }); diff --git a/tests/wire/filestorage/regenerateKey.test.ts b/tests/wire/FileStorage/regenerateKey.test.ts similarity index 95% rename from tests/wire/filestorage/regenerateKey.test.ts rename to tests/wire/FileStorage/regenerateKey.test.ts index 9407d89cf..4eb2ecaa6 100644 --- a/tests/wire/filestorage/regenerateKey.test.ts +++ b/tests/wire/FileStorage/regenerateKey.test.ts @@ -26,7 +26,7 @@ describe("RegenerateKeyClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.regenerateKey.create({ + const response = await client.fileStorage.regenerateKey.create({ name: "Remote Deployment Key 1", }); expect(response).toEqual({ diff --git a/tests/wire/filestorage/scopes.test.ts b/tests/wire/FileStorage/scopes.test.ts similarity index 98% rename from tests/wire/filestorage/scopes.test.ts rename to tests/wire/FileStorage/scopes.test.ts index ae5e7b183..e8ec2f73c 100644 --- a/tests/wire/filestorage/scopes.test.ts +++ b/tests/wire/FileStorage/scopes.test.ts @@ -49,7 +49,7 @@ describe("ScopesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.scopes.defaultScopesRetrieve(); + const response = await client.fileStorage.scopes.defaultScopesRetrieve(); expect(response).toEqual({ commonModels: [ { @@ -132,7 +132,7 @@ describe("ScopesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.scopes.linkedAccountScopesRetrieve(); + const response = await client.fileStorage.scopes.linkedAccountScopesRetrieve(); expect(response).toEqual({ commonModels: [ { @@ -228,7 +228,7 @@ describe("ScopesClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.scopes.linkedAccountScopesCreate({ + const response = await client.fileStorage.scopes.linkedAccountScopesCreate({ commonModels: [ { modelName: "Employee", diff --git a/tests/wire/filestorage/syncStatus.test.ts b/tests/wire/FileStorage/syncStatus.test.ts similarity index 86% rename from tests/wire/filestorage/syncStatus.test.ts rename to tests/wire/FileStorage/syncStatus.test.ts index 03ab6b4a1..66d4c8648 100644 --- a/tests/wire/filestorage/syncStatus.test.ts +++ b/tests/wire/FileStorage/syncStatus.test.ts @@ -31,18 +31,14 @@ describe("SyncStatusClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/sync-status") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.syncStatus.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -58,6 +54,15 @@ describe("SyncStatusClient", () => { selectiveSyncConfigurationsUsage: "IN_NEXT_SYNC", }, ], + }; + const page = await client.fileStorage.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/filestorage/users.test.ts b/tests/wire/FileStorage/users.test.ts similarity index 92% rename from tests/wire/filestorage/users.test.ts rename to tests/wire/FileStorage/users.test.ts index b053f6f20..296d8b0e5 100644 --- a/tests/wire/filestorage/users.test.ts +++ b/tests/wire/FileStorage/users.test.ts @@ -35,27 +35,14 @@ describe("UsersClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/filestorage/v1/users") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.users.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isMe: "is_me", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -84,7 +71,25 @@ describe("UsersClient", () => { ], }, ], + }; + const page = await client.fileStorage.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isMe: "is_me", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -119,7 +124,7 @@ describe("UsersClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.users.retrieve("id", { + const response = await client.fileStorage.users.retrieve("id", { includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/filestorage/webhookReceivers.test.ts b/tests/wire/FileStorage/webhookReceivers.test.ts similarity index 93% rename from tests/wire/filestorage/webhookReceivers.test.ts rename to tests/wire/FileStorage/webhookReceivers.test.ts index 06daa2d27..c118d506d 100644 --- a/tests/wire/filestorage/webhookReceivers.test.ts +++ b/tests/wire/FileStorage/webhookReceivers.test.ts @@ -22,7 +22,7 @@ describe("WebhookReceiversClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.webhookReceivers.list(); + const response = await client.fileStorage.webhookReceivers.list(); expect(response).toEqual([ { event: "event", @@ -51,7 +51,7 @@ describe("WebhookReceiversClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.filestorage.webhookReceivers.create({ + const response = await client.fileStorage.webhookReceivers.create({ event: "event", isActive: true, }); diff --git a/tests/wire/hris/accountDetails.test.ts b/tests/wire/HRIS/accountDetails.test.ts similarity index 100% rename from tests/wire/hris/accountDetails.test.ts rename to tests/wire/HRIS/accountDetails.test.ts diff --git a/tests/wire/hris/accountToken.test.ts b/tests/wire/HRIS/accountToken.test.ts similarity index 100% rename from tests/wire/hris/accountToken.test.ts rename to tests/wire/HRIS/accountToken.test.ts diff --git a/tests/wire/hris/asyncPassthrough.test.ts b/tests/wire/HRIS/asyncPassthrough.test.ts similarity index 100% rename from tests/wire/hris/asyncPassthrough.test.ts rename to tests/wire/HRIS/asyncPassthrough.test.ts diff --git a/tests/wire/hris/auditTrail.test.ts b/tests/wire/HRIS/auditTrail.test.ts similarity index 87% rename from tests/wire/hris/auditTrail.test.ts rename to tests/wire/HRIS/auditTrail.test.ts index 6ba0bd44e..51eef444b 100644 --- a/tests/wire/hris/auditTrail.test.ts +++ b/tests/wire/HRIS/auditTrail.test.ts @@ -31,22 +31,14 @@ describe("AuditTrailClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/audit-trail") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -62,6 +54,19 @@ describe("AuditTrailClient", () => { createdAt: new Date("2024-01-15T09:30:00.000Z"), }, ], + }; + const page = await client.hris.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/hris/availableActions.test.ts b/tests/wire/HRIS/availableActions.test.ts similarity index 100% rename from tests/wire/hris/availableActions.test.ts rename to tests/wire/HRIS/availableActions.test.ts diff --git a/tests/wire/hris/bankInfo.test.ts b/tests/wire/HRIS/bankInfo.test.ts similarity index 92% rename from tests/wire/hris/bankInfo.test.ts rename to tests/wire/HRIS/bankInfo.test.ts index e8b363486..f7c3887e4 100644 --- a/tests/wire/hris/bankInfo.test.ts +++ b/tests/wire/HRIS/bankInfo.test.ts @@ -37,28 +37,15 @@ describe("BankInfoClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/bank-info").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/bank-info") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.bankInfo.list({ - accountType: "CHECKING", - bankName: "bank_name", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - orderBy: "-remote_created_at", - pageSize: 1, - remoteFields: "account_type", - remoteId: "remote_id", - showEnumOrigins: "account_type", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -90,7 +77,30 @@ describe("BankInfoClient", () => { ], }, ], + }; + const page = await client.hris.bankInfo.list({ + accountType: "CHECKING", + bankName: "bank_name", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-remote_created_at", + pageSize: 1, + remoteFields: "account_type", + remoteId: "remote_id", + showEnumOrigins: "account_type", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -129,7 +139,6 @@ describe("BankInfoClient", () => { .build(); const response = await client.hris.bankInfo.retrieve("id", { - expand: "employee", includeRemoteData: true, includeShellData: true, remoteFields: "account_type", diff --git a/tests/wire/hris/benefits.test.ts b/tests/wire/HRIS/benefits.test.ts similarity index 92% rename from tests/wire/hris/benefits.test.ts rename to tests/wire/HRIS/benefits.test.ts index eaa19de8e..a0de65d80 100644 --- a/tests/wire/hris/benefits.test.ts +++ b/tests/wire/HRIS/benefits.test.ts @@ -28,8 +28,8 @@ describe("BenefitsClient", () => { company_contribution: 150, start_date: "2020-11-15T00:59:25Z", end_date: "2021-10-15T00:23:25Z", - employer_benefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", remote_was_deleted: true, + employer_benefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", field_mappings: { organization_defined_targets: { custom_key: "custom_value" }, linked_account_defined_targets: { custom_key: "custom_value" }, @@ -38,23 +38,15 @@ describe("BenefitsClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/benefits").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/benefits") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.benefits.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -69,8 +61,8 @@ describe("BenefitsClient", () => { companyContribution: 150, startDate: new Date("2020-11-15T00:59:25.000Z"), endDate: new Date("2021-10-15T00:23:25.000Z"), - employerBenefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", remoteWasDeleted: true, + employerBenefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", fieldMappings: { organization_defined_targets: { custom_key: "custom_value", @@ -87,7 +79,25 @@ describe("BenefitsClient", () => { ], }, ], + }; + const page = await client.hris.benefits.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -110,8 +120,8 @@ describe("BenefitsClient", () => { company_contribution: 150, start_date: "2020-11-15T00:59:25Z", end_date: "2021-10-15T00:23:25Z", - employer_benefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", remote_was_deleted: true, + employer_benefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", field_mappings: { organization_defined_targets: { custom_key: "custom_value" }, linked_account_defined_targets: { custom_key: "custom_value" }, @@ -127,7 +137,6 @@ describe("BenefitsClient", () => { .build(); const response = await client.hris.benefits.retrieve("id", { - expand: "employee", includeRemoteData: true, includeShellData: true, }); @@ -142,8 +151,8 @@ describe("BenefitsClient", () => { companyContribution: 150, startDate: new Date("2020-11-15T00:59:25.000Z"), endDate: new Date("2021-10-15T00:23:25.000Z"), - employerBenefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", remoteWasDeleted: true, + employerBenefit: "025fjlc6-6000-430a-848e-aafacbadf4fe", fieldMappings: { organization_defined_targets: { custom_key: "custom_value", diff --git a/tests/wire/hris/companies.test.ts b/tests/wire/HRIS/companies.test.ts similarity index 91% rename from tests/wire/hris/companies.test.ts rename to tests/wire/HRIS/companies.test.ts index 909e629ab..a70d3c4e5 100644 --- a/tests/wire/hris/companies.test.ts +++ b/tests/wire/HRIS/companies.test.ts @@ -34,21 +34,15 @@ describe("CompaniesClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/companies").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/companies") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.companies.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -77,7 +71,24 @@ describe("CompaniesClient", () => { ], }, ], + }; + const page = await client.hris.companies.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/deleteAccount.test.ts b/tests/wire/HRIS/deleteAccount.test.ts similarity index 100% rename from tests/wire/hris/deleteAccount.test.ts rename to tests/wire/HRIS/deleteAccount.test.ts diff --git a/tests/wire/hris/dependents.test.ts b/tests/wire/HRIS/dependents.test.ts similarity index 95% rename from tests/wire/hris/dependents.test.ts rename to tests/wire/HRIS/dependents.test.ts index d7da45bb7..8b06fcbcf 100644 --- a/tests/wire/hris/dependents.test.ts +++ b/tests/wire/HRIS/dependents.test.ts @@ -43,28 +43,14 @@ describe("DependentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/dependents") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.dependents.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - includeDeletedData: true, - includeRemoteData: true, - includeSensitiveFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -101,7 +87,25 @@ describe("DependentsClient", () => { ], }, ], + }; + const page = await client.hris.dependents.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeSensitiveFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/employeePayrollRuns.test.ts b/tests/wire/HRIS/employeePayrollRuns.test.ts similarity index 98% rename from tests/wire/hris/employeePayrollRuns.test.ts rename to tests/wire/HRIS/employeePayrollRuns.test.ts index 0950c78cd..e482450d7 100644 --- a/tests/wire/hris/employeePayrollRuns.test.ts +++ b/tests/wire/HRIS/employeePayrollRuns.test.ts @@ -100,33 +100,14 @@ describe("EmployeePayrollRunsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/employee-payroll-runs") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.employeePayrollRuns.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - payrollRunId: "payroll_run_id", - remoteId: "remote_id", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -241,7 +222,30 @@ describe("EmployeePayrollRunsClient", () => { ], }, ], + }; + const page = await client.hris.employeePayrollRuns.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + payrollRunId: "payroll_run_id", + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -349,7 +353,6 @@ describe("EmployeePayrollRunsClient", () => { .build(); const response = await client.hris.employeePayrollRuns.retrieve("id", { - expand: "employee", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/hris/employees.test.ts b/tests/wire/HRIS/employees.test.ts similarity index 98% rename from tests/wire/hris/employees.test.ts rename to tests/wire/HRIS/employees.test.ts index a41441cc1..61eeaeadf 100644 --- a/tests/wire/hris/employees.test.ts +++ b/tests/wire/HRIS/employees.test.ts @@ -58,45 +58,15 @@ describe("EmployeesClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/employees").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/employees") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.employees.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - displayFullName: "display_full_name", - employeeNumber: "employee_number", - employmentStatus: "ACTIVE", - employmentType: "employment_type", - expand: "company", - firstName: "first_name", - groups: "groups", - homeLocationId: "home_location_id", - includeDeletedData: true, - includeRemoteData: true, - includeSensitiveFields: true, - includeShellData: true, - jobTitle: "job_title", - lastName: "last_name", - managerId: "manager_id", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - payGroupId: "pay_group_id", - personalEmail: "personal_email", - remoteFields: "employment_status", - remoteId: "remote_id", - showEnumOrigins: "employment_status", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - teamId: "team_id", - terminatedAfter: new Date("2024-01-15T09:30:00.000Z"), - terminatedBefore: new Date("2024-01-15T09:30:00.000Z"), - workEmail: "work_email", - workLocationId: "work_location_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -151,7 +121,46 @@ describe("EmployeesClient", () => { ], }, ], + }; + const page = await client.hris.employees.list({ + companyId: "company_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + displayFullName: "display_full_name", + employmentStatus: "ACTIVE", + employmentType: "employment_type", + firstName: "first_name", + groups: "groups", + homeLocationId: "home_location_id", + includeDeletedData: true, + includeRemoteData: true, + includeSensitiveFields: true, + includeShellData: true, + jobTitle: "job_title", + lastName: "last_name", + managerId: "manager_id", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + payGroupId: "pay_group_id", + personalEmail: "personal_email", + remoteFields: "employment_status", + remoteId: "remote_id", + showEnumOrigins: "employment_status", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), + teamId: "team_id", + terminatedAfter: new Date("2024-01-15T09:30:00.000Z"), + terminatedBefore: new Date("2024-01-15T09:30:00.000Z"), + workEmail: "work_email", + workLocationId: "work_location_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -387,7 +396,6 @@ describe("EmployeesClient", () => { .build(); const response = await client.hris.employees.retrieve("id", { - expand: "company", includeRemoteData: true, includeSensitiveFields: true, includeShellData: true, diff --git a/tests/wire/hris/employerBenefits.test.ts b/tests/wire/HRIS/employerBenefits.test.ts similarity index 94% rename from tests/wire/hris/employerBenefits.test.ts rename to tests/wire/HRIS/employerBenefits.test.ts index f07a5960e..8197f342a 100644 --- a/tests/wire/hris/employerBenefits.test.ts +++ b/tests/wire/HRIS/employerBenefits.test.ts @@ -36,26 +36,14 @@ describe("EmployerBenefitsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/employer-benefits") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.employerBenefits.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -85,7 +73,24 @@ describe("EmployerBenefitsClient", () => { ], }, ], + }; + const page = await client.hris.employerBenefits.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/employments.test.ts b/tests/wire/HRIS/employments.test.ts similarity index 95% rename from tests/wire/hris/employments.test.ts rename to tests/wire/HRIS/employments.test.ts index 4070d1d16..951e0abd0 100644 --- a/tests/wire/hris/employments.test.ts +++ b/tests/wire/HRIS/employments.test.ts @@ -42,31 +42,14 @@ describe("EmploymentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/employments") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.employments.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - orderBy: "-effective_date", - pageSize: 1, - remoteFields: "employment_type", - remoteId: "remote_id", - showEnumOrigins: "employment_type", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -102,7 +85,28 @@ describe("EmploymentsClient", () => { ], }, ], + }; + const page = await client.hris.employments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-effective_date", + pageSize: 1, + remoteFields: "employment_type", + remoteId: "remote_id", + showEnumOrigins: "employment_type", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -145,7 +149,6 @@ describe("EmploymentsClient", () => { .build(); const response = await client.hris.employments.retrieve("id", { - expand: "employee", includeRemoteData: true, includeShellData: true, remoteFields: "employment_type", diff --git a/tests/wire/hris/fieldMapping.test.ts b/tests/wire/HRIS/fieldMapping.test.ts similarity index 97% rename from tests/wire/hris/fieldMapping.test.ts rename to tests/wire/HRIS/fieldMapping.test.ts index df1ba9eb3..1cf16f03e 100644 --- a/tests/wire/hris/fieldMapping.test.ts +++ b/tests/wire/HRIS/fieldMapping.test.ts @@ -32,7 +32,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], EmployerBenefit: [ @@ -53,7 +52,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Company: [ @@ -74,7 +72,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], EmployeePayrollRun: [ @@ -95,7 +92,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Employee: [ @@ -116,7 +112,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Employment: [ @@ -137,7 +132,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Location: [ @@ -158,7 +152,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], PayrollRun: [ @@ -179,7 +172,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Team: [ @@ -200,7 +192,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], TimeOff: [ @@ -221,7 +212,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], TimeOffBalance: [ @@ -242,7 +232,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], BankInfo: [ @@ -263,7 +252,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], PayGroup: [ @@ -284,7 +272,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Group: [ @@ -305,7 +292,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Dependent: [ @@ -326,7 +312,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], TimesheetEntry: [ @@ -347,7 +332,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], }; @@ -383,7 +367,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], employerBenefit: [ @@ -406,7 +389,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], company: [ @@ -429,7 +411,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], employeePayrollRun: [ @@ -452,7 +433,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], employee: [ @@ -475,7 +455,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], employment: [ @@ -498,7 +477,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], location: [ @@ -521,7 +499,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], payrollRun: [ @@ -544,7 +521,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], team: [ @@ -567,7 +543,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], timeOff: [ @@ -590,7 +565,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], timeOffBalance: [ @@ -613,7 +587,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], bankInfo: [ @@ -636,7 +609,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], payGroup: [ @@ -659,7 +631,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], group: [ @@ -682,7 +653,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], dependent: [ @@ -705,7 +675,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], timesheetEntry: [ @@ -728,7 +697,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], }); @@ -768,7 +736,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, warnings: [ { @@ -836,7 +803,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, warnings: [ { @@ -899,7 +865,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, warnings: [ { @@ -958,7 +923,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, warnings: [ { @@ -1021,7 +985,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, warnings: [ { @@ -1081,7 +1044,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, warnings: [ { diff --git a/tests/wire/hris/forceResync.test.ts b/tests/wire/HRIS/forceResync.test.ts similarity index 100% rename from tests/wire/hris/forceResync.test.ts rename to tests/wire/HRIS/forceResync.test.ts diff --git a/tests/wire/hris/generateKey.test.ts b/tests/wire/HRIS/generateKey.test.ts similarity index 100% rename from tests/wire/hris/generateKey.test.ts rename to tests/wire/HRIS/generateKey.test.ts diff --git a/tests/wire/hris/groups.test.ts b/tests/wire/HRIS/groups.test.ts similarity index 91% rename from tests/wire/hris/groups.test.ts rename to tests/wire/HRIS/groups.test.ts index 486cec172..77b0b67ed 100644 --- a/tests/wire/hris/groups.test.ts +++ b/tests/wire/HRIS/groups.test.ts @@ -35,26 +35,15 @@ describe("GroupsClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/groups").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/groups") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.groups.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonlyUsedAsTeam: "is_commonly_used_as_team", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - names: "names", - pageSize: 1, - remoteFields: "type", - remoteId: "remote_id", - showEnumOrigins: "type", - types: "types", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -84,7 +73,29 @@ describe("GroupsClient", () => { ], }, ], + }; + const page = await client.hris.groups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonlyUsedAsTeam: "is_commonly_used_as_team", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + names: "names", + pageSize: 1, + remoteFields: "type", + remoteId: "remote_id", + showEnumOrigins: "type", + types: "types", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/issues.test.ts b/tests/wire/HRIS/issues.test.ts similarity index 89% rename from tests/wire/hris/issues.test.ts rename to tests/wire/HRIS/issues.test.ts index d4b850c3a..1649699eb 100644 --- a/tests/wire/hris/issues.test.ts +++ b/tests/wire/HRIS/issues.test.ts @@ -29,25 +29,15 @@ describe("IssuesClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/issues").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/issues") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -64,7 +54,28 @@ describe("IssuesClient", () => { errorDetails: ["Missing employee permissions.", "Missing time off permissions."], }, ], + }; + const page = await client.hris.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/linkToken.test.ts b/tests/wire/HRIS/linkToken.test.ts similarity index 100% rename from tests/wire/hris/linkToken.test.ts rename to tests/wire/HRIS/linkToken.test.ts diff --git a/tests/wire/hris/linkedAccounts.test.ts b/tests/wire/HRIS/linkedAccounts.test.ts similarity index 92% rename from tests/wire/hris/linkedAccounts.test.ts rename to tests/wire/HRIS/linkedAccounts.test.ts index 779d8a6f0..39f0ce112 100644 --- a/tests/wire/hris/linkedAccounts.test.ts +++ b/tests/wire/HRIS/linkedAccounts.test.ts @@ -45,34 +45,18 @@ describe("LinkedAccountsClient", () => { }, account_type: "PRODUCTION", completed_at: "2024-08-26T20:11:19Z", - integration_specific_fields: { integration_specific_field: "Varies by platform" }, }, ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/linked-accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -104,11 +88,28 @@ describe("LinkedAccountsClient", () => { }, accountType: "PRODUCTION", completedAt: new Date("2024-08-26T20:11:19.000Z"), - integrationSpecificFields: { - integration_specific_field: "Varies by platform", - }, }, ], + }; + const page = await client.hris.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/hris/locations.test.ts b/tests/wire/HRIS/locations.test.ts similarity index 92% rename from tests/wire/hris/locations.test.ts rename to tests/wire/HRIS/locations.test.ts index 33f45fc18..5d19cd321 100644 --- a/tests/wire/hris/locations.test.ts +++ b/tests/wire/HRIS/locations.test.ts @@ -40,24 +40,15 @@ describe("LocationsClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/locations").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/locations") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.locations.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - locationType: "HOME", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "country", - remoteId: "remote_id", - showEnumOrigins: "country", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -92,7 +83,27 @@ describe("LocationsClient", () => { ], }, ], + }; + const page = await client.hris.locations.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + locationType: "HOME", + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "country", + remoteId: "remote_id", + showEnumOrigins: "country", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/passthrough.test.ts b/tests/wire/HRIS/passthrough.test.ts similarity index 100% rename from tests/wire/hris/passthrough.test.ts rename to tests/wire/HRIS/passthrough.test.ts diff --git a/tests/wire/hris/payGroups.test.ts b/tests/wire/HRIS/payGroups.test.ts similarity index 93% rename from tests/wire/hris/payGroups.test.ts rename to tests/wire/HRIS/payGroups.test.ts index 5fb7f32d2..bba653851 100644 --- a/tests/wire/hris/payGroups.test.ts +++ b/tests/wire/HRIS/payGroups.test.ts @@ -33,26 +33,14 @@ describe("PayGroupsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/pay-groups") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.payGroups.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -79,7 +67,24 @@ describe("PayGroupsClient", () => { ], }, ], + }; + const page = await client.hris.payGroups.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/payrollRuns.test.ts b/tests/wire/HRIS/payrollRuns.test.ts similarity index 94% rename from tests/wire/hris/payrollRuns.test.ts rename to tests/wire/HRIS/payrollRuns.test.ts index 582ffa247..6429c40de 100644 --- a/tests/wire/hris/payrollRuns.test.ts +++ b/tests/wire/HRIS/payrollRuns.test.ts @@ -37,33 +37,14 @@ describe("PayrollRunsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/payroll-runs") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.payrollRuns.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "run_state", - remoteId: "remote_id", - runType: "CORRECTION", - showEnumOrigins: "run_state", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -94,7 +75,31 @@ describe("PayrollRunsClient", () => { ], }, ], + }; + const page = await client.hris.payrollRuns.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "run_state", + remoteId: "remote_id", + runType: "CORRECTION", + showEnumOrigins: "run_state", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/hris/regenerateKey.test.ts b/tests/wire/HRIS/regenerateKey.test.ts similarity index 100% rename from tests/wire/hris/regenerateKey.test.ts rename to tests/wire/HRIS/regenerateKey.test.ts diff --git a/tests/wire/hris/scopes.test.ts b/tests/wire/HRIS/scopes.test.ts similarity index 100% rename from tests/wire/hris/scopes.test.ts rename to tests/wire/HRIS/scopes.test.ts diff --git a/tests/wire/hris/syncStatus.test.ts b/tests/wire/HRIS/syncStatus.test.ts similarity index 86% rename from tests/wire/hris/syncStatus.test.ts rename to tests/wire/HRIS/syncStatus.test.ts index 6b5715d63..2c0a64925 100644 --- a/tests/wire/hris/syncStatus.test.ts +++ b/tests/wire/HRIS/syncStatus.test.ts @@ -31,18 +31,14 @@ describe("SyncStatusClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/sync-status") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.syncStatus.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -58,6 +54,15 @@ describe("SyncStatusClient", () => { selectiveSyncConfigurationsUsage: "IN_NEXT_SYNC", }, ], + }; + const page = await client.hris.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/hris/teams.test.ts b/tests/wire/HRIS/teams.test.ts similarity index 91% rename from tests/wire/hris/teams.test.ts rename to tests/wire/HRIS/teams.test.ts index 287f1ce0e..c24afbe42 100644 --- a/tests/wire/hris/teams.test.ts +++ b/tests/wire/HRIS/teams.test.ts @@ -33,23 +33,15 @@ describe("TeamsClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/teams").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/teams") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.teams.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "parent_team", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - parentTeamId: "parent_team_id", - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -77,7 +69,25 @@ describe("TeamsClient", () => { ], }, ], + }; + const page = await client.hris.teams.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + parentTeamId: "parent_team_id", + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -106,7 +116,6 @@ describe("TeamsClient", () => { server.mockEndpoint().get("/hris/v1/teams/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); const response = await client.hris.teams.retrieve("id", { - expand: "parent_team", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/hris/timeOff.test.ts b/tests/wire/HRIS/timeOff.test.ts similarity index 98% rename from tests/wire/hris/timeOff.test.ts rename to tests/wire/HRIS/timeOff.test.ts index 018cd5231..29b133758 100644 --- a/tests/wire/hris/timeOff.test.ts +++ b/tests/wire/HRIS/timeOff.test.ts @@ -40,32 +40,15 @@ describe("TimeOffClient", () => { }, ], }; - server.mockEndpoint().get("/hris/v1/time-off").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/hris/v1/time-off") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.hris.timeOff.list({ - approverId: "approver_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "approver", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteFields: "request_type", - remoteId: "remote_id", - requestType: "BEREAVEMENT", - showEnumOrigins: "request_type", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - status: "APPROVED", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -100,7 +83,34 @@ describe("TimeOffClient", () => { ], }, ], + }; + const page = await client.hris.timeOff.list({ + approverId: "approver_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteFields: "request_type", + remoteId: "remote_id", + requestType: "BEREAVEMENT", + showEnumOrigins: "request_type", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), + status: "APPROVED", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -280,7 +290,6 @@ describe("TimeOffClient", () => { .build(); const response = await client.hris.timeOff.retrieve("id", { - expand: "approver", includeRemoteData: true, includeShellData: true, remoteFields: "request_type", diff --git a/tests/wire/hris/timeOffBalances.test.ts b/tests/wire/HRIS/timeOffBalances.test.ts similarity index 94% rename from tests/wire/hris/timeOffBalances.test.ts rename to tests/wire/HRIS/timeOffBalances.test.ts index 49f13d589..f0c1864b6 100644 --- a/tests/wire/hris/timeOffBalances.test.ts +++ b/tests/wire/HRIS/timeOffBalances.test.ts @@ -36,31 +36,14 @@ describe("TimeOffBalancesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/time-off-balances") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.timeOffBalances.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - policyType: "BEREAVEMENT", - remoteFields: "policy_type", - remoteId: "remote_id", - showEnumOrigins: "policy_type", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -90,7 +73,28 @@ describe("TimeOffBalancesClient", () => { ], }, ], + }; + const page = await client.hris.timeOffBalances.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + policyType: "BEREAVEMENT", + remoteFields: "policy_type", + remoteId: "remote_id", + showEnumOrigins: "policy_type", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -127,7 +131,6 @@ describe("TimeOffBalancesClient", () => { .build(); const response = await client.hris.timeOffBalances.retrieve("id", { - expand: "employee", includeRemoteData: true, includeShellData: true, remoteFields: "policy_type", diff --git a/tests/wire/hris/timesheetEntries.test.ts b/tests/wire/HRIS/timesheetEntries.test.ts similarity index 98% rename from tests/wire/hris/timesheetEntries.test.ts rename to tests/wire/HRIS/timesheetEntries.test.ts index f53c9f738..6e6504f44 100644 --- a/tests/wire/hris/timesheetEntries.test.ts +++ b/tests/wire/HRIS/timesheetEntries.test.ts @@ -36,33 +36,14 @@ describe("TimesheetEntriesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/hris/v1/timesheet-entries") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.hris.timesheetEntries.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employeeId: "employee_id", - endedAfter: new Date("2024-01-15T09:30:00.000Z"), - endedBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "employee", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - orderBy: "-start_time", - pageSize: 1, - remoteId: "remote_id", - startedAfter: new Date("2024-01-15T09:30:00.000Z"), - startedBefore: new Date("2024-01-15T09:30:00.000Z"), - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -92,7 +73,30 @@ describe("TimesheetEntriesClient", () => { ], }, ], + }; + const page = await client.hris.timesheetEntries.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employeeId: "employee_id", + endedAfter: new Date("2024-01-15T09:30:00.000Z"), + endedBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + orderBy: "-start_time", + pageSize: 1, + remoteId: "remote_id", + startedAfter: new Date("2024-01-15T09:30:00.000Z"), + startedBefore: new Date("2024-01-15T09:30:00.000Z"), }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -257,7 +261,6 @@ describe("TimesheetEntriesClient", () => { .build(); const response = await client.hris.timesheetEntries.retrieve("id", { - expand: "employee", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/hris/webhookReceivers.test.ts b/tests/wire/HRIS/webhookReceivers.test.ts similarity index 100% rename from tests/wire/hris/webhookReceivers.test.ts rename to tests/wire/HRIS/webhookReceivers.test.ts diff --git a/tests/wire/ticketing/accountDetails.test.ts b/tests/wire/Ticketing/accountDetails.test.ts similarity index 100% rename from tests/wire/ticketing/accountDetails.test.ts rename to tests/wire/Ticketing/accountDetails.test.ts diff --git a/tests/wire/ticketing/accountToken.test.ts b/tests/wire/Ticketing/accountToken.test.ts similarity index 100% rename from tests/wire/ticketing/accountToken.test.ts rename to tests/wire/Ticketing/accountToken.test.ts diff --git a/tests/wire/ticketing/accounts.test.ts b/tests/wire/Ticketing/accounts.test.ts similarity index 94% rename from tests/wire/ticketing/accounts.test.ts rename to tests/wire/Ticketing/accounts.test.ts index 011262b99..052cd1a4c 100644 --- a/tests/wire/ticketing/accounts.test.ts +++ b/tests/wire/Ticketing/accounts.test.ts @@ -34,26 +34,14 @@ describe("AccountsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.accounts.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -81,7 +69,24 @@ describe("AccountsClient", () => { ], }, ], + }; + const page = await client.ticketing.accounts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ticketing/asyncPassthrough.test.ts b/tests/wire/Ticketing/asyncPassthrough.test.ts similarity index 100% rename from tests/wire/ticketing/asyncPassthrough.test.ts rename to tests/wire/Ticketing/asyncPassthrough.test.ts diff --git a/tests/wire/ticketing/attachments.test.ts b/tests/wire/Ticketing/attachments.test.ts similarity index 98% rename from tests/wire/ticketing/attachments.test.ts rename to tests/wire/Ticketing/attachments.test.ts index 811624dc8..8d61e25ab 100644 --- a/tests/wire/ticketing/attachments.test.ts +++ b/tests/wire/Ticketing/attachments.test.ts @@ -38,29 +38,14 @@ describe("AttachmentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/attachments") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.attachments.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "ticket", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteId: "remote_id", - ticketId: "ticket_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -92,7 +77,26 @@ describe("AttachmentsClient", () => { ], }, ], + }; + const page = await client.ticketing.attachments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteId: "remote_id", + ticketId: "ticket_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -263,7 +267,6 @@ describe("AttachmentsClient", () => { .build(); const response = await client.ticketing.attachments.retrieve("id", { - expand: "ticket", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ticketing/auditTrail.test.ts b/tests/wire/Ticketing/auditTrail.test.ts similarity index 87% rename from tests/wire/ticketing/auditTrail.test.ts rename to tests/wire/Ticketing/auditTrail.test.ts index d9e1553c3..629b805c6 100644 --- a/tests/wire/ticketing/auditTrail.test.ts +++ b/tests/wire/Ticketing/auditTrail.test.ts @@ -31,22 +31,14 @@ describe("AuditTrailClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/audit-trail") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.auditTrail.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - eventType: "event_type", - pageSize: 1, - startDate: "start_date", - userEmail: "user_email", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -62,6 +54,19 @@ describe("AuditTrailClient", () => { createdAt: new Date("2024-01-15T09:30:00.000Z"), }, ], + }; + const page = await client.ticketing.auditTrail.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + eventType: "event_type", + pageSize: 1, + startDate: "start_date", + userEmail: "user_email", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ticketing/availableActions.test.ts b/tests/wire/Ticketing/availableActions.test.ts similarity index 100% rename from tests/wire/ticketing/availableActions.test.ts rename to tests/wire/Ticketing/availableActions.test.ts diff --git a/tests/wire/ticketing/collections.test.ts b/tests/wire/Ticketing/collections.test.ts similarity index 92% rename from tests/wire/ticketing/collections.test.ts rename to tests/wire/Ticketing/collections.test.ts index 8def1180f..9855c6d7c 100644 --- a/tests/wire/ticketing/collections.test.ts +++ b/tests/wire/Ticketing/collections.test.ts @@ -40,32 +40,14 @@ describe("CollectionsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/collections") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.collections.list({ - collectionType: "", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "parent_collection", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - parentCollectionId: "parent_collection_id", - remoteFields: "collection_type", - remoteId: "remote_id", - showEnumOrigins: "collection_type", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -99,7 +81,29 @@ describe("CollectionsClient", () => { ], }, ], + }; + const page = await client.ticketing.collections.list({ + collectionType: "", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentCollectionId: "parent_collection_id", + remoteFields: "collection_type", + remoteId: "remote_id", + showEnumOrigins: "collection_type", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("viewersList", async () => { @@ -126,22 +130,14 @@ describe("CollectionsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/collections/collection_id/viewers") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.collections.viewersList("collection_id", { - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "team", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -154,7 +150,19 @@ describe("CollectionsClient", () => { user: "user", }, ], + }; + const page = await client.ticketing.collections.viewersList("collection_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -195,7 +203,6 @@ describe("CollectionsClient", () => { .build(); const response = await client.ticketing.collections.retrieve("id", { - expand: "parent_collection", includeRemoteData: true, includeShellData: true, remoteFields: "collection_type", diff --git a/tests/wire/ticketing/comments.test.ts b/tests/wire/Ticketing/comments.test.ts similarity index 98% rename from tests/wire/ticketing/comments.test.ts rename to tests/wire/Ticketing/comments.test.ts index b59014d04..88e26b657 100644 --- a/tests/wire/ticketing/comments.test.ts +++ b/tests/wire/Ticketing/comments.test.ts @@ -39,29 +39,14 @@ describe("CommentsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/comments") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.comments.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "contact", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteId: "remote_id", - ticketId: "ticket_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -94,7 +79,26 @@ describe("CommentsClient", () => { ], }, ], + }; + const page = await client.ticketing.comments.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteId: "remote_id", + ticketId: "ticket_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -268,7 +272,6 @@ describe("CommentsClient", () => { .build(); const response = await client.ticketing.comments.retrieve("id", { - expand: "contact", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ticketing/contacts.test.ts b/tests/wire/Ticketing/contacts.test.ts similarity index 98% rename from tests/wire/ticketing/contacts.test.ts rename to tests/wire/Ticketing/contacts.test.ts index 5694f277e..ae9783968 100644 --- a/tests/wire/ticketing/contacts.test.ts +++ b/tests/wire/Ticketing/contacts.test.ts @@ -37,28 +37,14 @@ describe("ContactsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/contacts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.contacts.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddress: "email_address", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -89,7 +75,25 @@ describe("ContactsClient", () => { ], }, ], + }; + const page = await client.ticketing.contacts.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -257,7 +261,6 @@ describe("ContactsClient", () => { .build(); const response = await client.ticketing.contacts.retrieve("id", { - expand: "account", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ticketing/deleteAccount.test.ts b/tests/wire/Ticketing/deleteAccount.test.ts similarity index 100% rename from tests/wire/ticketing/deleteAccount.test.ts rename to tests/wire/Ticketing/deleteAccount.test.ts diff --git a/tests/wire/ticketing/fieldMapping.test.ts b/tests/wire/Ticketing/fieldMapping.test.ts similarity index 97% rename from tests/wire/ticketing/fieldMapping.test.ts rename to tests/wire/Ticketing/fieldMapping.test.ts index bb4f64225..e4f7eb0f6 100644 --- a/tests/wire/ticketing/fieldMapping.test.ts +++ b/tests/wire/Ticketing/fieldMapping.test.ts @@ -32,7 +32,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Comment: [ @@ -53,7 +52,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Project: [ @@ -74,7 +72,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Collection: [ @@ -95,7 +92,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], User: [ @@ -116,7 +112,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Role: [ @@ -137,7 +132,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Account: [ @@ -158,7 +152,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Team: [ @@ -179,7 +172,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Attachment: [ @@ -200,7 +192,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Tag: [ @@ -221,7 +212,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], Contact: [ @@ -242,7 +232,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, ], }; @@ -278,7 +267,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], comment: [ @@ -301,7 +289,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], project: [ @@ -324,7 +311,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], collection: [ @@ -347,7 +333,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], user: [ @@ -370,7 +355,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], role: [ @@ -393,7 +377,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], account: [ @@ -416,7 +399,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], team: [ @@ -439,7 +421,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], attachment: [ @@ -462,7 +443,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], tag: [ @@ -485,7 +465,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], contact: [ @@ -508,7 +487,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, ], }); @@ -548,7 +526,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, warnings: [ { @@ -616,7 +593,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, warnings: [ { @@ -679,7 +655,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, warnings: [ { @@ -738,7 +713,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, warnings: [ { @@ -801,7 +775,6 @@ describe("FieldMappingClient", () => { field_traversal_path: ["example_remote_field_key"], }, }, - jmes_path: "[0].example_jmes_path", }, warnings: [ { @@ -861,7 +834,6 @@ describe("FieldMappingClient", () => { fieldTraversalPath: ["example_remote_field_key"], }, }, - jmesPath: "[0].example_jmes_path", }, warnings: [ { diff --git a/tests/wire/ticketing/forceResync.test.ts b/tests/wire/Ticketing/forceResync.test.ts similarity index 100% rename from tests/wire/ticketing/forceResync.test.ts rename to tests/wire/Ticketing/forceResync.test.ts diff --git a/tests/wire/ticketing/generateKey.test.ts b/tests/wire/Ticketing/generateKey.test.ts similarity index 100% rename from tests/wire/ticketing/generateKey.test.ts rename to tests/wire/Ticketing/generateKey.test.ts diff --git a/tests/wire/ticketing/issues.test.ts b/tests/wire/Ticketing/issues.test.ts similarity index 92% rename from tests/wire/ticketing/issues.test.ts rename to tests/wire/Ticketing/issues.test.ts index b8334c5e7..380585a3e 100644 --- a/tests/wire/ticketing/issues.test.ts +++ b/tests/wire/Ticketing/issues.test.ts @@ -30,30 +30,14 @@ describe("IssuesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/issues") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.issues.list({ - accountToken: "account_token", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endDate: "end_date", - endUserOrganizationName: "end_user_organization_name", - firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - includeMuted: "include_muted", - integrationName: "integration_name", - lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), - lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), - linkedAccountId: "linked_account_id", - pageSize: 1, - startDate: "start_date", - status: "ONGOING", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -70,7 +54,28 @@ describe("IssuesClient", () => { errorDetails: ["Missing employee permissions.", "Missing time off permissions."], }, ], + }; + const page = await client.ticketing.issues.list({ + accountToken: "account_token", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endDate: "end_date", + endUserOrganizationName: "end_user_organization_name", + firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + includeMuted: "include_muted", + integrationName: "integration_name", + lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"), + lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"), + linkedAccountId: "linked_account_id", + pageSize: 1, + startDate: "start_date", + status: "ONGOING", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ticketing/linkToken.test.ts b/tests/wire/Ticketing/linkToken.test.ts similarity index 100% rename from tests/wire/ticketing/linkToken.test.ts rename to tests/wire/Ticketing/linkToken.test.ts diff --git a/tests/wire/ticketing/linkedAccounts.test.ts b/tests/wire/Ticketing/linkedAccounts.test.ts similarity index 92% rename from tests/wire/ticketing/linkedAccounts.test.ts rename to tests/wire/Ticketing/linkedAccounts.test.ts index d5185a037..0253b401d 100644 --- a/tests/wire/ticketing/linkedAccounts.test.ts +++ b/tests/wire/Ticketing/linkedAccounts.test.ts @@ -45,34 +45,18 @@ describe("LinkedAccountsClient", () => { }, account_type: "PRODUCTION", completed_at: "2024-08-26T20:11:19Z", - integration_specific_fields: { integration_specific_field: "Varies by platform" }, }, ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/linked-accounts") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.linkedAccounts.list({ - category: "accounting", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - endUserEmailAddress: "end_user_email_address", - endUserOrganizationName: "end_user_organization_name", - endUserOriginId: "end_user_origin_id", - endUserOriginIds: "end_user_origin_ids", - id: "id", - ids: "ids", - includeDuplicates: true, - integrationName: "integration_name", - isTestAccount: "is_test_account", - pageSize: 1, - status: "status", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -104,11 +88,28 @@ describe("LinkedAccountsClient", () => { }, accountType: "PRODUCTION", completedAt: new Date("2024-08-26T20:11:19.000Z"), - integrationSpecificFields: { - integration_specific_field: "Varies by platform", - }, }, ], + }; + const page = await client.ticketing.linkedAccounts.list({ + category: "accounting", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + endUserEmailAddress: "end_user_email_address", + endUserOrganizationName: "end_user_organization_name", + endUserOriginId: "end_user_origin_id", + endUserOriginIds: "end_user_origin_ids", + id: "id", + ids: "ids", + includeDuplicates: true, + integrationName: "integration_name", + isTestAccount: "is_test_account", + pageSize: 1, + status: "status", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ticketing/passthrough.test.ts b/tests/wire/Ticketing/passthrough.test.ts similarity index 100% rename from tests/wire/ticketing/passthrough.test.ts rename to tests/wire/Ticketing/passthrough.test.ts diff --git a/tests/wire/ticketing/projects.test.ts b/tests/wire/Ticketing/projects.test.ts similarity index 92% rename from tests/wire/ticketing/projects.test.ts rename to tests/wire/Ticketing/projects.test.ts index 4ae21389f..f4c66080d 100644 --- a/tests/wire/ticketing/projects.test.ts +++ b/tests/wire/Ticketing/projects.test.ts @@ -34,26 +34,14 @@ describe("ProjectsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/projects") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.projects.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -81,7 +69,24 @@ describe("ProjectsClient", () => { ], }, ], + }; + const page = await client.ticketing.projects.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -178,22 +183,14 @@ describe("ProjectsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/projects/parent_id/users") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.projects.usersList("parent_id", { - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "roles", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -225,6 +222,18 @@ describe("ProjectsClient", () => { ], }, ], + }; + const page = await client.ticketing.projects.usersList("parent_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ticketing/regenerateKey.test.ts b/tests/wire/Ticketing/regenerateKey.test.ts similarity index 100% rename from tests/wire/ticketing/regenerateKey.test.ts rename to tests/wire/Ticketing/regenerateKey.test.ts diff --git a/tests/wire/ticketing/roles.test.ts b/tests/wire/Ticketing/roles.test.ts similarity index 94% rename from tests/wire/ticketing/roles.test.ts rename to tests/wire/Ticketing/roles.test.ts index 16392d806..5ba44f215 100644 --- a/tests/wire/ticketing/roles.test.ts +++ b/tests/wire/Ticketing/roles.test.ts @@ -35,26 +35,14 @@ describe("RolesClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/roles") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.roles.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -83,7 +71,24 @@ describe("RolesClient", () => { ], }, ], + }; + const page = await client.ticketing.roles.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ticketing/scopes.test.ts b/tests/wire/Ticketing/scopes.test.ts similarity index 100% rename from tests/wire/ticketing/scopes.test.ts rename to tests/wire/Ticketing/scopes.test.ts diff --git a/tests/wire/ticketing/syncStatus.test.ts b/tests/wire/Ticketing/syncStatus.test.ts similarity index 86% rename from tests/wire/ticketing/syncStatus.test.ts rename to tests/wire/Ticketing/syncStatus.test.ts index f3f691f8f..a9c6a5c26 100644 --- a/tests/wire/ticketing/syncStatus.test.ts +++ b/tests/wire/Ticketing/syncStatus.test.ts @@ -31,18 +31,14 @@ describe("SyncStatusClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/sync-status") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.syncStatus.list({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -58,6 +54,15 @@ describe("SyncStatusClient", () => { selectiveSyncConfigurationsUsage: "IN_NEXT_SYNC", }, ], + }; + const page = await client.ticketing.syncStatus.list({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ticketing/tags.test.ts b/tests/wire/Ticketing/tags.test.ts similarity index 90% rename from tests/wire/ticketing/tags.test.ts rename to tests/wire/Ticketing/tags.test.ts index 2cc65a082..d80e41b72 100644 --- a/tests/wire/ticketing/tags.test.ts +++ b/tests/wire/Ticketing/tags.test.ts @@ -32,21 +32,15 @@ describe("TagsClient", () => { }, ], }; - server.mockEndpoint().get("/ticketing/v1/tags").respondWith().statusCode(200).jsonBody(rawResponseBody).build(); + server + .mockEndpoint({ once: false }) + .get("/ticketing/v1/tags") + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); - const response = await client.ticketing.tags.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -73,7 +67,24 @@ describe("TagsClient", () => { ], }, ], + }; + const page = await client.ticketing.tags.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ticketing/teams.test.ts b/tests/wire/Ticketing/teams.test.ts similarity index 94% rename from tests/wire/ticketing/teams.test.ts rename to tests/wire/Ticketing/teams.test.ts index 9fc07959d..a833ee0a7 100644 --- a/tests/wire/ticketing/teams.test.ts +++ b/tests/wire/Ticketing/teams.test.ts @@ -34,26 +34,14 @@ describe("TeamsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/teams") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.teams.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -81,7 +69,24 @@ describe("TeamsClient", () => { ], }, ], + }; + const page = await client.ticketing.teams.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { diff --git a/tests/wire/ticketing/tickets.test.ts b/tests/wire/Ticketing/tickets.test.ts similarity index 98% rename from tests/wire/ticketing/tickets.test.ts rename to tests/wire/Ticketing/tickets.test.ts index 2befcf4f4..0f1ef5f9a 100644 --- a/tests/wire/ticketing/tickets.test.ts +++ b/tests/wire/Ticketing/tickets.test.ts @@ -38,12 +38,12 @@ describe("TicketsClient", () => { access_level: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remote_created_at: "2021-11-10T00:00:00Z", remote_updated_at: "2021-12-09T00:00:00Z", completed_at: "2021-12-09T00:00:00Z", remote_was_deleted: true, - ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", field_mappings: { organization_defined_targets: { custom_key: "custom_value" }, linked_account_defined_targets: { custom_key: "custom_value" }, @@ -54,51 +54,14 @@ describe("TicketsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/tickets") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.tickets.list({ - accountId: "account_id", - assigneeIds: "assignee_ids", - collectionIds: "collection_ids", - completedAfter: new Date("2024-01-15T09:30:00.000Z"), - completedBefore: new Date("2024-01-15T09:30:00.000Z"), - contactId: "contact_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - creatorId: "creator_id", - creatorIds: "creator_ids", - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - dueAfter: new Date("2024-01-15T09:30:00.000Z"), - dueBefore: new Date("2024-01-15T09:30:00.000Z"), - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - parentTicketId: "parent_ticket_id", - priority: "HIGH", - remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), - remoteFields: "priority", - remoteId: "remote_id", - remoteUpdatedAfter: new Date("2024-01-15T09:30:00.000Z"), - remoteUpdatedBefore: new Date("2024-01-15T09:30:00.000Z"), - showEnumOrigins: "priority", - status: "", - tags: "tags", - ticketType: "ticket_type", - ticketUrl: "ticket_url", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -123,12 +86,12 @@ describe("TicketsClient", () => { accessLevel: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remoteCreatedAt: new Date("2021-11-10T00:00:00.000Z"), remoteUpdatedAt: new Date("2021-12-09T00:00:00.000Z"), completedAt: new Date("2021-12-09T00:00:00.000Z"), remoteWasDeleted: true, - ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", fieldMappings: { organization_defined_targets: { custom_key: "custom_value", @@ -151,7 +114,48 @@ describe("TicketsClient", () => { ], }, ], + }; + const page = await client.ticketing.tickets.list({ + accountId: "account_id", + assigneeIds: "assignee_ids", + collectionIds: "collection_ids", + completedAfter: new Date("2024-01-15T09:30:00.000Z"), + completedBefore: new Date("2024-01-15T09:30:00.000Z"), + contactId: "contact_id", + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + creatorId: "creator_id", + creatorIds: "creator_ids", + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + dueAfter: new Date("2024-01-15T09:30:00.000Z"), + dueBefore: new Date("2024-01-15T09:30:00.000Z"), + includeDeletedData: true, + includeRemoteData: true, + includeRemoteFields: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + name: "name", + pageSize: 1, + parentTicketId: "parent_ticket_id", + priority: "HIGH", + remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"), + remoteFields: "priority", + remoteId: "remote_id", + remoteUpdatedAfter: new Date("2024-01-15T09:30:00.000Z"), + remoteUpdatedBefore: new Date("2024-01-15T09:30:00.000Z"), + showEnumOrigins: "priority", + status: "", + tags: "tags", + ticketType: "ticket_type", + ticketUrl: "ticket_url", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("create", async () => { @@ -185,12 +189,12 @@ describe("TicketsClient", () => { access_level: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remote_created_at: "2021-11-10T00:00:00Z", remote_updated_at: "2021-12-09T00:00:00Z", completed_at: "2021-12-09T00:00:00Z", remote_was_deleted: true, - ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", field_mappings: { organization_defined_targets: { custom_key: "custom_value" }, linked_account_defined_targets: { custom_key: "custom_value" }, @@ -262,12 +266,12 @@ describe("TicketsClient", () => { accessLevel: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remoteCreatedAt: new Date("2021-11-10T00:00:00.000Z"), remoteUpdatedAt: new Date("2021-12-09T00:00:00.000Z"), completedAt: new Date("2021-12-09T00:00:00.000Z"), remoteWasDeleted: true, - ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", fieldMappings: { organization_defined_targets: { custom_key: "custom_value", @@ -353,12 +357,12 @@ describe("TicketsClient", () => { access_level: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remote_created_at: "2021-11-10T00:00:00Z", remote_updated_at: "2021-12-09T00:00:00Z", completed_at: "2021-12-09T00:00:00Z", remote_was_deleted: true, - ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", field_mappings: { organization_defined_targets: { custom_key: "custom_value" }, linked_account_defined_targets: { custom_key: "custom_value" }, @@ -375,7 +379,6 @@ describe("TicketsClient", () => { .build(); const response = await client.ticketing.tickets.retrieve("id", { - expand: "account", includeRemoteData: true, includeRemoteFields: true, includeShellData: true, @@ -403,12 +406,12 @@ describe("TicketsClient", () => { accessLevel: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remoteCreatedAt: new Date("2021-11-10T00:00:00.000Z"), remoteUpdatedAt: new Date("2021-12-09T00:00:00.000Z"), completedAt: new Date("2021-12-09T00:00:00.000Z"), remoteWasDeleted: true, - ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", fieldMappings: { organization_defined_targets: { custom_key: "custom_value", @@ -463,12 +466,12 @@ describe("TicketsClient", () => { access_level: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remote_created_at: "2021-11-10T00:00:00Z", remote_updated_at: "2021-12-09T00:00:00Z", completed_at: "2021-12-09T00:00:00Z", remote_was_deleted: true, - ticket_url: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", field_mappings: { organization_defined_targets: { custom_key: "custom_value" }, linked_account_defined_targets: { custom_key: "custom_value" }, @@ -540,12 +543,12 @@ describe("TicketsClient", () => { accessLevel: "COMPANY", tags: ["enterprise", "other-tag"], roles: ["21a54124-397f-494d-985e-3c5b330b8a68", "17a54124-287f-494d-965e-3c5b330c9a68"], + ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", + priority: "URGENT", remoteCreatedAt: new Date("2021-11-10T00:00:00.000Z"), remoteUpdatedAt: new Date("2021-12-09T00:00:00.000Z"), completedAt: new Date("2021-12-09T00:00:00.000Z"), remoteWasDeleted: true, - ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1", - priority: "URGENT", fieldMappings: { organization_defined_targets: { custom_key: "custom_value", @@ -625,22 +628,14 @@ describe("TicketsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/tickets/ticket_id/viewers") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.tickets.viewersList("ticket_id", { - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "team", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -653,7 +648,19 @@ describe("TicketsClient", () => { user: "user", }, ], + }; + const page = await client.ticketing.tickets.viewersList("ticket_id", { + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("metaPatchRetrieve", async () => { @@ -1529,24 +1536,14 @@ describe("TicketsClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/tickets/remote-field-classes") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.tickets.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ids: "ids", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -1563,6 +1560,21 @@ describe("TicketsClient", () => { fieldChoices: [{}], }, ], + }; + const page = await client.ticketing.tickets.remoteFieldClassesList({ + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ids: "ids", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + isCommonModelField: true, + isCustom: true, + pageSize: 1, }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); }); diff --git a/tests/wire/ticketing/users.test.ts b/tests/wire/Ticketing/users.test.ts similarity index 94% rename from tests/wire/ticketing/users.test.ts rename to tests/wire/Ticketing/users.test.ts index 50dbf5c94..e6abd98b0 100644 --- a/tests/wire/ticketing/users.test.ts +++ b/tests/wire/Ticketing/users.test.ts @@ -38,29 +38,14 @@ describe("UsersClient", () => { ], }; server - .mockEndpoint() + .mockEndpoint({ once: false }) .get("/ticketing/v1/users") .respondWith() .statusCode(200) .jsonBody(rawResponseBody) .build(); - const response = await client.ticketing.users.list({ - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddress: "email_address", - expand: "roles", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - team: "team", - }); - expect(response).toEqual({ + const expected = { next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", results: [ @@ -92,7 +77,26 @@ describe("UsersClient", () => { ], }, ], + }; + const page = await client.ticketing.users.list({ + createdAfter: new Date("2024-01-15T09:30:00.000Z"), + createdBefore: new Date("2024-01-15T09:30:00.000Z"), + cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + emailAddress: "email_address", + includeDeletedData: true, + includeRemoteData: true, + includeShellData: true, + modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), + modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), + pageSize: 1, + remoteId: "remote_id", + team: "team", }); + + expect(expected.results).toEqual(page.data); + expect(page.hasNextPage()).toBe(true); + const nextPage = await page.getNextPage(); + expect(expected.results).toEqual(nextPage.data); }); test("retrieve", async () => { @@ -131,7 +135,6 @@ describe("UsersClient", () => { .build(); const response = await client.ticketing.users.retrieve("id", { - expand: "roles", includeRemoteData: true, includeShellData: true, }); diff --git a/tests/wire/ticketing/webhookReceivers.test.ts b/tests/wire/Ticketing/webhookReceivers.test.ts similarity index 100% rename from tests/wire/ticketing/webhookReceivers.test.ts rename to tests/wire/Ticketing/webhookReceivers.test.ts diff --git a/tests/wire/accounting/contacts.test.ts b/tests/wire/accounting/contacts.test.ts deleted file mode 100644 index 8d1f23295..000000000 --- a/tests/wire/accounting/contacts.test.ts +++ /dev/null @@ -1,1470 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import { MergeClient } from "../../../src/Client"; -import { mockServerPool } from "../../mock-server/MockServerPool"; - -describe("ContactsClient", () => { - test("list", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remote_id: "11167", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - name: "Gil Feig's pickleball store", - is_supplier: true, - is_customer: true, - email_address: "pickleball@merge.dev", - tax_number: "12-3456789", - status: "ACTIVE", - currency: "USD", - remote_updated_at: "2020-03-31T00:00:00Z", - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phone_numbers: [ - { - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - number: "+3198675309", - type: "Mobile", - }, - ], - remote_was_deleted: true, - field_mappings: { - organization_defined_targets: { custom_key: "custom_value" }, - linked_account_defined_targets: { custom_key: "custom_value" }, - }, - remote_data: [{ path: "/actions", data: ["Varies by platform"] }], - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }, - ], - }; - server - .mockEndpoint() - .get("/accounting/v1/contacts") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.contacts.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - emailAddress: "email_address", - expand: "addresses", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - isCustomer: "is_customer", - isSupplier: "is_supplier", - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - name: "name", - pageSize: 1, - remoteFields: "status", - remoteId: "remote_id", - showEnumOrigins: "status", - status: "", - }); - expect(response).toEqual({ - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remoteId: "11167", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - name: "Gil Feig's pickleball store", - isSupplier: true, - isCustomer: true, - emailAddress: "pickleball@merge.dev", - taxNumber: "12-3456789", - status: "ACTIVE", - currency: "USD", - remoteUpdatedAt: new Date("2020-03-31T00:00:00.000Z"), - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phoneNumbers: [ - { - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - number: "+3198675309", - type: "Mobile", - }, - ], - remoteWasDeleted: true, - fieldMappings: { - organization_defined_targets: { - custom_key: "custom_value", - }, - linked_account_defined_targets: { - custom_key: "custom_value", - }, - }, - remoteData: [ - { - path: "/actions", - data: ["Varies by platform"], - }, - ], - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }, - ], - }); - }); - - test("create", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - const rawRequestBody = { model: {} }; - const rawResponseBody = { - model: { - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remote_id: "11167", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - name: "Gil Feig's pickleball store", - is_supplier: true, - is_customer: true, - email_address: "pickleball@merge.dev", - tax_number: "12-3456789", - status: "ACTIVE", - currency: "USD", - remote_updated_at: "2020-03-31T00:00:00Z", - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phone_numbers: [ - { - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - number: "+3198675309", - type: "Mobile", - }, - ], - remote_was_deleted: true, - field_mappings: { - organization_defined_targets: { custom_key: "custom_value" }, - linked_account_defined_targets: { custom_key: "custom_value" }, - }, - remote_data: [{ path: "/actions", data: ["Varies by platform"] }], - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }, - warnings: [ - { - source: { pointer: "pointer" }, - title: "Unrecognized Field", - detail: "An unrecognized field, age, was passed in with request data.", - problem_type: "UNRECOGNIZED_FIELD", - }, - ], - errors: [ - { - source: { pointer: "pointer" }, - title: "Missing Required Field", - detail: "custom_fields is a required field on model.", - problem_type: "MISSING_REQUIRED_FIELD", - }, - ], - logs: [ - { - log_id: "99433219-8017-4acd-bb3c-ceb23d663832", - dashboard_view: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", - log_summary: { - url: "www.exampleintegration.com/api/v1/exampleapi", - method: "POST", - status_code: 200, - }, - }, - ], - }; - server - .mockEndpoint() - .post("/accounting/v1/contacts") - .jsonBody(rawRequestBody) - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.contacts.create({ - isDebugMode: true, - runAsync: true, - model: {}, - }); - expect(response).toEqual({ - model: { - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remoteId: "11167", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - name: "Gil Feig's pickleball store", - isSupplier: true, - isCustomer: true, - emailAddress: "pickleball@merge.dev", - taxNumber: "12-3456789", - status: "ACTIVE", - currency: "USD", - remoteUpdatedAt: new Date("2020-03-31T00:00:00.000Z"), - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phoneNumbers: [ - { - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - number: "+3198675309", - type: "Mobile", - }, - ], - remoteWasDeleted: true, - fieldMappings: { - organization_defined_targets: { - custom_key: "custom_value", - }, - linked_account_defined_targets: { - custom_key: "custom_value", - }, - }, - remoteData: [ - { - path: "/actions", - data: ["Varies by platform"], - }, - ], - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }, - warnings: [ - { - source: { - pointer: "pointer", - }, - title: "Unrecognized Field", - detail: "An unrecognized field, age, was passed in with request data.", - problemType: "UNRECOGNIZED_FIELD", - }, - ], - errors: [ - { - source: { - pointer: "pointer", - }, - title: "Missing Required Field", - detail: "custom_fields is a required field on model.", - problemType: "MISSING_REQUIRED_FIELD", - }, - ], - logs: [ - { - logId: "99433219-8017-4acd-bb3c-ceb23d663832", - dashboardView: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", - logSummary: { - url: "www.exampleintegration.com/api/v1/exampleapi", - method: "POST", - statusCode: 200, - }, - }, - ], - }); - }); - - test("retrieve", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remote_id: "11167", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - name: "Gil Feig's pickleball store", - is_supplier: true, - is_customer: true, - email_address: "pickleball@merge.dev", - tax_number: "12-3456789", - status: "ACTIVE", - currency: "USD", - remote_updated_at: "2020-03-31T00:00:00Z", - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phone_numbers: [ - { - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - number: "+3198675309", - type: "Mobile", - }, - ], - remote_was_deleted: true, - field_mappings: { - organization_defined_targets: { custom_key: "custom_value" }, - linked_account_defined_targets: { custom_key: "custom_value" }, - }, - remote_data: [{ path: "/actions", data: ["Varies by platform"] }], - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }; - server - .mockEndpoint() - .get("/accounting/v1/contacts/id") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.contacts.retrieve("id", { - expand: "addresses", - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - remoteFields: "status", - showEnumOrigins: "status", - }); - expect(response).toEqual({ - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remoteId: "11167", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - name: "Gil Feig's pickleball store", - isSupplier: true, - isCustomer: true, - emailAddress: "pickleball@merge.dev", - taxNumber: "12-3456789", - status: "ACTIVE", - currency: "USD", - remoteUpdatedAt: new Date("2020-03-31T00:00:00.000Z"), - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phoneNumbers: [ - { - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - number: "+3198675309", - type: "Mobile", - }, - ], - remoteWasDeleted: true, - fieldMappings: { - organization_defined_targets: { - custom_key: "custom_value", - }, - linked_account_defined_targets: { - custom_key: "custom_value", - }, - }, - remoteData: [ - { - path: "/actions", - data: ["Varies by platform"], - }, - ], - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }); - }); - - test("partialUpdate", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - const rawRequestBody = { model: {} }; - const rawResponseBody = { - model: { - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remote_id: "11167", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - name: "Gil Feig's pickleball store", - is_supplier: true, - is_customer: true, - email_address: "pickleball@merge.dev", - tax_number: "12-3456789", - status: "ACTIVE", - currency: "USD", - remote_updated_at: "2020-03-31T00:00:00Z", - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phone_numbers: [ - { - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - number: "+3198675309", - type: "Mobile", - }, - ], - remote_was_deleted: true, - field_mappings: { - organization_defined_targets: { custom_key: "custom_value" }, - linked_account_defined_targets: { custom_key: "custom_value" }, - }, - remote_data: [{ path: "/actions", data: ["Varies by platform"] }], - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }, - warnings: [ - { - source: { pointer: "pointer" }, - title: "Unrecognized Field", - detail: "An unrecognized field, age, was passed in with request data.", - problem_type: "UNRECOGNIZED_FIELD", - }, - ], - errors: [ - { - source: { pointer: "pointer" }, - title: "Missing Required Field", - detail: "custom_fields is a required field on model.", - problem_type: "MISSING_REQUIRED_FIELD", - }, - ], - logs: [ - { - log_id: "99433219-8017-4acd-bb3c-ceb23d663832", - dashboard_view: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", - log_summary: { - url: "www.exampleintegration.com/api/v1/exampleapi", - method: "POST", - status_code: 200, - }, - }, - ], - }; - server - .mockEndpoint() - .patch("/accounting/v1/contacts/id") - .jsonBody(rawRequestBody) - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.contacts.partialUpdate("id", { - isDebugMode: true, - runAsync: true, - model: {}, - }); - expect(response).toEqual({ - model: { - id: "c640b80b-fac9-409f-aa19-1f9221aec445", - remoteId: "11167", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - name: "Gil Feig's pickleball store", - isSupplier: true, - isCustomer: true, - emailAddress: "pickleball@merge.dev", - taxNumber: "12-3456789", - status: "ACTIVE", - currency: "USD", - remoteUpdatedAt: new Date("2020-03-31T00:00:00.000Z"), - company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", - addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499", "d98c7428-8dda-48a8-a1da-c570f65e2375"], - phoneNumbers: [ - { - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - number: "+3198675309", - type: "Mobile", - }, - ], - remoteWasDeleted: true, - fieldMappings: { - organization_defined_targets: { - custom_key: "custom_value", - }, - linked_account_defined_targets: { - custom_key: "custom_value", - }, - }, - remoteData: [ - { - path: "/actions", - data: ["Varies by platform"], - }, - ], - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }, - warnings: [ - { - source: { - pointer: "pointer", - }, - title: "Unrecognized Field", - detail: "An unrecognized field, age, was passed in with request data.", - problemType: "UNRECOGNIZED_FIELD", - }, - ], - errors: [ - { - source: { - pointer: "pointer", - }, - title: "Missing Required Field", - detail: "custom_fields is a required field on model.", - problemType: "MISSING_REQUIRED_FIELD", - }, - ], - logs: [ - { - logId: "99433219-8017-4acd-bb3c-ceb23d663832", - dashboardView: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", - logSummary: { - url: "www.exampleintegration.com/api/v1/exampleapi", - method: "POST", - statusCode: 200, - }, - }, - ], - }); - }); - - test("metaPatchRetrieve", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - request_schema: { - type: "object", - properties: { - model: { - type: "object", - required: [ - "last_name", - "first_name", - "merge_categories", - "new_york_city_neighborhood", - "favorite_tv_shows", - "favorite_watch", - ], - properties: { - email_addresses: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - email_address_type: { type: "string", title: "email_address_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "email_addresses", - description: "Array of email_addresses objects", - }, - urls: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - url_type: { type: "string", title: "url_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "urls", - description: "Array of urls objects", - }, - first_name: { type: "string", title: "first_name", description: "The first name." }, - last_name: { type: "string", title: "last_name", description: "The last name." }, - phone_numbers: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - phone_number_type: { type: "string", title: "phone_number_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "phone_numbers", - description: "Array of phone_numbers objects", - }, - tags: { - type: "array", - items: { type: "string", format: "uuid" }, - title: "tags", - description: "Array of tags names", - }, - attachments: { - type: "array", - items: { - type: "object", - properties: { - id: { type: "string", title: "id" }, - file_url: { type: "string", title: "file_url" }, - file_name: { type: "string", title: "file_name" }, - attachment_type: { type: "string", title: "attachment_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "attachments", - description: "Array of attachments objects ", - }, - merge_categories: { - type: "array", - categories: { - type: "string", - enum: [ - "HRIS", - "ATS", - "Accounting", - "Ticketing", - "File Storage", - "CRM", - "Marketing Automation", - ], - enum_information: [ - { value: "HRIS", description: "Merge HRIS Category" }, - { value: "ATS", description: "Merge ATS Category" }, - { value: "Accounting", description: "Merge Accounting Category" }, - { value: "Ticketing", description: "Merge Ticketing Category" }, - { value: "File Storage", description: "Merge File Storage Category" }, - { value: "CRM", description: "Merge CRM Category" }, - { - value: "Marketing Automation", - description: "Merge Marketing Automation Category", - }, - ], - }, - title: "Merge Categories", - description: "Array of Merge's Unified API Categories", - }, - new_york_city_neighborhood: { - type: "string", - title: "Borough", - description: "One of the 5 Boroughs of New York City", - }, - favorite_tv_shows: { - type: "array", - items: { type: "string", format: "uuid" }, - title: "Favorite TV Shows", - description: "Array of TV Show objects on merge.tv_shows", - }, - favorite_watch: { - type: "string", - title: "Favorite Watch", - description: "Favorite watch of all time", - }, - }, - }, - }, - }, - remote_field_classes: { key: "value" }, - status: { linked_account_status: "linked_account_status", can_make_request: true }, - has_conditional_params: true, - has_required_linked_account_params: true, - }; - server - .mockEndpoint() - .get("/accounting/v1/contacts/meta/patch/id") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.contacts.metaPatchRetrieve("id"); - expect(response).toEqual({ - requestSchema: { - type: "object", - properties: { - model: { - type: "object", - required: [ - "last_name", - "first_name", - "merge_categories", - "new_york_city_neighborhood", - "favorite_tv_shows", - "favorite_watch", - ], - properties: { - email_addresses: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - email_address_type: { - type: "string", - title: "email_address_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "email_addresses", - description: "Array of email_addresses objects", - }, - urls: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - url_type: { - type: "string", - title: "url_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "urls", - description: "Array of urls objects", - }, - first_name: { - type: "string", - title: "first_name", - description: "The first name.", - }, - last_name: { - type: "string", - title: "last_name", - description: "The last name.", - }, - phone_numbers: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - phone_number_type: { - type: "string", - title: "phone_number_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "phone_numbers", - description: "Array of phone_numbers objects", - }, - tags: { - type: "array", - items: { - type: "string", - format: "uuid", - }, - title: "tags", - description: "Array of tags names", - }, - attachments: { - type: "array", - items: { - type: "object", - properties: { - id: { - type: "string", - title: "id", - }, - file_url: { - type: "string", - title: "file_url", - }, - file_name: { - type: "string", - title: "file_name", - }, - attachment_type: { - type: "string", - title: "attachment_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "attachments", - description: "Array of attachments objects ", - }, - merge_categories: { - type: "array", - categories: { - type: "string", - enum: [ - "HRIS", - "ATS", - "Accounting", - "Ticketing", - "File Storage", - "CRM", - "Marketing Automation", - ], - enum_information: [ - { - value: "HRIS", - description: "Merge HRIS Category", - }, - { - value: "ATS", - description: "Merge ATS Category", - }, - { - value: "Accounting", - description: "Merge Accounting Category", - }, - { - value: "Ticketing", - description: "Merge Ticketing Category", - }, - { - value: "File Storage", - description: "Merge File Storage Category", - }, - { - value: "CRM", - description: "Merge CRM Category", - }, - { - value: "Marketing Automation", - description: "Merge Marketing Automation Category", - }, - ], - }, - title: "Merge Categories", - description: "Array of Merge's Unified API Categories", - }, - new_york_city_neighborhood: { - type: "string", - title: "Borough", - description: "One of the 5 Boroughs of New York City", - }, - favorite_tv_shows: { - type: "array", - items: { - type: "string", - format: "uuid", - }, - title: "Favorite TV Shows", - description: "Array of TV Show objects on merge.tv_shows", - }, - favorite_watch: { - type: "string", - title: "Favorite Watch", - description: "Favorite watch of all time", - }, - }, - }, - }, - }, - remoteFieldClasses: { - key: "value", - }, - status: { - linkedAccountStatus: "linked_account_status", - canMakeRequest: true, - }, - hasConditionalParams: true, - hasRequiredLinkedAccountParams: true, - }); - }); - - test("metaPostRetrieve", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - request_schema: { - type: "object", - properties: { - model: { - type: "object", - required: [ - "last_name", - "first_name", - "merge_categories", - "new_york_city_neighborhood", - "favorite_tv_shows", - "favorite_watch", - ], - properties: { - email_addresses: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - email_address_type: { type: "string", title: "email_address_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "email_addresses", - description: "Array of email_addresses objects", - }, - urls: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - url_type: { type: "string", title: "url_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "urls", - description: "Array of urls objects", - }, - first_name: { type: "string", title: "first_name", description: "The first name." }, - last_name: { type: "string", title: "last_name", description: "The last name." }, - phone_numbers: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - phone_number_type: { type: "string", title: "phone_number_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "phone_numbers", - description: "Array of phone_numbers objects", - }, - tags: { - type: "array", - items: { type: "string", format: "uuid" }, - title: "tags", - description: "Array of tags names", - }, - attachments: { - type: "array", - items: { - type: "object", - properties: { - id: { type: "string", title: "id" }, - file_url: { type: "string", title: "file_url" }, - file_name: { type: "string", title: "file_name" }, - attachment_type: { type: "string", title: "attachment_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "attachments", - description: "Array of attachments objects ", - }, - merge_categories: { - type: "array", - categories: { - type: "string", - enum: [ - "HRIS", - "ATS", - "Accounting", - "Ticketing", - "File Storage", - "CRM", - "Marketing Automation", - ], - enum_information: [ - { value: "HRIS", description: "Merge HRIS Category" }, - { value: "ATS", description: "Merge ATS Category" }, - { value: "Accounting", description: "Merge Accounting Category" }, - { value: "Ticketing", description: "Merge Ticketing Category" }, - { value: "File Storage", description: "Merge File Storage Category" }, - { value: "CRM", description: "Merge CRM Category" }, - { - value: "Marketing Automation", - description: "Merge Marketing Automation Category", - }, - ], - }, - title: "Merge Categories", - description: "Array of Merge's Unified API Categories", - }, - new_york_city_neighborhood: { - type: "string", - title: "Borough", - description: "One of the 5 Boroughs of New York City", - }, - favorite_tv_shows: { - type: "array", - items: { type: "string", format: "uuid" }, - title: "Favorite TV Shows", - description: "Array of TV Show objects on merge.tv_shows", - }, - favorite_watch: { - type: "string", - title: "Favorite Watch", - description: "Favorite watch of all time", - }, - }, - }, - }, - }, - remote_field_classes: { key: "value" }, - status: { linked_account_status: "linked_account_status", can_make_request: true }, - has_conditional_params: true, - has_required_linked_account_params: true, - }; - server - .mockEndpoint() - .get("/accounting/v1/contacts/meta/post") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.contacts.metaPostRetrieve(); - expect(response).toEqual({ - requestSchema: { - type: "object", - properties: { - model: { - type: "object", - required: [ - "last_name", - "first_name", - "merge_categories", - "new_york_city_neighborhood", - "favorite_tv_shows", - "favorite_watch", - ], - properties: { - email_addresses: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - email_address_type: { - type: "string", - title: "email_address_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "email_addresses", - description: "Array of email_addresses objects", - }, - urls: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - url_type: { - type: "string", - title: "url_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "urls", - description: "Array of urls objects", - }, - first_name: { - type: "string", - title: "first_name", - description: "The first name.", - }, - last_name: { - type: "string", - title: "last_name", - description: "The last name.", - }, - phone_numbers: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - phone_number_type: { - type: "string", - title: "phone_number_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "phone_numbers", - description: "Array of phone_numbers objects", - }, - tags: { - type: "array", - items: { - type: "string", - format: "uuid", - }, - title: "tags", - description: "Array of tags names", - }, - attachments: { - type: "array", - items: { - type: "object", - properties: { - id: { - type: "string", - title: "id", - }, - file_url: { - type: "string", - title: "file_url", - }, - file_name: { - type: "string", - title: "file_name", - }, - attachment_type: { - type: "string", - title: "attachment_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "attachments", - description: "Array of attachments objects ", - }, - merge_categories: { - type: "array", - categories: { - type: "string", - enum: [ - "HRIS", - "ATS", - "Accounting", - "Ticketing", - "File Storage", - "CRM", - "Marketing Automation", - ], - enum_information: [ - { - value: "HRIS", - description: "Merge HRIS Category", - }, - { - value: "ATS", - description: "Merge ATS Category", - }, - { - value: "Accounting", - description: "Merge Accounting Category", - }, - { - value: "Ticketing", - description: "Merge Ticketing Category", - }, - { - value: "File Storage", - description: "Merge File Storage Category", - }, - { - value: "CRM", - description: "Merge CRM Category", - }, - { - value: "Marketing Automation", - description: "Merge Marketing Automation Category", - }, - ], - }, - title: "Merge Categories", - description: "Array of Merge's Unified API Categories", - }, - new_york_city_neighborhood: { - type: "string", - title: "Borough", - description: "One of the 5 Boroughs of New York City", - }, - favorite_tv_shows: { - type: "array", - items: { - type: "string", - format: "uuid", - }, - title: "Favorite TV Shows", - description: "Array of TV Show objects on merge.tv_shows", - }, - favorite_watch: { - type: "string", - title: "Favorite Watch", - description: "Favorite watch of all time", - }, - }, - }, - }, - }, - remoteFieldClasses: { - key: "value", - }, - status: { - linkedAccountStatus: "linked_account_status", - canMakeRequest: true, - }, - hasConditionalParams: true, - hasRequiredLinkedAccountParams: true, - }); - }); - - test("remoteFieldClassesList", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "id", - display_name: "display_name", - remote_key_name: "remote_key_name", - description: "description", - is_custom: true, - is_common_model_field: true, - is_required: true, - field_type: "string", - field_format: "string", - field_choices: ["field_choices"], - }, - ], - }; - server - .mockEndpoint() - .get("/accounting/v1/contacts/remote-field-classes") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.contacts.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "id", - displayName: "display_name", - remoteKeyName: "remote_key_name", - description: "description", - isCustom: true, - isCommonModelField: true, - isRequired: true, - fieldType: "string", - fieldFormat: "string", - fieldChoices: ["field_choices"], - }, - ], - }); - }); -}); diff --git a/tests/wire/accounting/expenseReports.test.ts b/tests/wire/accounting/expenseReports.test.ts deleted file mode 100644 index 3ce433651..000000000 --- a/tests/wire/accounting/expenseReports.test.ts +++ /dev/null @@ -1,1171 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import { MergeClient } from "../../../src/Client"; -import { mockServerPool } from "../../mock-server/MockServerPool"; - -describe("ExpenseReportsClient", () => { - test("list", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "123e4567-e89b-12d3-a456-426614174000", - remote_id: "exp_123e4567-e89b-12d3-a456-426614174000", - created_at: "2024-01-31T12:00:00Z", - modified_at: "2024-01-31T14:30:00Z", - report_date: "2024-01-31T00:00:00Z", - report_identifier: "EXP-2024-001", - employee: "b9a9b824-6172-4d63-9d90-1c8a86c4f3b1", - status: "DRAFT", - total_amount: 150, - lines: [ - { - id: "1234", - remote_id: "abcd-1234", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - account: "acc-1234", - description: "Client lunch meeting", - expense_date: "2024-01-15T00:00:00Z", - amount: 50, - currency: "USD", - exchange_rate: "exchange_rate", - is_billable: true, - tracking_categories: ["cat-1", "cat-2"], - employee: "emp-1234", - project: "proj-5678", - company: "comp-1234", - contact: "cont-5678", - quantity: 1, - unit_price: 50, - non_reimbursable: false, - tax_amount: 5, - inclusive_of_tax: false, - tax_rate: "tax-1234", - remote_was_deleted: false, - }, - ], - currency: "XUA", - description: "January 2024 Travel Expenses", - accounting_period: "7d793c67-9f72-4a6b-9256-3936f237b0d9", - company: "company", - tracking_categories: [ - "a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", - "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p", - ], - remote_was_deleted: true, - field_mappings: { - organization_defined_targets: { custom_key: "custom_value" }, - linked_account_defined_targets: { custom_key: "custom_value" }, - }, - remote_data: [{ path: "/actions", data: ["Varies by platform"] }], - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }, - ], - }; - server - .mockEndpoint() - .get("/accounting/v1/expense-reports") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.expenseReports.list({ - companyId: "company_id", - createdAfter: new Date("2024-01-15T09:30:00.000Z"), - createdBefore: new Date("2024-01-15T09:30:00.000Z"), - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "accounting_period", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - modifiedAfter: new Date("2024-01-15T09:30:00.000Z"), - modifiedBefore: new Date("2024-01-15T09:30:00.000Z"), - pageSize: 1, - remoteId: "remote_id", - }); - expect(response).toEqual({ - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "123e4567-e89b-12d3-a456-426614174000", - remoteId: "exp_123e4567-e89b-12d3-a456-426614174000", - createdAt: new Date("2024-01-31T12:00:00.000Z"), - modifiedAt: new Date("2024-01-31T14:30:00.000Z"), - reportDate: new Date("2024-01-31T00:00:00.000Z"), - reportIdentifier: "EXP-2024-001", - employee: "b9a9b824-6172-4d63-9d90-1c8a86c4f3b1", - status: "DRAFT", - totalAmount: 150, - lines: [ - { - id: "1234", - remoteId: "abcd-1234", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - account: "acc-1234", - description: "Client lunch meeting", - expenseDate: new Date("2024-01-15T00:00:00.000Z"), - amount: 50, - currency: "USD", - exchangeRate: "exchange_rate", - isBillable: true, - trackingCategories: ["cat-1", "cat-2"], - employee: "emp-1234", - project: "proj-5678", - company: "comp-1234", - contact: "cont-5678", - quantity: 1, - unitPrice: 50, - nonReimbursable: false, - taxAmount: 5, - inclusiveOfTax: false, - taxRate: "tax-1234", - remoteWasDeleted: false, - }, - ], - currency: "XUA", - description: "January 2024 Travel Expenses", - accountingPeriod: "7d793c67-9f72-4a6b-9256-3936f237b0d9", - company: "company", - trackingCategories: [ - "a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", - "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p", - ], - remoteWasDeleted: true, - fieldMappings: { - organization_defined_targets: { - custom_key: "custom_value", - }, - linked_account_defined_targets: { - custom_key: "custom_value", - }, - }, - remoteData: [ - { - path: "/actions", - data: ["Varies by platform"], - }, - ], - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }, - ], - }); - }); - - test("create", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - const rawRequestBody = { - model: { - tracking_categories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"], - }, - }; - const rawResponseBody = { - model: { - id: "123e4567-e89b-12d3-a456-426614174000", - remote_id: "exp_123e4567-e89b-12d3-a456-426614174000", - created_at: "2024-01-31T12:00:00Z", - modified_at: "2024-01-31T14:30:00Z", - report_date: "2024-01-31T00:00:00Z", - report_identifier: "EXP-2024-001", - employee: "b9a9b824-6172-4d63-9d90-1c8a86c4f3b1", - status: "DRAFT", - total_amount: 150, - lines: [ - { - id: "1234", - remote_id: "abcd-1234", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - account: "acc-1234", - description: "Client lunch meeting", - expense_date: "2024-01-15T00:00:00Z", - amount: 50, - currency: "USD", - exchange_rate: "exchange_rate", - is_billable: true, - tracking_categories: ["cat-1", "cat-2"], - employee: "emp-1234", - project: "proj-5678", - company: "comp-1234", - contact: "cont-5678", - quantity: 1, - unit_price: 50, - non_reimbursable: false, - tax_amount: 5, - inclusive_of_tax: false, - tax_rate: "tax-1234", - remote_was_deleted: false, - }, - ], - currency: "XUA", - description: "January 2024 Travel Expenses", - accounting_period: "7d793c67-9f72-4a6b-9256-3936f237b0d9", - company: "company", - tracking_categories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"], - remote_was_deleted: true, - field_mappings: { - organization_defined_targets: { custom_key: "custom_value" }, - linked_account_defined_targets: { custom_key: "custom_value" }, - }, - remote_data: [{ path: "/actions", data: ["Varies by platform"] }], - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }, - warnings: [ - { - source: { pointer: "pointer" }, - title: "Unrecognized Field", - detail: "An unrecognized field, age, was passed in with request data.", - problem_type: "UNRECOGNIZED_FIELD", - }, - ], - errors: [ - { - source: { pointer: "pointer" }, - title: "Missing Required Field", - detail: "custom_fields is a required field on model.", - problem_type: "MISSING_REQUIRED_FIELD", - }, - ], - logs: [ - { - log_id: "99433219-8017-4acd-bb3c-ceb23d663832", - dashboard_view: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", - log_summary: { - url: "www.exampleintegration.com/api/v1/exampleapi", - method: "POST", - status_code: 200, - }, - }, - ], - }; - server - .mockEndpoint() - .post("/accounting/v1/expense-reports") - .jsonBody(rawRequestBody) - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.expenseReports.create({ - isDebugMode: true, - runAsync: true, - model: { - trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"], - }, - }); - expect(response).toEqual({ - model: { - id: "123e4567-e89b-12d3-a456-426614174000", - remoteId: "exp_123e4567-e89b-12d3-a456-426614174000", - createdAt: new Date("2024-01-31T12:00:00.000Z"), - modifiedAt: new Date("2024-01-31T14:30:00.000Z"), - reportDate: new Date("2024-01-31T00:00:00.000Z"), - reportIdentifier: "EXP-2024-001", - employee: "b9a9b824-6172-4d63-9d90-1c8a86c4f3b1", - status: "DRAFT", - totalAmount: 150, - lines: [ - { - id: "1234", - remoteId: "abcd-1234", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - account: "acc-1234", - description: "Client lunch meeting", - expenseDate: new Date("2024-01-15T00:00:00.000Z"), - amount: 50, - currency: "USD", - exchangeRate: "exchange_rate", - isBillable: true, - trackingCategories: ["cat-1", "cat-2"], - employee: "emp-1234", - project: "proj-5678", - company: "comp-1234", - contact: "cont-5678", - quantity: 1, - unitPrice: 50, - nonReimbursable: false, - taxAmount: 5, - inclusiveOfTax: false, - taxRate: "tax-1234", - remoteWasDeleted: false, - }, - ], - currency: "XUA", - description: "January 2024 Travel Expenses", - accountingPeriod: "7d793c67-9f72-4a6b-9256-3936f237b0d9", - company: "company", - trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"], - remoteWasDeleted: true, - fieldMappings: { - organization_defined_targets: { - custom_key: "custom_value", - }, - linked_account_defined_targets: { - custom_key: "custom_value", - }, - }, - remoteData: [ - { - path: "/actions", - data: ["Varies by platform"], - }, - ], - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }, - warnings: [ - { - source: { - pointer: "pointer", - }, - title: "Unrecognized Field", - detail: "An unrecognized field, age, was passed in with request data.", - problemType: "UNRECOGNIZED_FIELD", - }, - ], - errors: [ - { - source: { - pointer: "pointer", - }, - title: "Missing Required Field", - detail: "custom_fields is a required field on model.", - problemType: "MISSING_REQUIRED_FIELD", - }, - ], - logs: [ - { - logId: "99433219-8017-4acd-bb3c-ceb23d663832", - dashboardView: "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832", - logSummary: { - url: "www.exampleintegration.com/api/v1/exampleapi", - method: "POST", - statusCode: 200, - }, - }, - ], - }); - }); - - test("linesList", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "1234", - remote_id: "abcd-1234", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - account: "account", - description: "Client lunch meeting", - expense_date: "2024-01-15T00:00:00Z", - amount: 50, - currency: "XUA", - exchange_rate: "exchange_rate", - is_billable: true, - tracking_categories: ["cat-1", "cat-2"], - employee: "employee", - project: "project", - company: "company", - contact: "contact", - quantity: 1, - unit_price: 50, - non_reimbursable: true, - tax_amount: 5, - inclusive_of_tax: true, - tax_rate: "tax_rate", - remote_was_deleted: true, - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }, - ], - }; - server - .mockEndpoint() - .get("/accounting/v1/expense-reports/expense_report_id/lines") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.expenseReports.linesList("expense_report_id", { - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand: "account", - includeDeletedData: true, - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - pageSize: 1, - }); - expect(response).toEqual({ - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "1234", - remoteId: "abcd-1234", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - account: "account", - description: "Client lunch meeting", - expenseDate: new Date("2024-01-15T00:00:00.000Z"), - amount: 50, - currency: "XUA", - exchangeRate: "exchange_rate", - isBillable: true, - trackingCategories: ["cat-1", "cat-2"], - employee: "employee", - project: "project", - company: "company", - contact: "contact", - quantity: 1, - unitPrice: 50, - nonReimbursable: true, - taxAmount: 5, - inclusiveOfTax: true, - taxRate: "tax_rate", - remoteWasDeleted: true, - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }, - ], - }); - }); - - test("retrieve", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - id: "123e4567-e89b-12d3-a456-426614174000", - remote_id: "exp_123e4567-e89b-12d3-a456-426614174000", - created_at: "2024-01-31T12:00:00Z", - modified_at: "2024-01-31T14:30:00Z", - report_date: "2024-01-31T00:00:00Z", - report_identifier: "EXP-2024-001", - employee: "b9a9b824-6172-4d63-9d90-1c8a86c4f3b1", - status: "DRAFT", - total_amount: 150, - lines: [ - { - id: "1234", - remote_id: "abcd-1234", - created_at: "2021-09-15T00:00:00Z", - modified_at: "2021-10-16T00:00:00Z", - account: "acc-1234", - description: "Client lunch meeting", - expense_date: "2024-01-15T00:00:00Z", - amount: 50, - currency: "USD", - exchange_rate: "exchange_rate", - is_billable: true, - tracking_categories: ["cat-1", "cat-2"], - employee: "emp-1234", - project: "proj-5678", - company: "comp-1234", - contact: "cont-5678", - quantity: 1, - unit_price: 50, - non_reimbursable: false, - tax_amount: 5, - inclusive_of_tax: false, - tax_rate: "tax-1234", - remote_was_deleted: false, - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }, - ], - currency: "XUA", - description: "January 2024 Travel Expenses", - accounting_period: "7d793c67-9f72-4a6b-9256-3936f237b0d9", - company: "company", - tracking_categories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"], - remote_was_deleted: true, - field_mappings: { - organization_defined_targets: { custom_key: "custom_value" }, - linked_account_defined_targets: { custom_key: "custom_value" }, - }, - remote_data: [{ path: "/actions", data: ["Varies by platform"] }], - remote_fields: [{ remote_field_class: "remote_field_class", value: "string" }], - }; - server - .mockEndpoint() - .get("/accounting/v1/expense-reports/id") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.expenseReports.retrieve("id", { - expand: "accounting_period", - includeRemoteData: true, - includeRemoteFields: true, - includeShellData: true, - }); - expect(response).toEqual({ - id: "123e4567-e89b-12d3-a456-426614174000", - remoteId: "exp_123e4567-e89b-12d3-a456-426614174000", - createdAt: new Date("2024-01-31T12:00:00.000Z"), - modifiedAt: new Date("2024-01-31T14:30:00.000Z"), - reportDate: new Date("2024-01-31T00:00:00.000Z"), - reportIdentifier: "EXP-2024-001", - employee: "b9a9b824-6172-4d63-9d90-1c8a86c4f3b1", - status: "DRAFT", - totalAmount: 150, - lines: [ - { - id: "1234", - remoteId: "abcd-1234", - createdAt: new Date("2021-09-15T00:00:00.000Z"), - modifiedAt: new Date("2021-10-16T00:00:00.000Z"), - account: "acc-1234", - description: "Client lunch meeting", - expenseDate: new Date("2024-01-15T00:00:00.000Z"), - amount: 50, - currency: "USD", - exchangeRate: "exchange_rate", - isBillable: true, - trackingCategories: ["cat-1", "cat-2"], - employee: "emp-1234", - project: "proj-5678", - company: "comp-1234", - contact: "cont-5678", - quantity: 1, - unitPrice: 50, - nonReimbursable: false, - taxAmount: 5, - inclusiveOfTax: false, - taxRate: "tax-1234", - remoteWasDeleted: false, - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }, - ], - currency: "XUA", - description: "January 2024 Travel Expenses", - accountingPeriod: "7d793c67-9f72-4a6b-9256-3936f237b0d9", - company: "company", - trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"], - remoteWasDeleted: true, - fieldMappings: { - organization_defined_targets: { - custom_key: "custom_value", - }, - linked_account_defined_targets: { - custom_key: "custom_value", - }, - }, - remoteData: [ - { - path: "/actions", - data: ["Varies by platform"], - }, - ], - remoteFields: [ - { - remoteFieldClass: "remote_field_class", - value: "string", - }, - ], - }); - }); - - test("linesRemoteFieldClassesList", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "id", - display_name: "display_name", - remote_key_name: "remote_key_name", - description: "description", - is_custom: true, - is_common_model_field: true, - is_required: true, - field_type: "string", - field_format: "string", - field_choices: ["field_choices"], - }, - ], - }; - server - .mockEndpoint() - .get("/accounting/v1/expense-reports/lines/remote-field-classes") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.expenseReports.linesRemoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "id", - displayName: "display_name", - remoteKeyName: "remote_key_name", - description: "description", - isCustom: true, - isCommonModelField: true, - isRequired: true, - fieldType: "string", - fieldFormat: "string", - fieldChoices: ["field_choices"], - }, - ], - }); - }); - - test("metaPostRetrieve", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - request_schema: { - type: "object", - properties: { - model: { - type: "object", - required: [ - "last_name", - "first_name", - "merge_categories", - "new_york_city_neighborhood", - "favorite_tv_shows", - "favorite_watch", - ], - properties: { - email_addresses: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - email_address_type: { type: "string", title: "email_address_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "email_addresses", - description: "Array of email_addresses objects", - }, - urls: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - url_type: { type: "string", title: "url_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "urls", - description: "Array of urls objects", - }, - first_name: { type: "string", title: "first_name", description: "The first name." }, - last_name: { type: "string", title: "last_name", description: "The last name." }, - phone_numbers: { - type: "array", - items: { - type: "object", - properties: { - value: { type: "string", title: "value" }, - phone_number_type: { type: "string", title: "phone_number_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "phone_numbers", - description: "Array of phone_numbers objects", - }, - tags: { - type: "array", - items: { type: "string", format: "uuid" }, - title: "tags", - description: "Array of tags names", - }, - attachments: { - type: "array", - items: { - type: "object", - properties: { - id: { type: "string", title: "id" }, - file_url: { type: "string", title: "file_url" }, - file_name: { type: "string", title: "file_name" }, - attachment_type: { type: "string", title: "attachment_type" }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "attachments", - description: "Array of attachments objects ", - }, - merge_categories: { - type: "array", - categories: { - type: "string", - enum: [ - "HRIS", - "ATS", - "Accounting", - "Ticketing", - "File Storage", - "CRM", - "Marketing Automation", - ], - enum_information: [ - { value: "HRIS", description: "Merge HRIS Category" }, - { value: "ATS", description: "Merge ATS Category" }, - { value: "Accounting", description: "Merge Accounting Category" }, - { value: "Ticketing", description: "Merge Ticketing Category" }, - { value: "File Storage", description: "Merge File Storage Category" }, - { value: "CRM", description: "Merge CRM Category" }, - { - value: "Marketing Automation", - description: "Merge Marketing Automation Category", - }, - ], - }, - title: "Merge Categories", - description: "Array of Merge's Unified API Categories", - }, - new_york_city_neighborhood: { - type: "string", - title: "Borough", - description: "One of the 5 Boroughs of New York City", - }, - favorite_tv_shows: { - type: "array", - items: { type: "string", format: "uuid" }, - title: "Favorite TV Shows", - description: "Array of TV Show objects on merge.tv_shows", - }, - favorite_watch: { - type: "string", - title: "Favorite Watch", - description: "Favorite watch of all time", - }, - }, - }, - }, - }, - remote_field_classes: { key: "value" }, - status: { linked_account_status: "linked_account_status", can_make_request: true }, - has_conditional_params: true, - has_required_linked_account_params: true, - }; - server - .mockEndpoint() - .get("/accounting/v1/expense-reports/meta/post") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.expenseReports.metaPostRetrieve(); - expect(response).toEqual({ - requestSchema: { - type: "object", - properties: { - model: { - type: "object", - required: [ - "last_name", - "first_name", - "merge_categories", - "new_york_city_neighborhood", - "favorite_tv_shows", - "favorite_watch", - ], - properties: { - email_addresses: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - email_address_type: { - type: "string", - title: "email_address_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "email_addresses", - description: "Array of email_addresses objects", - }, - urls: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - url_type: { - type: "string", - title: "url_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "urls", - description: "Array of urls objects", - }, - first_name: { - type: "string", - title: "first_name", - description: "The first name.", - }, - last_name: { - type: "string", - title: "last_name", - description: "The last name.", - }, - phone_numbers: { - type: "array", - items: { - type: "object", - properties: { - value: { - type: "string", - title: "value", - }, - phone_number_type: { - type: "string", - title: "phone_number_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "phone_numbers", - description: "Array of phone_numbers objects", - }, - tags: { - type: "array", - items: { - type: "string", - format: "uuid", - }, - title: "tags", - description: "Array of tags names", - }, - attachments: { - type: "array", - items: { - type: "object", - properties: { - id: { - type: "string", - title: "id", - }, - file_url: { - type: "string", - title: "file_url", - }, - file_name: { - type: "string", - title: "file_name", - }, - attachment_type: { - type: "string", - title: "attachment_type", - }, - integration_params: { - type: "object", - title: "integration_params", - properties: {}, - }, - linked_account_params: { - type: "object", - title: "linked_account_params", - properties: {}, - }, - }, - }, - title: "attachments", - description: "Array of attachments objects ", - }, - merge_categories: { - type: "array", - categories: { - type: "string", - enum: [ - "HRIS", - "ATS", - "Accounting", - "Ticketing", - "File Storage", - "CRM", - "Marketing Automation", - ], - enum_information: [ - { - value: "HRIS", - description: "Merge HRIS Category", - }, - { - value: "ATS", - description: "Merge ATS Category", - }, - { - value: "Accounting", - description: "Merge Accounting Category", - }, - { - value: "Ticketing", - description: "Merge Ticketing Category", - }, - { - value: "File Storage", - description: "Merge File Storage Category", - }, - { - value: "CRM", - description: "Merge CRM Category", - }, - { - value: "Marketing Automation", - description: "Merge Marketing Automation Category", - }, - ], - }, - title: "Merge Categories", - description: "Array of Merge's Unified API Categories", - }, - new_york_city_neighborhood: { - type: "string", - title: "Borough", - description: "One of the 5 Boroughs of New York City", - }, - favorite_tv_shows: { - type: "array", - items: { - type: "string", - format: "uuid", - }, - title: "Favorite TV Shows", - description: "Array of TV Show objects on merge.tv_shows", - }, - favorite_watch: { - type: "string", - title: "Favorite Watch", - description: "Favorite watch of all time", - }, - }, - }, - }, - }, - remoteFieldClasses: { - key: "value", - }, - status: { - linkedAccountStatus: "linked_account_status", - canMakeRequest: true, - }, - hasConditionalParams: true, - hasRequiredLinkedAccountParams: true, - }); - }); - - test("remoteFieldClassesList", async () => { - const server = mockServerPool.createServer(); - const client = new MergeClient({ - maxRetries: 0, - apiKey: "test", - accountToken: "test", - environment: server.baseUrl, - }); - - const rawResponseBody = { - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "id", - display_name: "display_name", - remote_key_name: "remote_key_name", - description: "description", - is_custom: true, - is_common_model_field: true, - is_required: true, - field_type: "string", - field_format: "string", - field_choices: ["field_choices"], - }, - ], - }; - server - .mockEndpoint() - .get("/accounting/v1/expense-reports/remote-field-classes") - .respondWith() - .statusCode(200) - .jsonBody(rawResponseBody) - .build(); - - const response = await client.accounting.expenseReports.remoteFieldClassesList({ - cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - includeDeletedData: true, - includeRemoteData: true, - includeShellData: true, - isCommonModelField: true, - isCustom: true, - pageSize: 1, - }); - expect(response).toEqual({ - next: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - previous: "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ", - results: [ - { - id: "id", - displayName: "display_name", - remoteKeyName: "remote_key_name", - description: "description", - isCustom: true, - isCommonModelField: true, - isRequired: true, - fieldType: "string", - fieldFormat: "string", - fieldChoices: ["field_choices"], - }, - ], - }); - }); -});